Texas Instruments X-Loader 1.47 (Jan 14 2011 - 15:43:28) Starting X-loader on MMC Reading boot sector 212836 Bytes Read from MMC Starting OS Bootloader from MMC... Starting OS Bootloader... U-Boot 2010.06 (Jan 14 2011 - 15:43:45) OMAP34xx/35xx-GP ES2.1, CPU-OPP2 L3-165MHz OMAP3 EVM board + LPDDR/NAND I2C: ready DRAM: 256 MiB NAND: 512 MiB In: serial Out: serial Err: serial Read back SMSC id 0x92200000 Die ID #368000229ff80000016071640902c013 Net: smc911x-0 Hit any key to stop autoboot: 3  0 OMAP3_EVM # OMAP3_EVM # setenv bootfile uImage-dtb.omap3-evm-37xx OMAP3_EVM # OMAP3_EVM # dhcp smc911x: detected LAN9220 controller smc911x: phy initialized smc911x: MAC 00:50:c2:7e:99:42 BOOTP broadcast 1 DHCP client bound to address 192.168.57.131 Using smc911x-0 device TFTP from server 192.168.57.1; our IP address is 192.168.57.131 Filename 'uImage-dtb.omap3-evm-37xx'. Load address: 0x82000000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################# done Bytes transferred = 3494478 (35524e hex) OMAP3_EVM # setenv bootargs console=ttyO0,115200n8 ignore_loglevel earlyprintk root=/dev/nfs nfsroot=192.168.57.1:/srv/nfs4/rootfs2 nfsrootdebug ip=dhcp init=/bin/sh OMAP3_EVM # OMAP3_EVM # bootm ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux- Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3494414 Bytes = 3.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] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.1.0-rc1-142160-ga5bf00c (paul@knihy) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Fri May 8 13:11:26 MDT 2015 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: TI OMAP37XX EVM (TMDSEVM3730) [ 0.000000] earlycon: no match for ttyO0,115200n8 [ 0.000000] debug: ignoring loglevel setting. [ 0.000000] cma: Reserved 16 MiB at 0x8e800000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 65280 [ 0.000000] free_area_init_node: node 0, pgdat c0958800, node_mem_map cfcb1000 [ 0.000000] Normal zone: 576 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65280 pages, LIFO batch:15 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk ) [ 0.000000] PERCPU: Embedded 13 pages/cpu @cfc38000 s22976 r8192 d22080 u53248 [ 0.000000] pcpu-alloc: s22976 r8192 d22080 u53248 alloc=13*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64704 [ 0.000000] Kernel command line: console=ttyO0,115200n8 ignore_loglevel earlyprintk root=/dev/nfs nfsroot=192.168.57.1:/srv/nfs4/rootfs2 nfsrootdebug ip=dhcp init=/bin/sh [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 223820K/261120K available (6211K kernel code, 739K rwdata, 2168K rodata, 440K init, 8220K bss, 20916K reserved, 16384K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc083706c (8381 kB) [ 0.000000] .init : 0xc0838000 - 0xc08a6000 ( 440 kB) [ 0.000000] .data : 0xc08a6000 - 0xc095ee58 ( 740 kB) [ 0.000000] .bss : 0xc0961000 - 0xc11683d0 (8221 kB) [ 0.000000] Running RCU self tests [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz [ 0.000000] OMAP clockevent source: timer1 at 32768 Hz [ 0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000030] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns [ 0.000030] OMAP clocksource: 32k_counter at 32768 Hz [ 0.001342] Console: colour dummy device 80x30 [ 0.001403] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.001434] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.001434] ... MAX_LOCK_DEPTH: 48 [ 0.001464] ... MAX_LOCKDEP_KEYS: 8191 [ 0.001464] ... CLASSHASH_SIZE: 4096 [ 0.001464] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.001495] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.001495] ... CHAINHASH_SIZE: 32768 [ 0.001525] memory used by lock dependency info: 5167 kB [ 0.001525] per task-struct memory footprint: 1152 bytes [ 0.001556] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696) [ 0.107360] pid_max: default: 32768 minimum: 301 [ 0.107910] Security Framework initialized [ 0.108154] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.108154] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.112701] Initializing cgroup subsys blkio [ 0.112762] Initializing cgroup subsys memory [ 0.112884] Initializing cgroup subsys devices [ 0.113006] Initializing cgroup subsys freezer [ 0.113189] Initializing cgroup subsys perf_event [ 0.113281] CPU: Testing write buffer coherency: ok [ 0.115295] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.115447] Setting up static identity map for 0x80008280 - 0x800082f0 [ 0.122192] Brought up 1 CPUs [ 0.122222] SMP: Total of 1 processors activated (594.73 BogoMIPS). [ 0.122253] CPU: All CPU(s) started in SVC mode. [ 0.127136] devtmpfs: initialized [ 0.139862] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.228332] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp [ 0.230834] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp [ 0.342071] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.345092] pinctrl core: initialized pinctrl subsystem [ 0.458221] NET: Registered protocol family 16 [ 0.467681] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.470886] cpuidle: using governor ladder [ 0.470916] cpuidle: using governor menu [ 0.479248] Reprogramming SDRC clock to 400000000 Hz [ 0.494873] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 0.496398] OMAP GPIO hardware version 2.5 [ 0.498504] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 0.501495] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 0.504455] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 0.507598] gpiochip_add: registered GPIOs 128 to 159 on device: gpio [ 0.510681] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 0.512359] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.513336] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.514251] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.541625] omap-gpmc 6e000000.gpmc: GPMC revision 5.0 [ 0.546752] platform 48058000.ssi-controller: Cannot lookup hwmod 'ssi' [ 0.557250] No ATAGs? [ 0.557312] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.561676] OMAP DMA hardware revision 5.0 [ 0.653564] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver [ 0.654846] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vddvario[0]' [ 0.656066] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vdd33a[0]' [ 0.657409] reg-fixed-voltage wl12xx_vmmc: could not find pctldev for node /ocp/l4@48000000/scm@2000/pinmux@30/pinmux_wl12xx_gpio, deferring probe [ 0.657775] of_get_named_gpiod_flags: parsed 'gpio' property of node '/regulator-lcd-3v3[0]' - status (0) [ 0.664733] SCSI subsystem initialized [ 0.665832] libata version 3.00 loaded. [ 0.670989] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz [ 0.673126] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz [ 0.675323] omap_i2c 48060000.i2c: bus 2 rev4.4 at 400 kHz [ 0.682312] Switched to clocksource 32k_counter [ 0.923187] NET: Registered protocol family 2 [ 0.925933] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.926177] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.927307] TCP: Hash tables configured (established 2048 bind 2048) [ 0.927612] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.927917] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.929412] NET: Registered protocol family 1 [ 0.931945] RPC: Registered named UNIX socket transport module. [ 0.931976] RPC: Registered udp transport module. [ 0.931976] RPC: Registered tcp transport module. [ 0.932006] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.937408] CPU PMU: Failed to parse /interrupt-affinity[0] [ 0.937622] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.946533] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.946899] audit: initializing netlink subsys (disabled) [ 0.947204] audit: type=2000 audit(0.930:1): initialized [ 0.954254] VFS: Disk quotas dquot_6.6.0 [ 0.954467] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.958404] NFS: Registering the id_resolver key type [ 0.958984] Key type id_resolver registered [ 0.959014] Key type id_legacy registered [ 0.959289] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.966979] io scheduler noop registered [ 0.967010] io scheduler deadline registered [ 0.967102] io scheduler cfq registered (default) [ 0.970672] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568 [ 0.971496] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92 [ 0.972961] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92 [ 0.980560] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.990783] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806a000[0]' [ 0.991577] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.901702] console [ttyO0] enabled [ 1.908813] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806c000[0]' [ 1.919281] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.931610] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49020000[0]' [ 1.942169] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.954284] omap_uart 49042000.serial: no wakeirq for uart3 [ 1.960174] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49042000[0]' [ 1.970550] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3 [ 2.025604] brd: module loaded [ 2.058776] loop: module loaded [ 2.090667] twl 0-0048: PIH (irq 23) chaining IRQs 341..349 [ 2.097167] twl 0-0048: power (irq 346) chaining IRQs 349..356 [ 2.168792] twl4030_gpio twl4030-gpio: gpio (irq 341) chaining IRQs 357..374 [ 2.176910] gpiochip_find_base: found new base at 492 [ 2.183105] gpiochip_add: registered GPIOs 492 to 511 on device: twl4030 [ 2.267852] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.277526] nand: Could not find valid ONFI parameter page; aborting [ 2.284362] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xbc [ 2.291046] nand: Hynix NAND 512MiB 1,8V 16-bit [ 2.295867] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 2.303863] nand: using OMAP_ECC_BCH8_CODE_HW_DETECTION_SW [ 2.312622] 5 ofpart partitions found on MTD device omap2-nand.0 [ 2.318939] Creating 5 MTD partitions on "omap2-nand.0": [ 2.324645] 0x000000000000-0x000000080000 : "X-Loader" [ 2.338775] 0x000000080000-0x000000240000 : "U-Boot" [ 2.350433] 0x000000240000-0x000000280000 : "Environment" [ 2.361236] 0x000000280000-0x000000780000 : "Kernel" [ 2.375549] 0x000000780000-0x000020000000 : "Filesystem" [ 2.849182] libphy: smsc911x-mdio: probed [ 2.854095] smsc911x 2c000000.ethernet eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=2c000000.etherne:01, irq=-1) [ 2.866455] smsc911x 2c000000.ethernet eth0: MAC Address: 00:50:c2:7e:99:42 [ 2.879699] mousedev: PS/2 mouse device common for all mice [ 2.885711] i2c /dev entries driver [ 2.896270] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd [ 2.902801] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup [ 2.909698] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' [ 2.919372] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@4809c000[0]' [ 2.928924] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup [ 2.936248] omap_hsmmc 4809c000.mmc: lookup for GPIO cd failed [ 2.942413] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp [ 2.948760] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup [ 2.955688] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]' [ 2.965332] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]' [ 2.974884] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup [ 2.981964] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed [ 3.033050] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp [ 3.039398] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup [ 3.046386] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]' [ 3.056060] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]' [ 3.065612] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup [ 3.072723] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed [ 3.079559] omap_hsmmc 480b4000.mmc: unable to get vmmc regulator -517 [ 3.088043] ledtrig-cpu: registered to indicate activity on CPUs [ 3.096710] oprofile: using arm/armv7 [ 3.101684] Initializing XFRM netlink socket [ 3.106536] NET: Registered protocol family 17 [ 3.111358] NET: Registered protocol family 15 [ 3.116638] Key type dns_resolver registered [ 3.121551] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 3.129241] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 3.135406] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 3.142761] omap2_set_init_voltage: unable to set vdd_core [ 3.154052] ThumbEE CPU extension supported. [ 3.158630] Registering SWP/SWPB emulation handler [ 3.163757] SmartReflex Class3 initialized [ 3.182708] of_get_named_gpiod_flags: parsed 'gpio' property of node '/wl12xx_vmmc[0]' - status (0) [ 3.195220] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp [ 3.201538] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup [ 3.208557] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]' [ 3.218231] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]' [ 3.227783] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup [ 3.234924] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed [ 3.241973] vwl1271: supplied by VMMC2 [ 3.376373] hctosys: unable to open rtc device (rtc0) [ 3.381713] sr_init: No PMIC hook to init smartreflex [ 3.387725] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized [ 3.396942] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized [ 3.495971] smsc911x 2c000000.ethernet eth0: SMSC911x/921x identified at 0xd090e000, IRQ: 288 [ 3.518890] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.527832] mmc0: new SDHC card at address e624 [ 3.536071] mmcblk0: mmc0:e624 SD08G 7.40 GiB [ 3.558135] mmcblk0: p1 p2 p3 [ 3.574554] omap_hsmmc 480b4000.mmc: card claims to support voltages below defined range [ 3.602600] mmc1: queuing unknown CIS tuple 0x91 (3 bytes) [ 3.613891] mmc1: new SDIO card at address 0001 [ 5.872314] Sending DHCP requests ., OK [ 6.002807] IP-Config: Got DHCP answer from 192.168.57.1, my address is 192.168.57.131 [ 6.011962] IP-Config: Complete: [ 6.015502] device=eth0, hwaddr=00:50:c2:7e:99:42, ipaddr=192.168.57.131, mask=255.255.255.0, gw=255.255.255.255 [ 6.026733] host=192.168.57.131, domain=example.org, nis-domain=(none) [ 6.034118] bootserver=0.0.0.0, rootserver=192.168.57.1, rootpath= [ 6.040893] nameserver0=192.168.57.1 [ 6.045776] vwl1271: disabling [ 6.050659] VUSB3V1: disabling [ 6.057220] lcd_3v3: disabling [ 6.091369] VFS: Mounted root (nfs filesystem) readonly on device 0:15. [ 6.101196] devtmpfs: mounted [ 6.105621] Freeing unused kernel memory: 440K (c0838000 - c08a6000) /bin/sh: 0: can't access tty; job control turned off # %% Start PM consolidated quick test %% Preparation # # mkdir -p /sys; mount -t sysfs none /sys # # mkdir -p /debug; mount -t debugfs none /debug # # # # for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.serial | paste -s -d' '`; do echo -1 > $u/power/autosuspend_delay_ms; done # # for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.serial | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autosuspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms -1 # # echo 0 > /debug/pm_debug/enable_off_mode # # %% Baseline pm_debug count dump cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:185,INA:0,ON:186,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:185,INA:0,ON:186,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:112,INA:74,ON:187,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:112,INA:73,ON:186,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 (15) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (22) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) # # for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo enabled > $u/power/wakeup; done # %% Start retention double suspend/resume UART wakeup test # for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo auto > $u/power/control; done # # for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/power/wakeup; cat $u/power/wakeup; done -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO0/power/wakeup enabled for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/power/control; cat $u/power/control; done -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO1/power/wakeup enabled -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO2/power/wakeup enabled -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO3/power/wakeup enabled # # echo mem > /sys/power/state -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO0/power/control auto -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO1/power/control auto -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO2/power/control auto -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO3/power/control auto # # [ 15.370635] PM: Syncing filesystems ... done. [ 15.378601] PM: Preparing system for mem sleep [ 15.393585] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 15.401519] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 15.412506] PM: Entering mem sleep [ 15.416107] Suspending console(s) (use no_console_suspend to debug) [ 15.449798] PM: suspend of devices complete after 20.355 msecs [ 15.458984] PM: late suspend of devices complete after 9.185 msecs [ 15.469451] PM: noirq suspend of devices complete after 10.406 msecs [ 15.469543] Disabling non-boot CPUs ... [ 15.469573] Successfully put all powerdomains to target state [ 15.475097] PM: noirq resume of devices complete after 5.432 msecs [ 15.482238] PM: early resume of devices complete after 5.828 msecs [ 15.808593] PM: resume of devices complete after 326.232 msecs [ 15.865081] PM: Finishing wakeup. [ 15.868591] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:443,INA:0,ON:444,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:443,INA:0,ON:444,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:233,INA:211,ON:445,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:233,INA:210,ON:444,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 (15) 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 (26) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) # # # # echo mem > /sys/power/state [ 18.667388] PM: Syncing filesystems ... done. [ 18.672485] PM: Preparing system for mem sleep [ 18.679473] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 18.687133] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 18.697113] PM: Entering mem sleep [ 18.700714] Suspending console(s) (use no_console_suspend to debug) [ 18.730316] PM: suspend of devices complete after 16.418 msecs [ 18.739410] PM: late suspend of devices complete after 9.094 msecs [ 18.748718] PM: noirq suspend of devices complete after 9.246 msecs [ 18.748718] Disabling non-boot CPUs ... [ 18.748748] Successfully put all powerdomains to target state [ 18.754089] PM: noirq resume of devices complete after 5.249 msecs [ 18.761016] PM: early resume of devices complete after 5.676 msecs [ 19.090362] PM: resume of devices complete after 329.193 msecs [ 19.145996] PM: Finishing wakeup. [ 19.149505] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:529,INA:0,ON:530,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:529,INA:0,ON:530,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:316,INA:214,ON:531,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:316,INA:213,ON:530,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 (15) 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 (26) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) # # # # ./test_rootfs_access_nonexistent_file__ret_susp /bin/sh: 41: ./test_rootfs_access_nonexistent_file__ret_susp: not found # # %% 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 # # for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.serial | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autosuspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms 3000 # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:753,INA:0,ON:754,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:9,INA:0,ON:10,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:136,INA:0,ON:137,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:753,INA:0,ON:754,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:472,INA:282,ON:755,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:472,INA:281,ON:754,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 (13) 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 (1) neon_clkdm->neon_pwrdm (0) # # # # ./test_rootfs_access_nonexistent_file__ret_dyn /bin/sh: 53: ./test_rootfs_access_nonexistent_file__ret_dyn: not found # # for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.serial | paste -s -d' '`; do echo -1 > $u/power/au[ 38.748077] random: nonblocking pool is initialized tosuspend_delay_ms; done # # for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.serial | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autosuspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms -1 # # %% End retention dynamic idle UART wakeup test %% Start off-mode double suspend UART wakeup test echo 1 > /debug/pm_debug/enable_off_mode # # echo mem > /sys/power/state [ 40.741271] PM: Syncing filesystems ... done. [ 40.746704] PM: Preparing system for mem sleep [ 40.753845] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 40.761413] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 40.771423] PM: Entering mem sleep [ 40.775054] Suspending console(s) (use no_console_suspend to debug) [ 40.804626] PM: suspend of devices complete after 16.448 msecs [ 40.813659] PM: late suspend of devices complete after 8.972 msecs [ 40.822937] PM: noirq suspend of devices complete after 9.246 msecs [ 40.822937] Disabling non-boot CPUs ... [ 40.822967] Successfully put all powerdomains to target state [ 40.841949] PM: noirq resume of devices complete after 18.890 msecs [ 40.848907] PM: early resume of devices complete after 5.676 msecs [ 41.170196] PM: resume of devices complete after 321.166 msecs [ 41.225952] PM: Finishing wakeup. [ 41.229431] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:31,RET:927,INA:0,ON:959,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:1,RET:9,INA:0,ON:11,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:1,RET:222,INA:0,ON:224,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:31,RET:927,INA:0,ON:959,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:26,RET:590,INA:343,ON:960,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:26,RET:590,INA:342,ON:959,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 (15) 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 (26) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) # # # # echo mem > /sys/power/state [ 44.019866] PM: Syncing filesystems ... done. [ 44.025360] PM: Preparing system for mem sleep [ 44.032409] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 44.039978] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 44.049835] PM: Entering mem sleep [ 44.053497] Suspending console(s) (use no_console_suspend to debug) [ 44.083282] PM: suspend of devices complete after 16.662 msecs [ 44.092285] PM: late suspend of devices complete after 8.941 msecs [ 44.101409] PM: noirq suspend of devices complete after 9.094 msecs [ 44.101409] Disabling non-boot CPUs ... [ 44.101440] Successfully put all powerdomains to target state [ 44.120422] PM: noirq resume of devices complete after 18.890 msecs [ 44.127471] PM: early resume of devices complete after 5.676 msecs [ 44.448181] PM: resume of devices complete after 320.587 msecs [ 44.503906] PM: Finishing wakeup. [ 44.507415] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:117,RET:927,INA:0,ON:1045,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:2,RET:9,INA:0,ON:12,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:2,RET:222,INA:0,ON:225,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:117,RET:927,INA:0,ON:1045,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:69,RET:630,INA:346,ON:1046,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:69,RET:630,INA:345,ON:1045,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 (15) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) core_l4_clkdm->core_pwrdm (27) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) # # # # ./test_rootfs_access_nonexistent_file__off_susp /bin/sh: 77: ./test_rootfs_access_nonexistent_file__off_susp: not found # # %% End off-mode double suspend UART wakeup test %% Start off-mode 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 # # for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.serial | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autosuspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jan 1 00:01 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jan 1 00:01 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jan 1 00:01 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jan 1 00:01 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms 3000 # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:300,RET:927,INA:0,ON:1228,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:11,RET:9,INA:6,ON:27,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:11,RET:309,INA:0,ON:321,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:300,RET:927,INA:0,ON:1228,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:138,RET:702,INA:388,ON:1229,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:138,RET:702,INA:387,ON:1228,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 (13) 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 (1) neon_clkdm->neon_pwrdm (0) # # # # ./test_rootfs_access_nonexistent_file__off_dyn /bin/sh: 89: ./test_rootfs_access_nonexistent_file__off_dyn: not found # # %% End off-mode dynamic idle UART wakeup test %% End PM consolidated quick test