This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5708: AM570x support in SDK

Part Number: AM5708
Other Parts Discussed in Thread: AM5728, AM5718, , AM5706

Tool/software: Linux

I am bringing up a custom AM5708 board. In the linux kernel, I see AM5718 and AM5728 support, but nothing on AM5708.

There are DRA74X support (such as device tree structure).

Can I base my DTS on DRA74X?

  • Adam,
    you may be using an old version of processor SDK. Please check this page, AM5706/8 is supported. software-dl.ti.com/.../index_FDS.html
  • Which DTS should I start with? I see numerous am57xx, am571x, am572x device tree structures in the new SDK. I just don't see any references to am570x (or am5708 for that matter).

    ~/am57xx-evm-linux-sdk-src-04.03.00.05/board-support/linux-4.9.69+gitAUTOINC+9ce43c71ae-g9ce43c71ae/arch/arm/boot/dts$ ls -lhtr am57*
    -rw-r--r-- 1 ylee ylee 4.2K Mar 26 11:33 am57xx-sbc-am57x.dts
    -rw-r--r-- 1 ylee ylee 364 Mar 26 11:33 am57xx-industrial-grade.dtsi
    -rw-r--r-- 1 ylee ylee 1.6K Mar 26 11:33 am57xx-idk-lcd-osd101t2045.dtsi
    -rw-r--r-- 1 ylee ylee 15K Mar 26 11:33 am57xx-idk-common.dtsi
    -rw-r--r-- 1 ylee ylee 3.1K Mar 26 11:33 am57xx-evm-common.dtsi
    -rw-r--r-- 1 ylee ylee 1.2K Mar 26 11:33 am57xx-evm-common-cam-ov10635.dtsi
    -rw-r--r-- 1 ylee ylee 918 Mar 26 11:33 am57xx-evm-common-cam-mt9t111.dtsi
    -rw-r--r-- 1 ylee ylee 359 Mar 26 11:33 am57xx-commercial-grade.dtsi
    -rw-r--r-- 1 ylee ylee 17K Mar 26 11:33 am57xx-cl-som-am57x.dts
    -rw-r--r-- 1 ylee ylee 1.2K Mar 26 11:33 am57xx-beagle-x15-revc.dts
    -rw-r--r-- 1 ylee ylee 15K Mar 26 11:33 am57xx-beagle-x15-common.dtsi
    -rw-r--r-- 1 ylee ylee 335 Mar 26 11:33 am574x-idk-jailhouse.dts
    -rw-r--r-- 1 ylee ylee 2.7K Mar 26 11:33 am572x-idk-pps.dts
    -rw-r--r-- 1 ylee ylee 351 Mar 26 11:33 am572x-idk-lcd-osd101t2587-jh.dts
    -rw-r--r-- 1 ylee ylee 351 Mar 26 11:33 am572x-idk-lcd-osd101t2045-jh.dts
    -rw-r--r-- 1 ylee ylee 1.4K Mar 26 11:33 am572x-idk-jailhouse.dtsi
    -rw-r--r-- 1 ylee ylee 335 Mar 26 11:33 am572x-idk-jailhouse.dts
    -rw-r--r-- 1 ylee ylee 4.0K Mar 26 11:33 am572x-idk-common.dtsi
    -rw-r--r-- 1 ylee ylee 759 Mar 26 11:33 am572x-evm-jailhouse.dts
    -rw-r--r-- 1 ylee ylee 3.0K Mar 26 11:33 am571x-idk-pps.dts
    -rw-rw-r-- 1 ylee ylee 7.9K Mar 26 11:35 am57xx-pru-uio.dtsi
    -rw-r--r-- 1 ylee ylee 1.5K Mar 26 11:35 am57xx-evm-reva3.dts
    -rw-r--r-- 1 ylee ylee 389 Mar 26 11:35 am57xx-evm-reva3-cam-ov10635.dts
    -rw-r--r-- 1 ylee ylee 389 Mar 26 11:35 am57xx-evm-reva3-cam-mt9t111.dts
    -rw-r--r-- 1 ylee ylee 721 Mar 26 11:35 am57xx-evm.dts
    -rw-rw-r-- 1 ylee ylee 1006 Mar 26 11:35 am57xx-evm-cmem.dtsi
    -rw-rw-r-- 1 ylee ylee 780 Mar 26 11:35 am57xx-evm-cmem-am571x.dtsi
    -rw-r--r-- 1 ylee ylee 383 Mar 26 11:35 am57xx-evm-cam-ov10635.dts
    -rw-r--r-- 1 ylee ylee 383 Mar 26 11:35 am57xx-evm-cam-mt9t111.dts
    -rw-r--r-- 1 ylee ylee 762 Mar 26 11:35 am57xx-beagle-x15-revb1.dts
    -rw-r--r-- 1 ylee ylee 1.3K Mar 26 11:35 am57xx-beagle-x15.dts
    -rw-r--r-- 1 ylee ylee 1.2K Mar 26 11:35 am574x-idk-pru-excl-uio.dts
    -rw-r--r-- 1 ylee ylee 892 Mar 26 11:35 am574x-idk-lcd-osd101t2587.dts
    -rw-r--r-- 1 ylee ylee 1.2K Mar 26 11:35 am574x-idk.dts
    -rw-r--r-- 1 ylee ylee 1.2K Mar 26 11:35 am572x-idk-pru-excl-uio.dts
    -rw-r--r-- 1 ylee ylee 724 Mar 26 11:35 am572x-idk-lcd-osd101t2587.dts
    -rw-r--r-- 1 ylee ylee 515 Mar 26 11:35 am572x-idk-lcd-osd101t2045.dts
    -rw-r--r-- 1 ylee ylee 1.2K Mar 26 11:35 am572x-idk.dts
    -rw-rw-r-- 1 ylee ylee 7.3K Mar 26 11:35 am571x-pru-uio.dtsi
    -rw-r--r-- 1 ylee ylee 5.8K Mar 26 11:35 am571x-idk-pru-excl-uio.dts
    -rw-r--r-- 1 ylee ylee 731 Mar 26 11:35 am571x-idk-lcd-osd101t2587.dts
    -rw-r--r-- 1 ylee ylee 842 Mar 26 11:35 am571x-idk-lcd-osd101t2045.dts
    -rw-r--r-- 1 ylee ylee 5.7K Mar 26 11:35 am571x-idk.dts

    I also noticed this post hinting AM5708 is based on DRA7. However, I see dra72x and dra74x in the device tree folder. Which one is AM5708..?

  • Adam,

    We recommend starting from the AM571x-idk.dts for AM570x development.

    Please see this page for more information that you might find helpful:

    http://processors.wiki.ti.com/index.php/Linux_Porting_Guide_for_AM571x/AM570x_Speed_Grades

  • Thanks, I will take a look at AM571x-idk.dts. I checked out your link, and noticed ".dmm_lisa_map_3 = 0x80640100,". I have used the Excel EMIF Spreadsheet and got ".dmm_lisa_map_3 = 0xFF020100,". Which one should I trust? Again, I am using AM5708.
  • Use the values from the spreadsheet as long as you are using the latest version.