怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<` at 0 [ 0.525939] omap-dma-engine omap-dma-engine: OMAP DMA engine driver [ 0.534393] SCSI subsystem initialized [ 0.538543] usbcore: registered new interface driver usbfs [ 0.539398] usbcore: registered new interface driver hub [ 0.540679] usbcore: registered new device driver usb [ 0.564819] twl 1-0048: PIH (irq 23) chaining IRQs 338..346 [ 0.566101] twl 1-0048: power (irq 343) chaining IRQs 346..353 [ 0.570190] twl4030_gpio twl4030_gpio: gpio (irq 338) chaining IRQs 354..371 [ 0.583496] vdd_mpu_iva: 600 <--> 1450 mV normal [ 0.586669] vdd_core: 600 <--> 1450 mV normal [ 0.590637] VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 0.593933] VDAC: 1800 mV normal standby [ 0.597808] VDVI: 1800 mV normal standby [ 0.601470] VSIM: 1800 <--> 3000 mV at 1800 mV normal standby [ 0.603240] omap_i2c omap_i2c.1: bus 1 rev3.3 at 2600 kHz [ 0.606384] omap_i2c omap_i2c.3: bus 3 rev3.3 at 100 kHz [ 0.618347] Switching to clocksource 32k_counter [ 0.808380] NET: Registered protocol family 2 [ 0.811309] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.811614] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.812988] TCP: Hash tables configured (established 2048 bind 2048) [ 0.813385] TCP: reno registered [ 0.813446] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.813873] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.815612] NET: Registered protocol family 1 [ 0.817535] RPC: Registered named UNIX socket transport module. [ 0.817596] RPC: Registered udp transport module. [ 0.817596] RPC: Registered tcp transport module. [ 0.817626] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.819152] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.819671] CPU PMU: probing PMU on CPU 0 [ 0.819702] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 1.051513] VFS: Disk quotas dquot_6.5.2 [ 1.051879] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.055908] NFS: Registering the id_resolver key type [ 1.056884] Key type id_resolver registered [ 1.056915] Key type id_legacy registered [ 1.057128] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.058044] msgmni has been set to 478 [ 1.063293] io scheduler noop registered [ 1.063354] io scheduler deadline registered [ 1.063476] io scheduler cfq registered (default) [ 1.069885] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.080841] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 88) is a OMAP UART0 [ 1.083892] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 89) is a OMAP UART1 [ 1.086303] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 90) is a OMAP UART2 [ 1.436370] console [ttyO2] enabled [ 1.487030] brd: module loaded [ 1.518188] loop: module loaded [ 1.530853] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.535522] ------------[ cut here ]------------ [ 1.538085] WARNING: at drivers/mtd/nand/nand_base.c:2861 nand_scan_ident+0xdb4/0xf90() [ 1.542510] Modules linked in: [ 1.544250] [] (unwind_backtrace+0x0/0xf0) from [] (warn_slowpath_common+0x4c/0x64) [ 1.549468] [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_null+0x1c/0x24) [ 1.554718] [] (warn_slowpath_null+0x1c/0x24) from [] (nand_scan_ident+0xdb4/0xf90) [ 1.559906] [] (nand_scan_ident+0xdb4/0xf90) from [] (omap_nand_probe+0x2e8/0x678) [ 1.565032] [] (omap_nand_probe+0x2e8/0x678) from [] (platform_drv_probe+0x18/0x1c) [ 1.570159] [] (platform_drv_probe+0x18/0x1c) from [] (driver_probe_device+0x84/0x224) [ 1.575469] [] (driver_probe_device+0x84/0x224) from [] (__driver_attach+0x94/0x98) [ 1.580657] [] (__driver_attach+0x94/0x98) from [] (bus_for_each_dev+0x50/0x7c) [ 1.585571] [] (bus_for_each_dev+0x50/0x7c) from [] (bus_add_driver+0xa0/0x2a0) [ 1.590576] [] (bus_add_driver+0xa0/0x2a0) from [] (driver_register+0x78/0x18c) [ 1.595550] [] (driver_register+0x78/0x18c) from [] (do_one_initcall+0x34/0x194) [ 1.600524] [] (do_one_initcall+0x34/0x194) from [] (kernel_init+0x154/0x2ec) [ 1.605438] [] (kernel_init+0x154/0x2ec) from [] (ret_from_fork+0x14/0x24) [ 1.610290] ---[ end trace 12efa75e3582e77b ]--- [ 1.612945] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit), 256MiB, page size: 2048, OOB size: 64 [ 1.619628] Creating 5 MTD partitions on "omap2-nand.0": [ 1.622558] 0x000000000000-0x000000080000 : "X-Loader" [ 1.635070] 0x000000080000-0x000000260000 : "U-Boot" [ 1.645233] 0x000000260000-0x000000280000 : "U-Boot Env" [ 1.653961] 0x000000280000-0x000000680000 : "Kernel" [ 1.666137] 0x000000680000-0x000010000000 : "File System" [ 1.887207] OneNAND driver initializing [ 1.908782] usbcore: registered new interface driver asix [ 1.912506] usbcore: registered new interface driver cdc_ether [ 1.916839] usbcore: registered new interface driver smsc95xx [ 1.920715] usbcore: registered new interface driver net1080 [ 1.925048] usbcore: registered new interface driver cdc_subset [ 1.929016] usbcore: registered new interface driver zaurus [ 1.933135] usbcore: registered new interface driver cdc_ncm [ 1.939453] usbcore: registered new interface driver cdc_wdm [ 1.942535] Initializing USB Mass Storage driver... [ 1.946105] usbcore: registered new interface driver usb-storage [ 1.949584] USB Mass Storage support registered. [ 1.953002] usbcore: registered new interface driver usbtest [ 1.958923] mousedev: PS/2 mouse device common for all mice [ 1.971343] input: twl4030_pwrbutton as /devices/platform/omap_i2c.1/i2c-1/1-004b/twl4030_pwrbutton/input/input0 [ 1.981079] twl_rtc twl_rtc: Power up reset detected. [ 1.984100] twl_rtc twl_rtc: Enabling TWL-RTC [ 1.992492] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 1.998046] i2c /dev entries driver [ 2.004394] Driver for 1-wire Dallas network protocol. [ 2.013519] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.025878] omap-dma-engine omap-dma-engine: allocating channel for 62 [ 2.029541] omap-dma-engine omap-dma-engine: allocating channel for 61 [ 2.417724] usbcore: registered new interface driver usbhid [ 2.420776] usbhid: USB HID core driver [ 2.426635] oprofile: using arm/armv7 [ 2.429687] TCP: cubic registered [ 2.431762] Initializing XFRM netlink socket [ 2.434326] NET: Registered protocol family 17 [ 2.436889] NET: Registered protocol family 15 [ 2.440063] Key type dns_resolver registered [ 2.442535] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 [ 2.463073] PM: no software I/O chain control; some wakeups may be lost [ 2.467315] ThumbEE CPU extension supported. [ 2.475891] VDVI: incomplete constraints, leaving on [ 2.479248] VDAC: incomplete constraints, leaving on [ 2.488189] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 2.496307] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.507446] Waiting for root device /dev/mmcblk0p2... [ 2.574584] mmc0: SD Status: Invalid Allocation Unit size. [ 2.580078] mmc0: new SD card at address 8001 [ 2.586242] mmcblk0: mmc0:8001 SD02G 1.89 GiB [ 2.596343] mmcblk0: p1 p2 [ 3.742279] kjournald starting. Commit interval 5 seconds [ 3.746032] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 3.932708] EXT3-fs (mmcblk0p2): using internal journal [ 3.940063] EXT3-fs (mmcblk0p2): recovery complete [ 3.942687] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 3.947143] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 3.951568] Freeing init memory: 328K INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 5.159545] udevd (750): /proc/750/oom_adj is deprecated, please use /proc/750/oom_score_adj instead. Synthesizing the initial hotplug events Remounting root file system... mount: according to mtab, /proc is already mounted on /proc WARNING: Couldn't open directory /lib/modules/3.8.0-rc1-11751-ga49f0d1: No such file or directory FATAL: Could not open /lib/modules/3.8.0-rc1-11751-ga49f0d1/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.8.0-rc1-11751-ga49f0d1/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.8.0-rc1-11751-ga49f0d1/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.8.0-rc1-11751-ga49f0d1/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.8.0-rc1-11751-ga49f0d1/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.8.0-rc1-11751-ga49f0d1/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.8.0-rc1-11751-ga49f0d1/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.8.0-rc1-11751-ga49f0d1/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.8.0-rc1-11751-ga49f0d1/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.8.0-rc1-11751-ga49f0d1/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.8.0-rc1-11751-ga49f0d1/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.8.0-rc1-11751-ga49f0d1/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[2066]: 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:1264,INA:0,ON:1265,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:1264,INA:0,ON:1265,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:1264,INA:0,ON:1265,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1264,INA:0,ON:1265,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 (11) 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.469085] PM: Syncing filesystems ... done. [ 36.232208] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 36.253967] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 36.277221] Suspending console(s) (use no_console_suspend to debug) [ 36.417419] PM: suspend of devices complete after 130.096 msecs [ 36.422668] PM: late suspend of devices complete after 5.218 msecs [ 36.430267] PM: noirq suspend of devices complete after 7.568 msecs [ 36.430328] Disabling non-boot CPUs ... [ 36.430786] Successfully put all powerdomains to target state [ 36.435058] PM: noirq resume of devices complete after 4.028 msecs [ 36.440216] PM: early resume of devices complete after 3.570 msecs [ 36.731384] PM: resume of devices complete after 290.954 msecs [ 36.765655] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1397,INA:0,ON:1398,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:1397,INA:0,ON:1398,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:1397,INA:0,ON:1398,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1397,INA:0,ON:1398,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 (11) 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.656585] PM: Syncing filesystems ... done. [ 39.381896] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 39.402526] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 39.425933] Suspending console(s) (use no_console_suspend to debug) [ 39.557556] PM: suspend of devices complete after 121.704 msecs [ 39.562683] PM: late suspend of devices complete after 5.096 msecs [ 39.569854] PM: noirq suspend of devices complete after 7.141 msecs [ 39.569885] Disabling non-boot CPUs ... [ 39.570190] Successfully put all powerdomains to target state [ 39.574401] PM: noirq resume of devices complete after 3.997 msecs [ 39.579315] PM: early resume of devices complete after 3.387 msecs [ 39.862731] PM: resume of devices complete after 283.172 msecs [ 39.896636] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1527,INA:0,ON:1528,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:1527,INA:0,ON:1528,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:1527,INA:0,ON:1528,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1527,INA:0,ON:1528,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 (11) 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:1706,INA:0,ON:1707,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:12,INA:0,ON:13,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:19,INA:0,ON:20,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:1706,INA:0,ON:1707,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:1706,INA:0,ON:1707,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1706,INA:0,ON:1707,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 (11) 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.592742] PM: Syncing filesystems ... done. [ 62.173004] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 62.201385] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 62.223022] Suspending console(s) (use no_console_suspend to debug) [ 62.354644] PM: suspend of devices complete after 121.643 msecs [ 62.359771] PM: late suspend of devices complete after 5.065 msecs [ 62.366943] PM: noirq suspend of devices complete after 7.141 msecs [ 62.366973] Disabling non-boot CPUs ... [ 62.367279] Successfully put all powerdomains to target state [ 62.385101] PM: noirq resume of devices complete after 17.486 msecs [ 62.390136] PM: early resume of devices complete after 3.448 msecs [ 62.675567] PM: resume of devices complete after 285.217 msecs [ 62.709533] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:28,RET:1859,INA:0,ON:1888,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:12,INA:0,ON:14,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:1,RET:19,INA:0,ON:21,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:28,RET:1859,INA:0,ON:1888,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:28,RET:1859,INA:0,ON:1888,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:28,RET:1859,INA:0,ON:1888,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 (11) 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.592559] PM: Syncing filesystems ... done. [ 65.322937] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 65.350067] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 65.371643] Suspending console(s) (use no_console_suspend to debug) [ 65.503265] PM: suspend of devices complete after 121.704 msecs [ 65.508392] PM: late suspend of devices complete after 5.096 msecs [ 65.515563] PM: noirq suspend of devices complete after 7.110 msecs [ 65.515594] Disabling non-boot CPUs ... [ 65.515899] Successfully put all powerdomains to target state [ 65.533752] PM: noirq resume of devices complete after 17.486 msecs [ 65.538787] PM: early resume of devices complete after 3.448 msecs [ 65.824035] PM: resume of devices complete after 285.034 msecs [ 65.858001] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:57,RET:1859,INA:0,ON:1917,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:12,INA:0,ON:15,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:2,RET:19,INA:0,ON:22,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:57,RET:1859,INA:0,ON:1917,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:57,RET:1859,INA:0,ON:1917,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:57,RET:1859,INA:0,ON:1917,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 (11) 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:114,RET:1859,INA:0,ON:1974,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:9,RET:12,INA:0,ON:22,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:13,RET:19,INA:0,ON:33,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:114,RET:1859,INA:0,ON:1974,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:114,RET:1859,INA:0,ON:1974,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:114,RET:1859,INA:0,ON:1974,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 (11) 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