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/PROCESSOR-SDK-AM335X: Low-power modes fail

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: AM3352

Tool/software: Linux

I am using BBGW with my custom build image. Sometimes, I couldn’t able to keep the processor in standby for 2nd time after 1st successful standby and resume cycle. 2nd time it is failing and after some delay if execute standby command, then it is successful. Same is the case with sleep mode also. 

Failure case:
root@bbgw:~# echo standby > /sys/power/state
[  651.294436] PM: Syncing filesystems ... done.
[  651.303642] Freezing user space processes ... (elapsed 0.003 seconds) done.
[  651.316303] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
[  651.594386] mmc1: cache flush error -110
[  651.594460] dpm_run_callback(): mmc_bus_suspend+0x0/0x38 returns -110
[  651.594492] PM: Device mmc1:0001 failed to suspend: error -110
[  651.594518] PM: Some devices failed to suspend, or early wake event detected
[  651.724372] PM: resume of devices complete after 129.809 msecs
[  651.757673] Restarting tasks ... done.

 

Success case:

~#
echo standby > /sys/power/state
[  629.865477] PM: Syncing filesystems ... done.
[  629.886357] Freezing user space processes ... (elapsed 0.004 seconds) done.
[  629.903295] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
[  630.093633] PM: suspend of devices complete after 177.254 msecs
[  630.100671] PM: late suspend of devices complete after 6.978 msecs
[  630.109640] PM: noirq suspend of devices complete after 8.909 msecs
[  630.109664] Disabling non-boot CPUs ...
[  630.109680] PM: Successfully put all powerdomains to target state
[  630.115449] PM: noirq resume of devices complete after 5.411 msecs
[  630.120662] PM: early resume of devices complete after 4.694 msecs
[  635.358029] PM: resume of devices complete after 5237.300 msecs
[  635.409446] Restarting tasks ...
[  635.415189] usb 1-1: USB disconnect, device number 2
root@bbgw:~# [  635.693352] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[  635.834569] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[  635.841665] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  635.850015] usb 1-1: Product: USB2.0 Hub
[  635.863294] hub 1-1:1.0: USB hub found
[  635.870874] hub 1-1:1.0: 4 ports detected

 

 

Kernel Version:

:~# uname -a
Linux bbgw 4.4.31+ #9 SMP PREEMPT RT Wed Mar 8 04:40:58 EST 2017 armv7l GNU/Linux

dmesg log:

dmesg | grep -i m3
[    0.000000] Machine model: TI AM335x BeagleBone Green Wireless
[    0.000000] AM335X ES2.1 (sgx neon )
[    2.236114] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    3.385635] cpuidle: enable-method property 'ti,am3352' found operations
[    3.611324]  remoteproc0: wkup_m3 is available
[    3.644684] PM: Cannot get wkup_m3_ipc handle
[    3.762539]  remoteproc0: powering up wkup_m3
[    3.762566]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[    3.763000] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    3.763108]  remoteproc0: remote processor wkup_m3 is now up

Anyone faced similar issue?

Looking forward for your inputs.


Thanks&Regards,

Ramakrishna