怘€æ€˜€`3f<€fÀæøÀ̆ž?`??f?æžf<øž`??ð3ž<3ž<` 3000 mV at 3000 mV [ 1.326080] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.341705] omap_uart 4806a000.serial: no wakeirq for uart0 [ 1.342712] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.348114] omap_uart 4806c000.serial: no wakeirq for uart0 [ 1.348663] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.351959] omap_uart 49020000.serial: no wakeirq for uart0 [ 1.352508] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.751770] console [ttyO2] enabled [ 1.816162] brd: module loaded [ 1.854187] loop: module loaded [ 1.877563] twl 0-0048: PIH (irq 23) chaining IRQs 306..314 [ 1.881408] twl 0-0048: power (irq 311) chaining IRQs 314..321 [ 1.897216] VAUX1: at 3000 mV [ 1.907897] vdd_ehci: 1800 mV [ 1.915588] VAUX3: at 2800 mV [ 1.921966] VAUX4: at 2800 mV [ 1.928680] VDD1: 600 <--> 1450 mV at 1200 mV [ 1.937316] VDAC: 1800 mV [ 1.947967] VIO: at 1800 mV [ 1.955718] VINTANA1: 1500 mV [ 1.962799] VINTANA2: at 2750 mV [ 1.971649] VINTDIG: 1500 mV [ 1.977691] VMMC1: 1850 <--> 3150 mV at 3000 mV [ 1.986999] VMMC2: 1850 <--> 3150 mV at 2600 mV [ 1.994171] VUSB1V5: 1500 mV [ 1.998718] VUSB1V8: 1800 mV [ 2.005096] VUSB3V1: 3100 mV [ 2.012908] VPLL1: at 1800 mV [ 2.021850] VPLL2: 1800 mV [ 2.028533] VSIM: 1800 <--> 3000 mV at 1800 mV [ 2.035858] twl4030_gpio twl4030-gpio: gpio (irq 306) chaining IRQs 322..339 [ 2.059448] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.082550] usbcore: registered new interface driver asix [ 2.086059] usbcore: registered new interface driver ax88179_178a [ 2.089691] usbcore: registered new interface driver cdc_ether [ 2.093383] usbcore: registered new interface driver smsc95xx [ 2.096801] usbcore: registered new interface driver net1080 [ 2.100189] usbcore: registered new interface driver cdc_subset [ 2.103820] usbcore: registered new interface driver zaurus [ 2.107299] usbcore: registered new interface driver cdc_ncm [ 2.115844] usbcore: registered new interface driver cdc_wdm [ 2.119354] usbcore: registered new interface driver usb-storage [ 2.123077] usbcore: registered new interface driver usbtest [ 2.135101] mousedev: PS/2 mouse device common for all mice [ 2.140136] twl4030_keypad 48070000.i2c:twl@48:keypad: OF: linux,keymap property not defined in /ocp/i2c@48070000/twl@48/keypad [ 2.146667] twl4030_keypad 48070000.i2c:twl@48:keypad: Failed to build keymap [ 2.150695] twl4030_keypad: probe of 48070000.i2c:twl@48:keypad failed with error -2 [ 2.163757] input: twl4030_pwrbutton as /devices/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:pwrbutton/input/input1 [ 2.180328] twl_rtc 48070000.i2c:twl@48:rtc: Power up reset detected. [ 2.184936] twl_rtc 48070000.i2c:twl@48:rtc: Enabling TWL-RTC [ 2.199615] twl_rtc 48070000.i2c:twl@48:rtc: rtc core: registered 48070000.i2c:twl@48 as rtc0 [ 2.207977] i2c /dev entries driver [ 2.216796] Driver for 1-wire Dallas network protocol. [ 2.228698] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.256866] omap_hsmmc 4809c000.mmc: pins are not configured from the driver [ 2.305694] usbcore: registered new interface driver usbhid [ 2.308746] usbhid: USB HID core driver [ 2.313659] oprofile: using arm/armv7 [ 2.316864] TCP: cubic registered [ 2.318786] Initializing XFRM netlink socket [ 2.321350] NET: Registered protocol family 17 [ 2.324096] NET: Registered protocol family 15 [ 2.327117] Key type dns_resolver registered [ 2.329986] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 2.334075] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 2.337249] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 2.341064] omap2_set_init_voltage: unable to set vdd_core [ 2.345977] PM: no software I/O chain control; some wakeups may be lost [ 2.350402] ThumbEE CPU extension supported. [ 2.352874] Registering SWP/SWPB emulation handler [ 2.390930] hsusb2_vbus: 3300 mV [ 2.403747] input: gpio_keys as /devices/gpio_keys/input/input2 [ 2.412078] twl_rtc 48070000.i2c:twl@48:rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.513580] hsusb2_vbus: disabling [ 2.519409] VUSB3V1: disabling [ 2.525024] VUSB1V8: disabling [ 2.529113] VUSB1V5: disabling [ 2.531097] mmc0: host does not support reading read-only switch. assuming write-enable. [ 2.537109] VDAC: disabling [ 2.539154] mmc0: new SD card at address 8001 [ 2.548095] VAUX3: disabling [ 2.555023] mmcblk0: mmc0:8001 SD02G 1.89 GiB [ 2.567718] mmcblk0: p1 p2 [ 3.881530] kjournald starting. Commit interval 5 seconds [ 3.885223] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 4.075836] EXT3-fs (mmcblk0p2): using internal journal [ 4.083618] EXT3-fs (mmcblk0p2): recovery complete [ 4.086273] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 4.090240] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 4.099945] devtmpfs: mounted [ 4.103179] Freeing unused kernel memory: 396K (c07a6000 - c0809000) INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 5.434753] udevd (833): /proc/833/oom_adj is deprecated, please use /proc/833/oom_score_adj instead. Synthesizing the initial hotplug events [ 16.666961] random: nonblocking pool is initialized [ 18.841430] 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-gb7febd2: No such file or directory FATAL: Could not open /lib/modules/3.15.0-78284-gb7febd2/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-gb7febd2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gb7febd2/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gb7febd2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gb7febd2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gb7febd2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gb7febd2/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gb7febd2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gb7febd2/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-gb7febd2/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.15.0-78284-gb7febd2/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.15.0-78284-gb7febd2/modules.dep: No such file or directory 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 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:1142,INA:0,ON:1143,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:1142,INA:0,ON:1143,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:1142,INA:0,ON:1143,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1142,INA:0,ON:1143,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.862976] PM: Syncing filesystems ... done. [ 36.414825] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 36.422302] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 36.430175] Suspending console(s) (use no_console_suspend to debug) [ 36.469665] PM: suspend of devices complete after 27.526 msecs [ 36.480438] PM: late suspend of devices complete after 10.711 msecs [ 36.492492] PM: noirq suspend of devices complete after 11.993 msecs [ 36.492675] Disabling non-boot CPUs ... [ 36.492919] Successfully put all powerdomains to target state [ 36.499725] PM: noirq resume of devices complete after 6.744 msecs [ 36.508666] PM: early resume of devices complete after 7.324 msecs [ 36.666320] PM: resume of devices complete after 157.501 msecs [ 36.701354] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1264,INA:0,ON:1265,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:1264,INA:0,ON:1265,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:1264,INA:0,ON:1265,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1264,INA:0,ON:1265,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.708709] PM: Syncing filesystems ... done. [ 39.437408] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 39.443939] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 39.450347] Suspending console(s) (use no_console_suspend to debug) [ 39.480163] PM: suspend of devices complete after 18.371 msecs [ 39.490539] PM: late suspend of devices complete after 10.314 msecs [ 39.501495] PM: noirq suspend of devices complete after 10.925 msecs [ 39.501525] Disabling non-boot CPUs ... [ 39.501647] Successfully put all powerdomains to target state [ 39.507965] PM: noirq resume of devices complete after 6.225 msecs [ 39.516448] PM: early resume of devices complete after 7.019 msecs [ 39.685241] PM: resume of devices complete after 168.609 msecs [ 39.718933] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1381,INA:0,ON:1382,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:1381,INA:0,ON:1382,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:1381,INA:0,ON:1382,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1381,INA:0,ON:1382,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:~#