怘€ć€˜€`f3πfŔćřŔ̆ž?`??f?ćžf<řž`??đ3ž<3ž<` at 0 [ 0.371673] omap-dma-engine omap-dma-engine: OMAP DMA engine driver [ 0.372314] vwl1271: 1800 mV [ 0.374999] SCSI subsystem initialized [ 0.376129] usbcore: registered new interface driver usbfs [ 0.376373] usbcore: registered new interface driver hub [ 0.376739] usbcore: registered new device driver usb [ 0.390624] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 400 kHz [ 0.393890] Skipping twl internal clock init and using bootloader value (unknown osc rate) [ 0.395202] twl 1-0048: PIH (irq 39) chaining IRQs 416..436 [ 0.396789] VUSB: 3300 mV normal standby [ 0.397735] vdd_mpu: 500 <--> 1500 mV normal [ 0.398590] vdd_iva: 500 <--> 1500 mV normal [ 0.399536] vdd_core: 500 <--> 1500 mV normal [ 0.400695] V1V8: 1800 mV normal standby [ 0.401611] V2V1: 2100 mV normal standby [ 0.402618] VMMC: 1200 <--> 3000 mV at 3000 mV normal standby [ 0.403808] VPP: 1800 <--> 2500 mV at 1900 mV normal standby [ 0.405120] VCXIO: 1800 mV normal standby [ 0.405181] VCXIO: supplied by V2V1 [ 0.407073] VDAC: 1800 mV normal standby [ 0.407135] VDAC: supplied by V2V1 [ 0.408538] VAUX2_6030: 1200 <--> 2800 mV at 1800 mV normal standby [ 0.409698] VAUX3_6030: 1000 <--> 3000 mV at 1200 mV normal standby [ 0.411163] VANA: 2100 mV normal standby [ 0.421722] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 400 kHz [ 0.437255] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz [ 0.452880] omap_i2c omap_i2c.4: bus 4 rev2.4.0 at 400 kHz [ 0.457000] Switching to clocksource 32k_counter [ 0.460662] Clockevents: could not switch to one-shot mode: [ 0.460662] Clockevents: could not switch to one-shot mode: dummy_timer is not functional. [ 0.460662] Could not switch to high resolution mode on CPU 1 [ 0.460693] dummy_timer is not functional. [ 0.460693] Could not switch to high resolution mode on CPU 0 [ 0.519958] NET: Registered protocol family 2 [ 0.521362] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.521789] TCP bind hash table entries: 16384 (order: 7, 589824 bytes) [ 0.526031] TCP: Hash tables configured (established 16384 bind 16384) [ 0.526306] TCP: reno registered [ 0.526336] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.526458] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.527221] NET: Registered protocol family 1 [ 0.528137] RPC: Registered named UNIX socket transport module. [ 0.528137] RPC: Registered udp transport module. [ 0.528137] RPC: Registered tcp transport module. [ 0.528167] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.528808] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.664764] VFS: Disk quotas dquot_6.5.2 [ 0.664947] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.666656] NFS: Registering the id_resolver key type [ 0.666931] Key type id_resolver registered [ 0.666961] Key type id_legacy registered [ 0.667022] jffs2: version 2.2. (NAND) (SUMMARY) Š 2001-2006 Red Hat, Inc. [ 0.667449] msgmni has been set to 954 [ 0.669158] io scheduler noop registered [ 0.669158] io scheduler deadline registered [ 0.669250] io scheduler cfq registered (default) [ 0.670562] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.673950] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0 [ 0.675109] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1 [ 0.675781] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2 [ 1.076385] console [ttyO2] enabled [ 1.079040] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3 [ 1.098388] brd: module loaded [ 1.109039] loop: module loaded [ 1.113525] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.117584] OneNAND driver initializing [ 1.125854] usbcore: registered new interface driver asix [ 1.129058] usbcore: registered new interface driver cdc_ether [ 1.132476] usbcore: registered new interface driver smsc95xx [ 1.135833] usbcore: registered new interface driver net1080 [ 1.139160] usbcore: registered new interface driver cdc_subset [ 1.143035] usbcore: registered new interface driver zaurus [ 1.146362] usbcore: registered new interface driver cdc_ncm [ 1.150482] usbcore: registered new interface driver cdc_wdm [ 1.153564] Initializing USB Mass Storage driver... [ 1.156524] usbcore: registered new interface driver usb-storage [ 1.159820] USB Mass Storage support registered. [ 1.162933] usbcore: registered new interface driver libusual [ 1.166564] usbcore: registered new interface driver usbtest [ 1.170349] mousedev: PS/2 mouse device common for all mice [ 1.175781] twl_rtc twl_rtc: Power up reset detected. [ 1.179229] twl_rtc twl_rtc: Enabling TWL-RTC [ 1.184692] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 1.188751] i2c /dev entries driver [ 1.192565] Driver for 1-wire Dallas network protocol. [ 1.197235] omap_wdt: OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec [ 1.202728] omap_hsmmc omap_hsmmc.0: Failed to get debounce clk [ 1.206146] omap-dma-engine omap-dma-engine: allocating channel for 62 [ 1.209747] omap-dma-engine omap-dma-engine: allocating channel for 61 [ 1.265594] omap_hsmmc omap_hsmmc.4: Failed to get debounce clk [ 1.268859] omap-dma-engine omap-dma-engine: allocating channel for 60 [ 1.272430] omap-dma-engine omap-dma-engine: allocating channel for 59 [ 1.392059] usbcore: registered new interface driver usbhid [ 1.395080] usbhid: USB HID core driver [ 1.397186] oprofile: hardware counters not available [ 1.399963] oprofile: using timer interrupt. [ 1.402801] TCP: cubic registered [ 1.404602] Initializing XFRM netlink socket [ 1.407135] NET: Registered protocol family 17 [ 1.409637] NET: Registered protocol family 15 [ 1.412292] Key type dns_resolver registered [ 1.414764] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 1 [ 1.423767] omap_vc_i2c_init: I2C config for vdd_iva does not match other channels (0). [ 1.428039] omap_vc_i2c_init: I2C config for vdd_mpu does not match other channels (0).[ 1.433410] Power Management for TI OMAP4. [ 1.435760] ThumbEE CPU extension supported. [ 1.454803] clock: disabling unused clocks to save power [ 1.460693] VANA: incomplete constraints, leaving on [ 1.464385] VDAC: incomplete constraints, leaving on [ 1.467742] VUSB: incomplete constraints, leaving on [ 1.472503] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 1.479309] Waiting for root device /dev/mmcblk0p2... [ 1.530609] mmc0: host does not support reading read-only switch. assuming write-enable. [ 1.535156] mmc0: new SD card at address aaaa [ 1.539093] mmcblk0: mmc0:aaaa SD02G 1.89 GiB [ 1.545471] mmcblk0: p1 p2 [ 2.203643] kjournald starting. Commit interval 5 seconds [ 2.208038] EXT3-fs (mmcblk0p2): using internal journal [ 2.350250] EXT3-fs (mmcblk0p2): recovery complete [ 2.352874] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 2.356842] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 2.360473] Freeing init memory: 316K modprobe: FATAL: Could not load /lib/modules/3.6.0-rc6-00269-g2d8abe0/modules.dep: No such file or directory INIT: version 2.88 booting Using makefile-style concurrent boot in runlevel S. Starting the hotplug events dispatcher: udevd. Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...done. Activating swap...done. Cleaning up ifupdown.... Setting up networking.... Loading kernel modules...done. Activating lvm and md swap...done. Checking file systems...fsck from util-linux 2.19.1 done. Mounting local filesystems...done. Activating swapfile swap...done. Cleaning up temporary files...[ 6.515319] tty_init_dev: 48 callbacks suppressed . Configuring network interfaces...done. Cleaning up temporary files.... Setting kernel variables ...done. INIT: Entering runlevel: 2 Using makefile-style concurrent boot in runlevel 2. Debian GNU/Linux wheezy/sid armel ttyO2 armel login: Debian GNU/Linux wheezy/sid armel ttyO2 armel login: Debian GNU/Linux wheezy/sid armel ttyO2 armel login: root Last login: Sat Jan 1 00:00:08 UTC 2000 on ttyO2 Linux armel 3.6.0-rc6-00269-g2d8abe0 #1 SMP Thu Sep 20 18:25:40 MDT 2012 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@armel:~# root@armel:~# %% Start PM consolidated quick test %% Preparation root@armel:~# root@armel:~# mount -t sysfs none /sys mount: none already mounted or /sys busy mount: according to mtab, sysfs is already mounted on /sys root@armel:~# root@armel:~# mount -t debugfs none /debug mount: none already mounted or /debug busy mount: according to mtab, /debug is already mounted on /debug root@armel:~# root@armel:~# root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.0/power/autosuspend_dela y_ms root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.1/power/autosuspend_dela y_ms root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.2/power/autosuspend_dela y_ms root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.3/power/autosuspend_dela y_ms root@armel:~# root@armel:~# echo 0 > /debug/pm_debug/enable_off_mode root@armel:~# root@armel:~# %% Baseline pm_debug count dump cat /debug/pm_debug/count cefuse_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0 always_on_core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0 l4per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 l3init_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 mpu_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 cpu1_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cpu0_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 tesla_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_pwrdm (ON),OFF:0,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,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0,RET-MEMBANK5-OFF:0 l3_dma_clkdm->core_pwrdm (0) emu_sys_clkdm->emu_pwrdm (0) l4_wkup_clkdm->wkup_pwrdm (5) l3_dss_clkdm->dss_pwrdm (1) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (2) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (5) mpu1_clkdm->cpu1_pwrdm (0) mpu0_clkdm->cpu0_pwrdm (0) d2d_clkdm->core_pwrdm (0) l3_init_clkdm->l3init_pwrdm (0) l3_instr_clkdm->core_pwrdm (3) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (10) l4_secure_clkdm->l4per_pwrdm (0) ivahd_clkdm->ivahd_pwrdm (0) l3_gfx_clkdm->gfx_pwrdm (0) tesla_clkdm->tesla_pwrdm (0) l4_cfg_clkdm->core_pwrdm (0) l4_cefuse_clkdm->cefuse_pwrdm (0) root@armel:~# root@armel:~# echo enabled > /sys/devices/platform/omap_uart.2/tty/ttyO2/power/w akeup root@armel:~# %% Start retention double suspend/resume UART wakeup test root@armel:~# echo mem > /sys/power/state [ 19.664245] PM: Syncing filesystems ... done. [ 21.851806] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 21.876251] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 21.899688] Suspending console(s) (use no_console_suspend to debug) a [ 21.914672] PM: suspend of devices complete after 9.063 msecs [ 21.916412] PM: late suspend of devices complete after 1.739 msecs [ 21.919342] PM: noirq suspend of devices complete after 2.929 msecs [ 21.919403] Disabling non-boot CPUs ... [ 21.922393] CPU1: shutdown [ 25.427673] Successfully put all powerdomains to target state [ 25.427856] Enabling non-boot CPUs ... [ 25.429992] CPU1: Booted secondary processor [ 25.430725] CPU1 is up [ 25.432373] PM: noirq resume of devices complete after 1.647 msecs [ 25.434234] PM: early resume of devices complete after 1.129 msecs [ 25.435668] Clockevents: could not switch to one-shot mode: dummy_timer is not functional. [ 25.435668] Could not switch to high resolution mode on CPU 1 [ 25.606597] PM: resume of devices complete after 172.363 msecs [ 25.648956] Restarting tasks ... done. root@armel:~# root@armel:~# a -bash: a: command not found root@armel:~# root@armel:~# root@armel:~# cat /debug/pm_debug/count cefuse_pwrdm (ON),OFF:2,RET:0,INA:0,ON:2,RET-LOGIC-OFF:0 always_on_core_pwrdm (ON),OFF:1,RET:0,INA:0,ON:2,RET-LOGIC-OFF:0 l4per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 l3init_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (ON),OFF:2,RET:0,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1,INA:0,ON:2,RET-LOGIC-OFF:1,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 cpu1_pwrdm (ON),OFF:1,RET:0,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cpu0_pwrdm (ON),OFF:1,RET:0,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 tesla_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (ON),OFF:1,RET:0,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_pwrdm (ON),OFF:1,RET:0,INA:0,ON:2,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,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0,RET-MEMBANK5-OFF:0 l3_dma_clkdm->core_pwrdm (0) emu_sys_clkdm->emu_pwrdm (0) l4_wkup_clkdm->wkup_pwrdm (5) l3_dss_clkdm->dss_pwrdm (1) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (2) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (5) mpu1_clkdm->cpu1_pwrdm (0) mpu0_clkdm->cpu0_pwrdm (0) d2d_clkdm->core_pwrdm (0) l3_init_clkdm->l3init_pwrdm (0) l3_instr_clkdm->core_pwrdm (3) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (10) l4_secure_clkdm->l4per_pwrdm (0) ivahd_clkdm->ivahd_pwrdm (0) l3_gfx_clkdm->gfx_pwrdm (0) tesla_clkdm->tesla_pwrdm (0) l4_cfg_clkdm->core_pwrdm (0) l4_cefuse_clkdm->cefuse_pwrdm (0) root@armel:~# root@armel:~# root@armel:~# root@armel:~# echo mem > /sys/power/state [ 27.662567] PM: Syncing filesystems ... done. [ 27.689666] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 27.710601] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 27.734039] Suspending console(s) (use no_console_suspend to debug) a [ 27.747497] PM: suspend of devices complete after 7.568 msecs [ 27.749237] PM: late suspend of devices complete after 1.708 msecs [ 27.751983] PM: noirq suspend of devices complete after 2.746 msecs [ 27.751983] Disabling non-boot CPUs ... [ 27.753570] CPU1: shutdown [ 31.428161] Successfully put all powerdomains to target state [ 31.428344] Enabling non-boot CPUs ... [ 31.430389] CPU1: Booted secondary processor [ 31.430908] CPU1 is up [ 31.432525] PM: noirq resume of devices complete after 1.586 msecs [ 31.434326] PM: early resume of devices complete after 1.129 msecs [ 31.436157] Clockevents: could not switch to one-shot mode: dummy_timer is not functional. [ 31.436157] Could not switch to high resolution mode on CPU 1 [ 31.598907] PM: resume of devices complete after 164.550 msecs [ 31.641113] Restarting tasks ... done. root@armel:~# root@armel:~# a -bash: a: command not found root@armel:~# root@armel:~# root@armel:~# cat /debug/pm_debug/count cefuse_pwrdm (ON),OFF:3,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0 always_on_core_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0 l4per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 l3init_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (ON),OFF:3,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 mpu_pwrdm (ON),OFF:0,RET:2,INA:0,ON:3,RET-LOGIC-OFF:2,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 cpu1_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cpu0_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 tesla_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,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,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0,RET-MEMBANK5-OFF:0 l3_dma_clkdm->core_pwrdm (0) emu_sys_clkdm->emu_pwrdm (0) l4_wkup_clkdm->wkup_pwrdm (5) l3_dss_clkdm->dss_pwrdm (1) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (2) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (5) mpu1_clkdm->cpu1_pwrdm (0) mpu0_clkdm->cpu0_pwrdm (0) d2d_clkdm->core_pwrdm (0) l3_init_clkdm->l3init_pwrdm (0) l3_instr_clkdm->core_pwrdm (3) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (10) l4_secure_clkdm->l4per_pwrdm (0) ivahd_clkdm->ivahd_pwrdm (0) l3_gfx_clkdm->gfx_pwrdm (0) tesla_clkdm->tesla_pwrdm (0) l4_cfg_clkdm->core_pwrdm (0) l4_cefuse_clkdm->cefuse_pwrdm (0) root@armel:~# root@armel:~# root@armel:~# root@armel:~# ./test_rootfs_access_nonexistent_file__ret_susp -bash: ./test_rootfs_access_nonexistent_file__ret_susp: No such file or directory root@armel:~# root@armel:~# %% End retention double suspend/resume UART wakeup test %% Start retention dynamic idle UART wakeup test echo 3000 > /sys/devices/platform/omap_uart.0/power/autosuspend_de lay_ms root@armel:~# root@armel:~# echo 3000 > /sys/devices/platform/omap_uart.1/power/autosuspend_de lay_ms root@armel:~# root@armel:~# echo 3000 > /sys/devices/platform/omap_uart.2/power/autosuspend_de lay_ms root@armel:~# root@armel:~# echo 3000 > /sys/devices/platform/omap_uart.3/power/autosuspend_de lay_ms root@armel:~# root@armel:~# root@armel:~# root@armel:~# root@armel:~# root@armel:~# cat /debug/pm_debug/count cefuse_pwrdm (ON),OFF:3,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0 always_on_core_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0 l4per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 l3init_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (ON),OFF:3,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 mpu_pwrdm (ON),OFF:0,RET:2,INA:0,ON:3,RET-LOGIC-OFF:2,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 cpu1_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cpu0_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 tesla_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3,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,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0,RET-MEMBANK5-OFF:0 l3_dma_clkdm->core_pwrdm (0) emu_sys_clkdm->emu_pwrdm (0) l4_wkup_clkdm->wkup_pwrdm (5) l3_dss_clkdm->dss_pwrdm (1) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (2) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (5) mpu1_clkdm->cpu1_pwrdm (0) mpu0_clkdm->cpu0_pwrdm (0) d2d_clkdm->core_pwrdm (0) l3_init_clkdm->l3init_pwrdm (0) l3_instr_clkdm->core_pwrdm (3) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (4) l4_secure_clkdm->l4per_pwrdm (0) ivahd_clkdm->ivahd_pwrdm (0) l3_gfx_clkdm->gfx_pwrdm (0) tesla_clkdm->tesla_pwrdm (0) l4_cfg_clkdm->core_pwrdm (0) l4_cefuse_clkdm->cefuse_pwrdm (0) root@armel:~# root@armel:~# root@armel:~# root@armel:~# ./test_rootfs_access_nonexistent_file__ret_dyn -bash: ./test_rootfs_access_nonexistent_file__ret_dyn: No such file or directory root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.0/power/autosuspend_dela y_ms root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.1/power/autosuspend_dela y_ms root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.2/power/autosuspend_dela y_ms root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.3/power/autosuspend_dela y_ms root@armel:~# root@armel:~# %% End retention dynamic idle UART wakeup test %% Start off-mode double suspend UART wakeup test echo 1 > /debug/pm_debug/enable_off_mode root@armel:~# root@armel:~# echo mem > /sys/power/state [ 53.444183] PM: Syncing filesystems ... done. [ 53.467163] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 53.492340] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 53.515777] Suspending console(s) (use no_console_suspend to debug) a [ 53.529296] PM: suspend of devices complete after 7.629 msecs [ 53.531066] PM: late suspend of devices complete after 1.770 msecs [ 53.533813] PM: noirq suspend of devices complete after 2.746 msecs [ 53.533843] Disabling non-boot CPUs ... [ 53.535186] CPU1: shutdown [ 57.430572] Successfully put all powerdomains to target state [ 57.430725] Enabling non-boot CPUs ... [ 57.432800] CPU1: Booted secondary processor [ 57.433319] CPU1 is up [ 57.434906] PM: noirq resume of devices complete after 1.556 msecs [ 57.436706] PM: early resume of devices complete after 1.129 msecs [ 57.438568] Clockevents: could not switch to one-shot mode: dummy_timer is not functional. [ 57.438568] Could not switch to high resolution mode on CPU 1 [ 57.601318] PM: resume of devices complete after 164.611 msecs [ 57.643524] Restarting tasks ... done. root@armel:~# root@armel:~# a -bash: a: command not found root@armel:~# root@armel:~# root@armel:~# cat /debug/pm_debug/count cefuse_pwrdm (ON),OFF:4,RET:0,INA:0,ON:4,RET-LOGIC-OFF:0 always_on_core_pwrdm (ON),OFF:3,RET:0,INA:0,ON:4,RET-LOGIC-OFF:0 l4per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 l3init_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (ON),OFF:4,RET:0,INA:0,ON:4,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 mpu_pwrdm (ON),OFF:0,RET:3,INA:0,ON:4,RET-LOGIC-OFF:3,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 cpu1_pwrdm (ON),OFF:3,RET:0,INA:0,ON:4,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cpu0_pwrdm (ON),OFF:3,RET:0,INA:0,ON:4,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 tesla_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (ON),OFF:3,RET:0,INA:0,ON:4,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_pwrdm (ON),OFF:3,RET:0,INA:0,ON:4,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,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0,RET-MEMBANK5-OFF:0 l3_dma_clkdm->core_pwrdm (0) emu_sys_clkdm->emu_pwrdm (0) l4_wkup_clkdm->wkup_pwrdm (5) l3_dss_clkdm->dss_pwrdm (1) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (2) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (5) mpu1_clkdm->cpu1_pwrdm (0) mpu0_clkdm->cpu0_pwrdm (0) d2d_clkdm->core_pwrdm (0) l3_init_clkdm->l3init_pwrdm (0) l3_instr_clkdm->core_pwrdm (3) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (10) l4_secure_clkdm->l4per_pwrdm (0) ivahd_clkdm->ivahd_pwrdm (0) l3_gfx_clkdm->gfx_pwrdm (0) tesla_clkdm->tesla_pwrdm (0) l4_cfg_clkdm->core_pwrdm (0) l4_cefuse_clkdm->cefuse_pwrdm (0) root@armel:~# root@armel:~# root@armel:~# root@armel:~# echo mem > /sys/power/state [ 59.665466] PM: Syncing filesystems ... done. [ 59.694091] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 59.721313] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 59.744750] Suspending console(s) (use no_console_suspend to debug) a [ 59.758148] PM: suspend of devices complete after 7.537 msecs [ 59.759887] PM: late suspend of devices complete after 1.708 msecs [ 59.762664] PM: noirq suspend of devices complete after 2.716 msecs [ 59.762664] Disabling non-boot CPUs ... [ 59.763916] CPU1: shutdown [ 63.431152] Successfully put all powerdomains to target state [ 63.431304] Enabling non-boot CPUs ... [ 63.433380] CPU1: Booted secondary processor [ 63.433868] CPU1 is up [ 63.435455] PM: noirq resume of devices complete after 1.525 msecs [ 63.437225] PM: early resume of devices complete after 1.098 msecs [ 63.439147] Clockevents: could not switch to one-shot mode: dummy_timer is not functional. [ 63.439147] Could not switch to high resolution mode on CPU 1 [ 63.601898] PM: resume of devices complete after 164.611 msecs [ 63.644073] Restarting tasks ... done. root@armel:~# root@armel:~# a -bash: a: command not found root@armel:~# root@armel:~# root@armel:~# cat /debug/pm_debug/count cefuse_pwrdm (ON),OFF:5,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0 always_on_core_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0 l4per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 l3init_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (ON),OFF:5,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 mpu_pwrdm (ON),OFF:0,RET:4,INA:0,ON:5,RET-LOGIC-OFF:4,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 cpu1_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cpu0_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 tesla_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,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,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0,RET-MEMBANK5-OFF:0 l3_dma_clkdm->core_pwrdm (0) emu_sys_clkdm->emu_pwrdm (0) l4_wkup_clkdm->wkup_pwrdm (5) l3_dss_clkdm->dss_pwrdm (1) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (2) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (5) mpu1_clkdm->cpu1_pwrdm (0) mpu0_clkdm->cpu0_pwrdm (0) d2d_clkdm->core_pwrdm (0) l3_init_clkdm->l3init_pwrdm (0) l3_instr_clkdm->core_pwrdm (3) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (10) l4_secure_clkdm->l4per_pwrdm (0) ivahd_clkdm->ivahd_pwrdm (0) l3_gfx_clkdm->gfx_pwrdm (0) tesla_clkdm->tesla_pwrdm (0) l4_cfg_clkdm->core_pwrdm (0) l4_cefuse_clkdm->cefuse_pwrdm (0) root@armel:~# root@armel:~# root@armel:~# root@armel:~# ./test_rootfs_access_nonexistent_file__off_susp -bash: ./test_rootfs_access_nonexistent_file__off_susp: No such file or directory root@armel:~# root@armel:~# %% End off-mode double suspend UART wakeup test %% Start off-mode dynamic idle UART wakeup test echo 3000 > /sys/devices/platform/omap_uart.0/power/autosuspend_de lay_ms root@armel:~# root@armel:~# echo 3000 > /sys/devices/platform/omap_uart.1/power/autosuspend_de lay_ms root@armel:~# root@armel:~# echo 3000 > /sys/devices/platform/omap_uart.2/power/autosuspend_de lay_ms root@armel:~# root@armel:~# echo 3000 > /sys/devices/platform/omap_uart.3/power/autosuspend_de lay_ms root@armel:~# root@armel:~# root@armel:~# root@armel:~# root@armel:~# root@armel:~# cat /debug/pm_debug/count cefuse_pwrdm (ON),OFF:5,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0 always_on_core_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0 l4per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 l3init_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (ON),OFF:5,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 mpu_pwrdm (ON),OFF:0,RET:4,INA:0,ON:5,RET-LOGIC-OFF:4,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 cpu1_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cpu0_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 tesla_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_pwrdm (ON),OFF:4,RET:0,INA:0,ON:5,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,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0,RET-MEMBANK5-OFF:0 l3_dma_clkdm->core_pwrdm (0) emu_sys_clkdm->emu_pwrdm (0) l4_wkup_clkdm->wkup_pwrdm (5) l3_dss_clkdm->dss_pwrdm (1) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (2) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (5) mpu1_clkdm->cpu1_pwrdm (0) mpu0_clkdm->cpu0_pwrdm (0) d2d_clkdm->core_pwrdm (0) l3_init_clkdm->l3init_pwrdm (0) l3_instr_clkdm->core_pwrdm (3) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (4) l4_secure_clkdm->l4per_pwrdm (0) ivahd_clkdm->ivahd_pwrdm (0) l3_gfx_clkdm->gfx_pwrdm (0) tesla_clkdm->tesla_pwrdm (0) l4_cfg_clkdm->core_pwrdm (0) l4_cefuse_clkdm->cefuse_pwrdm (0) root@armel:~# root@armel:~# root@armel:~# root@armel:~# ./test_rootfs_access_nonexistent_file__off_dyn -bash: ./test_rootfs_access_nonexistent_file__off_dyn: No such file or directory root@armel:~# root@armel:~# %% End off-mode dynamic idle UART wakeup test %% End PM consolidated quick test