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, 5(SOH)/4234(STX)/0(CAN) packets, 3 retries ## Total Size = 0x00422911 = 4335889 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: 4335825 Bytes = 4.1 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.15.0-rc1-64224-g0f9e19a (paul@knihy) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Wed May 14 11:32:10 MDT 2014 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Variscite OMAP4 SOM [ 0.000000] debug: ignoring loglevel setting. [ 0.000000] cma: CMA: reserved 16 MiB at ae800000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 261888 [ 0.000000] free_area_init_node: node 0, pgdat c08946c0, node_mem_map edff2000 [ 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 @edf9f000 s14080 r8192 d14592 u36864 [ 0.000000] pcpu-alloc: s14080 r8192 d14592 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: 1007440K/1047552K available (5572K kernel code, 663K rwdata, 2144K rodata, 389K init, 5522K bss, 40112K 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 - 0xc079134c (7717 kB) [ 0.000000] .init : 0xc0792000 - 0xc07f3700 ( 390 kB) [ 0.000000] .data : 0xc07f4000 - 0xc0899ec0 ( 664 kB) [ 0.000000] .bss : 0xc0899ec0 - 0xc0dfea90 (5523 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] ti_dt_clocks_register: failed to lookup clock node div_ts_ck [ 0.000000] ti_dt_clocks_register: failed to lookup clock node bandgap_ts_fclk [ 0.000000] OMAP clockevent source: timer1 at 32768 Hz [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65536000000000ns [ 0.000030] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000183] smp_twd: clock not found -2 [ 0.002075] Console: colour dummy device 80x30 [ 0.002136] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.002166] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.002166] ... MAX_LOCK_DEPTH: 48 [ 0.002166] ... MAX_LOCKDEP_KEYS: 8191 [ 0.002197] ... CLASSHASH_SIZE: 4096 [ 0.002197] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.002197] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.002227] ... CHAINHASH_SIZE: 16384 [ 0.002227] memory used by lock dependency info: 3695 kB [ 0.002227] per task-struct memory footprint: 1152 bytes [ 0.002288] Calibrating local timer... 347.52MHz. [ 0.058685] Calibrating delay loop... 1384.44 BogoMIPS (lpj=6922240) [ 0.148010] pid_max: default: 32768 minimum: 301 [ 0.148620] Security Framework initialized [ 0.148803] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.148834] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.151855] CPU: Testing write buffer coherency: ok [ 0.153350] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.153411] Setting up static identity map for 0x80548050 - 0x805480c0 [ 0.153533] L310 cache controller enabled [ 0.153564] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x7e470000, Cache size: 1024 kB [ 0.158782] CPU1: Booted secondary processor [ 0.197692] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.198272] Brought up 2 CPUs [ 0.198303] SMP: Total of 2 processors activated. [ 0.198303] CPU: All CPU(s) started in SVC mode. [ 0.201019] devtmpfs: initialized [ 0.210205] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.214202] omap_hwmod: l3_main_3 using broken dt data from ocp [ 0.217926] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.376525] pinctrl core: initialized pinctrl subsystem [ 0.379211] regulator-dummy: no parameters [ 0.422302] NET: Registered protocol family 16 [ 0.429046] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.500701] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 0.501525] OMAP GPIO hardware version 0.1 [ 0.502563] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 0.504272] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 0.505920] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 0.507507] gpiochip_add: registered GPIOs 128 to 159 on device: gpio [ 0.509094] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 0.510437] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.527954] platform 4b501000.aes: Cannot lookup hwmod 'aes' [ 0.528381] platform 480a5000.des: Cannot lookup hwmod 'des' [ 0.530334] No ATAGs? [ 0.530426] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.530426] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.533020] OMAP DMA hardware revision 0.0 [ 0.555786] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot [ 0.555816] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5 [ 0.588714] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver [ 0.589508] of_get_named_gpiod_flags: can't parse gpios property of node '/fixedregulator@0[0]' [ 0.590057] VDD_ETH: 3300 mV [ 0.594146] SCSI subsystem initialized [ 0.594848] usbcore: registered new interface driver usbfs [ 0.595001] usbcore: registered new interface driver hub [ 0.595367] usbcore: registered new device driver usb [ 0.604003] omap_i2c 48070000.i2c: bus 0 rev0.11 at 400 kHz [ 0.604980] omap_i2c 48072000.i2c: bus 1 rev0.11 at 400 kHz [ 0.606781] omap_i2c 48060000.i2c: bus 2 rev0.11 at 400 kHz [ 0.607513] omap_i2c 48350000.i2c: bus 3 rev0.11 at 400 kHz [ 0.611572] Switched to clocksource 32k_counter [ 0.753723] NET: Registered protocol family 2 [ 0.755554] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.755798] TCP bind hash table entries: 8192 (order: 6, 294912 bytes) [ 0.758453] TCP: Hash tables configured (established 8192 bind 8192) [ 0.758666] TCP: reno registered [ 0.758728] UDP hash table entries: 512 (order: 3, 40960 bytes) [ 0.759063] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes) [ 0.760284] NET: Registered protocol family 1 [ 0.761718] RPC: Registered named UNIX socket transport module. [ 0.761718] RPC: Registered udp transport module. [ 0.761749] RPC: Registered tcp transport module. [ 0.761749] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.767578] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.925323] bounce pool size: 64 pages [ 0.926361] VFS: Disk quotas dquot_6.5.2 [ 0.926483] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.928497] NFS: Registering the id_resolver key type [ 0.928863] Key type id_resolver registered [ 0.928894] Key type id_legacy registered [ 0.928985] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.929565] msgmni has been set to 1473 [ 0.932220] io scheduler noop registered [ 0.932220] io scheduler deadline registered [ 0.932342] io scheduler cfq registered (default) [ 0.936370] pinctrl-single 4a100040.pinmux: 203 pins at pa fc100040 size 406 [ 0.936859] pinctrl-single 4a31e040.pinmux: 28 pins at pa fc31e040 size 56 [ 0.939025] pbias_mmc_omap4: 1800 <--> 3000 mV at 3000 mV [ 0.940124] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.946014] omap_uart 4806a000.serial: no wakeirq for uart0 [ 0.946014] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4806a000[0]' [ 0.946807] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 104, base_baud = 3000000) is a OMAP UART0 [ 0.948547] omap_uart 4806c000.serial: no wakeirq for uart0 [ 0.948577] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4806c000[0]' [ 0.949066] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 105, base_baud = 3000000) is a OMAP UART1 [ 0.950103] omap_uart 48020000.serial: no wakeirq for uart0 [ 0.950134] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48020000[0]' [ 0.950561] 48020000.serial: ttyO2 at MMIO 0x48020000 (irq = 106, base_baud = 3000000) is a OMAP UART2 [ 1.825714] console [ttyO2] enabled [ 1.830688] omap_uart 4806e000.serial: no wakeirq for uart0 [ 1.836608] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4806e000[0]' [ 1.846557] 4806e000.serial: ttyO3 at MMIO 0x4806e000 (irq = 102, base_baud = 3000000) is a OMAP UART3 [ 1.877563] brd: module loaded [ 1.892944] loop: module loaded [ 1.897979] Skipping twl internal clock init and using bootloader value (unknown osc rate) [ 1.908264] twl 0-0048: PIH (irq 39) nested IRQs [ 1.915466] VAUX1_6030: 1000 <--> 3000 mV at 2800 mV [ 1.923461] VAUX2_6030: 1200 <--> 2800 mV at 1800 mV [ 1.930541] VAUX3_6030: 1000 <--> 3000 mV at 1200 mV [ 1.937805] VMMC: 1200 <--> 3000 mV at 3000 mV [ 1.944305] VPP: 1800 <--> 2500 mV at 1900 mV [ 1.950561] VUSIM: 1200 <--> 2900 mV [ 1.955810] VDAC: 1800 mV [ 1.959686] VANA: 2100 mV [ 1.964080] VCXIO: 1800 mV [ 1.968078] VUSB: 3300 mV [ 1.972473] V1V8: 1800 mV [ 1.976776] V2V1: 2100 mV [ 1.984374] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.997985] ks8851 spi1.0: message enable is 0 [ 2.008514] ks8851 spi1.0 eth0: revision 1, MAC 66:36:ed:ff:d9:b1, IRQ 331, no EEPROM [ 2.018768] usbcore: registered new interface driver asix [ 2.024597] usbcore: registered new interface driver ax88179_178a [ 2.031127] usbcore: registered new interface driver cdc_ether [ 2.037445] usbcore: registered new interface driver smsc95xx [ 2.044006] usbcore: registered new interface driver net1080 [ 2.050048] usbcore: registered new interface driver cdc_subset [ 2.056427] usbcore: registered new interface driver zaurus [ 2.062499] usbcore: registered new interface driver cdc_ncm [ 2.069396] usbcore: registered new interface driver cdc_wdm [ 2.075622] usbcore: registered new interface driver usb-storage [ 2.082153] usbcore: registered new interface driver usbtest [ 2.090393] mousedev: PS/2 mouse device common for all mice [ 2.099304] twl_rtc rtc.5: Power up reset detected. [ 2.105499] twl_rtc rtc.5: Enabling TWL-RTC [ 2.113983] twl_rtc rtc.5: rtc core: registered rtc.5 as rtc0 [ 2.120239] i2c /dev entries driver [ 2.126922] Driver for 1-wire Dallas network protocol. [ 2.135864] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 2.144561] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.153717] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.163848] omap_hsmmc 4809c000.mmc: pins are not configured from the driver [ 2.211700] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@480d5000[0]' [ 2.221099] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@480d5000[0]' [ 2.230651] 480d5000.mmc supply vmmc not found, using dummy regulator [ 2.237640] omap_hsmmc 480d5000.mmc: could not set regulator OCR (-22) [ 2.244567] omap_hsmmc 480d5000.mmc: pins are not configured from the driver [ 2.252471] omap_hsmmc 480d5000.mmc: could not set regulator OCR (-22) [ 2.289489] mmc0: host does not support reading read-only switch. assuming write-enable. [ 2.298919] usbcore: registered new interface driver usbhid [ 2.304870] usbhid: USB HID core driver [ 2.310028] oprofile: no performance counters [ 2.315612] oprofile: using timer interrupt. [ 2.315917] mmc0: new high speed SDHC card at address 0007 [ 2.318054] mmcblk0: mmc0:0007 SD08G 7.42 GiB [ 2.330993] TCP: cubic registered [ 2.334533] Initializing XFRM netlink socket [ 2.339355] NET: Registered protocol family 17 [ 2.339477] mmcblk0: p1 p2 [ 2.347076] NET: Registered protocol family 15 [ 2.352142] Key type dns_resolver registered [ 2.357757] Power Management for TI OMAP4+ devices. [ 2.362976] Power Management for TI OMAP4. [ 2.367340] OMAP4 PM: u-boot >= v2012.07 is required for full PM support [ 2.374603] ThumbEE CPU extension supported. [ 2.379150] Registering SWP/SWPB emulation handler [ 2.384796] omap_hsmmc 480d5000.mmc: exceeding card's volts [ 2.394683] VUSB: disabling [ 2.398376] VANA: disabling [ 2.401977] VDAC: disabling [ 2.407379] VAUX1_6030: disabling [ 2.414337] twl_rtc rtc.5: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.464904] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240) [ 2.477874] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (244) [ 2.521423] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 2.529998] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 2.632751] mmc1: host does not support reading read-only switch. assuming write-enable. [ 2.643249] mmc1: new high speed SDHC card at address b368 [ 2.650329] mmcblk1: mmc1:b368 USD 3.75 GiB [ 2.657806] mmcblk1: p1 p2 [ 6.638702] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs [ 6.656463] EXT4-fs (mmcblk0p2): 2 orphan inodes deleted [ 6.662261] EXT4-fs (mmcblk0p2): recovery complete [ 7.166961] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 7.175689] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 7.192321] devtmpfs: mounted [ 7.192321] Freeing unused kernel memory: 388K (c0792000 - c07f3000) [ 7.746795] random: init urandom read with 113 bits of entropy available [ 7.776824] init: Failed to create pty - disabling logging for job [ 7.785919] init: Temporary process spawn error: No space left on device [ 7.854583] init: Failed to create pty - disabling logging for job [ 7.861663] init: Temporary process spawn error: No space left on device [ 7.895172] init: Failed to create pty - disabling logging for job [ 7.903015] init: Temporary process spawn error: No space left on device [ 7.913726] init: Failed to create pty - disabling logging for job [ 7.921722] init: Temporary process spawn error: No space left on device [ 8.102996] init: ureadahead main process (803) terminated with status 5 [ 8.371154] random: nonblocking pool is initialized [ 8.531311] init: Failed to create pty - disabling logging for job [ 8.538116] init: Temporary process spawn error: No space left on device [ 8.579986] init: Failed to create pty - disabling logging for job [ 8.587615] init: Temporary process spawn error: No space left on device [ 8.711517] init: Failed to create pty - disabling logging for job [ 8.711853] init: Temporary process spawn error: No space left on device [ 9.560699] udevd[860]: starting version 175 fsck from util-linux 2.20.1 /dev/mmcblk0p2: clean, 177328/963584 files, 2985081/7708672 blocks [ 12.847442] init: udev-fallback-graphics main process (1555) terminated with status 1 [ 12.922302] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro [ 13.118408] init: plymouth main process (804) killed by SEGV signal [ 13.132537] init: plymouth-splash main process (1574) 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 [ 14.083282] init: plymouth-log main process (1629) terminated with status 1 [ 14.113586] init: failsafe main process (1631) killed by TERM signal [ 14.952209] Adding 524232k swap on /SWAP.swap. Priority:-1 extents:13 across:577528k SS [ 15.095062] init: plymouth-upstart-bridge main process (1667) terminated with status 1 [ 15.368103] init: bluetooth main process (1677) terminated with status 1 [ 15.377929] init: bluetooth main process ended, respawning [ 16.142791] init: bluetooth main process (1731) terminated with status 1 [ 16.150573] init: bluetooth main process ended, respawning [ 16.334747] init: bluetooth main process (1754) terminated with status 1 [ 16.345153] init: bluetooth main process ended, respawning [ 16.531524] init: bluetooth main process (1779) terminated with status 1 [ 16.539031] init: bluetooth main process ended, respawning [ 16.739440] init: bluetooth main process (1806) terminated with status 1 [ 16.748992] init: bluetooth main process ended, respawning speech-dispatcher disabled; edit /etc/default/speech-dispatcher saned disabled; edit /etc/default/saned [ 18.001708] init: alsa-restore main process (1845) terminated with status 19 [ 18.166625] init: hybrid-gfx main process (1859) terminated with status 1 [ 18.212799] init: bluetooth main process (1831) terminated with status 1 [ 18.220153] init: bluetooth main process ended, respawning [ 18.548492] init: bluetooth main process (1933) terminated with status 1 [ 18.558288] init: bluetooth main process ended, respawning [ 18.835266] init: bluetooth main process (1972) terminated with status 1 [ 18.854400] init: bluetooth main process ended, respawning [ 19.039459] init: bluetooth main process (2006) terminated with status 1 [ 19.055725] init: bluetooth main process ended, respawning FATAL: Could not load /lib/modules/3.15.0-rc1-64224-g0f9e19a/modules.dep: No such file or directory [ 19.284057] init: bluetooth main process (2036) terminated with status 1 [ 19.296112] init: bluetooth main process ended, respawning [ 19.454528] init: bluetooth main process (2059) terminated with status 1 [ 19.463287] init: bluetooth respawning too fast, stopped Ubuntu 12.04.1 LTS variscite-desktop ttyO2 variscite-desktop login: [ 20.636535] init: lightdm main process (1915) 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:18 IST 2000 on ttyO2 Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.15.0-rc1-64224-g0f9e19a 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 [ 29.470581] pwrdm state mismatch(cam_pwrdm) 3 != 0 [ 29.475708] pwrdm state mismatch(ivahd_pwrdm) 3 != 1 [ 29.480957] pwrdm state mismatch(tesla_pwrdm) 3 != 1 [ 29.486206] 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:13,INA:0,ON:13,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 [ 31.682189] PM: Syncing filesystems ... [ 36.333038] init: failsafe-x main process (2084) terminated with status 1 [ 40.866241] done. [ 40.866363] PM: Preparing system for mem sleep [ 40.883117] Freezing user space processes ... (elapsed 0.007 seconds) done. [ 40.898712] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 40.906860] PM: Entering mem sleep [ 40.913330] Suspending console(s) (use no_console_suspend to debug) [ 40.938964] PM: suspend of devices complete after 17.456 msecs [ 40.943481] PM: late suspend of devices complete after 4.486 msecs [ 40.949096] omap_hwmod: gpio6: _wait_target_disable failed [ 40.956359] PM: noirq suspend of devices complete after 12.756 msecs [ 40.956359] Disabling non-boot CPUs ... [ 40.968780] CPU1: shutdown [ 40.971466] Powerdomain (core_pwrdm) didn't enter target state 1 [ 40.971466] Powerdomain (abe_pwrdm) didn't enter target state 1 [ 40.971466] Powerdomain (mpu_pwrdm) didn't enter target state 1 [ 40.971466] Powerdomain (l4per_pwrdm) didn't enter target state 1 [ 40.971466] Powerdomain (core_pwrdm) didn't enter target state 1 [ 40.971466] Powerdomain (abe_pwrdm) didn't enter target state 1 [ 40.971466] Powerdomain (mpu_pwrdm) didn't enter target state 1 [ 40.971466] Powerdomain (l4per_pwrdm) didn't enter target state 1 [ 40.971466] Could not enter target state in pm_suspend [ 40.971466] A possible cause could be an old bootloader - try u-boot >= v2012.07 [ 40.971466] hw-breakpoint: Failed to enable monitor mode on CPU 0. [ 40.971893] Enabling non-boot CPUs ... [ 40.974029] CPU1: Booted secondary processor [ 40.977172] CPU1 is up [ 40.980163] PM: noirq resume of devices complete after 2.960 msecs [ 40.984344] PM: early resume of devices complete after 4.180 msecs [ 41.090637] omap_hsmmc 480d5000.mmc: could not set regulator OCR (-22) [ 41.164031] PM: resume of devices complete after 179.687 msecs [ 41.307922] PM: Finishing wakeup. [ 41.311401] 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:15,INA:0,ON:15,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 (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@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# root@variscite-desktop:~# echo mem > /sys/power/state [ 43.244415] PM: Syncing filesystems ... done. [ 44.339996] PM: Preparing system for mem sleep [ 44.346679] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 44.356628] Freezing remaining freezable tasks ... (elapsed 0.008 seconds) done. [ 44.364654] PM: Entering mem sleep [ 44.364654] Suspending console(s) (use no_console_suspend to debug) [ 44.390777] PM: suspend of devices complete after 10.162 msecs [ 44.390777] PM: late suspend of devices complete after 0.001 msecs [ 44.399993] omap_hwmod: gpio6: _wait_target_disable failed [ 44.407257] PM: noirq suspend of devices complete after 11.871 msecs [ 44.407257] Disabling non-boot CPUs ... [ 44.409667] CPU1: shutdown [ 44.409820] Powerdomain (core_pwrdm) didn't enter target state 1 [ 44.409820] Powerdomain (abe_pwrdm) didn't enter target state 1 [ 44.409820] Powerdomain (mpu_pwrdm) didn't enter target state 1 [ 44.409820] Powerdomain (l4per_pwrdm) didn't enter target state 1 [ 44.409820] Powerdomain (core_pwrdm) didn't enter target state 1 [ 44.409820] Powerdomain (abe_pwrdm) didn't enter target state 1 [ 44.409820] Powerdomain (mpu_pwrdm) didn't enter target state 1 [ 44.409820] Powerdomain (l4per_pwrdm) didn't enter target state 1 [ 44.409820] Could not enter target state in pm_suspend [ 44.409820] A possible cause could be an old bootloader - try u-boot >= v2012.07 [ 44.409820] hw-breakpoint: CPU 0 failed to disable vector catch [ 44.409851] Enabling non-boot CPUs ... [ 44.411987] CPU1: Booted secondary processor [ 44.412536] CPU1 is up [ 44.415496] PM: noirq resume of devices complete after 2.960 msecs [ 44.416290] PM: early resume of devices complete after 0.001 msecs [ 44.512420] omap_hsmmc 480d5000.mmc: could not set regulator OCR (-22) [ 44.617218] PM: resume of devices complete after 197.998 msecs [ 44.759765] PM: Finishing wakeup. [ 44.763275] 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:17,INA:0,ON:17,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 (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@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:19,INA:0,ON:19,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)