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 = 3496235 (35592b 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: 3496171 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-rc3-142617-g030bbdb (paul@knihy) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Mon May 11 10:34:01 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 c095a5c0, 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: 223812K/261120K available (6211K kernel code, 739K rwdata, 2172K rodata, 444K init, 8220K bss, 20924K 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 - 0xc0838058 (8385 kB) [ 0.000000] .init : 0xc0839000 - 0xc08a8000 ( 444 kB) [ 0.000000] .data : 0xc08a8000 - 0xc0960c18 ( 740 kB) [ 0.000000] .bss : 0xc0963000 - 0xc116a350 (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.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns [ 0.000030] OMAP clocksource: 32k_counter at 32768 Hz [ 0.001312] Console: colour dummy device 80x30 [ 0.001403] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.001403] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.001434] ... MAX_LOCK_DEPTH: 48 [ 0.001434] ... MAX_LOCKDEP_KEYS: 8191 [ 0.001434] ... CLASSHASH_SIZE: 4096 [ 0.001464] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.001464] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.001495] ... CHAINHASH_SIZE: 32768 [ 0.001495] memory used by lock dependency info: 5167 kB [ 0.001495] per task-struct memory footprint: 1152 bytes [ 0.001525] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696) [ 0.107330] pid_max: default: 32768 minimum: 301 [ 0.107879] Security Framework initialized [ 0.108093] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.108123] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.112640] Initializing cgroup subsys blkio [ 0.112701] Initializing cgroup subsys memory [ 0.112792] Initializing cgroup subsys devices [ 0.112945] Initializing cgroup subsys freezer [ 0.113128] Initializing cgroup subsys perf_event [ 0.113250] CPU: Testing write buffer coherency: ok [ 0.115234] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.115356] Setting up static identity map for 0x80008280 - 0x800082f0 [ 0.122100] Brought up 1 CPUs [ 0.122131] SMP: Total of 1 processors activated (594.73 BogoMIPS). [ 0.122131] CPU: All CPU(s) started in SVC mode. [ 0.127014] devtmpfs: initialized [ 0.139556] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.228576] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp [ 0.231109] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp [ 0.342742] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.345825] pinctrl core: initialized pinctrl subsystem [ 0.457275] NET: Registered protocol family 16 [ 0.466491] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.469848] cpuidle: using governor ladder [ 0.469909] cpuidle: using governor menu [ 0.478210] Reprogramming SDRC clock to 400000000 Hz [ 0.493774] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 0.495269] OMAP GPIO hardware version 2.5 [ 0.497406] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 0.500427] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 0.503356] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 0.506317] gpiochip_add: registered GPIOs 128 to 159 on device: gpio [ 0.509429] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 0.511108] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.512084] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.512969] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.540191] omap-gpmc 6e000000.gpmc: GPMC revision 5.0 [ 0.545166] platform 48058000.ssi-controller: Cannot lookup hwmod 'ssi' [ 0.555572] No ATAGs? [ 0.555633] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.560150] OMAP DMA hardware revision 5.0 [ 0.650665] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver [ 0.651977] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vddvario[0]' [ 0.653167] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vdd33a[0]' [ 0.654357] reg-fixed-voltage wl12xx_vmmc: could not find pctldev for node /ocp/l4@48000000/scm@2000/pinmux@30/pinmux_wl12xx_gpio, deferring probe [ 0.654724] of_get_named_gpiod_flags: parsed 'gpio' property of node '/regulator-lcd-3v3[0]' - status (0) [ 0.661804] SCSI subsystem initialized [ 0.662872] libata version 3.00 loaded. [ 0.668029] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz [ 0.670227] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz [ 0.672393] omap_i2c 48060000.i2c: bus 2 rev4.4 at 400 kHz [ 0.679321] Switched to clocksource 32k_counter [ 0.918457] NET: Registered protocol family 2 [ 0.921417] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.921661] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.922790] TCP: Hash tables configured (established 2048 bind 2048) [ 0.923095] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.923431] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.924896] NET: Registered protocol family 1 [ 0.927429] RPC: Registered named UNIX socket transport module. [ 0.927459] RPC: Registered udp transport module. [ 0.927459] RPC: Registered tcp transport module. [ 0.927490] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.933135] CPU PMU: Failed to parse /pmu/interrupt-affinity[0] [ 0.933288] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.942169] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.942535] audit: initializing netlink subsys (disabled) [ 0.942840] audit: type=2000 audit(0.930:1): initialized [ 0.949829] VFS: Disk quotas dquot_6.6.0 [ 0.950042] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.953979] NFS: Registering the id_resolver key type [ 0.954589] Key type id_resolver registered [ 0.954589] Key type id_legacy registered [ 0.954895] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.962554] io scheduler noop registered [ 0.962585] io scheduler deadline registered [ 0.962646] io scheduler cfq registered (default) [ 0.966278] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568 [ 0.967102] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92 [ 0.968292] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92 [ 0.976196] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.986480] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806a000[0]' [ 0.987274] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.896118] console [ttyO0] enabled [ 1.903198] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806c000[0]' [ 1.913665] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.925933] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49020000[0]' [ 1.936370] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.948425] omap_uart 49042000.serial: no wakeirq for uart3 [ 1.954437] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49042000[0]' [ 1.964721] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3 [ 2.018981] brd: module loaded [ 2.051879] loop: module loaded [ 2.087615] twl 0-0048: PIH (irq 23) chaining IRQs 341..349 [ 2.094116] twl 0-0048: power (irq 346) chaining IRQs 349..356 [ 2.165679] twl4030_gpio twl4030-gpio: gpio (irq 341) chaining IRQs 357..374 [ 2.173797] gpiochip_find_base: found new base at 492 [ 2.179992] gpiochip_add: registered GPIOs 492 to 511 on device: twl4030 [ 2.264404] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.274078] nand: Could not find valid ONFI parameter page; aborting [ 2.280914] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xbc [ 2.287597] nand: Hynix NAND 512MiB 1,8V 16-bit [ 2.292388] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 2.300384] nand: using OMAP_ECC_BCH8_CODE_HW_DETECTION_SW [ 2.308990] 5 ofpart partitions found on MTD device omap2-nand.0 [ 2.315399] Creating 5 MTD partitions on "omap2-nand.0": [ 2.321044] 0x000000000000-0x000000080000 : "X-Loader" [ 2.335113] 0x000000080000-0x000000240000 : "U-Boot" [ 2.346710] 0x000000240000-0x000000280000 : "Environment" [ 2.357482] 0x000000280000-0x000000780000 : "Kernel" [ 2.371795] 0x000000780000-0x000020000000 : "Filesystem" [ 2.845825] libphy: smsc911x-mdio: probed [ 2.850708] smsc911x 2c000000.ethernet eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=2c000000.etherne:01, irq=-1) [ 2.863067] smsc911x 2c000000.ethernet eth0: MAC Address: 00:50:c2:7e:99:42 [ 2.876281] mousedev: PS/2 mouse device common for all mice [ 2.882293] i2c /dev entries driver [ 2.892974] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd [ 2.899475] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup [ 2.906341] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' [ 2.915985] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@4809c000[0]' [ 2.925537] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup [ 2.932830] omap_hsmmc 4809c000.mmc: lookup for GPIO cd failed [ 2.938995] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp [ 2.945373] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup [ 2.952270] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]' [ 2.961914] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]' [ 2.971466] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup [ 2.978515] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed [ 3.030059] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp [ 3.036407] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup [ 3.043395] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]' [ 3.053039] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]' [ 3.062591] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup [ 3.069702] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed [ 3.076538] omap_hsmmc 480b4000.mmc: unable to get vmmc regulator -517 [ 3.085021] ledtrig-cpu: registered to indicate activity on CPUs [ 3.093688] oprofile: using arm/armv7 [ 3.098663] Initializing XFRM netlink socket [ 3.103515] NET: Registered protocol family 17 [ 3.108306] NET: Registered protocol family 15 [ 3.113616] Key type dns_resolver registered [ 3.118499] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 3.126190] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 3.132324] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 3.139678] omap2_set_init_voltage: unable to set vdd_core [ 3.150909] ThumbEE CPU extension supported. [ 3.155456] Registering SWP/SWPB emulation handler [ 3.160583] SmartReflex Class3 initialized [ 3.179473] of_get_named_gpiod_flags: parsed 'gpio' property of node '/wl12xx_vmmc[0]' - status (0) [ 3.192016] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp [ 3.198364] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup [ 3.205352] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]' [ 3.215026] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]' [ 3.224578] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup [ 3.231689] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed [ 3.238708] vwl1271: supplied by VMMC2 [ 3.373352] hctosys: unable to open rtc device (rtc0) [ 3.378692] sr_init: No PMIC hook to init smartreflex [ 3.384735] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized [ 3.393951] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized [ 3.492736] smsc911x 2c000000.ethernet eth0: SMSC911x/921x identified at 0xd090e000, IRQ: 288 [ 3.515655] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.524597] mmc0: new SDHC card at address e624 [ 3.532806] mmcblk0: mmc0:e624 SD08G 7.40 GiB [ 3.554809] mmcblk0: p1 p2 p3 [ 3.570983] omap_hsmmc 480b4000.mmc: card claims to support voltages below defined range [ 3.598602] mmc1: queuing unknown CIS tuple 0x91 (3 bytes) [ 3.609924] mmc1: new SDIO card at address 0001 [ 5.869323] Sending DHCP requests ., OK [ 5.889862] IP-Config: Got DHCP answer from 192.168.57.1, my address is 192.168.57.131 [ 5.898986] IP-Config: Complete: [ 5.902526] device=eth0, hwaddr=00:50:c2:7e:99:42, ipaddr=192.168.57.131, mask=255.255.255.0, gw=255.255.255.255 [ 5.913726] host=192.168.57.131, domain=example.org, nis-domain=(none) [ 5.921081] bootserver=0.0.0.0, rootserver=192.168.57.1, rootpath= [ 5.927825] nameserver0=192.168.57.1 [ 5.932708] vwl1271: disabling [ 5.937255] VUSB3V1: disabling [ 5.943786] lcd_3v3: disabling [ 5.976989] VFS: Mounted root (nfs filesystem) readonly on device 0:15. [ 5.986846] devtmpfs: mounted [ 5.991271] Freeing unused kernel memory: 444K (c0839000 - c08a8000) /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:116,INA:0,ON:117,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:116,INA:0,ON:117,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:76,INA:40,ON:117,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:76,INA:40,ON:117,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* | pa-rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO1/power/wakeup ste -s -d' '`; do ls -l $u/power/control; cat $u/power/control; done 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.360748] PM: Syncing filesystems ... done. [ 15.368469] PM: Preparing system for mem sleep [ 15.383575] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 15.391723] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 15.402587] PM: Entering mem sleep [ 15.406158] Suspending console(s) (use no_console_suspend to debug) [ 15.440216] PM: suspend of devices complete after 20.507 msecs [ 15.449279] PM: late suspend of devices complete after 9.033 msecs [ 15.459960] PM: noirq suspend of devices complete after 10.650 msecs [ 15.460052] Disabling non-boot CPUs ... [ 15.460083] Successfully put all powerdomains to target state [ 15.465484] PM: noirq resume of devices complete after 5.340 msecs [ 15.472808] PM: early resume of devices complete after 5.950 msecs [ 15.795593] PM: resume of devices complete after 322.631 msecs [ 15.852233] PM: Finishing wakeup. [ 15.855743] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:290,INA:0,ON:291,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:290,INA:0,ON:291,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:178,INA:112,ON:291,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:178,INA:112,ON:291,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.658264] PM: Syncing filesystems ... done. [ 18.663360] PM: Preparing system for mem sleep [ 18.670501] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 18.678039] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 18.688018] PM: Entering mem sleep [ 18.691650] Suspending console(s) (use no_console_suspend to debug) [ 18.721618] PM: suspend of devices complete after 16.815 msecs [ 18.730743] PM: late suspend of devices complete after 9.094 msecs [ 18.740295] PM: noirq suspend of devices complete after 9.521 msecs [ 18.740325] Disabling non-boot CPUs ... [ 18.740356] Successfully put all powerdomains to target state [ 18.745605] PM: noirq resume of devices complete after 5.157 msecs [ 18.752868] PM: early resume of devices complete after 5.950 msecs [ 19.077362] PM: resume of devices complete after 324.371 msecs [ 19.133026] PM: Finishing wakeup. [ 19.136505] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:376,INA:0,ON:377,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:376,INA:0,ON:377,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:262,INA:114,ON:377,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:262,INA:114,ON:377,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:597,INA:0,ON:598,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:3,ON:13,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:597,INA:0,ON:598,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:416,INA:181,ON:598,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:416,INA:181,ON:598,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/autosuspend_delay_ms; done # # for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.serial | paste -s -d' '`; do ls -l $u/power/autosuspen[ 38.970855] random: nonblocking pool is initialized d_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.763305] PM: Syncing filesystems ... done. [ 40.768707] PM: Preparing system for mem sleep [ 40.775878] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 40.783599] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 40.793731] PM: Entering mem sleep [ 40.797302] Suspending console(s) (use no_console_suspend to debug) [ 40.827087] PM: suspend of devices complete after 16.540 msecs [ 40.836120] PM: late suspend of devices complete after 9.002 msecs [ 40.846343] PM: noirq suspend of devices complete after 10.162 msecs [ 40.846374] Disabling non-boot CPUs ... [ 40.846374] Successfully put all powerdomains to target state [ 40.865325] PM: noirq resume of devices complete after 18.859 msecs [ 40.872589] PM: early resume of devices complete after 5.920 msecs [ 41.197204] PM: resume of devices complete after 324.493 msecs [ 41.253082] PM: Finishing wakeup. [ 41.256591] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:21,RET:774,INA:0,ON:796,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:3,ON:14,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:1,RET:226,INA:0,ON:228,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:21,RET:774,INA:0,ON:796,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:16,RET:534,INA:245,ON:796,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:16,RET:534,INA:245,ON:796,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.044433] PM: Syncing filesystems ... done. [ 44.049468] PM: Preparing system for mem sleep [ 44.056457] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 44.064117] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 44.074096] PM: Entering mem sleep [ 44.077667] Suspending console(s) (use no_console_suspend to debug) [ 44.107513] PM: suspend of devices complete after 16.601 msecs [ 44.116638] PM: late suspend of devices complete after 9.063 msecs [ 44.126190] PM: noirq suspend of devices complete after 9.490 msecs [ 44.126190] Disabling non-boot CPUs ... [ 44.126220] Successfully put all powerdomains to target state [ 44.145172] PM: noirq resume of devices complete after 18.859 msecs [ 44.152435] PM: early resume of devices complete after 5.920 msecs [ 44.475189] PM: resume of devices complete after 322.631 msecs [ 44.530944] PM: Finishing wakeup. [ 44.534423] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:106,RET:774,INA:0,ON:881,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:3,ON:15,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:2,RET:226,INA:0,ON:229,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:106,RET:774,INA:0,ON:881,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:38,RET:595,INA:247,ON:881,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:38,RET:595,INA:247,ON:881,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:324,RET:774,INA:0,ON:1099,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:3,ON:24,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:11,RET:343,INA:0,ON:355,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:324,RET:774,INA:0,ON:1099,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:110,RET:677,INA:311,ON:1099,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:110,RET:677,INA:311,ON:1099,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