Part Number: AM3358
I'm trying to enter suspend using the am3358 (Beaglebone Black) using Processor SDK 11.02.
I've rebuilt the kernel with the following options:
# Firmware Loading from rootfs
CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
# AMx3 Power Config Options
CONFIG_MAILBOX=y
CONFIG_OMAP2PLUS_MBOX=y
CONFIG_WKUP_M3_RPROC=y
CONFIG_SOC_TI=y
CONFIG_WKUP_M3_IPC=y
CONFIG_TI_EMIF_SRAM=y
CONFIG_AMX3_PM=y
CONFIG_RTC_DRV_OMAP=y
But it seems there are issues with booting up the wkup m3 core.
root@am335x-evm:~# dmesg | grep wkup
[ 1.680913] PM: Cannot get wkup_m3_ipc handle
[ 1.805493] remoteproc remoteproc0: wkup_m3 is available
[ 2.723269] PM: Cannot get wkup_m3_ipc handle
[ 2.874030] remoteproc remoteproc0: powering up wkup_m3
[ 2.917625] PM: Cannot get wkup_m3_ipc handle
[ 2.961731] PM: Cannot get wkup_m3_ipc handle
[ 2.968221] PM: Cannot get wkup_m3_ipc handle
[ 3.015180] PM: Cannot get wkup_m3_ipc handle
[ 3.035017] PM: Cannot get wkup_m3_ipc handle
[ 3.095032] PM: Cannot get wkup_m3_ipc handle
[ 13.331155] PM: Cannot get wkup_m3_ipc handle
[ 21.514724] PM: Cannot get wkup_m3_ipc handle
[ 21.711047] PM: Cannot get wkup_m3_ipc handle
[ 21.859337] PM: Cannot get wkup_m3_ipc handle
[ 21.995909] PM: Cannot get wkup_m3_ipc handle
[ 22.127539] PM: Cannot get wkup_m3_ipc handle
[ 22.219413] PM: Cannot get wkup_m3_ipc handle
[ 22.323951] PM: Cannot get wkup_m3_ipc handle
[ 22.601972] PM: Cannot get wkup_m3_ipc handle
[ 23.569870] PM: Cannot get wkup_m3_ipc handle
[ 23.750187] PM: Cannot get wkup_m3_ipc handle
[ 23.856166] PM: Cannot get wkup_m3_ipc handle
[ 23.999483] PM: Cannot get wkup_m3_ipc handle
[ 24.078026] PM: Cannot get wkup_m3_ipc handle
[ 24.803425] PM: Cannot get wkup_m3_ipc handle
[ 25.083868] PM: Cannot get wkup_m3_ipc handle
[ 25.153624] PM: Cannot get wkup_m3_ipc handle
[ 25.233292] PM: Cannot get wkup_m3_ipc handle
[ 25.273790] PM: Cannot get wkup_m3_ipc handle
[ 26.065364] PM: Cannot get wkup_m3_ipc handle
[ 64.537538] wkup_m3_ipc 44e11324.wkup_m3_ipc: rproc_boot failed
[ 207.745729] PM not initialized for pm33xx, wkup_m3_ipc, or am335x-pm-firmware.elf
root@am335x-evm:~# echo mem > /sys/power/state
[ 9025.411745] PM: suspend entry (s2idle)
[ 9025.416360] Filesystems sync: 0.000 seconds
[ 9025.443805] Freezing user space processes
[ 9025.452633] Freezing user space processes completed (elapsed 0.004 seconds)
[ 9025.459688] OOM killer disabled.
[ 9025.463075] Freezing remaining freezable tasks
[ 9025.468936] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 9025.476547] PM not initialized for pm33xx, wkup_m3_ipc, or am335x-pm-firmware.elf
[ 9025.486950] OOM killer enabled.
[ 9025.490118] Restarting tasks ... done.
[ 9025.503004] random: crng reseeded on system resumption
[ 9025.510754] PM: suspend exit
-sh: echo: write error: Invalid argument
I also see that the firmware already exists in the following path: /lib/firmware/am335x-pm-firmware.elf
Please suggest how to resolve so I can enter suspend.