怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<`] (unwind_backtrace+0x0/0xf0) from [] (show_stack+0x10/0x14) [ 0.140289] [] (show_stack+0x10/0x14) from [] (dump_stack+0x78/0x94) [ 0.140319] [] (dump_stack+0x78/0x94) from [] (warn_slowpath_common+0x68/0x8c) [ 0.140380] [] (warn_slowpath_common+0x68/0x8c) from [] (warn_slowpath_fmt+0x30/0x40) [ 0.140411] [] (warn_slowpath_fmt+0x30/0x40) from [] (_init+0x330/0x374) [ 0.140441] [] (_init+0x330/0x374) from [] (omap_hwmod_for_each+0x30/0x5c) [ 0.140472] [] (omap_hwmod_for_each+0x30/0x5c) from [] (__omap_hwmod_setup_all+0x24/0x40) [ 0.140533] [] (__omap_hwmod_setup_all+0x24/0x40) from [] (do_one_initcall+0xec/0x150) [ 0.140563] [] (do_one_initcall+0xec/0x150) from [] (kernel_init_freeable+0xf8/0x1c8) [ 0.140624] [] (kernel_init_freeable+0xf8/0x1c8) from [] (kernel_init+0x8/0x110) [ 0.140655] [] (kernel_init+0x8/0x110) from [] (ret_from_fork+0x14/0x2c) [ 0.140808] ---[ end trace d9c6986f2675d391 ]--- [ 0.180267] pinctrl core: initialized pinctrl subsystem [ 0.187316] regulator-dummy: no parameters [ 0.192749] NET: Registered protocol family 16 [ 0.203857] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.206909] omap-gpmc omap-gpmc: GPMC revision 5.0 [ 0.224700] OMAP GPIO hardware version 2.5 [ 0.254241] omap_mux_init: Add partition: #1: core, flags: 4 [ 0.257934] OMAP3 Beagle Rev: C1/C2/C3 [ 0.292297] Reprogramming SDRC clock to 332000000 Hz [ 0.296447] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.323272] omap-mcbsp.2: alias fck already exists [ 0.324523] omap-mcbsp.3: alias fck already exists [ 0.329956] OMAP DMA hardware revision 4.0 [ 0.335937] arm-pmu: alias fck already exists [ 0.447357] bio: create slab at 0 [ 0.454711] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot [ 0.454803] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5 [ 0.584320] omap-dma-engine omap-dma-engine: OMAP DMA engine driver [ 0.598358] SCSI subsystem initialized [ 0.602172] usbcore: registered new interface driver usbfs [ 0.603027] usbcore: registered new interface driver hub [ 0.604370] usbcore: registered new device driver usb [ 0.615631] omap_i2c omap_i2c.1: bus 1 rev3.3 at 2600 kHz [ 0.618957] omap_i2c omap_i2c.3: bus 3 rev3.3 at 100 kHz [ 0.633544] Switched to clocksource 32k_counter [ 0.911956] NET: Registered protocol family 2 [ 0.915405] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.915710] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.917083] TCP: Hash tables configured (established 2048 bind 2048) [ 0.917419] TCP: reno registered [ 0.917449] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.917846] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.920104] NET: Registered protocol family 1 [ 0.925170] RPC: Registered named UNIX socket transport module. [ 0.925201] RPC: Registered udp transport module. [ 0.925231] RPC: Registered tcp transport module. [ 0.925262] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.927429] CPU PMU: probing PMU on CPU 0 [ 0.927490] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 1.208465] VFS: Disk quotas dquot_6.5.2 [ 1.208862] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.212951] NFS: Registering the id_resolver key type [ 1.213836] Key type id_resolver registered [ 1.213867] Key type id_legacy registered [ 1.214080] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.214935] msgmni has been set to 477 [ 1.221862] io scheduler noop registered [ 1.221893] io scheduler deadline registered [ 1.222045] io scheduler cfq registered (default) [ 1.231781] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.246765] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.251007] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.254058] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.673126] console [ttyO2] enabled [ 1.730926] brd: module loaded [ 1.764862] loop: module loaded [ 1.788269] twl 1-0048: PIH (irq 23) chaining IRQs 338..346 [ 1.792083] twl 1-0048: power (irq 343) chaining IRQs 346..353 [ 1.799591] twl4030_gpio twl4030_gpio: gpio (irq 338) chaining IRQs 354..371 [ 1.814392] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [ 1.824920] hsusb2_vcc: Failed to request enable GPIO510: -22 [ 1.832489] reg-fixed-voltage reg-fixed-voltage.0.auto: Failed to register regulator: -22 [ 1.837341] reg-fixed-voltage: probe of reg-fixed-voltage.0.auto failed with error -22 [ 1.849975] vdd_mpu_iva: 600 <--> 1450 mV normal [ 1.856079] vdd_core: 600 <--> 1450 mV normal [ 1.862518] VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 1.869689] VDAC: 1800 mV normal standby [ 1.876007] VDVI: 1800 mV normal standby [ 1.882019] VSIM: 1800 <--> 3000 mV at 1800 mV normal standby [ 1.899536] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.904632] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit) [ 1.909362] NAND device: 256MiB, SLC, page size: 2048, OOB size: 64 [ 1.912780] nand: error: CONFIG_MTD_NAND_OMAP_BCH not enabled [ 1.916229] omap2-nand: probe of omap2-nand.0 failed with error -22 [ 1.944305] usbcore: registered new interface driver asix [ 1.948089] usbcore: registered new interface driver ax88179_178a [ 1.952178] usbcore: registered new interface driver cdc_ether [ 1.957031] usbcore: registered new interface driver r815x [ 1.960906] usbcore: registered new interface driver smsc95xx [ 1.965332] usbcore: registered new interface driver net1080 [ 1.969207] usbcore: registered new interface driver cdc_subset [ 1.973266] usbcore: registered new interface driver zaurus [ 1.977630] usbcore: registered new interface driver cdc_ncm [ 1.984619] usbcore: registered new interface driver cdc_wdm [ 1.988647] usbcore: registered new interface driver usb-storage [ 1.992767] usbcore: registered new interface driver usbtest [ 2.000915] mousedev: PS/2 mouse device common for all mice [ 2.015716] input: twl4030_pwrbutton as /devices/platform/omap_i2c.1/i2c-1/1-004b/twl4030_pwrbutton/input/input0 [ 2.028381] twl_rtc twl_rtc: Power up reset detected. [ 2.031463] twl_rtc twl_rtc: Enabling TWL-RTC [ 2.040740] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 2.046722] i2c /dev entries driver [ 2.054870] Driver for 1-wire Dallas network protocol. [ 2.066528] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.079925] omap-dma-engine omap-dma-engine: allocating channel for 62 [ 2.083892] omap-dma-engine omap-dma-engine: allocating channel for 61 [ 2.472808] ledtrig-cpu: registered to indicate activity on CPUs [ 2.479309] usbcore: registered new interface driver usbhid [ 2.482360] usbhid: USB HID core driver [ 2.488769] oprofile: using arm/armv7 [ 2.492034] TCP: cubic registered [ 2.494171] Initializing XFRM netlink socket [ 2.496826] NET: Registered protocol family 17 [ 2.499389] NET: Registered protocol family 15 [ 2.502502] Key type dns_resolver registered [ 2.523681] PM: no software I/O chain control; some wakeups may be lost [ 2.528015] ThumbEE CPU extension supported. [ 2.539703] VDVI: incomplete constraints, leaving on [ 2.542999] VDAC: incomplete constraints, leaving on [ 2.547943] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [ 2.559600] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 2.566467] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [ 2.573974] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.582183] omap_uart omap_uart.2: no wakeirq for uart2 [ 2.587951] Waiting for root device /dev/mmcblk0p2... [ 2.601898] mmc0: SD Status: Invalid Allocation Unit size. [ 2.607635] mmc0: new SD card at address 8001 [ 2.615264] mmcblk0: mmc0:8001 SD02G 1.89 GiB [ 2.627532] mmcblk0: p1 p2 [ 2.637878] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [ 3.994323] kjournald starting. Commit interval 5 seconds [ 3.998016] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 4.182708] EXT3-fs (mmcblk0p2): using internal journal [ 4.190582] EXT3-fs (mmcblk0p2): recovery complete [ 4.193328] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 4.197296] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 4.207519] devtmpfs: mounted [ 4.210693] Freeing unused kernel memory: 384K (c0775000 - c07d5000) [ 4.382141] omap_uart omap_uart.2: no wakeirq for uart2 [ 4.406982] omap_uart omap_uart.2: no wakeirq for uart2 INIT: [ 4.413085] omap_uart omap_uart.2: no wakeirq for uart2 version 2.86 booting[ 4.434692] omap_uart omap_uart.2: no wakeirq for uart2 [ 4.454254] omap_uart omap_uart.2: no wakeirq for uart2 Starting the hotplug events dispatcher udevd [ 5.535736] udevd (799): /proc/799/oom_adj is deprecated, please use /proc/799/oom_score_adj instead. Synthesizing the initial hotplug events [ 14.024475] random: nonblocking pool is initialized [ 15.814788] 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-rc3-00638-g6d4c883: No such file or directory FATAL: Could not open /lib/modules/3.13.0-rc3-00638-g6d4c883/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-rc3-00638-g6d4c883/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc3-00638-g6d4c883/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.13.0-rc3-00638-g6d4c883/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc3-00638-g6d4c883/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc3-00638-g6d4c883/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc3-00638-g6d4c883/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.13.0-rc3-00638-g6d4c883/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc3-00638-g6d4c883/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 [ 22.872100] omap_uart omap_uart.2: no wakeirq for uart2 INIT: [ 22.894744] omap_uart omap_uart.2: no wakeirq for uart2 Entering runlevel: 5[ 22.914703] omap_uart omap_uart.2: no wakeirq for uart2 [ 22.924407] 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-rc3-00638-g6d4c883/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.13.0-rc3-00638-g6d4c883/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-rc3-00638-g6d4c883/modules.dep: No such file or directory hid2hci. [ 24.348510] 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[2052]: 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:1218,INA:0,ON:1219,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:1218,INA:0,ON:1219,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:1218,INA:0,ON:1219,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1218,INA:0,ON:1219,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 (16) 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.061218] PM: Syncing filesystems ... done. [ 36.829895] Freezing user space processes ... (elapsed 0.004 seconds) done. [ 36.838226] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 36.845825] Suspending console(s) (use no_console_suspend to debug) [ 36.981994] PM: suspend of devices complete after 126.129 msecs [ 36.988739] PM: late suspend of devices complete after 6.713 msecs [ 36.997009] PM: noirq suspend of devices complete after 8.239 msecs [ 36.997100] Disabling non-boot CPUs ... [ 36.997253] Successfully put all powerdomains to target state [ 37.001678] PM: noirq resume of devices complete after 4.302 msecs [ 37.008361] PM: early resume of devices complete after 4.882 msecs [ 37.011169] omap_uart omap_uart.2: no wakeirq for uart2 [ 37.296508] PM: resume of devices complete after 287.933 msecs [ 37.334838] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1356,INA:0,ON:1357,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:1356,INA:0,ON:1357,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:1356,INA:0,ON:1357,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1356,INA:0,ON:1357,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.220764] PM: Syncing filesystems ... done. [ 39.948059] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 39.954193] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 39.960571] Suspending console(s) (use no_console_suspend to debug) [ 40.086395] PM: suspend of devices complete after 116.149 msecs [ 40.092956] PM: late suspend of devices complete after 6.530 msecs [ 40.100097] PM: noirq suspend of devices complete after 7.110 msecs [ 40.100128] Disabling non-boot CPUs ... [ 40.100250] Successfully put all powerdomains to target state [ 40.104553] PM: noirq resume of devices complete after 4.211 msecs [ 40.110900] PM: early resume of devices complete after 4.852 msecs [ 40.112548] omap_uart omap_uart.2: no wakeirq for uart2 [ 40.395263] PM: resume of devices complete after 284.149 msecs [ 40.431732] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1493,INA:0,ON:1494,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:1493,INA:0,ON:1494,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:1493,INA:0,ON:1494,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1492,INA:0,ON:1493,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_prdm (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:~# C -sh: C: not found root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1820,INA:0,ON:1821,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:31,INA:0,ON:32,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:40,INA:0,ON:41,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:1820,INA:0,ON:1821,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:1820,INA:0,ON:1821,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1819,INA:0,ON:1820,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.126190] PM: Syncing filesystems ... done. [ 62.484832] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 62.492614] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 62.500091] Suspending console(s) (use no_console_suspend to debug) [ 62.626373] PM: suspend of devices complete after 116.607 msecs [ 62.632934] PM: late suspend of devices complete after 6.561 msecs [ 62.640106] PM: noirq suspend of devices complete after 7.110 msecs [ 62.640106] Disabling non-boot CPUs ... [ 62.640228] Successfully put all powerdomains to target state [ 62.658264] PM: noirq resume of devices complete after 17.944 msecs [ 62.664825] PM: early resume of devices complete after 5.035 msecs [ 62.666290] omap_uart omap_uart.2: no wakeirq for uart2 [ 62.944793] PM: resume of devices complete after 279.785 msecs [ 62.981292] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:37,RET:2029,INA:0,ON:2067,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:31,INA:0,ON:33,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:1,RET:40,INA:0,ON:42,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:37,RET:2029,INA:0,ON:2067,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:37,RET:2029,INA:0,ON:2067,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:37,RET:2028,INA:0,ON:2066,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 [ 64.865600] PM: Syncing filesystems ... done. [ 65.598388] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 65.606109] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 65.613708] Suspending console(s) (use no_console_suspend to debug) [ 65.746215] PM: suspend of devices complete after 122.802 msecs [ 65.752777] PM: late suspend of devices complete after 6.530 msecs [ 65.759918] PM: noirq suspend of devices complete after 7.110 msecs [ 65.759948] Disabling non-boot CPUs ... [ 65.760040] Successfully put all powerdomains to target state [ 65.778045] PM: noirq resume of devices complete after 17.913 msecs [ 65.784606] PM: early resume of devices complete after 5.035 msecs [ 65.786071] omap_uart omap_uart.2: no wakeirq for uart2 [ 66.044891] PM: resume of devices complete after 260.101 msecs [ 66.081451] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:85,RET:2029,INA:0,ON:2115,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:31,INA:0,ON:34,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:2,RET:40,INA:0,ON:43,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:85,RET:2029,INA:0,ON:2115,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:85,RET:2029,INA:0,ON:2115,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:85,RET:2028,INA:0,ON:2114,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:268,RET:2029,INA:0,ON:2298,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:26,RET:31,INA:0,ON:58,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:33,RET:40,INA:0,ON:74,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:268,RET:2029,INA:0,ON:2298,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:268,RET:2029,INA:0,ON:2298,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:268,RET:2028,INA:0,ON:2297,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