The BeagleBone is ostensibly equivalent to the AM335xEVM (it uses the same PSP, etc.).
The procedure for entering Suspend to RAM is documented here:
http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Power_Management
Alas, it doesn't work, at least with my test setup:
BeagleBone HW Rev A5
Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.05-beaglebone-2012.04.22.img.xz loaded to the SD card
uname -a output is: Linux beaglebone 3.2.14 #1 Sat Apr 21 10:00:05 CEST 2012 armv7l GNU/Linux
The above documentation implies that the kernel must be recompiled to enable the Suspend/Resume functionality, although the current am335x-evm_defconfig seems to have the desired settings already.
I've tried both the default kernel and a specially compiled kernel, and both exhibit the same failure mode.
To reproduce, the console commands are simply:
echo none > /sys/power/pm_test
echo mem > /sys/power/state
The "echo none..." is optional unless pm_test has already been set to something else. "none" is the default value.
The behavior is that Linux locks up and the only method of recovery is to perform a hardware reset. Contrary to the above link, no Linux system messages are shown.
Turning on some of Linux's PM debugging functionality, some other data points are:
echo devices > /sys/power/pm_test
echo mem > /sys/power/state
[ 599.528480]
[ 599.528495] CPSW phy found : id is : 0x7c0f1
[ 599.530085] PHY 0:01 not found
[ 599.541284] Kernel core reported suspend failure
echo platform > /sys/power/pm_test
echo mem > /sys/power/state
[ 721.148473]
[ 721.148486] CPSW phy found : id is : 0x7c0f1
[ 721.150075] PHY 0:01 not found
[ 721.161270] Kernel core reported suspend failure
echo core > /sys/power/pm_test
echo mem > /sys/power/state
[ 239.871978]
[ 239.871978] CPSW phy found : id is : 0x7c0f1
[ 239.873565] PHY 0:01 not found
[ 239.884796] Kernel core reported suspend failure