ĉ€˜€ĉ€˜€`f†fĉĝ˜†ž~f~ĉžf†ž`ĉĝfž˜ŝžxf†ĝ˜à†f††f†˜x˜àx˜žx~`˜à~˜à˜˜˜˜€fxĉxàžff˜ĉ€˜€f†fx†žĝž~àĉžŝž`˜ĝfx~ŝžf€˜€à˜ŝžx†žĝž~˜ĉf†ĉžŝž`††fžĝžxĉžĉž˜žfžf€˜€ U-Boot 2011.06-00001-ge147603 (Sep 07 2012 - 22:19:41) OMAP3630/3730-GP ES1.0, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 In: serial Out: serial Err: serial Beagle xM Rev A No EEPROM on expansion board Die ID #2fa800001bf00000015739ea0702a01d Hit any key to stop autoboot: 3  0 OMAP3 beagleboard.org # OMAP3 beagleboard.org # loady ## Ready for binary (ymodem) download to 0x80200000 at 230400 bps... CSending: uImage Sending: Transfer complete yzModem - CRC mode, 6(SOH)/3950(STX)/0(CAN) packets, 3 retries ## Total Size = 0x003db9b0 = 4045232 Bytes OMAP3 beagleboard.org # OMAP3 beagleboard.org # OMAP3 beagleboard.org # setenv bootargs console=ttyO2,230400n8 vram=16M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait earlyprintk OMAP3 beagleboard.org # OMAP3 beagleboard.org # bootm ## Booting kernel from Legacy Image at 80200000 ... Image Name: Linux-3.6.0-rc5-00002-g7852ec0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4045168 Bytes = 3.9 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Linux version 3.6.0-rc5-00002-g7852ec0 (paul@nozomi) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #1 SMP Wed Sep 12 03:01:16 MDT 2012 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: OMAP3 Beagle Board [ 0.000000] Reserving 16777216 bytes SDRAM for VRAM [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] OMAP3630 ES1.0 (l2cache iva sgx neon isp 192mhz_clk ) [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/331/600 MHz [ 0.000000] PERCPU: Embedded 9 pages/cpu @c1125000 s12736 r8192 d15936 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125696 [ 0.000000] Kernel command line: console=ttyO2,230400n8 vram=16M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait earlyprintk [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 495MB = 495MB total [ 0.000000] Memory: 488888k/488888k available, 35400k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc06d5a98 (6967 kB) [ 0.000000] .init : 0xc06d6000 - 0xc07251c0 ( 317 kB) [ 0.000000] .data : 0xc0726000 - 0xc07c22c0 ( 625 kB) [ 0.000000] .bss : 0xc07c22e4 - 0xc0d1c84c (5482 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] NR_IRQS:474 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts [ 0.000000] Total of 96 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms [ 0.000000] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000000] ... CHAINHASH_SIZE: 16384 [ 0.000000] memory used by lock dependency info: 3695 kB [ 0.000000] per task-struct memory footprint: 1152 bytes [ 0.000885] Calibrating delay loop... 320.37 BogoMIPS (lpj=1253376) [ 0.088226] pid_max: default: 32768 minimum: 301 [ 0.088775] Security Framework initialized [ 0.088958] Mount-cache hash table entries: 512 [ 0.093841] CPU: Testing write buffer coherency: ok [ 0.094848] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.094909] Setting up static identity map for 0x804fe030 - 0x804fe0a0 [ 0.097198] Brought up 1 CPUs [ 0.097229] SMP: Total of 1 processors activated (320.37 BogoMIPS). [ 0.119110] dummy: [ 0.121459] NET: Registered protocol family 16 [ 0.122314] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.123321] GPMC revision 5.0 [ 0.123565] gpmc: irq-20 could not claim: err -22 [ 0.135101] OMAP GPIO hardware version 2.5 [ 0.151550] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.154296] OMAP3 Beagle Rev: xM Ax/Bx [ 0.168945] _omap_mux_get_by_name: Could not find signal uart4_rx.uart4_rx [ 0.178039] Reprogramming SDRC clock to 331882352 Hz [ 0.178985] Found NAND on CS0 [ 0.179016] Registering NAND on CS0 [ 0.180603] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.198059] omap-mcbsp.2: alias fck already exists [ 0.199005] omap-mcbsp.3: alias fck already exists [ 0.204193] OMAP DMA hardware revision 5.0 [ 0.274993] bio: create slab at 0 [ 0.374481] omap-dma-engine omap-dma-engine: OMAP DMA engine driver [ 0.380889] SCSI subsystem initialized [ 0.383728] usbcore: registered new interface driver usbfs [ 0.384735] usbcore: registered new interface driver hub [ 0.385681] usbcore: registered new device driver usb [ 0.397552] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz [ 0.407501] twl 1-0048: PIH (irq 7) chaining IRQs 320..328 [ 0.408203] twl 1-0048: power (irq 325) chaining IRQs 328..335 [ 0.411224] twl4030_gpio twl4030_gpio: gpio (irq 320) chaining IRQs 336..353 [ 0.420593] vdd_mpu_iva: 600 <--> 1450 mV normal [ 0.423278] vdd_core: 600 <--> 1450 mV normal [ 0.425750] VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 0.428222] VDAC: 1800 mV normal standby [ 0.430877] VDVI: 1800 mV normal standby [ 0.433502] VSIM: 1800 <--> 3000 mV at 1800 mV normal standby [ 0.441345] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz [ 0.451324] Switching to clocksource 32k_counter [ 0.592010] NET: Registered protocol family 2 [ 0.594696] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.595428] TCP bind hash table entries: 16384 (order: 7, 589824 bytes) [ 0.604583] TCP: Hash tables configured (established 16384 bind 16384) [ 0.604766] TCP: reno registered [ 0.604797] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.605133] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.606079] NET: Registered protocol family 1 [ 0.607482] RPC: Registered named UNIX socket transport module. [ 0.607513] RPC: Registered udp transport module. [ 0.607543] RPC: Registered tcp transport module. [ 0.607543] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.609252] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.789367] VFS: Disk quotas dquot_6.5.2 [ 0.789672] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.792572] NFS: Registering the id_resolver key type [ 0.793060] Key type id_resolver registered [ 0.793090] Key type id_legacy registered [ 0.793243] jffs2: version 2.2. (NAND) (SUMMARY) Âİ 2001-2006 Red Hat, Inc. [ 0.793853] msgmni has been set to 954 [ 0.797943] io scheduler noop registered [ 0.797973] io scheduler deadline registered [ 0.798095] io scheduler cfq registered (default) [ 0.800811] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.808319] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0 [ 0.810363] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1 [ 0.812469] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2 [ 1.155639] console [ttyO2] enabled [ 1.159362] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3 [ 1.199707] brd: module loaded [ 1.223175] loop: module loaded [ 1.233398] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.237548] NAND device: Manufacturer ID: 0x20, Chip ID: 0xba (ST Micro NAND 256MiB 1,8V 16-bit), page size: 2048, OOB size: 64 [ 1.243957] Creating 5 MTD partitions on "omap2-nand.0": [ 1.246856] 0x000000000000-0x000000080000 : "X-Loader" [ 1.257354] 0x000000080000-0x000000260000 : "U-Boot" [ 1.265930] 0x000000260000-0x000000280000 : "U-Boot Env" [ 1.273712] 0x000000280000-0x000000680000 : "Kernel" [ 1.282867] 0x000000680000-0x000010000000 : "File System" [ 1.385986] OneNAND driver initializing [ 1.402923] usbcore: registered new interface driver asix [ 1.406799] usbcore: registered new interface driver cdc_ether [ 1.410583] usbcore: registered new interface driver smsc95xx [ 1.414672] usbcore: registered new interface driver net1080 [ 1.418273] usbcore: registered new interface driver cdc_subset [ 1.422241] usbcore: registered new interface driver zaurus [ 1.425872] usbcore: registered new interface driver cdc_ncm [ 1.431457] usbcore: registered new interface driver cdc_wdm [ 1.434539] Initializing USB Mass Storage driver... [ 1.438049] usbcore: registered new interface driver usb-storage [ 1.441314] USB Mass Storage support registered. [ 1.445220] usbcore: registered new interface driver libusual [ 1.448974] usbcore: registered new interface driver usbtest [ 1.453918] mousedev: PS/2 mouse device common for all mice [ 1.463287] input: twl4030_pwrbutton as /devices/platform/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0 [ 1.471923] twl_rtc twl_rtc: Power up reset detected. [ 1.474853] twl_rtc twl_rtc: Enabling TWL-RTC [ 1.481384] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 1.486541] i2c /dev entries driver [ 1.491790] Driver for 1-wire Dallas network protocol. [ 1.498077] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 1.503204] twl4030_wdt twl4030_wdt: Failed to register misc device [ 1.506927] twl4030_wdt: probe of twl4030_wdt failed with error -16 [ 1.514770] omap_hsmmc omap_hsmmc.0: Failed to get debounce clk [ 1.518096] omap-dma-engine omap-dma-engine: allocating channel for 62 [ 1.521728] omap-dma-engine omap-dma-engine: allocating channel for 61 [ 1.905883] usbcore: registered new interface driver usbhid [ 1.908966] usbhid: USB HID core driver [ 1.911071] oprofile: hardware counters not available [ 1.913970] oprofile: using timer interrupt. [ 1.917114] TCP: cubic registered [ 1.918914] Initializing XFRM netlink socket [ 1.921508] NET: Registered protocol family 17 [ 1.924011] NET: Registered protocol family 15 [ 1.926849] Key type dns_resolver registered [ 1.929382] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 1.944946] ThumbEE CPU extension supported. [ 1.981048] clock: disabling unused clocks to save power [ 1.988616] VDVI: incomplete constraints, leaving on [ 1.991668] VDAC: incomplete constraints, leaving on [ 1.997131] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 2.007293] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.015869] Waiting for root device /dev/mmcblk0p2... [ 2.346282] mmc0: host does not support reading read-only switch. assuming write-enable. [ 2.353820] mmc0: new high speed SDHC card at address 1234 [ 2.359893] mmcblk0: mmc0:1234 SA04G 3.68 GiB [ 2.370239] mmcblk0: p1 p2 [ 4.499877] kjournald starting. Commit interval 5 seconds [ 4.503387] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 4.911315] EXT3-fs (mmcblk0p2): using internal journal [ 4.922760] EXT3-fs (mmcblk0p2): recovery complete [ 4.925384] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 4.929595] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 4.933410] Freeing init memory: 316K INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 5.929565] udevd (732): /proc/732/oom_adj is deprecated, please use /proc/732/oom_score_adj instead. Synthesizing the initial hotplug events Remounting root file system... mount: according to mtab, /proc is already mounted on /proc WARNING: Couldn't open directory /lib/modules/3.6.0-rc5-00002-g7852ec0: No such file or directory FATAL: Could not open /lib/modules/3.6.0-rc5-00002-g7852ec0/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.6.0-rc5-00002-g7852ec0/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.6.0-rc5-00002-g7852ec0/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.6.0-rc5-00002-g7852ec0/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.6.0-rc5-00002-g7852ec0/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.6.0-rc5-00002-g7852ec0/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.6.0-rc5-00002-g7852ec0/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.6.0-rc5-00002-g7852ec0/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.6.0-rc5-00002-g7852ec0/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.6.0-rc5-00002-g7852ec0/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.6.0-rc5-00002-g7852ec0/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.6.0-rc5-00002-g7852ec0/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[2030]: 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:~# echo -1 > /sys/devices/platform/omap_uart.0/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.1/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.2/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.3/power/autosuspen d_delay_ms 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:1537,INA:0,ON:1538,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:1537,INA:0,ON:1538,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:1537,INA:0,ON:1538,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1537,INA:0,ON:1538,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 (17) 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 (24) core_l3_clkdm->core_pwrdm (4) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# echo enabled > /sys/devices/platform/omap_uart.2/tty/ttyO2/p ower/wakeup root@beagleboard:~# %% Start retention double suspend/resume UART wakeup test root@beagleboard:~# echo mem > /sys/power/state [ 31.306488] PM: Syncing filesystems ... done. [ 32.955139] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 32.977081] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 33.000610] Suspending console(s) (use no_console_suspend to debug) [ 33.130432] PM: suspend of devices complete after 121.612 msecs [ 33.134399] PM: late suspend of devices complete after 3.967 msecs [ 33.140380] PM: noirq suspend of devices complete after 5.981 msecs [ 33.140441] Disabling non-boot CPUs ... [ 37.063659] Successfully put all powerdomains to target state [ 37.066711] PM: noirq resume of devices complete after 2.868 msecs [ 37.070770] PM: early resume of devices complete after 2.655 msecs [ 37.566406] PM: resume of devices complete after 495.483 msecs [ 37.596343] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1683,INA:0,ON:1684,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:1683,INA:0,ON:1684,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:1683,INA:0,ON:1684,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1683,INA:0,ON:1684,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 (17) 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 (24) core_l3_clkdm->core_pwrdm (4) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 39.281677] PM: Syncing filesystems ... done. [ 40.540710] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 40.564300] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 40.587707] Suspending console(s) (use no_console_suspend to debug) [ 40.717193] PM: suspend of devices complete after 121.280 msecs [ 40.721099] PM: late suspend of devices complete after 3.844 msecs [ 40.726745] PM: noirq suspend of devices complete after 5.614 msecs [ 40.726745] Disabling non-boot CPUs ... [ 44.064178] Successfully put all powerdomains to target state [ 44.067199] PM: noirq resume of devices complete after 2.837 msecs [ 44.071075] PM: early resume of devices complete after 2.502 msecs [ 44.566650] PM: resume of devices complete after 495.422 msecs [ 44.596374] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1807,INA:0,ON:1808,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:1807,INA:0,ON:1808,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:1807,INA:0,ON:1808,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1807,INA:0,ON:1808,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_clkd->sgx_pwrdm (0) per_clkdm->per_pwrdm (17) 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 (24) core_l3_clkdm->core_pwrdm (4) 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 echo 3000 > /sys/devices/platform/omap_uart.0/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.1/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.2/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.3/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:2015,INA:0,ON:2016,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:17,INA:0,ON:18,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:33,INA:0,ON:34,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:2015,INA:0,ON:2016,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:2015,INA:0,ON:2016,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:2015,INA:0,ON:2016,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 (16) 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 (21) core_l3_clkdm->core_pwrdm (4) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# ./test_rootfs_access_nonexistent_file__ret_dyn -sh: ./test_rootfs_access_nonexistent_file__ret_dyn: not found root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.0/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.1/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.2/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# echo -1 > /sys/devices/platform/omap_uart.3/power/autosuspen d_delay_ms root@beagleboard:~# root@beagleboard:~# %% End retention dynamic idle UART wakeup test %% Start off-mode double suspend UART wakeup test echo 1 > /debug/pm_debug/enable_off_mode [ 65.082397] omap3_pm_off_mode_enable: Core OFF disabled due to errata i583 root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 66.080352] PM: Syncing filesystems ... done. [ 67.320190] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 67.347320] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 67.370910] Suspending console(s) (use no_console_suspend to debug) [ 67.499999] PM: suspend of devices complete after 120.887 msecs [ 67.503906] PM: late suspend of devices complete after 3.875 msecs [ 67.509552] PM: noirq suspend of devices complete after 5.645 msecs [ 67.509582] Disabling non-boot CPUs ... [ 71.065734] Successfully put all powerdomains to target state [ 71.069122] PM: noirq resume of devices complete after 3.081 msecs [ 71.073944] PM: early resume of devices complete after 2.654 msecs [ 71.567962] PM: resume of devices complete after 493.896 msecs [ 71.597717] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:54,RET:2190,INA:0,ON:2245,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:18,INA:0,ON:19,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:1,RET:33,INA:0,ON:35,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:54,RET:2190,INA:0,ON:2245,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:54,RET:2190,INA:0,ON:2245,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:54,RET:2190,INA:0,ON:2245,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm(OFF),OFF:1,RET:1,INA:0,ON:2,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 (17) 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 (24) core_l3_clkdm->core_pwrdm (4) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 73.284393] PM: Syncing filesystems ... done. [ 74.550048] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 74.575378] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 74.598876] Suspending console(s) (use no_console_suspend to debug) [ 74.728027] PM: suspend of devices complete after 120.972 msecs [ 74.731933] PM: late suspend of devices complete after 3.906 msecs [ 74.737579] PM: noirq suspend of devices complete after 5.614 msecs [ 74.737609] Disabling non-boot CPUs ... [ 78.066131] Successfully put all powerdomains to target state [ 78.069488] PM: noirq resume of devices complete after 3.051 msecs [ 78.073638] PM: early resume of devices complete after 2.654 msecs [ 78.568359] PM: resume of devices complete after 494.598 msecs [ 78.598114] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:159,RET:2190,INA:0,ON:2350,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:19,INA:0,ON:20,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:2,RET:33,INA:0,ON:36,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:159,RET:2190,INA:0,ON:2350,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:159,RET:2190,INA:0,ON:2350,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:159,RET:2190,INA:0,ON:2350,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,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 (17) 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 (24) core_l3_clkdm->core_pwrdm (4) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# ./test_rootfs_access_nonexistent_file__off_susp -sh: ./test_rootfs_access_nonexistent_file__off_susp: not found root@beagleboard:~# root@beagleboard:~# %% 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/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.1/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.2/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# echo 3000 > /sys/devices/platform/omap_uart.3/power/autosusp end_delay_ms root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:354,RET:2190,INA:0,ON:2545,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:32,INA:0,ON:33,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:17,RET:33,INA:0,ON:51,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:354,RET:2190,INA:0,ON:2545,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:354,RET:2190,INA:0,ON:2545,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:354,RET:2190,INA:0,ON:2545,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:2,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 (16) 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 (21) core_l3_clkdm->core_pwrdm (4) neon_clkdm->neon_pwrdm (0) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# ./test_rootfs_access_nonexistent_file__off_dyn -sh: ./test_rootfs_access_nonexistent_file__off_dyn: not found root@beagleboard:~# root@beagleboard:~# %% End off-mode dynamic idle UART wakeup test %% End PM consolidated quick test