怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<` [ 0.628570] PTP clock support registered [ 0.635040] clocksource: Switched to clocksource 32k_counter [ 0.866088] NET: Registered protocol family 2 [ 0.868896] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.869049] TCP bind hash table entries: 4096 (order: 5, 147456 bytes) [ 0.871307] TCP: Hash tables configured (established 4096 bind 4096) [ 0.871612] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.871948] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.873413] NET: Registered protocol family 1 [ 0.876098] RPC: Registered named UNIX socket transport module. [ 0.876129] RPC: Registered udp transport module. [ 0.876129] RPC: Registered tcp transport module. [ 0.876159] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.883148] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.892333] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.892700] audit: initializing netlink subsys (disabled) [ 0.893035] audit: type=2000 audit(0.870:1): initialized [ 0.899932] VFS: Disk quotas dquot_6.6.0 [ 0.900390] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.904022] NFS: Registering the id_resolver key type [ 0.904602] Key type id_resolver registered [ 0.904632] Key type id_legacy registered [ 0.905181] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.914154] io scheduler noop registered [ 0.914184] io scheduler deadline registered [ 0.914245] io scheduler cfq registered (default) [ 0.918731] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568 [ 0.919616] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92 [ 0.921173] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92 [ 0.929565] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.939270] omap_uart 4806a000.serial: no wakeirq for uart0 [ 0.939300] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806a000[0]' [ 0.940155] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 0.942962] omap_uart 4806c000.serial: no wakeirq for uart1 [ 0.943023] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806c000[0]' [ 0.943450] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 0.946685] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49020000[0]' [ 0.947082] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.474212] console [ttyO2] enabled [ 1.479187] omap_uart 49042000.serial: no wakeirq for uart3 [ 1.482238] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49042000[0]' [ 1.487945] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3 [ 1.551300] brd: module loaded [ 1.588104] loop: module loaded [ 1.613067] twl 0-0048: PIH (irq 23) chaining IRQs 307..315 [ 1.616760] twl 0-0048: power (irq 312) chaining IRQs 315..322 [ 1.687194] twl4030_gpio twl4030-gpio: gpio (irq 307) chaining IRQs 323..340 [ 1.691619] gpiochip_find_base: found new base at 492 [ 1.695190] gpiochip_add: registered GPIOs 492 to 511 on device: twl4030 [ 1.776855] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.800811] mousedev: PS/2 mouse device common for all mice [ 1.803894] i2c /dev entries driver [ 1.812072] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd [ 1.815521] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup [ 1.819061] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' [ 1.824035] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@4809c000[0]' [ 1.828979] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup [ 1.832641] omap_hsmmc 4809c000.mmc: lookup for GPIO cd failed [ 1.835845] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp [ 1.839111] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup [ 1.842651] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]' [ 1.847656] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]' [ 1.852539] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup [ 1.856231] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed [ 1.906127] ledtrig-cpu: registered to indicate activity on CPUs [ 1.911743] oprofile: using arm/armv7 [ 1.915039] Initializing XFRM netlink socket [ 1.918060] NET: Registered protocol family 10 [ 1.926605] sit: IPv6 over IPv4 tunneling driver [ 1.932586] NET: Registered protocol family 17 [ 1.935272] NET: Registered protocol family 15 [ 1.938262] Key type dns_resolver registered [ 1.941040] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 1.945098] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 1.948242] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 1.951995] omap2_set_init_voltage: unable to set vdd_core [ 1.960601] ThumbEE CPU extension supported. [ 1.963012] Registering SWP/SWPB emulation handler [ 1.965759] SmartReflex Class3 initialized [ 1.986114] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 1.991973] of_get_named_gpiod_flags: parsed 'gpio' property of node '/hsusb2_power_reg[0]' - status (0) [ 2.001861] usb_phy_generic hsusb2_phy: GPIO lookup for consumer reset [ 2.005554] usb_phy_generic hsusb2_phy: using device tree for GPIO lookup [ 2.009368] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/hsusb2_phy[0]' - status (0) [ 2.014678] no flags found for reset [ 2.016754] usb_phy_generic hsusb2_phy: GPIO lookup for consumer vbus-detect [ 2.020599] usb_phy_generic hsusb2_phy: using device tree for GPIO lookup [ 2.024291] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/hsusb2_phy[0]' [ 2.029418] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/hsusb2_phy[0]' [ 2.034454] usb_phy_generic hsusb2_phy: using lookup tables for GPIO lookup [ 2.038299] usb_phy_generic hsusb2_phy: lookup for GPIO vbus-detect failed [ 2.048156] hctosys: unable to open rtc device (rtc0) [ 2.050933] sr_init: No PMIC hook to init smartreflex [ 2.054321] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized [ 2.058990] smartreflex smartreflex.0: omap_sr_probe: smartreflex_mpu_iva: No Voltage table for the corresponding vdd. Cannot create debugfs entries for n-values [ 2.067413] smartreflex: probe of smartreflex.0 failed with error -61 [ 2.071166] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized [ 2.075714] smartreflex smartreflex.1: omap_sr_probe: smartreflex_core: No Voltage table for the corresponding vdd. Cannot create debugfs entries for n-values [ 2.083709] smartreflex: probe of smartreflex.1 failed with error -61 [ 2.087463] sr_init: platform driver register failed for SR [ 2.179199] VAUX3: disabling [ 2.181976] VDAC: disabling [ 2.184631] VUSB1V5: disabling [ 2.187347] VUSB1V8: disabling [ 2.189819] VUSB3V1: disabling [ 2.192291] VPLL2: disabling [ 2.194396] hsusb2_vbus: disabling [ 2.202819] Waiting for root device /dev/mmcblk0p2... [ 2.328765] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.336456] mmc0: new high speed SDHC card at address 1234 [ 2.343597] mmcblk0: mmc0:1234 SA04G 3.68 GiB [ 2.353942] mmcblk0: p1 p2 [ 2.431793] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (4) [ 2.442077] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem [ 4.517333] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended [ 4.919708] EXT4-fs (mmcblk0p2): recovery complete [ 4.932037] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 4.936798] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 4.959991] devtmpfs: mounted [ 4.962738] Freeing unused kernel memory: 448K (c089e000 - c090e000) INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 6.326354] udevd (123): /proc/123/oom_adj is deprecated, please use /proc/123/oom_score_adj instead. Synthesizing the initial hotplug events [ 16.315582] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. Remounting root file system... [ 20.540679] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) mount: according to mtab, /proc is already mounted on /proc WARNING: Couldn't open directory /lib/modules/4.3.0-171744-g6a13feb: No such file or directory FATAL: Could not open /lib/modules/4.3.0-171744-g6a13feb/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/4.3.0-171744-g6a13feb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/4.3.0-171744-g6a13feb/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/4.3.0-171744-g6a13feb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/4.3.0-171744-g6a13feb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/4.3.0-171744-g6a13feb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/4.3.0-171744-g6a13feb/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/4.3.0-171744-g6a13feb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/4.3.0-171744-g6a13feb/modules.dep: No such file or directory udhcpc: SIOCGIFINDEX: No such device done. Starting portmap daemon: portmap. hwclock: can't open '/dev/misc/rtc': No such file or directory Tue Jul 22 00:18:00 UTC 2008 hwclock: can't open '/dev/misc/rtc': No such file or directory INIT: Entering runlevel: 5 ALSA: Restoring mixer settings... /usr/sbin/alsactl: load_state:1327: No soundcards found... Starting Dropbear SSH server: [ 25.166107] random: dropbear urandom read with 97 bits of entropy available 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:modprobe: FATAL: Could not load /lib/modules/4.3.0-171744-g6a13feb/modules.dep: No such file or directory hcid 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[1305]: 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 root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do echo -1 > $u/power/autosuspend_delay_ms; done root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do ls -l $u/power[ 32.018371] random: nonblocking pool is initialized /autosuspend_delay_ms; cat $u/power/autos uspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms -1 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:1228,INA:0,ON:1229,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:1228,INA:0,ON:1229,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:589,INA:639,ON:1229,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:589,INA:639,ON:1229,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 (14) 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 (22) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo enabled > $u/power/wakeup; done root@beagleboard:~# %% Start retention double suspend/resume UART wakeup test root@beagleboard:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo auto > $u/power/control; done root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/power/wakeup; cat $u/power/wakeup; done -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO0/power/wakeup enabled -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO1/power/wakeup enabled -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO2/power/wakeup enabled for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/power/control; cat $u/power/control; done -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO3/power/wakeup enabled root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/power/control; cat $u/power/control; done -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO0/power/control auto -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO1/power/control auto echo mem > /sys/power/state -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO2/power/control auto -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO3/power/control auto root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 36.493011] PM: Syncing filesystems ... done. [ 38.933319] PM: Preparing system for sleep (mem) [ 38.963745] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 38.971710] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 38.979431] PM: Suspending system (mem) [ 38.981536] Suspending console(s) (use no_console_suspend to debug) [ 39.005645] PM: suspend of devices complete after 15.258 msecs [ 39.012329] PM: late suspend of devices complete after 6.652 msecs [ 39.021514] PM: noirq suspend of devices complete after 9.155 msecs [ 39.021636] Disabling non-boot CPUs ... [ 39.021667] Successfully put all powerdomains to target state [ 39.026336] PM: noirq resume of devices complete after 4.577 msecs [ 39.032135] PM: early resume of devices complete after 4.486 msecs [ 39.421417] PM: resume of devices complete after 389.129 msecs [ 39.452697] PM: Finishing wakeup. [ 39.454498] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1348,INA:0,ON:1349,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:1348,INA:0,ON:1349,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:708,INA:640,ON:1349,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:708,INA:640,ON:1349,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 (14) 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 (27) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 42.234344] PM: Syncing filesystems ... done. [ 44.266662] PM: Preparing system for sleep (mem) [ 44.271026] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 44.277526] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 44.284240] PM: Suspending system (mem) [ 44.286437] Suspending console(s) (use no_console_suspend to debug) [ 44.307556] PM: suspend of devices complete after 12.481 msecs [ 44.314147] PM: late suspend of devices complete after 6.561 msecs [ 44.321655] PM: noirq suspend of devices complete after 7.476 msecs [ 44.321685] Disabling non-boot CPUs ... [ 44.321716] Successfully put all powerdomains to target state [ 44.326171] PM: noirq resume of devices complete after 4.364 msecs [ 44.331878] PM: early resume of devices complete after 4.455 msecs [ 44.700286] PM: resume of devices complete after 368.347 msecs [ 44.730834] PM: Finishing wakeup. [ 44.732635] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1458,INA:0,ON:1459,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:1458,INA:0,ON:1459,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:815,INA:643,ON:1459,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:815,INA:643,ON:1459,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 (14) 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 (27) 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 for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do echo 3000 > $u/power/autosuspend_delay_ms; done root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autos uspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms 3000 root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1579,INA:0,ON:1580,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:13,INA:5,ON:19,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:18,INA:0,ON:19,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:1579,INA:0,ON:1580,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:932,INA:647,ON:1580,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:932,INA:647,ON:1580,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 (13) 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 (20) 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:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do echo -1 > $u/power/autosuspend_delay_ms; done root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autos uspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms -1 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 [ 65.336944] omap3_pm_off_mode_enable: Core OFF disabled due to errata i583 root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 66.342834] PM: Syncing filesystems ... done. [ 68.360778] PM: Preparing system for sleep (mem) [ 68.365386] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 68.371704] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 68.378509] PM: Suspending system (mem) [ 68.380615] Suspending console(s) (use no_console_suspend to debug) [ 68.401824] PM: suspend of devices complete after 12.542 msecs [ 68.408660] PM: late suspend of devices complete after 6.774 msecs [ 68.416290] PM: noirq suspend of devices complete after 7.598 msecs [ 68.416290] Disabling non-boot CPUs ... [ 68.416320] Successfully put all powerdomains to target state [ 68.421569] PM: noirq resume of devices complete after 5.157 msecs [ 68.428588] PM: early resume of devices complete after 4.760 msecs [ 68.800109] PM: resume of devices complete after 371.429 msecs [ 68.830657] PM: Finishing wakeup. [ 68.832458] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:52,RET:1664,INA:0,ON:1717,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:14,INA:5,ON:20,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:1,RET:18,INA:0,ON:20,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:52,RET:1664,INA:0,ON:1717,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:1,RET:1064,INA:651,ON:1717,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:1,RET:1064,INA:651,ON:1717,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 (14) 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 (27) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 71.628540] PM: Syncing filesystems ... done. [ 73.665252] PM: Preparing system for sleep (mem) [ 73.669616] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 73.676086] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 73.682800] PM: Suspending system (mem) [ 73.684967] Suspending console(s) (use no_console_suspend to debug) [ 73.706237] PM: suspend of devices complete after 12.695 msecs [ 73.712921] PM: late suspend of devices complete after 6.622 msecs [ 73.720520] PM: noirq suspend of devices complete after 7.598 msecs [ 73.720550] Disabling non-boot CPUs ... [ 73.720581] Successfully put all powerdomains to target state [ 73.725402] PM: noirq resume of devices complete after 4.730 msecs [ 73.731353] PM: early resume of devices complete after 4.547 msecs [ 74.100402] PM: resume of devices complete after 368.957 msecs [ 74.131011] PM: Finishing wakeup. [ 74.132812] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:157,RET:1664,INA:0,ON:1822,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:15,INA:5,ON:21,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:2,RET:18,INA:0,ON:21,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:157,RET:1664,INA:0,ON:1822,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:2,RET:1163,INA:656,ON:1822,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:2,RET:1163,INA:656,ON:1822,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 (14) 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 (27) 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 for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do echo 3000 > $u/power/autosuspend_delay_ms; done root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autos uspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jul 22 00:19 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:19 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:19 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:19 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms 3000 root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:282,RET:1664,INA:0,ON:1947,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:28,INA:5,ON:34,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:15,RET:18,INA:0,ON:34,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:282,RET:1664,INA:0,ON:1947,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:15,RET:1272,INA:659,ON:1947,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:15,RET:1272,INA:659,ON:1947,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 (13) 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 (20) 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