怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<` 3000 mV at 3000 mV [ 1.320800] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.335418] omap_uart 4806a000.serial: no wakeirq for uart0 [ 1.336425] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.342163] omap_uart 4806c000.serial: no wakeirq for uart0 [ 1.342742] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.345581] omap_uart 49020000.serial: no wakeirq for uart0 [ 1.346099] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.745208] console [ttyO2] enabled [ 1.810882] brd: module loaded [ 1.849853] loop: module loaded [ 1.874786] twl 0-0048: PIH (irq 23) chaining IRQs 306..314 [ 1.878631] twl 0-0048: power (irq 311) chaining IRQs 314..321 [ 1.894927] VAUX1: at 3000 mV [ 1.904510] vdd_ehci: 1800 mV [ 1.910949] VAUX3: at 2800 mV [ 1.919219] VAUX4: at 2800 mV [ 1.925720] VDD1: 600 <--> 1450 mV at 1200 mV [ 1.933837] VDAC: 1800 mV [ 1.943969] VIO: at 1800 mV [ 1.952331] VINTANA1: 1500 mV [ 1.960174] VINTANA2: at 2750 mV [ 1.967742] VINTDIG: 1500 mV [ 1.973175] VMMC1: 1850 <--> 3150 mV at 3000 mV [ 1.981719] VMMC2: 1850 <--> 3150 mV at 2600 mV [ 1.996002] VUSB1V5: 1500 mV [ 2.000640] VUSB1V8: 1800 mV [ 2.007843] VUSB3V1: 3100 mV [ 2.017913] VPLL1: at 1800 mV [ 2.026275] VPLL2: 1800 mV [ 2.032470] VSIM: 1800 <--> 3000 mV at 1800 mV [ 2.039886] twl4030_gpio twl4030-gpio: gpio (irq 306) chaining IRQs 322..339 [ 2.065002] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.086730] usbcore: registered new interface driver asix [ 2.089996] usbcore: registered new interface driver ax88179_178a [ 2.093597] usbcore: registered new interface driver cdc_ether [ 2.097503] usbcore: registered new interface driver smsc95xx [ 2.100921] usbcore: registered new interface driver net1080 [ 2.104400] usbcore: registered new interface driver cdc_subset [ 2.107910] usbcore: registered new interface driver zaurus [ 2.111389] usbcore: registered new interface driver cdc_ncm [ 2.116729] usbcore: registered new interface driver cdc_wdm [ 2.120239] usbcore: registered new interface driver usb-storage [ 2.123962] usbcore: registered new interface driver usbtest [ 2.137115] mousedev: PS/2 mouse device common for all mice [ 2.142181] twl4030_keypad 48070000.i2c:twl@48:keypad: OF: linux,keymap property not defined in /ocp/i2c@48070000/twl@48/keypad [ 2.148803] twl4030_keypad 48070000.i2c:twl@48:keypad: Failed to build keymap [ 2.152862] twl4030_keypad: probe of 48070000.i2c:twl@48:keypad failed with error -2 [ 2.168731] input: twl4030_pwrbutton as /devices/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:pwrbutton/input/input1 [ 2.185791] twl_rtc 48070000.i2c:twl@48:rtc: Power up reset detected. [ 2.190612] twl_rtc 48070000.i2c:twl@48:rtc: Enabling TWL-RTC [ 2.206115] twl_rtc 48070000.i2c:twl@48:rtc: rtc core: registered 48070000.i2c:twl@48 as rtc0 [ 2.214111] i2c /dev entries driver [ 2.220916] Driver for 1-wire Dallas network protocol. [ 2.231842] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.259979] omap_hsmmc 4809c000.mmc: pins are not configured from the driver [ 2.316436] usbcore: registered new interface driver usbhid [ 2.319488] usbhid: USB HID core driver [ 2.324676] oprofile: using arm/armv7 [ 2.327880] TCP: cubic registered [ 2.329803] Initializing XFRM netlink socket [ 2.332366] NET: Registered protocol family 17 [ 2.335113] NET: Registered protocol family 15 [ 2.338165] Key type dns_resolver registered [ 2.341033] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 2.345123] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 2.348297] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 2.352142] omap2_set_init_voltage: unable to set vdd_core [ 2.357055] PM: no software I/O chain control; some wakeups may be lost [ 2.361480] ThumbEE CPU extension supported. [ 2.363983] Registering SWP/SWPB emulation handler [ 2.401062] hsusb2_vbus: 3300 mV [ 2.413299] input: gpio_keys as /devices/gpio_keys/input/input2 [ 2.422058] twl_rtc 48070000.i2c:twl@48:rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.523742] hsusb2_vbus: disabling [ 2.529724] VUSB3V1: disabling [ 2.535461] VUSB1V8: disabling [ 2.538787] VUSB1V5: disabling [ 2.541931] VDAC: disabling [ 2.543792] mmc0: host does not support reading read-only switch. assuming write-enable. [ 2.549743] VAUX3: disabling [ 2.551849] mmc0: new SD card at address 8001 [ 2.564788] mmcblk0: mmc0:8001 SD02G 1.89 GiB [ 2.577026] mmcblk0: p1 p2 [ 3.888732] kjournald starting. Commit interval 5 seconds [ 3.892333] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 4.080261] EXT3-fs (mmcblk0p2): using internal journal [ 4.087982] EXT3-fs (mmcblk0p2): recovery complete [ 4.090637] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 4.094726] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 4.104461] devtmpfs: mounted [ 4.107666] Freeing unused kernel memory: 396K (c07a6000 - c0809000) INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 5.435638] udevd (833): /proc/833/oom_adj is deprecated, please use /proc/833/oom_score_adj instead. Synthesizing the initial hotplug events [ 16.456451] random: nonblocking pool is initialized [ 18.137054] 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-78284-gbf32c4a: No such file or directory FATAL: Could not open /lib/modules/3.15.0-78284-gbf32c4a/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-78284-gbf32c4a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gbf32c4a/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gbf32c4a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gbf32c4a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gbf32c4a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gbf32c4a/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gbf32c4a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gbf32c4a/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-78284-gbf32c4a/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gbf32c4a/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-78284-gbf32c4a/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[2182]: 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:1124,INA:0,ON:1125,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:1124,INA:0,ON:1125,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:1124,INA:0,ON:1125,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1124,INA:0,ON:1125,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.865142] PM: Syncing filesystems ... done. [ 36.417419] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 36.425079] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 36.432647] Suspending console(s) (use no_console_suspend to debug) [ 36.470886] PM: suspend of devices complete after 26.336 msecs [ 36.481292] PM: late suspend of devices complete after 10.375 msecs [ 36.493011] PM: noirq suspend of devices complete after 11.657 msecs [ 36.493164] Disabling non-boot CPUs ... [ 36.493347] Successfully put all powerdomains to target state [ 36.499999] PM: noirq resume of devices complete after 6.561 msecs [ 36.508544] PM: early resume of devices complete after 7.049 msecs [ 36.667205] PM: resume of devices complete after 158.477 msecs [ 36.701965] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1247,INA:0,ON:1248,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:1247,INA:0,ON:1248,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:1247,INA:0,ON:1248,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1247,INA:0,ON:1248,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.709106] PM: Syncing filesystems ... done. [ 39.435943] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 39.442352] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 39.448913] Suspending console(s) (use no_console_suspend to debug) [ 39.478729] PM: suspend of devices complete after 18.341 msecs [ 39.489074] PM: late suspend of devices complete after 10.284 msecs [ 39.500030] PM: noirq suspend of devices complete after 10.894 msecs [ 39.500061] Disabling non-boot CPUs ... [ 39.500183] Successfully put all powerdomains to target state [ 39.506530] PM: noirq resume of devices complete after 6.317 msecs [ 39.515014] PM: early resume of devices complete after 7.019 msecs [ 39.686157] PM: resume of devices complete after 170.989 msecs [ 39.719848] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1364,INA:0,ON:1365,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:1364,INA:0,ON:1365,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:1364,INA:0,ON:1365,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1363,INA:0,ON:1364,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:~#