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/AM5728: AM572XEVM: boot issue with relevant DTS

Part Number: AM5728

Tool/software: Linux

Hi,

I'm using TI-SDK 05.01, I couldn't see my EVM getting the boot with the correct dts.

I could see the LCD is not working fine and HDMI is failing to load with am57xx-evm.dts,

Instead, I could the board by default takes am57xx-beagle-x15.dts where HDMI working good with it but LCD fails.

Any ideas on this!

Regards,

nick

  • Hello,

    Have you made any changes or you are using the default PSDK + EVM?

    What you are trying to archive? Enable the both displays?

    BR
    Margarita

  • Hi Margarita,

    Yes, I am using the default sdk binaries, with the uboot built with "am57xx_evm" and used the output demo images from sdk,
    I need to enable both the displays.

    Regards,

    nick
  • Hello,

    I have tried with the default PSDK 5.0. The both displays are enable. I see the Matrix on the LCD display since this is the primary display and the weston on the HDMI. What you mean that the display is failing? By "failing" do you mean that you do not see the matrix gui on it?
    Please take a look in this guides:
    software-dl.ti.com/.../Foundational_Components_Graphics.html
    Guide how to set displays:
    software-dl.ti.com/.../How_to_Guides_Target.html



    BR
    Margarita
  • Hi,
    Did you tried with the prebuilt images from am57xx-evm-linux-sdk-bin-05.01.00.11.tar.xz
    software-dl.ti.com/.../index_FDS.html

    In this link it show new images for 5.2 sdk, I am downloading the images now.
    With this am57xx-evm-linux-sdk-bin-05.01.00.11.tar.xz, I couldn't get the u-boot and I am getting the above metioned issues.

    Could you share the link for PSDK 5.0, which you were using?
  • Hello,

    I have not tried am57xx-evm-linux-sdk-bin-05.01.00.11.tar.xz.
    Please try to install
    ti-processor-sdk-linux-am57xx-evm-05.02.00.10-Linux-x86-Install.bin
    and create new sdcard.
    Here is the link to the wiki how to create sd card:
    processors.wiki.ti.com/.../Processor_SDK_Linux_create_SD_card_script

    You could search for "Previous SDK Link" in the link that you shared.



    Hope this helps.

    BR
    Margarita
  • Hi

    I have exactly used this "ti-processor-sdk-linux-am57xx-evm-05.02.00.10-Linux-x86-Install.bin" in which I could see this?

    => printenv
    arch=arm
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board=am57xx
    board_name=beagle_x15

    findfdt=if test $board_name = beagle_x15; then setenv fdtfile am57xx-beagle-x15.dtb; fi;

    You could see here it is taking the am57xx-beagle-x15.dtb, how can I confirm the DTB used was "am57xx-evm.dtb" in this case

    But now with this "ti-processor-sdk-linux-am57xx-evm-05.02.00.10-Linux-x86-Install.bin" and setenv optargs omapdrm.displays=1,0
    I couldn't see any output on either of display. Could you share some inputs to debug this?

    Regards,
    nick
  • Hello,

    What exactly is the board that you are using?

    I will give an example with my board:

    Here is part of my printenv command:

    ...

    board=am57xx

    board_name=am57xx_evm_reva3

    board_rev=A.30

    ...

    findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm.dtb; fi;if test $board_name = dra72x-revc; then setenv fdtfile dra72-evm-revc.dtb; fi;if test $board_name = dra72x; then setenv fdtfile dra72-evm.dtb; fi;if test $board_name = dra71x && test $boot_nand = 1; then setenv fdtfile dra71-evm-nand.dtb; fi;if test $board_name = dra71x && test $boot_nand = 0; then setenv fdtfile dra71-evm.dtb; fi;if test $board_name = dra71-lcard; then setenv fdtfile dra71-lcard.dtb; fi;if test $board_name = dra76x_acd; then setenv fdtfile dra76-evm.dtb; fi;if test $board_name = beagle_x15; then setenv fdtfile am57xx-beagle-x15.dtb; fi;if test $board_name = beagle_x15_revb1; then setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;if test $board_name = beagle_x15_revc; then setenv fdtfile am57xx-beagle-x15-revc.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = no; then setenv fdtfile am572x-idk.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am572x-idk-lcd-osd101t2045.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am572x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am574x_idk && test $idk_lcd = no; then setenv fdtfile am574x-idk.dtb; fi;if test $board_name = am574x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am574x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am57xx_evm; then setenv fdtfile am57xx-evm.dtb; fi;if test $board_name = am57xx_evm_reva3; then setenv fdtfile am57xx-evm-reva3.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = no; then setenv fdtfile am571x-idk.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am571x-idk-lcd-osd101t2045.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am571x-idk-lcd-osd101t2587.dtb; fi;if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi;

    ...

    In my case this dtb is loaded am57xx-evm-reva3.dtb.

    This guide http://processors.wiki.ti.com/index.php/How_to_Change_dtb_File