U-Boot SPL 2012.07-00012-g391a28d (Dec 30 2012 - 17:40:39) OMAP4460 ES1.1 OMAP SD/MMC: 0 reading u-boot.img reading u-boot.bin mkimage signature not found - ih_magic = ea000014 reading u-boot.bin U-Boot 2012.07-00012-g391a28d (Dec 30 2012 - 17:40:39) CPU : OMAP4460 ES1.1 Board: OMAP4 Variscite SOM I2C: ready DRAM: 1 GiB MMC: OMAP SD/MMC: 0 Using default environment In: serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found. checking for preEnv.txt reading preEnv.txt 0 bytes read Loaded environment from preEnv.txt Importing preboot environment from mmc ... Hit any key to stop autoboot: 3  0 VAR-SOM-OM44 # VAR-SOM-OM44 # setenv bootargs 'console=ttyO2,115200n8 mem=1G@0x80000000 root=/dev/mmcblk0p2 ro earlyprintk ignore_loglevel fixrtc phy.smsc.gb_enable=false video=HDMI-A-1:1920x1080@60' VAR-SOM-OM44 # loady 0x81000000 ## Ready for binary (ymodem) download to 0x81000000 at 115200 bps... CSending: uImage-dtb.omap4-var-som Sending: Transfer complete CRC mode, 9(SOH)/4433(STX)/0(CAN) packets, 3 retries ## Total Size = 0x00454728 = 4540200 Bytes VAR-SOM-OM44 # bootm 0x81000000 ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux- Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4540136 Bytes = 4.3 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.12.0-24694-g28d8ae3 (paul@knihy) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #1 SMP Fri Nov 15 12:36:26 MST 2013 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Generic OMAP4 (Flattened Device Tree), model: Variscite OMAP4 SOM [ 0.000000] debug: ignoring loglevel setting. [ 0.000000] cma: CMA: reserved 16 MiB at ae800000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 261888 [ 0.000000] free_area_init_node: node 0, pgdat c08b9440, node_mem_map c0e28000 [ 0.000000] Normal zone: 1520 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 194560 pages, LIFO batch:31 [ 0.000000] HighMem zone: 528 pages used for memmap [ 0.000000] HighMem zone: 67328 pages, LIFO batch:15 [ 0.000000] OMAP4460 ES1.1 [ 0.000000] PERCPU: Embedded 9 pages/cpu @c1640000 s14016 r8192 d14656 u36864 [ 0.000000] pcpu-alloc: s14016 r8192 d14656 u36864 alloc=9*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260368 [ 0.000000] Kernel command line: console=ttyO2,115200n8 mem=1G@0x80000000 root=/dev/mmcblk0p2 ro earlyprintk ignore_loglevel fixrtc phy.smsc.gb_enable=false video=HDMI-A-1:1920x1080@60 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1007484K/1047552K available (5783K kernel code, 657K rwdata, 2080K rodata, 393K init, 5522K bss, 40068K reserved, 269312K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc07b60d8 (7865 kB) [ 0.000000] .init : 0xc07b7000 - 0xc08196c0 ( 394 kB) [ 0.000000] .data : 0xc081a000 - 0xc08be548 ( 658 kB) [ 0.000000] .bss : 0xc08be548 - 0xc0e23020 (5523 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] OMAP clockevent source: timer1 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] smp_twd: clock not found -2 [ 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.000000] Calibrating local timer... 348.09MHz. [ 0.059844] Calibrating delay loop... 1384.44 BogoMIPS (lpj=6922240) [ 0.149383] pid_max: default: 32768 minimum: 301 [ 0.149902] Security Framework initialized [ 0.150085] Mount-cache hash table entries: 512 [ 0.161621] CPU: Testing write buffer coherency: ok [ 0.163146] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.163208] Setting up static identity map for 0xc057fe78 - 0xc057fee8 [ 0.163330] L310 cache controller enabled [ 0.163360] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x7e470000, Cache size: 1024 kB [ 0.167999] CPU1: Booted secondary processor [ 0.248840] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.249359] Brought up 2 CPUs [ 0.249359] SMP: Total of 2 processors activated. [ 0.249389] CPU: All CPU(s) started in SVC mode. [ 0.251922] devtmpfs: initialized [ 0.261291] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.330596] pinctrl core: initialized pinctrl subsystem [ 0.333831] regulator-dummy: no parameters [ 0.336578] NET: Registered protocol family 16 [ 0.343475] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.422332] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 0.423492] OMAP GPIO hardware version 0.1 [ 0.425170] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 0.427642] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 0.429870] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 0.432037] gpiochip_add: registered GPIOs 128 to 159 on device: gpio [ 0.434234] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 0.435943] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.462005] No ATAGs? [ 0.462036] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.462066] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.465942] OMAP DMA hardware revision 0.0 [ 0.514190] bio: create slab at 0 [ 0.518463] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot [ 0.518524] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5 [ 0.575622] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver [ 0.576629] of_get_named_gpio_flags: can't parse gpios property of node '/fixedregulator@0[0]' [ 0.577331] VDD_ETH: 3300 mV [ 0.583099] SCSI subsystem initialized [ 0.584716] usbcore: registered new interface driver usbfs [ 0.585052] usbcore: registered new interface driver hub [ 0.585571] usbcore: registered new device driver usb [ 0.589843] omap_i2c 48070000.i2c: bus 0 rev0.11 at 400 kHz [ 0.590881] omap_i2c 48072000.i2c: bus 1 rev0.11 at 400 kHz [ 0.592590] omap_i2c 48060000.i2c: bus 2 rev0.11 at 400 kHz [ 0.593475] omap_i2c 48350000.i2c: bus 3 rev0.11 at 400 kHz [ 0.600891] Switched to clocksource 32k_counter [ 0.724121] NET: Registered protocol family 2 [ 0.725860] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.726165] TCP bind hash table entries: 8192 (order: 6, 294912 bytes) [ 0.728881] TCP: Hash tables configured (established 8192 bind 8192) [ 0.729125] TCP: reno registered [ 0.729156] UDP hash table entries: 512 (order: 3, 40960 bytes) [ 0.729522] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes) [ 0.730957] NET: Registered protocol family 1 [ 0.732177] RPC: Registered named UNIX socket transport module. [ 0.732208] RPC: Registered udp transport module. [ 0.732208] RPC: Registered tcp transport module. [ 0.732238] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.733062] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.908782] bounce pool size: 64 pages [ 0.909393] VFS: Disk quotas dquot_6.5.2 [ 0.909606] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.911956] NFS: Registering the id_resolver key type [ 0.912353] Key type id_resolver registered [ 0.912384] Key type id_legacy registered [ 0.912475] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.913024] msgmni has been set to 1473 [ 0.916015] io scheduler noop registered [ 0.916046] io scheduler deadline registered [ 0.916137] io scheduler cfq registered (default) [ 0.917358] pinctrl-single 4a100040.pinmux: 203 pins at pa fc100040 size 406 [ 0.917846] pinctrl-single 4a31e040.pinmux: 28 pins at pa fc31e040 size 56 [ 0.921234] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.926177] of_get_named_gpio_flags: can't parse gpios property of node '/ocp/serial@4806a000[0]' [ 0.927001] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 104, base_baud = 3000000) is a OMAP UART0 [ 0.928558] of_get_named_gpio_flags: can't parse gpios property of node '/ocp/serial@4806c000[0]' [ 0.928924] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 105, base_baud = 3000000) is a OMAP UART1 [ 0.929931] of_get_named_gpio_flags: can't parse gpios property of node '/ocp/serial@48020000[0]' [ 0.930267] 48020000.serial: ttyO2 at MMIO 0x48020000 (irq = 106, base_baud = 3000000) is a OMAP UART2 [ 1.749603] console [ttyO2] enabled [ 1.754699] of_get_named_gpio_flags: can't parse gpios property of node '/ocp/serial@4806e000[0]' [ 1.764709] 4806e000.serial: ttyO3 at MMIO 0x4806e000 (irq = 102, base_baud = 3000000) is a OMAP UART3 [ 1.797882] brd: module loaded [ 1.814270] loop: module loaded [ 1.820098] Skipping twl internal clock init and using bootloader value (unknown osc rate) [ 1.830505] twl 0-0048: PIH (irq 39) nested IRQs [ 1.838256] VAUX1_6030: 1000 <--> 3000 mV at 2800 mV [ 1.845947] VAUX2_6030: 1200 <--> 2800 mV at 1800 mV [ 1.853363] VAUX3_6030: 1000 <--> 3000 mV at 1200 mV [ 1.860504] VMMC: 1200 <--> 3000 mV at 3000 mV [ 1.867279] VPP: 1800 <--> 2500 mV at 1900 mV [ 1.873962] VUSIM: 1200 <--> 2900 mV [ 1.879364] VDAC: 1800 mV [ 1.883544] VANA: 2100 mV [ 1.888153] VCXIO: 1800 mV [ 1.892517] VUSB: 3300 mV [ 1.897125] V1V8: 1800 mV [ 1.901733] V2V1: 2100 mV [ 1.911865] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.921905] omap-dma-engine 4a056000.dma-controller: allocating channel for 36 [ 1.929595] omap-dma-engine 4a056000.dma-controller: allocating channel for 35 [ 1.943572] ks8851 spi1.0: message enable is 0 [ 1.954681] ks8851 spi1.0 eth0: revision 1, MAC 86:8a:9f:eb:e9:7f, IRQ 331, no EEPROM [ 1.965759] usbcore: registered new interface driver asix [ 1.971832] usbcore: registered new interface driver ax88179_178a [ 1.978607] usbcore: registered new interface driver cdc_ether [ 1.985107] usbcore: registered new interface driver r815x [ 1.991271] usbcore: registered new interface driver smsc95xx [ 1.997650] usbcore: registered new interface driver net1080 [ 2.004364] usbcore: registered new interface driver cdc_subset [ 2.011077] usbcore: registered new interface driver zaurus [ 2.017364] usbcore: registered new interface driver cdc_ncm [ 2.024719] usbcore: registered new interface driver cdc_wdm [ 2.031127] usbcore: registered new interface driver usb-storage [ 2.037811] usbcore: registered new interface driver usbtest [ 2.045227] mousedev: PS/2 mouse device common for all mice [ 2.055267] twl_rtc rtc.5: Power up reset detected. [ 2.061614] twl_rtc rtc.5: Enabling TWL-RTC [ 2.070312] twl_rtc rtc.5: rtc core: registered rtc.5 as rtc0 [ 2.076934] i2c /dev entries driver [ 2.083862] Driver for 1-wire Dallas network protocol. [ 2.090637] ti-soc-thermal 4a002260.bandgap: failed to request fclock reference [ 2.098419] ti-soc-thermal: probe of 4a002260.bandgap failed with error -2 [ 2.108428] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 2.117950] of_get_named_gpio_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.127075] of_get_named_gpio_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.136535] omap-dma-engine 4a056000.dma-controller: allocating channel for 62 [ 2.144256] omap-dma-engine 4a056000.dma-controller: allocating channel for 61 [ 2.152404] omap_hsmmc 4809c000.mmc: pins are not configured from the driver [ 2.201049] of_get_named_gpio_flags: can't parse gpios property of node '/ocp/mmc@480d5000[0]' [ 2.210357] of_get_named_gpio_flags: can't parse gpios property of node '/ocp/mmc@480d5000[0]' [ 2.219787] omap-dma-engine 4a056000.dma-controller: allocating channel for 60 [ 2.227508] omap-dma-engine 4a056000.dma-controller: allocating channel for 59 [ 2.235229] omap_hsmmc 480d5000.mmc: vmmc regulator missing [ 2.241424] omap-dma-engine 4a056000.dma-controller: freeing channel for 59 [ 2.248840] omap-dma-engine 4a056000.dma-controller: freeing channel for 60 [ 2.258697] ledtrig-cpu: registered to indicate activity on CPUs [ 2.266265] usbcore: registered new interface driver usbhid [ 2.272186] usbhid: USB HID core driver [ 2.277130] oprofile: no performance counters [ 2.283538] oprofile: using timer interrupt. [ 2.288604] TCP: cubic registered [ 2.288879] mmc0: host does not support reading read-only switch. assuming write-enable. [ 2.291107] mmc0: new high speed SDHC card at address 0007 [ 2.306518] Initializing XFRM netlink socket [ 2.311187] NET: Registered protocol family 17 [ 2.315948] NET: Registered protocol family 15 [ 2.320983] Key type dns_resolver registered [ 2.321075] mmcblk0: mmc0:0007 SD08G 7.42 GiB [ 2.326446] mmcblk0: p1 p2 [ 2.334350] Power Management for TI OMAP4+ devices. [ 2.339538] Power Management for TI OMAP4. [ 2.343933] OMAP4 PM: u-boot >= v2012.07 is required for full PM support [ 2.351226] ThumbEE CPU extension supported. [ 2.359100] VUSB: disabling [ 2.362792] VANA: disabling [ 2.366394] VDAC: disabling [ 2.371948] VAUX1_6030: disabling [ 2.379669] twl_rtc rtc.5: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.394989] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240) [ 2.407714] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (244) [ 2.449890] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 2.449890] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 4.181396] EXT4-fs (mmcblk0p2): recovery complete [ 4.492492] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 4.501190] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 4.517852] devtmpfs: mounted [ 4.522186] Freeing unused kernel memory: 392K (c07b7000 - c0819000) [ 5.087310] init: Failed to create pty - disabling logging for job [ 5.096466] init: Temporary process spawn error: No space left on device [ 5.165100] init: Failed to create pty - disabling logging for job [ 5.174377] init: Temporary process spawn error: No space left on device [ 5.209625] init: Failed to create pty - disabling logging for job [ 5.216278] init: Temporary process spawn error: No space left on device [ 5.225799] init: Failed to create pty - disabling logging for job [ 5.235656] init: Temporary process spawn error: No space left on device [ 5.382293] init: ureadahead main process (771) terminated with status 5 [ 5.839874] init: Failed to create pty - disabling logging for job [ 5.846649] init: Temporary process spawn error: No space left on device [ 5.893341] init: Failed to create pty - disabling logging for job [ 5.893341] init: Temporary process spawn error: No space left on device [ 6.019378] init: Failed to create pty - disabling logging for job [ 6.026123] init: Temporary process spawn error: No space left on device [ 7.041748] udevd[830]: starting version 175 fsck from util-linux 2.20.1 /dev/mmcblk0p2: clean, 177186/963584 files, 2984450/7708672 blocks [ 9.897583] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro [ 10.054016] init: udev-fallback-graphics main process (1520) terminated with status 1 [ 10.314514] init: plymouth main process (772) killed by SEGV signal [ 10.322814] init: plymouth-splash main process (1535) terminated with status 2 mountall: Plymouth command failed mountall: Plymouth command failed mountall: Plymouth command failed mountall: Plymouth command failed mountall: Plymouth command failed mountall: Plymouth command failed mountall: Plymouth command failed mountall: Disconnected from Plymouth [ 10.639923] init: plymouth-log main process (1574) terminated with status 1 [ 10.696136] init: failsafe main process (1575) killed by TERM signal [ 11.544555] Adding 524232k swap on /SWAP.swap. Priority:-1 extents:13 across:577528k SS [ 11.570800] init: plymouth-upstart-bridge main process (1610) terminated with status 1 [ 12.061401] init: bluetooth main process (1638) terminated with status 1 [ 12.068634] init: bluetooth main process ended, respawning speech-dispatcher disabled; edit /etc/default/speech-dispatcher saned disabled; edit /etc/default/saned [ 14.102996] init: alsa-restore main process (1696) terminated with status 19 [ 14.112823] init: hybrid-gfx main process (1708) terminated with status 1 [ 14.322723] init: bluetooth main process (1740) terminated with status 1 [ 14.333007] init: bluetooth main process ended, respawning [ 14.574798] init: bluetooth main process (1776) terminated with status 1 [ 14.589874] init: bluetooth main process ended, respawning [ 14.967926] init: bluetooth main process (1814) terminated with status 1 [ 14.975769] init: bluetooth main process ended, respawning [ 15.391387] init: bluetooth main process (1840) terminated with status 1 [ 15.400360] init: bluetooth main process ended, respawning FATAL: Could not load /lib/modules/3.12.0-24694-g28d8ae3/modules.dep: No such file or directory [ 15.843994] init: bluetooth main process (1888) terminated with status 1 [ 15.853027] init: bluetooth main process ended, respawning [ 16.039703] init: bluetooth main process (1911) terminated with status 1 [ 16.048980] init: bluetooth main process ended, respawning [ 16.212982] init: bluetooth main process (1935) terminated with status 1 [ 16.221923] init: bluetooth main process ended, respawning Ubuntu 12.04.1 LTS variscite-desktop ttyO2 variscite-desktop login: [ 16.383117] init: bluetooth main process (1958) terminated with status 1 [ 16.394653] init: bluetooth main process ended, respawning [ 16.544921] init: bluetooth main process (1981) terminated with status 1 [ 16.554260] init: bluetooth main process ended, respawning [ 16.726654] init: bluetooth main process (2004) terminated with status 1 [ 16.736480] init: bluetooth respawning too fast, stopped [ 17.245147] init: lightdm main process (1739) terminated with status 1 Ubuntu 12.04.1 LTS variscite-desktop ttyO2 variscite-desktop login: Ubuntu 12.04.1 LTS variscite-desktop ttyO2 variscite-desktop login: root Last login: Sat Jan 1 02:00:17 IST 2000 on ttyO2 Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.12.0-24694-g28d8ae3 armv7l) * Documentation: https://help.ubuntu.com/ root@variscite-desktop:~# root@variscite-desktop:~# %% Start PM consolidated quick test (retention only) %% Preparation root@variscite-desktop:~# root@variscite-desktop:~# mount -t sysfs none /sys mount: none already mounted or /sys busy mount: according to mtab, none is already mounted on /sys root@variscite-desktop:~# root@variscite-desktop:~# mount -t debugfs none /debug root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/* .serial | paste -s -d' '`; do echo -1 > $u/power/autosuspend_delay_ms; done root@variscite-desktop:~# root@variscite-desktop:~# echo 0 > /debug/pm_debug/enable_off_mode root@variscite-desktop:~# root@variscite-desktop:~# %% Baseline pm_debug count dump cat /debug/pm_debug/count [ 26.317657] pwrdm state mismatch(cam_pwrdm) 3 != 0 [ 26.322784] pwrdm state mismatch(ivahd_pwrdm) 3 != 1 [ 26.328094] pwrdm state mismatch(tesla_pwrdm) 3 != 1 [ 26.333404] pwrdm state mismatch(dss_pwrdm) 3 != 1 cefuse_pwrdm (OFF),OFF:2,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 (RET),OFF:0,RET:9,INA:0,ON:9,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (ON),OFF:1,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:1,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:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_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,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 (2) l3_dss_clkdm->dss_pwrdm (0) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (1) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (2) 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 (0) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (6) 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@variscite-desktop:~# root@variscite-desktop:~# echo enabled > /sys/devices/44000000.ocp/48020000.seri al/tty/ttyO2/power/wakeup root@variscite-desktop:~# %% Start retention double suspend/resume UART wakeup test echo mem > /sys/power/state [ 28.551361] PM: Syncing filesystems ... [ 33.907745] init: failsafe-x main process (2029) terminated with status 1 done. [ 37.785522] PM: Preparing system for mem sleep [ 37.803466] Freezing user space processes ... (elapsed 0.004 seconds) done. [ 37.816894] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 37.824615] PM: Entering mem sleep [ 37.830322] Suspending console(s) (use no_console_suspend to debug) [ 37.853881] PM: suspend of devices complete after 16.479 msecs [ 37.857818] PM: late suspend of devices complete after 3.936 msecs [ 37.863647] omap_hwmod: gpio6: _wait_target_disable failed [ 37.869354] PM: noirq suspend of devices complete after 11.535 msecs [ 37.869354] Disabling non-boot CPUs ... [ 37.876159] CPU1: shutdown [ 37.881561] Powerdomain (core_pwrdm) didn't enter target state 1 [ 37.881561] Powerdomain (abe_pwrdm) didn't enter target state 1 [ 37.881561] Powerdomain (mpu_pwrdm) didn't enter target state 1 [ 37.881561] Powerdomain (l4per_pwrdm) didn't enter target state 1 [ 37.881561] Powerdomain (core_pwrdm) didn't enter target state 1 [ 37.881561] Powerdomain (abe_pwrdm) didn't enter target state 1 [ 37.881561] Powerdomain (mpu_pwrdm) didn't enter target state 1 [ 37.881561] Powerdomain (l4per_pwrdm) didn't enter target state 1 [ 37.881561] Could not enter target state in pm_suspend [ 37.881561] A possible cause could be an old bootloader - try u-boot >= v2012.07 [ 37.881561] hw-breakpoint: Failed to enable monitor mode on CPU 0. [ 37.881591] Enabling non-boot CPUs ... [ 37.884521] CPU1: Booted secondary processor [ 37.886138] CPU1 is up [ 37.887115] PM: noirq resume of devices complete after 0.976 msecs [ 37.890686] PM: early resume of devices complete after 1.983 msecs [ 37.981842] PM: resume of devices complete after 89.172 msecs [ 38.114501] PM: Finishing wakeup. [ 38.124145] Restarting tasks ... done. root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# cat /debug/pm_debug/count cefuse_pwrdm (OFF),OFF:2,RET:0,INA:0,ON:1,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 (RET),OFF:0,RET:11,INA:0,ON:11,RET-LOGIC-OFF:1,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (RET),OFF:1,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 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: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 (RET),OFF:1,RET:1,INA:0,ON:1,RET-LOGIC-OFF:1,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_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,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 (2) l3_dss_clkdm->dss_pwrdm (0) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (1) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (2) 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 (0) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (5) 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@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# echo mem > /sys/power/state [ 40.130767] PM: Syncing filesystems ... done. [ 40.937591] PM: Preparing system for mem sleep [ 40.944488] Freezing user space processes ... (elapsed 0.009 seconds) done. [ 40.962738] Freezing remaining freezable tasks ... (elapsed 0.007 seconds) done. [ 40.973510] PM: Entering mem sleep [ 40.973510] Suspending console(s) (use no_console_suspend to debug) [ 40.997772] PM: suspend of devices complete after 10.559 msecs [ 41.001525] PM: late suspend of devices complete after 3.753 msecs [ 41.012329] omap_hwmod: gpio6: _wait_target_disable failed [ 41.012512] PM: noirq suspend of devices complete after 10.986 msecs [ 41.012512] Disabling non-boot CPUs ... [ 41.014648] CPU1: shutdown [ 41.014709] Powerdomain (core_pwrdm) didn't enter target state 1 [ 41.014709] Powerdomain (abe_pwrdm) didn't enter target state 1 [ 41.014709] Powerdomain (mpu_pwrdm) didn't enter target state 1 [ 41.014709] Powerdomain (l4per_pwrdm) didn't enter target state 1 [ 41.014709] Powerdomain (core_pwrdm) didn't enter target state 1 [ 41.014709] Powerdomain (abe_pwrdm) didn't enter target state 1 [ 41.014709] Powerdomain (mpu_pwrdm) didn't enter target state 1 [ 41.014709] Powerdomain (l4per_pwrdm) didn't enter target state 1 [ 41.014709] Could not enter target state in pm_suspend [ 41.014709] A possible cause could be an old bootloader - try u-boot >= v2012.07 [ 41.014709] hw-breakpoint: CPU 0 failed to disable vector catch [ 41.014739] Enabling non-boot CPUs ... [ 41.017272] CPU1: Booted secondary processor [ 41.018035] CPU1 is up [ 41.020477] PM: noirq resume of devices complete after 0.885 msecs [ 41.024322] PM: early resume of devices complete after 0.001 msecs [ 41.110504] PM: resume of devices complete after 85.876 msecs [ 41.248199] PM: Finishing wakeup. [ 41.248199] Restarting tasks ... done. root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# cat /debug/pm_debug/count cefuse_pwrdm (OFF),OFF:2,RET:0,INA:0,ON:1,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 (RET),OFF:0,RET:13,INA:0,ON:13,RET-LOGIC-OFF:2,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (RET),OFF:1,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 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: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 (RET),OFF:1,RET:1,INA:0,ON:1,RET-LOGIC-OFF:2,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_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,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 (2) l3_dss_clkdm->dss_pwrdm (0) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (1) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (2) 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 (0) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (5) 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@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# ./test_rootfs_access_nonexistent_file__ret_susp -bash: ./test_rootfs_access_nonexistent_file__ret_susp: No such file or directory root@variscite-desktop:~# root@variscite-desktop:~# %% 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/* .serial | paste -s -d' '`; do echo 3000 > $u/power/autosuspend_delay_ms; done root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# cat /debug/pm_debug/count cefuse_pwrdm (OFF),OFF:2,RET:0,INA:0,ON:1,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 (RET),OFF:0,RET:15,INA:0,ON:15,RET-LOGIC-OFF:2,RET-MEMBANK1-OFF:0 cam_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 ivahd_pwrdm (RET),OFF:1,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 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: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 (RET),OFF:1,RET:1,INA:0,ON:1,RET-LOGIC-OFF:2,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 dss_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 abe_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 gfx_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,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 (2) l3_dss_clkdm->dss_pwrdm (0) iss_clkdm->cam_pwrdm (0) l3_1_clkdm->core_pwrdm (0) l3_2_clkdm->core_pwrdm (1) mpuss_clkdm->mpu_pwrdm (1) ducati_clkdm->core_pwrdm (0) l4_ao_clkdm->always_on_core_pwrdm (0) l3_emif_clkdm->core_pwrdm (2) 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 (0) abe_clkdm->abe_pwrdm (0) l4_per_clkdm->l4per_pwrdm (2) 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@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# ./test_rootfs_access_nonexistent_file__ret_dyn -bash: ./test_rootfs_access_nonexistent_file__ret_dyn: No such file or directory root@variscite-desktop:~# root@variscite-desktop:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/* .serial | paste -s -d' '`; do echo -1 > $u/power/autosuspend_delay_ms; done root@variscite-desktop:~# root@variscite-desktop:~# %% End retention dynamic idle UART wakeup test %% End PM consolidated quick test (retention only)