怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<` 3000 mV at 3000 mV [ 1.328369] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.342987] omap_uart 4806a000.serial: no wakeirq for uart0 [ 1.343994] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.349700] omap_uart 4806c000.serial: no wakeirq for uart0 [ 1.350280] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.353118] omap_uart 49020000.serial: no wakeirq for uart0 [ 1.353668] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.752716] console [ttyO2] enabled [ 1.809417] brd: module loaded [ 1.842681] loop: module loaded [ 1.864074] twl 0-0048: PIH (irq 23) chaining IRQs 306..314 [ 1.867889] twl 0-0048: power (irq 311) chaining IRQs 314..321 [ 1.881378] VAUX1: at 3000 mV [ 1.891510] vdd_ehci: 1800 mV [ 1.898284] VAUX3: at 2800 mV [ 1.905395] VAUX4: at 2800 mV [ 1.911743] VDD1: 600 <--> 1450 mV at 1200 mV [ 1.918975] VDAC: 1800 mV [ 1.928436] VIO: at 1800 mV [ 1.936492] VINTANA1: 1500 mV [ 1.944793] VINTANA2: at 2750 mV [ 1.952850] VINTDIG: 1500 mV [ 1.958282] VMMC1: 1850 <--> 3150 mV at 3000 mV [ 1.966247] VMMC2: 1850 <--> 3150 mV at 2600 mV [ 1.973236] VUSB1V5: 1500 mV [ 1.977539] VUSB1V8: 1800 mV [ 1.981903] VUSB3V1: 3100 mV [ 1.990722] VPLL1: at 1800 mV [ 1.999664] VPLL2: 1800 mV [ 2.006103] VSIM: 1800 <--> 3000 mV at 1800 mV [ 2.013763] twl4030_gpio twl4030-gpio: gpio (irq 306) chaining IRQs 322..339 [ 2.034606] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.055175] usbcore: registered new interface driver asix [ 2.058471] usbcore: registered new interface driver ax88179_178a [ 2.062103] usbcore: registered new interface driver cdc_ether [ 2.065826] usbcore: registered new interface driver smsc95xx [ 2.069274] usbcore: registered new interface driver net1080 [ 2.072784] usbcore: registered new interface driver cdc_subset [ 2.076324] usbcore: registered new interface driver zaurus [ 2.079833] usbcore: registered new interface driver cdc_ncm [ 2.096557] usbcore: registered new interface driver cdc_wdm [ 2.100067] usbcore: registered new interface driver usb-storage [ 2.104064] usbcore: registered new interface driver usbtest [ 2.120849] mousedev: PS/2 mouse device common for all mice [ 2.126007] twl4030_keypad 48070000.i2c:twl@48:keypad: OF: linux,keymap property not defined in /ocp/i2c@48070000/twl@48/keypad [ 2.132354] twl4030_keypad 48070000.i2c:twl@48:keypad: Failed to build keymap [ 2.136474] twl4030_keypad: probe of 48070000.i2c:twl@48:keypad failed with error -2 [ 2.152191] input: twl4030_pwrbutton as /devices/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:pwrbutton/input/input1 [ 2.166351] twl_rtc 48070000.i2c:twl@48:rtc: Power up reset detected. [ 2.171203] twl_rtc 48070000.i2c:twl@48:rtc: Enabling TWL-RTC [ 2.185729] twl_rtc 48070000.i2c:twl@48:rtc: rtc core: registered 48070000.i2c:twl@48 as rtc0 [ 2.194549] i2c /dev entries driver [ 2.202148] Driver for 1-wire Dallas network protocol. [ 2.211578] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.234039] omap_hsmmc 4809c000.mmc: pins are not configured from the driver [ 2.285491] usbcore: registered new interface driver usbhid [ 2.288604] usbhid: USB HID core driver [ 2.293640] oprofile: using arm/armv7 [ 2.296874] TCP: cubic registered [ 2.298797] Initializing XFRM netlink socket [ 2.301330] NET: Registered protocol family 17 [ 2.304077] NET: Registered protocol family 15 [ 2.307128] Key type dns_resolver registered [ 2.309967] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 2.314056] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 2.317230] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 2.321075] omap2_set_init_voltage: unable to set vdd_core [ 2.325958] PM: no software I/O chain control; some wakeups may be lost [ 2.330383] ThumbEE CPU extension supported. [ 2.332977] Registering SWP/SWPB emulation handler [ 2.378692] hsusb2_vbus: 3300 mV [ 2.391448] input: gpio_keys as /devices/gpio_keys/input/input2 [ 2.400390] twl_rtc 48070000.i2c:twl@48:rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.501464] hsusb2_vbus: disabling [ 2.507598] VUSB3V1: disabling [ 2.513885] VUSB1V8: disabling [ 2.517944] VUSB1V5: disabling [ 2.522155] mmc0: host does not support reading read-only switch. assuming write-enable. [ 2.528076] VDAC: disabling [ 2.530853] VAUX3: disabling [ 2.533111] mmc0: new SD card at address 8001 [ 2.546600] mmcblk0: mmc0:8001 SD02G 1.89 GiB [ 2.560150] mmcblk0: p1 p2 [ 3.876190] kjournald starting. Commit interval 5 seconds [ 3.879791] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 4.064331] EXT3-fs (mmcblk0p2): using internal journal [ 4.072448] EXT3-fs (mmcblk0p2): recovery complete [ 4.075225] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 4.079223] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 4.088897] devtmpfs: mounted [ 4.092132] Freeing unused kernel memory: 396K (c07a6000 - c0809000) INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 5.414031] udevd (833): /proc/833/oom_adj is deprecated, please use /proc/833/oom_score_adj instead. Synthesizing the initial hotplug events [ 15.083312] random: nonblocking pool is initialized [ 18.150939] 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-78282-gabf04af: No such file or directory FATAL: Could not open /lib/modules/3.15.0-78282-gabf04af/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-78282-gabf04af/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78282-gabf04af/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.15.0-78282-gabf04af/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78282-gabf04af/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78282-gabf04af/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78282-gabf04af/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.15.0-78282-gabf04af/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78282-gabf04af/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-78282-gabf04af/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78282-gabf04af/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-78282-gabf04af/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[2181]: 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:~# 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:1133,INA:0,ON:1134,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:1133,INA:0,ON:1134,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:1133,INA:0,ON:1134,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1133,INA:0,ON:1134,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 (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 [ 35.843872] PM: Syncing filesystems ... done. [ 36.392517] Freezing user space processes ... (elapsed 0.004 seconds) done. [ 36.401672] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 36.409484] Suspending console(s) (use no_console_suspend to debug) [ 36.447784] PM: suspend of devices complete after 26.580 msecs [ 36.458190] PM: late suspend of devices complete after 10.375 msecs [ 36.469909] PM: noirq suspend of devices complete after 11.657 msecs [ 36.470092] Disabling non-boot CPUs ... [ 36.470275] Successfully put all powerdomains to target state [ 36.476928] PM: noirq resume of devices complete after 6.591 msecs [ 36.485504] PM: early resume of devices complete after 7.019 msecs [ 36.655670] PM: resume of devices complete after 170.013 msecs [ 36.690399] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1248,INA:0,ON:1249,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:1248,INA:0,ON:1249,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:1248,INA:0,ON:1249,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1248,INA:0,ON:1249,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 (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.686126] PM: Syncing filesystems ... done. [ 39.413970] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 39.419738] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 39.426239] Suspending console(s) (use no_console_suspend to debug) [ 39.455993] PM: suspend of devices complete after 18.310 msecs [ 39.466308] PM: late suspend of devices complete after 10.253 msecs [ 39.477294] PM: noirq suspend of devices complete after 10.925 msecs [ 39.477325] Disabling non-boot CPUs ... [ 39.477447] Successfully put all powerdomains to target state [ 39.483856] PM: noirq resume of devices complete after 6.317 msecs [ 39.492309] PM: early resume of devices complete after 6.988 msecs [ 39.664611] PM: resume of devices complete after 172.149 msecs [ 39.698242] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1366,INA:0,ON:1367,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:1366,INA:0,ON:1367,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:1366,INA:0,ON:1367,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1366,INA:0,ON:1367,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 (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:~#