Hello. I'm using a system on module device that contains the AM3354 processor. Unfortunately it seems that even using a kernel based on the TI SDK 8.0, it is impossible for me to recover from a suspend.
The CM3 firmware is properly loaded as can be seen in the system messages. The processor is unable to recover from an attempted suspend to ram OR standby issued to the sysfs power subsystem. Interestingly, NO events at all are able to wake up the processor, including events from the wake up domain -- GPIO0 , UART0.
This setup works fine on the kernel version 3.12 from previous SDK version, where I am able to suspend the system and bring it up again by means of any of the peripherals that are part of the wake up domain. I have tried various combinations, including different versions of the CM3 firmware, which produces the different outputs seen:
0x191 - unusable, fails
[ 2.192684] remoteproc0: wkup_m3 is available
[ 2.197396] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 2.206867] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 2.217953] remoteproc0: Direct firmware load failed with error -2
[ 2.224578] remoteproc0: Falling back to user helper
[ 2.878818] remoteproc0: powering up wkup_m3
[ 2.899980] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219663
[ 2.907641] remoteproc0: erroneous trace resource entry
[ 2.913298] remoteproc0: Failed to process resources: -22
0x190 - firmware loaded but cant resume
[ 2.192743] remoteproc0: wkup_m3 is available
[ 2.197458] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 2.206933] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 2.218014] remoteproc0: Direct firmware load failed with error -2
[ 2.224635] remoteproc0: Falling back to user helper
[ 3.142441] remoteproc0: powering up wkup_m3
[ 3.148058] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219827
[ 3.342381] remoteproc0: remote processor wkup_m3 is now up
0x189 - firmware loaded but unsupported
[ 2.202770] remoteproc0: wkup_m3 is available
[ 2.207482] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 2.216956] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 2.228040] remoteproc0: Direct firmware load failed with error -2
[ 2.234662] remoteproc0: Falling back to user helper
[ 2.883080] remoteproc0: powering up wkup_m3
[ 2.908671] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154768
[ 3.018387] remoteproc0: remote processor wkup_m3 is now up
(error)
[ 3.012994] PM: CM3 Firmware Version 189 not supported
Why I am not able to wake from a suspend attempt with kernel 3.14? I have also tried to use the kernel pm_test infrastructure to try and debug the suspending mechanisms, but all tests succeed without errors. I have also tried to do a RTC timed wakeup but nothing happens.
I've spent several hours researching every possible factor that could explain this behavior but I simply can't reach any conclusions. I absolutely would appreciate any input on this.