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.

AM335x GP EVM LCD display does not resume

Does anybody have similar problem?

My processor-linux-sdk version is 03.00.00.04.

I tried "echo mem > /sys/power/state" on AM335x-EVM board to put it into DeepSleep0, then hit a key via UART to wake it up. The output seems fine.

[ 348.087911] PM: Syncing filesystems ... done.
[ 348.252647] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 348.264997] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 348.274254] Suspending console(s) (use no_console_suspend to debug)
[ 348.395548] PM: suspend of devices complete after 113.262 msecs
[ 348.400349] PM: late suspend of devices complete after 4.743 msecs
[ 348.404963] PM: noirq suspend of devices complete after 4.564 msecs
[ 348.404977] PM: Successfully put all powerdomains to target state
[ 348.424843] PM: noirq resume of devices complete after 19.677 msecs
[ 348.429022] PM: early resume of devices complete after 3.872 msecs
[ 348.431247] net eth0: initializing cpsw version 1.12 (0)
[ 348.431271] net eth0: initialized cpsw ale version 1.4
[ 348.506665] net eth0: phy found : id is : 0x4dd074
[ 348.506813] libphy: PHY 4a101000.mdio:01 not found
[ 348.506835] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19
[ 348.626140] PM: resume of devices complete after 197.059 msecs
[ 348.698296] Restarting tasks ... done.

Backlight is on. And I can access matrix-gui-browser on my host machine and run all the commands there. The only problem is that there is no display on LCD screen.

What might have led to this situation? Any suggestions are appreciated!

  • The PM team have been notified. They will respond here.
  • Hi Yan,

    Do you use MMC/SD card for loading u-boot, kernel and rootfs? Can you reproduce this issue several times or you observe it only once?

    Regards,
    Pavel
  • Hi Pavel,

    Thanks for your reply.

    I can reproduce the issue when booting from SD card or from network. I tried suspending the board from Matrix-GUI and from terminal command line. The results are always the same.

    Yan

  • Yan,

    Have you made some modifications in the kernel or rootfs? Or you are using the pre-built versions?

    Did you create your SD card with the create-sdcard.sh script?

    Regards,
    Pavel
  • Hi Pavel,

    I tried it once again, loading everything from SD card. This time it worked! But I did observe the issue before even when booting from SD card.

    Anyway, do you suggest that suspend/resume may not work very well if I load kernel and rootfs via network?

    Thanks!

    Yan
  • Pavel,

    Let me describe the exact scenario when resume does not work.

    I use customized u-boot, pre-built kernel image and pre-built rootfs. U-boot has been written on NAND, so I boot the board from NAND. Then load kernel via TFTP and mount rootfs via NFS. Everything works the same as booting from other media.

    In this scenario, suspend has no problem. But resume does not bring back LCD display.

    Is this something expected?

    Thanks!

    Yan
  • Yan Cheng said:
    Anyway, do you suggest that suspend/resume may not work very well if I load kernel and rootfs via network?

    No, I do not. What I suggest is:

    - test with the pre-build kernel and pre-build rootfs, no matter whether using SD card or network.

    - test with the latest AM335x TI SDK ti-processor-sdk-linux-am335x-evm-03.01.00.06 with pre-bild kernel and pre-build rootfs, no matter whether using SD card or network.

    Regards,
    Pavel

  • Thanks you very much, Pavel.

    I tested with the pre-built kernel and rootfs in the latest AM335x TI SDK (03.01.00.06), and suspend/resume worked with no problem in both cases, i.e., booting with SD card and via network.

    I noticed kernel version is different in the latest TI SDK now. I will do more tests tomorrow.

    Yan