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: IDKAM5728 JAILHOUSE problems

Part Number: AM5728

Tool/software: Linux

My board is am5728-idk with a LCD.This board is a new one ,so I do some tests and I get some problem.

1.I create a new SD card using default images,  I can go into the matrix desktop successfully and get a IP automaticlly.

the dtb is am572x-idk-lcd-osd101t2587.dtb

2.But after a weekend,  I build a new dtb am572x-idk-lcd-osd101t2587-jh.dtb and add fdtfile= am572x-idk-lcd-osd101t2587-jh.dtb 

 

and I cannot go into the matrix desktop successfully 

and even I Unplug the Ethermet cables before I boot the board ,I get the same black desktop

 

3.then I create the second SD card using default images (the dtb is am572x-idk-lcd-osd101t2587.dtb).

3.1  I can go into the matrix desktop successfully and touch the dsektop with unplug the Ethermet cables. But when I link to internet ,I touch the dsektop with no change and I cannnot get a IP

even I Unplug the Ethermet cables  . I get the same message

3.2 I plug the Ethermet cables ,then I boot my board ,I cannot go into the matrix desktop successfully



4.I try  udhcpc, I always get "seding discover..."

so  what should I do ? 

 

  • Hi,

    I understand the problem is that when the second time you created the SD card with the default images, the evm is unable to get an IP address and the Matrix demo doesn't come up if the ethernet cable is attached. Is my understanding correct?

    What is the version of the Processor SDK do you use?
  • Part Number: AM5728

    Tool/software: Linux

    1.my board is IDK AM5728 ,LINUX is linux-rt 0401

    2.I create a new sd card with the prebuild images ,then I build the new zImage ,.dtb files and copy it 

    3.I use dtb am572x-idk-lcd-osd101t2587.dtb and I can go into the matrix successfully

    But when I use am572x-idk-lcd-osd101t2587-jh.dtb(this is for jailhouse),I cannot go into the matrix .

    what should I do ?Can you try it?if you can go into the matrix by using the am572x-idk-lcd-osd101t2587-jh.dtb,please let me try it ,and know what do you change 

    Thank you !

  • Hi,

    I will try with am572x-idk-lcd-osd101t2587-jh.dtb to see I see the same matrix demo issue and I will keep you updated.
  • I try with am572x-idk-lcd-osd101t2587-jh.dtb(0402 0403) and I get all the same problem
  • Hi,

    I am able to reproduce the issue and figured out the reason why the matrix demo doesn't run with the jailhouse dtb - it is because the touchscreen is disabled in the jailhouse dtb, which causes Weston fails to start.

    You can see am572x-idk-lcd-osd101t2045.dts specifies gpio3 for touchscreen, but then am572x-idk-jailhouse.dtsi disables gpio3.

    I will reach out to the dev team to understand if disabling gpio3 in jailhouse dtb is intentional or a mistake. Meanwhile, you can connect an USB mouse to the board USB host port to provide an input device, which should get the matrix demo running with the jailhouse dtb.
  • thanks for your replay!
  • Hi,

    Our dev team confirmed that the gpio bank is used for jailhouse Ethercat Slave demo, so the gpio is disabled in Linux, which disables the touchscreen.