怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<`] (unwind_backtrace+0x0/0xf0) from [] (show_stack+0x10/0x14) [ 0.158905] [] (show_stack+0x10/0x14) from [] (dump_stack+0x78/0x94) [ 0.158966] [] (dump_stack+0x78/0x94) from [] (warn_slowpath_common+0x68/0x8c) [ 0.158996] [] (warn_slowpath_common+0x68/0x8c) from [] (warn_slowpath_fmt+0x30/0x40) [ 0.159027] [] (warn_slowpath_fmt+0x30/0x40) from [] (_init+0x330/0x374) [ 0.159088] [] (_init+0x330/0x374) from [] (omap_hwmod_for_each+0x30/0x5c) [ 0.159118] [] (omap_hwmod_for_each+0x30/0x5c) from [] (__omap_hwmod_setup_all+0x24/0x40) [ 0.159149] [] (__omap_hwmod_setup_all+0x24/0x40) from [] (do_one_initcall+0xec/0x150) [ 0.159210] [] (do_one_initcall+0xec/0x150) from [] (kernel_init_freeable+0xf8/0x1c8) [ 0.159240] [] (kernel_init_freeable+0xf8/0x1c8) from [] (kernel_init+0x8/0x110) [ 0.159271] [] (kernel_init+0x8/0x110) from [] (ret_from_fork+0x14/0x2c) [ 0.159423] ---[ end trace e2d450ea3b129f68 ]--- [ 0.198394] pinctrl core: initialized pinctrl subsystem [ 0.205474] regulator-dummy: no parameters [ 0.210876] NET: Registered protocol family 16 [ 0.221893] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.224945] omap-gpmc omap-gpmc: GPMC revision 5.0 [ 0.242614] OMAP GPIO hardware version 2.5 [ 0.272064] omap_mux_init: Add partition: #1: core, flags: 4 [ 0.275787] OMAP3 Beagle Rev: C1/C2/C3 [ 0.309936] Reprogramming SDRC clock to 332000000 Hz [ 0.314270] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.341156] omap-mcbsp.2: alias fck already exists [ 0.342407] omap-mcbsp.3: alias fck already exists [ 0.347869] OMAP DMA hardware revision 4.0 [ 0.354309] arm-pmu: alias fck already exists [ 0.464996] bio: create slab at 0 [ 0.472320] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot [ 0.472442] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5 [ 0.601470] omap-dma-engine omap-dma-engine: OMAP DMA engine driver [ 0.615875] SCSI subsystem initialized [ 0.619689] usbcore: registered new interface driver usbfs [ 0.620544] usbcore: registered new interface driver hub [ 0.621887] usbcore: registered new device driver usb [ 0.632751] omap_i2c omap_i2c.1: bus 1 rev3.3 at 2600 kHz [ 0.636016] omap_i2c omap_i2c.3: bus 3 rev3.3 at 100 kHz [ 0.650268] Switched to clocksource 32k_counter [ 0.929321] NET: Registered protocol family 2 [ 0.932861] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.933166] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.934539] TCP: Hash tables configured (established 2048 bind 2048) [ 0.934844] TCP: reno registered [ 0.934906] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.935272] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.937316] NET: Registered protocol family 1 [ 0.940063] RPC: Registered named UNIX socket transport module. [ 0.940795] RPC: Registered udp transport module. [ 0.940826] RPC: Registered tcp transport module. [ 0.940826] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.943023] CPU PMU: probing PMU on CPU 0 [ 0.943084] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 1.220916] VFS: Disk quotas dquot_6.5.2 [ 1.221313] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.225372] NFS: Registering the id_resolver key type [ 1.226104] Key type id_resolver registered [ 1.226165] Key type id_legacy registered [ 1.226379] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.227172] msgmni has been set to 477 [ 1.234283] io scheduler noop registered [ 1.234313] io scheduler deadline registered [ 1.234497] io scheduler cfq registered (default) [ 1.244232] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.258697] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.263244] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.266082] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.681060] console [ttyO2] enabled [ 1.738769] brd: module loaded [ 1.772796] loop: module loaded [ 1.795257] twl 1-0048: PIH (irq 23) chaining IRQs 338..346 [ 1.799041] twl 1-0048: power (irq 343) chaining IRQs 346..353 [ 1.806915] twl4030_gpio twl4030_gpio: gpio (irq 338) chaining IRQs 354..371 [ 1.821746] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [ 1.832305] hsusb2_vcc: Failed to request enable GPIO510: -22 [ 1.839935] reg-fixed-voltage reg-fixed-voltage.0.auto: Failed to register regulator: -22 [ 1.844726] reg-fixed-voltage: probe of reg-fixed-voltage.0.auto failed with error -22 [ 1.857299] vdd_mpu_iva: 600 <--> 1450 mV normal [ 1.863372] vdd_core: 600 <--> 1450 mV normal [ 1.869812] VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 1.876922] VDAC: 1800 mV normal standby [ 1.882934] VDVI: 1800 mV normal standby [ 1.888885] VSIM: 1800 <--> 3000 mV at 1800 mV normal standby [ 1.906768] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.911773] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit) [ 1.916442] NAND device: 256MiB, SLC, page size: 2048, OOB size: 64 [ 1.919952] nand: error: CONFIG_MTD_NAND_OMAP_BCH not enabled [ 1.923370] omap2-nand: probe of omap2-nand.0 failed with error -22 [ 1.951171] usbcore: registered new interface driver asix [ 1.954925] usbcore: registered new interface driver ax88179_178a [ 1.958984] usbcore: registered new interface driver cdc_ether [ 1.963745] usbcore: registered new interface driver r815x [ 1.967559] usbcore: registered new interface driver smsc95xx [ 1.971984] usbcore: registered new interface driver net1080 [ 1.975799] usbcore: registered new interface driver cdc_subset [ 1.979797] usbcore: registered new interface driver zaurus [ 1.984161] usbcore: registered new interface driver cdc_ncm [ 1.991088] usbcore: registered new interface driver cdc_wdm [ 1.995056] usbcore: registered new interface driver usb-storage [ 1.999145] usbcore: registered new interface driver usbtest [ 2.007232] mousedev: PS/2 mouse device common for all mice [ 2.022094] input: twl4030_pwrbutton as /devices/platform/omap_i2c.1/i2c-1/1-004b/twl4030_pwrbutton/input/input0 [ 2.035064] twl_rtc twl_rtc: Power up reset detected. [ 2.038085] twl_rtc twl_rtc: Enabling TWL-RTC [ 2.047210] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 2.052886] i2c /dev entries driver [ 2.061035] Driver for 1-wire Dallas network protocol. [ 2.072692] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.086029] omap-dma-engine omap-dma-engine: allocating channel for 62 [ 2.089721] omap-dma-engine omap-dma-engine: allocating channel for 61 [ 2.479553] ledtrig-cpu: registered to indicate activity on CPUs [ 2.485992] usbcore: registered new interface driver usbhid [ 2.489013] usbhid: USB HID core driver [ 2.495391] oprofile: using arm/armv7 [ 2.498596] TCP: cubic registered [ 2.500732] Initializing XFRM netlink socket [ 2.503387] NET: Registered protocol family 17 [ 2.505950] NET: Registered protocol family 15 [ 2.509094] Key type dns_resolver registered [ 2.529907] PM: no software I/O chain control; some wakeups may be lost [ 2.534454] ThumbEE CPU extension supported. [ 2.546356] VDVI: incomplete constraints, leaving on [ 2.549591] VDAC: incomplete constraints, leaving on [ 2.554290] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [ 2.566223] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 2.572723] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [ 2.580078] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.588348] omap_uart omap_uart.2: no wakeirq for uart2 [ 2.593933] Waiting for root device /dev/mmcblk0p2... [ 2.608978] mmc0: SD Status: Invalid Allocation Unit size. [ 2.614685] mmc0: new SD card at address 8001 [ 2.622344] mmcblk0: mmc0:8001 SD02G 1.89 GiB [ 2.634582] mmcblk0: p1 p2 [ 2.644927] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [ 4.209899] kjournald starting. Commit interval 5 seconds [ 4.213714] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 4.396789] EXT3-fs (mmcblk0p2): using internal journal [ 4.404663] EXT3-fs (mmcblk0p2): recovery complete [ 4.407287] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 4.411346] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 4.421569] devtmpfs: mounted [ 4.424743] Freeing unused kernel memory: 384K (c0775000 - c07d5000) [ 4.598663] omap_uart omap_uart.2: no wakeirq for uart2 [ 4.623443] omap_uart omap_uart.2: no wakeirq for uart2 INIT: [ 4.629425] omap_uart omap_uart.2: no wakeirq for uart2 version 2.86 booting[ 4.651428] omap_uart omap_uart.2: no wakeirq for uart2 [ 4.670989] omap_uart omap_uart.2: no wakeirq for uart2 Starting the hotplug events dispatcher udevd [ 5.751556] udevd (799): /proc/799/oom_adj is deprecated, please use /proc/799/oom_score_adj instead. Synthesizing the initial hotplug events [ 15.246429] random: nonblocking pool is initialized [ 16.893188] 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.13.0-rc2-00309-gdc1ccc4: No such file or directory FATAL: Could not open /lib/modules/3.13.0-rc2-00309-gdc1ccc4/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.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc2-00309-gdc1ccc4/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 [ 23.673889] omap_uart omap_uart.2: no wakeirq for uart2 INIT: [ 23.691589] omap_uart omap_uart.2: no wakeirq for uart2 Entering runlevel: 5[ 23.711547] omap_uart omap_uart.2: no wakeirq for uart2 [ 23.721191] omap_uart omap_uart.2: no wakeirq for uart2 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.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc2-00309-gdc1ccc4/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.13.0-rc2-00309-gdc1ccc4/modules.dep: No such file or directory hid2hci. [ 25.137603] omap_uart omap_uart.2: no wakeirq for uart2 .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' 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[2028]: 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:1317,INA:0,ON:1318,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:1317,INA:0,ON:1318,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:1317,INA:0,ON:1318,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1316,INA:0,ON:1317,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 (17) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# echo enabled > /sys/devices/44000000.ocp/48020000.serial/tty /ttyO2/power/wakeup -sh: cannot create /sys/devices/44000000.ocp/48020000.serial/tty/ttyO2/power/wakeup: nonexistent directory root@beagleboard:~# %% Start retention double suspend/resume UART wakeup test echo mem > /sys/power/state [ 36.992675] PM: Syncing filesystems ... done. [ 37.588745] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 37.596221] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 37.604339] Suspending console(s) (use no_console_suspend to debug) [ 37.738647] PM: suspend of devices complete after 124.267 msecs [ 37.745452] PM: late suspend of devices complete after 6.774 msecs [ 37.753784] PM: noirq suspend of devices complete after 8.270 msecs [ 37.753875] Disabling non-boot CPUs ... [ 37.754028] Successfully put all powerdomains to target state [ 37.758483] PM: noirq resume of devices complete after 4.333 msecs [ 37.765197] PM: early resume of devices complete after 4.913 msecs [ 37.767974] omap_uart omap_uart.2: no wakeirq for uart2 [ 38.052947] PM: resume of devices complete after 287.536 msecs [ 38.091094] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1450,INA:0,ON:1451,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:1450,INA:0,ON:1451,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:1450,INA:0,ON:1451,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1449,INA:0,ON:1450,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 (21) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 39.979309] PM: Syncing filesystems ... done. [ 40.704284] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 40.710571] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 40.717010] Suspending console(s) (use no_console_suspend to debug) [ 40.843261] PM: suspend of devices complete after 116.546 msecs [ 40.849914] PM: late suspend of devices complete after 6.622 msecs [ 40.857086] PM: noirq suspend of devices complete after 7.171 msecs [ 40.857116] Disabling non-boot CPUs ... [ 40.857238] Successfully put all powerdomains to target state [ 40.861541] PM: noirq resume of devices complete after 4.211 msecs [ 40.867889] PM: early resume of devices complete after 4.882 msecs [ 40.869537] omap_uart omap_uart.2: no wakeirq for uart2 [ 41.152130] PM: resume of devices complete after 284.027 msecs [ 41.188629] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1589,INA:0,ON:1590,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:1589,INA:0,ON:1590,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:1589,INA:0,ON:1590,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1588,INA:0,ON:1589,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 (21) 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:1919,INA:0,ON:1920,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:36,INA:0,ON:37,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:1919,INA:0,ON:1920,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:1919,INA:0,ON:1920,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1918,INA:0,ON:1919,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 (14) 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 [ 62.880279] PM: Syncing filesystems ... done. [ 63.237396] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 63.245147] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 63.252655] Suspending console(s) (use no_console_suspend to debug) [ 63.383239] PM: suspend of devices complete after 120.758 msecs [ 63.389862] PM: late suspend of devices complete after 6.622 msecs [ 63.397064] PM: noirq suspend of devices complete after 7.141 msecs [ 63.397094] Disabling non-boot CPUs ... [ 63.397216] Successfully put all powerdomains to target state [ 63.415130] PM: noirq resume of devices complete after 17.822 msecs [ 63.421691] PM: early resume of devices complete after 5.096 msecs [ 63.423156] omap_uart omap_uart.2: no wakeirq for uart2 [ 63.682037] PM: resume of devices complete after 260.162 msecs [ 63.718261] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:46,RET:2124,INA:0,ON:2171,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:36,INA:0,ON:38,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:46,RET:2124,INA:0,ON:2171,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:46,RET:2125,INA:0,ON:2172,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:46,RET:2123,INA:0,ON:2170,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 (21) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 65.622314] PM: Syncing filesystems ... done. [ 66.347595] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 66.355346] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 66.362884] Suspending console(s) (use no_console_suspend to debug) [ 66.493133] PM: suspend of devices complete after 120.483 msecs [ 66.499786] PM: late suspend of devices complete after 6.622 msecs [ 66.506958] PM: noirq suspend of devices complete after 7.141 msecs [ 66.506988] Disabling non-boot CPUs ... [ 66.507110] Successfully put all powerdomains to target state [ 66.525024] PM: noirq resume of devices complete after 17.822 msecs [ 66.531585] PM: early resume of devices complete after 5.035 msecs [ 66.533050] omap_uart omap_uart.2: no wakeirq for uart2 [ 66.811553] PM: resume of devices complete after 279.785 msecs [ 66.847778] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:93,RET:2124,INA:0,ON:2218,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:36,INA:0,ON:39,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:93,RET:2124,INA:0,ON:2218,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:93,RET:2125,INA:0,ON:2219,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:93,RET:2123,INA:0,ON:2217,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 (21) 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:272,RET:2124,INA:0,ON:2397,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:23,RET:36,INA:0,ON:60,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:31,RET:47,INA:0,ON:79,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:272,RET:2124,INA:0,ON:2397,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:272,RET:2125,INA:0,ON:2398,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:272,RET:2123,INA:0,ON:2396,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 (14) 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