怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<` 3000 mV at 3000 mV [ 1.260742] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.270751] omap_uart 4806a000.serial: no wakeirq for uart0 [ 1.270782] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4806a000[0]' [ 1.273071] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.275573] omap_uart 4806c000.serial: no wakeirq for uart0 [ 1.275604] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4806c000[0]' [ 1.276855] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.278961] omap_uart 49020000.serial: no wakeirq for uart0 [ 1.279022] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@49020000[0]' [ 1.280273] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.740753] console [ttyO2] enabled [ 1.744934] omap_uart 49042000.serial: no wakeirq for uart0 [ 1.747985] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@49042000[0]' [ 1.754241] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3 [ 1.800964] brd: module loaded [ 1.826202] loop: module loaded [ 1.846862] twl 0-0048: PIH (irq 23) chaining IRQs 306..314 [ 1.850646] twl 0-0048: power (irq 311) chaining IRQs 314..321 [ 1.861907] VAUX1: at 3000 mV [ 1.870300] usb_1v8: 1800 mV [ 1.876068] VAUX3: at 2800 mV [ 1.881744] VAUX4: at 2800 mV [ 1.887329] VDD1: 600 <--> 1450 mV at 1200 mV [ 1.894287] VDAC: 1800 mV [ 1.902618] VIO: at 1800 mV [ 1.909240] VINTANA1: 1500 mV [ 1.915863] VINTANA2: at 2750 mV [ 1.922760] VINTDIG: 1500 mV [ 1.927581] VMMC1: 1850 <--> 3150 mV at 3000 mV [ 1.934173] VMMC2: 1850 <--> 3150 mV at 2600 mV [ 1.939788] VUSB1V5: 1500 mV [ 1.943603] VUSB1V8: 1800 mV [ 1.947204] VUSB3V1: 3100 mV [ 1.953308] VPLL1: at 1800 mV [ 1.959503] VPLL2: 1800 mV [ 1.965026] VSIM: 1800 <--> 3000 mV at 1800 mV [ 1.971069] twl4030_gpio twl4030-gpio: gpio (irq 306) chaining IRQs 322..339 [ 1.975891] gpiochip_find_base: found new base at 492 [ 1.979675] gpiochip_add: registered GPIOs 492 to 511 on device: twl4030 [ 1.993377] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.009429] usbcore: registered new interface driver asix [ 2.012725] usbcore: registered new interface driver ax88179_178a [ 2.016204] usbcore: registered new interface driver cdc_ether [ 2.019622] usbcore: registered new interface driver smsc95xx [ 2.023010] usbcore: registered new interface driver net1080 [ 2.026275] usbcore: registered new interface driver cdc_subset [ 2.029663] usbcore: registered new interface driver zaurus [ 2.033050] usbcore: registered new interface driver cdc_ncm [ 2.046997] usbcore: registered new interface driver cdc_wdm [ 2.050323] usbcore: registered new interface driver usb-storage [ 2.053985] usbcore: registered new interface driver usbtest [ 2.061096] mousedev: PS/2 mouse device common for all mice [ 2.065429] twl4030_keypad keypad.38: OF: linux,keymap property not defined in /ocp/i2c@48070000/twl@48/keypad [ 2.070953] twl4030_keypad keypad.38: Failed to build keymap [ 2.074127] twl4030_keypad: probe of keypad.38 failed with error -2 [ 2.087799] input: twl4030_pwrbutton as /devices/68000000.ocp/48070000.i2c/i2c-0/0-0048/pwrbutton.37/input/input1 [ 2.098510] twl_rtc rtc.13: Power up reset detected. [ 2.101959] twl_rtc rtc.13: Enabling TWL-RTC [ 2.114349] twl_rtc rtc.13: rtc core: registered rtc.13 as rtc0 [ 2.120147] i2c /dev entries driver [ 2.125915] Driver for 1-wire Dallas network protocol. [ 2.134063] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.143585] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.148315] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.165405] omap_hsmmc 4809c000.mmc: pins are not configured from the driver [ 2.212249] usbcore: registered new interface driver usbhid [ 2.215301] usbhid: USB HID core driver [ 2.219421] oprofile: using arm/armv7 [ 2.222442] TCP: cubic registered [ 2.224273] Initializing XFRM netlink socket [ 2.226715] NET: Registered protocol family 17 [ 2.229248] NET: Registered protocol family 15 [ 2.232208] Key type dns_resolver registered [ 2.236785] ThumbEE CPU extension supported. [ 2.239166] Registering SWP/SWPB emulation handler [ 2.268981] VPLL2: disabling [ 2.273315] VUSB3V1: disabling [ 2.275604] VUSB1V8: disabling [ 2.277862] VUSB1V5: disabling [ 2.280303] VDAC: disabling [ 2.283203] VAUX3: disabling [ 2.288024] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 2.293884] of_get_named_gpiod_flags exited with status 0 [ 2.299774] hsusb2_vbus: 3300 mV [ 2.302764] of_get_named_gpiod_flags exited with status 0 [ 2.309875] of_get_named_gpiod_flags exited with status 0 [ 2.314697] input: gpio_keys.6 as /devices/gpio_keys.6/input/input2 [ 2.324005] twl_rtc rtc.13: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.405609] Waiting for root device /dev/mmcblk0p2... [ 2.604125] mmc0: host does not support reading read-only switch. assuming write-enable. [ 2.611724] mmc0: new high speed SDHC card at address 1234 [ 2.618377] mmcblk0: mmc0:1234 SA04G 3.68 GiB [ 2.629241] mmcblk0: p1 p2 [ 5.145965] kjournald starting. Commit interval 5 seconds [ 5.149383] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 5.549163] EXT3-fs (mmcblk0p2): using internal journal [ 5.561004] EXT3-fs (mmcblk0p2): recovery complete [ 5.563629] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 5.567535] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 5.578002] devtmpfs: mounted [ 5.580688] Freeing unused kernel memory: 388K (c0792000 - c07f3000) INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 6.711364] udevd (840): /proc/840/oom_adj is deprecated, please use /proc/840/oom_score_adj instead. Synthesizing the initial hotplug events [ 17.128356] random: nonblocking pool is initialized [ 17.281372] 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.15.0-rc1-64224-g0f9e19a: No such file or directory FATAL: Could not open /lib/modules/3.15.0-rc1-64224-g0f9e19a/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.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/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.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/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:modprobe: FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/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[2152]: 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:~# 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:1326,INA:0,ON:1327,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:1326,INA:0,ON:1327,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:1326,INA:0,ON:1327,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1326,INA:0,ON:1327,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:~# 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 [ 34.002990] PM: Syncing filesystems ... done. [ 35.233398] PM: Preparing system for mem sleep [ 35.254516] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 35.261260] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 35.268402] PM: Entering mem sleep [ 35.270263] Suspending console(s) (use no_console_suspend to debug) [ 35.299713] PM: suspend of devices complete after 20.538 msecs [ 35.308135] PM: late suspend of devices complete after 8.392 msecs [ 35.317474] PM: noirq suspend of devices complete after 9.307 msecs [ 35.317596] Disabling non-boot CPUs ... [ 35.317718] Successfully put all powerdomains to target state [ 35.323089] PM: noirq resume of devices complete after 5.310 msecs [ 35.330078] PM: early resume of devices complete after 5.737 msecs [ 35.726501] PM: resume of devices complete after 396.301 msecs [ 35.759063] PM: Finishing wakeup. [ 35.760925] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1435,INA:0,ON:1436,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:1435,INA:0,ON:1436,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:1435,INA:0,ON:1436,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1435,INA:0,ON:1436,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 [ 38.538604] PM: Syncing filesystems ... done. [ 39.791076] PM: Preparing system for mem sleep [ 39.795623] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 39.801696] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 39.807922] PM: Entering mem sleep [ 39.809753] Suspending console(s) (use no_console_suspend to debug) [ 39.832458] PM: suspend of devices complete after 14.038 msecs [ 39.840820] PM: late suspend of devices complete after 8.331 msecs [ 39.849487] PM: noirq suspend of devices complete after 8.605 msecs [ 39.849517] Disabling non-boot CPUs ... [ 39.849609] Successfully put all powerdomains to target state [ 39.854797] PM: noirq resume of devices complete after 5.126 msecs [ 39.861724] PM: early resume of devices complete after 5.737 msecs [ 40.235748] PM: resume of devices complete after 373.901 msecs [ 40.267547] PM: Finishing wakeup. [ 40.269348] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1542,INA:0,ON:1543,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:1542,INA:0,ON:1543,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:1542,INA:0,ON:1543,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1542,INA:0,ON:1543,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:~#