怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<` at 0 [ 0.577636] omap-dma-engine omap-dma-engine: OMAP DMA engine driver [ 0.589965] SCSI subsystem initialized [ 0.593597] usbcore: registered new interface driver usbfs [ 0.594421] usbcore: registered new interface driver hub [ 0.596221] usbcore: registered new device driver usb [ 0.619537] twl 1-0048: PIH (irq 23) chaining IRQs 338..346 [ 0.620422] twl 1-0048: power (irq 343) chaining IRQs 346..353 [ 0.625091] twl4030_gpio twl4030_gpio: gpio (irq 338) chaining IRQs 354..371 [ 0.638519] vdd_mpu_iva: 600 <--> 1450 mV normal [ 0.641815] vdd_core: 600 <--> 1450 mV normal [ 0.645874] VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 0.649383] VDAC: 1800 mV normal standby [ 0.653686] VDVI: 1800 mV normal standby [ 0.657440] VSIM: 1800 <--> 3000 mV at 1800 mV normal standby [ 0.658843] omap_i2c omap_i2c.1: bus 1 rev3.3 at 2600 kHz [ 0.662445] omap_i2c omap_i2c.3: bus 3 rev3.3 at 100 kHz [ 0.674591] Switching to clocksource 32k_counter [ 0.887298] NET: Registered protocol family 2 [ 0.890289] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.890594] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.891967] TCP: Hash tables configured (established 2048 bind 2048) [ 0.892333] TCP: reno registered [ 0.892364] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.892761] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.894165] NET: Registered protocol family 1 [ 0.896820] RPC: Registered named UNIX socket transport module. [ 0.896850] RPC: Registered udp transport module. [ 0.896881] RPC: Registered tcp transport module. [ 0.896911] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.898437] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.898956] CPU PMU: probing PMU on CPU 0 [ 0.899017] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 1.137847] VFS: Disk quotas dquot_6.5.2 [ 1.138214] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.142333] NFS: Registering the id_resolver key type [ 1.143127] Key type id_resolver registered [ 1.143157] Key type id_legacy registered [ 1.143402] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.144256] msgmni has been set to 478 [ 1.149932] io scheduler noop registered [ 1.149963] io scheduler deadline registered [ 1.150115] io scheduler cfq registered (default) [ 1.156860] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.168853] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 88) is a OMAP UART0 [ 1.172363] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 89) is a OMAP UART1 [ 1.175567] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 90) is a OMAP UART2 [ 1.536407] console [ttyO2] enabled [ 1.590972] brd: module loaded [ 1.622589] loop: module loaded [ 1.637939] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.643066] OneNAND driver initializing [ 1.663940] usbcore: registered new interface driver asix [ 1.667907] usbcore: registered new interface driver ax88179_178a [ 1.671966] usbcore: registered new interface driver cdc_ether [ 1.676788] usbcore: registered new interface driver smsc95xx [ 1.680633] usbcore: registered new interface driver net1080 [ 1.684478] usbcore: registered new interface driver cdc_subset [ 1.688842] usbcore: registered new interface driver zaurus [ 1.692657] usbcore: registered new interface driver cdc_ncm [ 1.699493] usbcore: registered new interface driver cdc_wdm [ 1.702575] Initializing USB Mass Storage driver... [ 1.706512] usbcore: registered new interface driver usb-storage [ 1.709777] USB Mass Storage support registered. [ 1.713134] usbcore: registered new interface driver usbtest [ 1.719879] mousedev: PS/2 mouse device common for all mice [ 1.731414] input: twl4030_pwrbutton as /devices/platform/omap_i2c.1/i2c-1/1-004b/twl4030_pwrbutton/input/input0 [ 1.744201] twl_rtc twl_rtc: Power up reset detected. [ 1.747619] twl_rtc twl_rtc: Enabling TWL-RTC [ 1.756317] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 1.761627] i2c /dev entries driver [ 1.769134] Driver for 1-wire Dallas network protocol. [ 1.779022] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 1.792083] omap-dma-engine omap-dma-engine: allocating channel for 62 [ 1.795928] omap-dma-engine omap-dma-engine: allocating channel for 61 [ 2.183074] ledtrig-cpu: registered to indicate activity on CPUs [ 2.189300] usbcore: registered new interface driver usbhid [ 2.192321] usbhid: USB HID core driver [ 2.197174] oprofile: using arm/armv7 [ 2.200378] TCP: cubic registered [ 2.202178] Initializing XFRM netlink socket [ 2.204681] NET: Registered protocol family 17 [ 2.207519] NET: Registered protocol family 15 [ 2.210723] Key type dns_resolver registered [ 2.213226] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 [ 2.232055] PM: no software I/O chain control; some wakeups may be lost [ 2.236541] ThumbEE CPU extension supported. [ 2.246429] VDVI: incomplete constraints, leaving on [ 2.249481] VDAC: incomplete constraints, leaving on [ 2.259521] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 2.267700] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.279113] Waiting for root device /dev/mmcblk0p2... [ 2.293365] mmc0: SD Status: Invalid Allocation Unit size. [ 2.299011] mmc0: new SD card at address 8001 [ 2.305725] mmcblk0: mmc0:8001 SD02G 1.89 GiB [ 2.316436] mmcblk0: p1 p2 [ 3.508880] kjournald starting. Commit interval 5 seconds [ 3.512573] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 3.699188] EXT3-fs (mmcblk0p2): using internal journal [ 3.706726] EXT3-fs (mmcblk0p2): recovery complete [ 3.709350] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 3.713256] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 3.722534] devtmpfs: mounted [ 3.725555] Freeing init memory: 340K INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 4.966888] udevd (753): /proc/753/oom_adj is deprecated, please use /proc/753/oom_score_adj instead. Synthesizing the initial hotplug events [ 14.836242] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. Remounting root file system... mount: according to mtab, /proc is already mounted on /proc WARNING: Couldn't open directory /lib/modules/3.9.0-rc2: No such file or directory FATAL: Could not open /lib/modules/3.9.0-rc2/modules.dep.temp for writing: No such file or directory root: mount: mount point /proc/bus/usb does not exist Setting up IP spoofing protection: rp_filter. Configuring network interfaces... modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory udhcpc: SIOCGIFINDEX: No such device done. Starting portmap daemon: portmap. Tue Jul 22 00:18:00 UTC 2008 INIT: Entering runlevel: 5 ALSA: Restoring mixer settings... /usr/sbin/alsactl: load_state:1327: No soundcards found... Starting Dropbear SSH server: modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory dropbear. Starting advanced power management daemon: No APM support in kernel (failed.) Starting system message bus: dbus. Starting syslogd/klogd: start-stop-daemon: lseek: Invalid argument * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ ok ] Starting Bluetooth subsystem: hcidmodprobe: FATAL: Could not load /lib/modules/3.9.0-rc2/modules.dep: No such file or directory hid2hci. .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution beagleboard ttyO2 Angstrom 2008.1-test-20080712 beagleboard ttyO2 beagleboard login: .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution beagleboard ttyO2 Angstrom 2008.1-test-20080712 beagleboard ttyO2 beagleboard login: .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution beagleboard ttyO2 Angstrom 2008.1-test-20080712 beagleboard ttyO2 beagleboard login: root login[1945]: root login on `ttyO2' root@beagleboard:~# root@beagleboard:~# %% Start PM consolidated quick test %% Preparation root@beagleboard:~# root@beagleboard:~# mount -t sysfs none /sys mount: none already mounted or /sys busy mount: according to mtab, sysfs is already mounted on /sys root@beagleboard:~# root@beagleboard:~# mount -t debugfs none /debug mount: none already mounted or /debug busy mount: according to mtab, debugfs is already mounted on /debug root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.0/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.1/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.2/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.3/power/autosuspen d_delay_ms -sh: cannot create /sys/devices/platform/omap_uart.3/power/autosuspend_delay_ms: nonexistent directory root@beagleboard:~# root@beagleboard:~# echo 0 > /debug/pm_debug/enable_off_mode root@beagleboard:~# root@beagleboard:~# %% Baseline pm_debug count dump cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1410,INA:0,ON:1411,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:1410,INA:0,ON:1411,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:0,RET:1410,INA:0,ON:1411,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1410,INA:0,ON:1411,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 usbhost_clkdm->usbhost_pwrdm (1) sgx_clkdm->sgx_pwrdm (0) per_clkdm->per_pwrdm (12) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (12) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# echo enabled > /sys/devices/platform/omap_uart.2/tty/ttyO2/p ower/wakeup root@beagleboard:~# %% Start retention double suspend/resume UART wakeup test root@beagleboard:~# echo mem > /sys/power/state [ 35.373931] PM: Syncing filesystems ... done. [ 35.918243] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 35.937530] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 35.957427] Suspending console(s) (use no_console_suspend to debug) [ 36.093994] PM: suspend of devices complete after 126.708 msecs [ 36.100677] PM: late suspend of devices complete after 6.622 msecs [ 36.108093] PM: noirq suspend of devices complete after 7.385 msecs [ 36.108154] Disabling non-boot CPUs ... [ 36.109008] Successfully put all powerdomains to target state [ 36.113128] PM: noirq resume of devices complete after 3.845 msecs [ 36.119628] PM: early resume of devices complete after 4.943 msecs [ 36.405853] PM: resume of devices complete after 285.949 msecs [ 36.439514] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1564,INA:0,ON:1565,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 core_pwrdm (ON),OFF:0,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:1564,INA:0,ON:1565,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (RET)OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:0,RET:1564,INA:0,ON:1565,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1564,INA:0,ON:1565,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 usbhost_clkdm->usbhost_pwrdm (1) sgx_clkdm->sgx_pwrdm (0) per_clkdm->per_pwrdm (12) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (12) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 38.334808] PM: Syncing filesystems ... done. [ 39.062927] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 39.087707] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 39.107666] Suspending console(s) (use no_console_suspend to debug) [ 39.243469] PM: suspend of devices complete after 126.098 msecs [ 39.249999] PM: late suspend of devices complete after 6.500 msecs [ 39.256988] PM: noirq suspend of devices complete after 6.988 msecs [ 39.257019] Disabling non-boot CPUs ... [ 39.257354] Successfully put all powerdomains to target state [ 39.261383] PM: noirq resume of devices complete after 3.784 msecs [ 39.267791] PM: early resume of devices complete after 4.943 msecs [ 39.544128] PM: resume of devices complete after 276.092 msecs [ 39.577575] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1710,INA:0,ON:1711,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 core_pwrdm (ON),OFF:0,RET:2,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:2,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:1710,INA:0,ON:1711,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:0,RET:1710,INA:0,ON:1711,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1710,INA:0,ON:1711,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 usbhost_clkdm->usbhost_pwrdm (1) sgx_clkdm->sgx_pwrdm (0) per_clkdm->per_pwrdm (12) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (12) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# ./test_rootfs_access_nonexistent_file__ret_susp -sh: ./test_rootfs_access_nonexistent_file__ret_susp: not found root@beagleboard:~# root@beagleboard:~# %% End retention double suspend/resume UART wakeup test %% Start retention dynamic idle UART wakeup test echo 3000 > /sys/devices/platform/omap_uart.0/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.1/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.2/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.3/power/autosusp end_delay_ms -sh: cannot create /sys/devices/platform/omap_uart.3/power/autosuspend_delay_ms: nonexistent directory root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:2041,INA:0,ON:2042,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 core_pwrdm (ON),OFF:0,RET:40,INA:0,ON:41,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:47,INA:0,ON:48,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:2041,INA:0,ON:2042,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:0,RET:2041,INA:0,ON:2042,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:2041,INA:0,ON:2042,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 usbhost_clkdm->usbhost_pwrdm (1) sgx_clkdm->sgx_pwrdm (0) per_clkdm->per_pwrdm (12) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (10) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# ./test_rootfs_access_nonexistent_file__ret_dyn -sh: ./test_rootfs_access_nonexistent_file__ret_dyn: not found root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.0/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.1/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.2/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.3/power/autosuspen d_delay_ms -sh: cannot create /sys/devices/platform/omap_uart.3/power/autosuspend_delay_ms: nonexistent directory root@beagleboard:~# root@beagleboard:~# %% End retention dynamic idle UART wakeup test %% Start off-mode double suspend UART wakeup test echo 1 > /debug/pm_debug/enable_off_mode root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 61.279083] PM: Syncing filesystems ... done. [ 61.635589] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 61.657928] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 61.678070] Suspending console(s) (use no_console_suspend to debug) [ 61.813507] PM: suspend of devices complete after 125.732 msecs [ 61.820037] PM: late suspend of devices complete after 6.500 msecs [ 61.826995] PM: noirq suspend of devices complete after 6.958 msecs [ 61.827026] Disabling non-boot CPUs ... [ 61.827362] Successfully put all powerdomains to target state [ 61.845123] PM: noirq resume of devices complete after 17.395 msecs [ 61.851593] PM: early resume of devices complete after 4.791 msecs [ 62.133911] PM: resume of devices complete after 282.135 msecs [ 62.167388] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:35,RET:2260,INA:0,ON:2296,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 core_pwrdm (ON),OFF:1,RET:40,INA:0,ON:42,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:1,RET:47,INA:0,ON:49,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:35,RET:2260,INA:0,ON:2296,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:35,RET:2260,INA:0,ON:2296,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:35,RET:2260,INA:0,ON:2296,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 usbhost_clkdm->usbhost_pwrdm (1) sgx_clkdm->sgx_pwrdm (0) per_clkdm->per_pwrdm (12) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (12) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 64.053375] PM: Syncing filesystems ... done. [ 64.789215] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 64.808349] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 64.828308] Suspending console(s) (use no_console_suspend to debug) [ 64.963775] PM: suspend of devices complete after 125.762 msecs [ 64.970336] PM: late suspend of devices complete after 6.500 msecs [ 64.977325] PM: noirq suspend of devices complete after 6.958 msecs [ 64.977355] Disabling non-boot CPUs ... [ 64.977691] Successfully put all powerdomains to target state [ 64.995422] PM: noirq resume of devices complete after 17.364 msecs [ 65.001861] PM: early resume of devices complete after 4.821 msecs [ 65.284454] PM: resume of devices complete after 282.379 msecs [ 65.317901] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:81,RET:2260,INA:0,ON:2342,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 core_pwrdm (ON),OFF:2,RET:40,INA:0,ON:43,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:2,RET:47,INA:0,ON:50,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:81,RET:2260,INA:0,ON:2342,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:81,RET:2260,INA:0,ON:2342,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:81,RET:2260,INA:0,ON:2342,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 usbhost_clkdm->usbhost_pwrdm (1) sgx_clkdm->sgx_pwrdm (0) per_clkdm->per_pwrdm (12) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (12) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# ./test_rootfs_access_nonexistent_file__off_susp -sh: ./test_rootfs_access_nonexistent_file__off_susp: not found root@beagleboard:~# root@beagleboard:~# %% End off-mode double suspend UART wakeup test %% Start off-mode dynamic idle UART wakeup test echo 3000 > /sys/devices/platform/omap_uart.0/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.1/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.2/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.3/power/autosusp end_delay_ms -sh: cannot create /sys/devices/platform/omap_uart.3/power/autosuspend_delay_ms: nonexistent directory root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:251,RET:2260,INA:0,ON:2512,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 core_pwrdm (ON),OFF:29,RET:40,INA:0,ON:70,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:36,RET:47,INA:0,ON:84,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:251,RET:2260,INA:0,ON:2512,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:251,RET:2260,INA:0,ON:2512,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:251,RET:2260,INA:0,ON:2512,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 usbhost_clkdm->usbhost_pwrdm (1) sgx_clkdm->sgx_pwrdm (0) per_clkdm->per_pwrdm (12) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (10) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# ./test_rootfs_access_nonexistent_file__off_dyn -sh: ./test_rootfs_access_nonexistent_file__off_dyn: not found root@beagleboard:~# root@beagleboard:~# %% End off-mode dynamic idle UART wakeup test %% End PM consolidated quick test