Hello,
I use EVM_5_03_01_15 on a custom board. Everything works fine, but I have problems to test suspend and standby modes.
I followed this document for DM814x: http://processors.wiki.ti.com/index.php/TI81XX_PSP_PM_Suspend_resume_overview
and when I enable Suspend to RAM and stanby then board doesn't boot and dmesg has a lot of unusual messages e.g:
....
Starting udev
udevd (69): /proc/69/oom_adj is deprecated, please use /proc/69/oom_score_adj instead.
Root filesystem already rw, not remounting
Caching udev devnodes
ipv6: disagrees about version of symbol inet_recvmsg
ipv6: Unknown symbol inet_recvmsg (err -22)
ipv6: disagrees about version of symbol skb_free_datagram
ipv6: Unknown symbol skb_free_datagram (err -22)
....
and this is where booting stops:
.....
syslink: disagrees about version of symbol iommu_get
syslink: Unknown symbol iommu_get (err -22)
syslink: disagrees about version of symbol device_destroy
syslink: Unknown symbol device_destroy (err -22)
FATAL: Error inserting syslink (/lib/modules/2.6.37/kernel/drivers/dsp/syslink.ko): Invalid argument
What is interesting, even if the Suspend to RAM is not enabled, I guess I should be able to see pm_debug, but it's not there:
dm816x-evm login: root
root@dm816x-evm:~# mount -t debugfs debugfs /sys/kernel/debug
root@dm816x-evm:~# ls -la /sys/kernel/debug/
drwxr-xr-x 13 root root 0 Jan 1 1970 .
drwxr-xr-x 5 root root 0 Dec 9 14:48 ..
drwxr-xr-x 3 root root 0 Jan 1 1970 asoc
drwxr-xr-x 40 root root 0 Jan 1 1970 bdi
drwxr-xr-x 7 root root 0 Jan 1 1970 clock
-r--r--r-- 1 root root 0 Jan 1 1970 gpio
drwxr-xr-x 4 root root 0 Jan 1 1970 hid
drwxr-xr-x 2 root root 0 Jan 1 1970 kprobes
drwxr-xr-x 2 root root 0 Jan 1 1970 memblock
drwxr-xr-x 2 root root 0 Jan 1 1970 mmc0
drwxr-xr-x 2 root root 0 Jan 1 1970 musb
drwxr-xr-x 3 root root 0 Jan 1 1970 omap_mux
-r--r--r-- 1 root root 0 Jan 1 1970 regdump
drwxr-xr-x 4 root root 0 Jan 1 1970 smartreflex
-rw-r--r-- 1 root root 0 Jan 1 1970 testmode
drwxr-xr-x 2 root root 0 Jan 1 1970 usb
-r--r--r-- 1 root root 0 Jan 1 1970 vram
root@dm816x-evm:~#
Here are my settings from ti8168_evm_defconfig:
#
# Power management options
#
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_PM_ADVANCED_DEBUG is not set
CONFIG_PM_VERBOSE=y
CONFIG_SUSPEND=y
# CONFIG_APM_EMULATION is not set
CONFIG_PM_RUNTIME=y
CONFIG_PM_OPS=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_NET=y
If I disable CONFIG_SUSPEND=n then board boots up no problems.
Does it mean, Power managment for DM816x has not been implemented yet, or I also need to set something else?
Any ideas what could be the problem or how I could test suspend / stanby mode on C6A8168 board?
Thank you very much for your help,
- Robert