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 = 3495558 (355686 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: 3495494 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-rc2-12098-g7611f8d (paul@nozomi) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Tue May 12 12:14:53 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 c0958600, 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 - 0xc0837004 (8381 kB) [ 0.000000] .init : 0xc0838000 - 0xc08a6000 ( 440 kB) [ 0.000000] .data : 0xc08a6000 - 0xc095ec58 ( 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.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns [ 0.000030] OMAP clocksource: 32k_counter at 32768 Hz [ 0.001281] Console: colour dummy device 80x30 [ 0.001342] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.001373] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.001373] ... MAX_LOCK_DEPTH: 48 [ 0.001403] ... MAX_LOCKDEP_KEYS: 8191 [ 0.001403] ... CLASSHASH_SIZE: 4096 [ 0.001434] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.001434] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.001434] ... CHAINHASH_SIZE: 32768 [ 0.001464] memory used by lock dependency info: 5167 kB [ 0.001464] per task-struct memory footprint: 1152 bytes [ 0.001495] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696) [ 0.107330] pid_max: default: 32768 minimum: 301 [ 0.107849] Security Framework initialized [ 0.108062] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.108093] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.112609] Initializing cgroup subsys blkio [ 0.112670] Initializing cgroup subsys memory [ 0.112792] Initializing cgroup subsys devices [ 0.112915] Initializing cgroup subsys freezer [ 0.113098] Initializing cgroup subsys perf_event [ 0.113220] CPU: Testing write buffer coherency: ok [ 0.115203] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.115356] Setting up static identity map for 0x80008280 - 0x800082f0 [ 0.122039] Brought up 1 CPUs [ 0.122070] SMP: Total of 1 processors activated (594.73 BogoMIPS). [ 0.122070] CPU: All CPU(s) started in SVC mode. [ 0.126922] devtmpfs: initialized [ 0.139495] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.227844] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp [ 0.230377] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp [ 0.341522] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.344573] pinctrl core: initialized pinctrl subsystem [ 0.460266] NET: Registered protocol family 16 [ 0.469512] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.472717] cpuidle: using governor ladder [ 0.472778] cpuidle: using governor menu [ 0.481079] Reprogramming SDRC clock to 400000000 Hz [ 0.496887] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 0.498413] OMAP GPIO hardware version 2.5 [ 0.500396] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 0.503356] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 0.506286] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 0.509429] gpiochip_add: registered GPIOs 128 to 159 on device: gpio [ 0.512481] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 0.514129] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.515106] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.516021] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.543334] omap-gpmc 6e000000.gpmc: GPMC revision 5.0 [ 0.548522] platform 48058000.ssi-controller: Cannot lookup hwmod 'ssi' [ 0.559051] No ATAGs? [ 0.559112] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.563507] OMAP DMA hardware revision 5.0 [ 0.655944] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver [ 0.657440] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vddvario[0]' [ 0.658660] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vdd33a[0]' [ 0.659820] reg-fixed-voltage wl12xx_vmmc: could not find pctldev for node /ocp/l4@48000000/scm@2000/pinmux@30/pinmux_wl12xx_gpio, deferring probe [ 0.660186] of_get_named_gpiod_flags: parsed 'gpio' property of node '/regulator-lcd-3v3[0]' - status (0) [ 0.667785] SCSI subsystem initialized [ 0.668853] libata version 3.00 loaded. [ 0.673889] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz [ 0.676055] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz [ 0.678405] omap_i2c 48060000.i2c: bus 2 rev4.4 at 400 kHz [ 0.685302] Switched to clocksource 32k_counter [ 0.925628] NET: Registered protocol family 2 [ 0.928344] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.928588] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.929718] TCP: Hash tables configured (established 2048 bind 2048) [ 0.930023] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.930328] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.931823] NET: Registered protocol family 1 [ 0.934326] RPC: Registered named UNIX socket transport module. [ 0.934356] RPC: Registered udp transport module. [ 0.934387] RPC: Registered tcp transport module. [ 0.934387] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.939910] CPU PMU: Failed to parse /interrupt-affinity[0] [ 0.940124] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.949218] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.949584] audit: initializing netlink subsys (disabled) [ 0.949890] audit: type=2000 audit(0.930:1): initialized [ 0.957153] VFS: Disk quotas dquot_6.6.0 [ 0.957366] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.961242] NFS: Registering the id_resolver key type [ 0.961853] Key type id_resolver registered [ 0.961853] Key type id_legacy registered [ 0.962158] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.969726] io scheduler noop registered [ 0.969787] io scheduler deadline registered [ 0.969848] io scheduler cfq registered (default) [ 0.973510] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568 [ 0.974334] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92 [ 0.975830] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92 [ 0.983581] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.994018] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806a000[0]' [ 0.994812] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.903381] console [ttyO0] enabled [ 1.910461] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806c000[0]' [ 1.920928] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.933319] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49020000[0]' [ 1.943786] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.956268] omap_uart 49042000.serial: no wakeirq for uart3 [ 1.962158] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49042000[0]' [ 1.972534] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3 [ 2.027801] brd: module loaded [ 2.061065] loop: module loaded [ 2.093658] twl 0-0048: PIH (irq 23) chaining IRQs 341..349 [ 2.100158] twl 0-0048: power (irq 346) chaining IRQs 349..356 [ 2.172027] twl4030_gpio twl4030-gpio: gpio (irq 341) chaining IRQs 357..374 [ 2.180175] gpiochip_find_base: found new base at 492 [ 2.186401] gpiochip_add: registered GPIOs 492 to 511 on device: twl4030 [ 2.271392] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.281127] nand: Could not find valid ONFI parameter page; aborting [ 2.287994] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xbc [ 2.294708] nand: Hynix NAND 512MiB 1,8V 16-bit [ 2.299530] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 2.307556] nand: using OMAP_ECC_BCH8_CODE_HW_DETECTION_SW [ 2.316314] 5 ofpart partitions found on MTD device omap2-nand.0 [ 2.322662] Creating 5 MTD partitions on "omap2-nand.0": [ 2.328369] 0x000000000000-0x000000080000 : "X-Loader" [ 2.342498] 0x000000080000-0x000000240000 : "U-Boot" [ 2.354187] 0x000000240000-0x000000280000 : "Environment" [ 2.365020] 0x000000280000-0x000000780000 : "Kernel" [ 2.379425] 0x000000780000-0x000020000000 : "Filesystem" [ 2.854583] libphy: smsc911x-mdio: probed [ 2.859527] smsc911x 2c000000.ethernet eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=2c000000.etherne:01, irq=-1) [ 2.871917] smsc911x 2c000000.ethernet eth0: MAC Address: 00:50:c2:7e:99:42 [ 2.885559] mousedev: PS/2 mouse device common for all mice [ 2.891448] i2c /dev entries driver [ 2.901885] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd [ 2.908416] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup [ 2.915374] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' [ 2.925018] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@4809c000[0]' [ 2.934661] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup [ 2.941986] omap_hsmmc 4809c000.mmc: lookup for GPIO cd failed [ 2.948211] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp [ 2.954559] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup [ 2.961486] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]' [ 2.971191] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]' [ 2.980773] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup [ 2.987884] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed [ 3.046783] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp [ 3.053131] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup [ 3.060150] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]' [ 3.069824] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]' [ 3.079406] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup [ 3.086547] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed [ 3.093383] omap_hsmmc 480b4000.mmc: unable to get vmmc regulator -517 [ 3.101959] ledtrig-cpu: registered to indicate activity on CPUs [ 3.110656] oprofile: using arm/armv7 [ 3.115783] Initializing XFRM netlink socket [ 3.120513] NET: Registered protocol family 17 [ 3.125427] NET: Registered protocol family 15 [ 3.130676] Key type dns_resolver registered [ 3.135650] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 3.143280] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 3.149444] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 3.156829] omap2_set_init_voltage: unable to set vdd_core [ 3.168182] ThumbEE CPU extension supported. [ 3.172760] Registering SWP/SWPB emulation handler [ 3.177917] SmartReflex Class3 initialized [ 3.198211] of_get_named_gpiod_flags: parsed 'gpio' property of node '/wl12xx_vmmc[0]' - status (0) [ 3.210815] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp [ 3.217285] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup [ 3.224182] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]' [ 3.233886] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]' [ 3.243469] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup [ 3.250610] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed [ 3.257720] vwl1271: supplied by VMMC2 [ 3.389556] hctosys: unable to open rtc device (rtc0) [ 3.394897] sr_init: No PMIC hook to init smartreflex [ 3.400939] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized [ 3.410156] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized [ 3.509033] smsc911x 2c000000.ethernet eth0: SMSC911x/921x identified at 0xd090e000, IRQ: 288 [ 3.549102] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.558013] mmc0: new SDHC card at address e624 [ 3.566253] mmcblk0: mmc0:e624 SD08G 7.40 GiB [ 3.588409] mmcblk0: p1 p2 p3 [ 3.604553] omap_hsmmc 480b4000.mmc: card claims to support voltages below defined range [ 3.631835] mmc1: queuing unknown CIS tuple 0x91 (3 bytes) [ 3.643096] mmc1: new SDIO card at address 0001 [ 5.875274] Sending DHCP requests ., OK [ 5.895812] IP-Config: Got DHCP answer from 192.168.57.1, my address is 192.168.57.131 [ 5.904998] IP-Config: Complete: [ 5.908538] 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.919769] host=192.168.57.131, domain=example.org, nis-domain=(none) [ 5.927154] bootserver=0.0.0.0, rootserver=192.168.57.1, rootpath= [ 5.933959] nameserver0=192.168.57.1 [ 5.938842] vwl1271: disabling [ 5.943389] VUSB3V1: disabling [ 5.949951] lcd_3v3: disabling [ 5.982910] VFS: Mounted root (nfs filesystem) readonly on device 0:15. [ 5.992797] devtmpfs: mounted [ 5.997253] 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:120,INA:0,ON:121,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:120,INA:0,ON:121,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:65,INA:55,ON:121,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:65,INA:55,ON:121,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 -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO1/power/wakeup for u in `ls -1d /sys/class/tty/ttyO* | paste -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.288970] PM: Syncing filesystems ... done. [ 15.297088] PM: Preparing system for mem sleep [ 15.312011] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 15.320190] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 15.331054] PM: Entering mem sleep [ 15.334655] Suspending console(s) (use no_console_suspend to debug) [ 15.368347] PM: suspend of devices complete after 20.141 msecs [ 15.377410] PM: late suspend of devices complete after 9.002 msecs [ 15.387756] PM: noirq suspend of devices complete after 10.314 msecs [ 15.387878] Disabling non-boot CPUs ... [ 15.387908] Successfully put all powerdomains to target state [ 15.393341] PM: noirq resume of devices complete after 5.340 msecs [ 15.400573] PM: early resume of devices complete after 5.920 msecs [ 15.721557] PM: resume of devices complete after 320.861 msecs [ 15.778228] PM: Finishing wakeup. [ 15.781738] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:277,INA:0,ON:278,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:277,INA:0,ON:278,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:162,INA:115,ON:278,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:162,INA:115,ON:278,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 (27) core_l3_clkdm->core_pwrdm (1) neon_clkdm->neon_pwrdm (0) # # # # echo mem > /sys/power/state [ 18.585845] PM: Syncing filesystems ... done. [ 18.590881] PM: Preparing system for mem sleep [ 18.597930] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 18.605621] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 18.615661] PM: Entering mem sleep [ 18.619262] Suspending console(s) (use no_console_suspend to debug) [ 18.648712] PM: suspend of devices complete after 16.326 msecs [ 18.657684] PM: late suspend of devices complete after 8.972 msecs [ 18.666900] PM: noirq suspend of devices complete after 9.155 msecs [ 18.666900] Disabling non-boot CPUs ... [ 18.666931] Successfully put all powerdomains to target state [ 18.672149] PM: noirq resume of devices complete after 5.126 msecs [ 18.679290] PM: early resume of devices complete after 5.889 msecs [ 19.001251] PM: resume of devices complete after 321.807 msecs [ 19.057067] PM: Finishing wakeup. [ 19.060577] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:363,INA:0,ON:364,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:363,INA:0,ON:364,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:245,INA:118,ON:364,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:245,INA:118,ON:364,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) # # # # ./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:525,INA:0,ON:526,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:11,INA:0,ON:12,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:85,INA:0,ON:86,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:525,INA:0,ON:526,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:374,INA:151,ON:526,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:374,INA:151,ON:526,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/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 [ 39.049865] random: nonblocking pool is initialized -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.659606] PM: Syncing filesystems ... done. [ 40.665130] PM: Preparing system for mem sleep [ 40.672180] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 40.679840] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 40.689758] PM: Entering mem sleep [ 40.693359] Suspending console(s) (use no_console_suspend to debug) [ 40.722808] PM: suspend of devices complete after 16.235 msecs [ 40.731658] PM: late suspend of devices complete after 8.850 msecs [ 40.741516] PM: noirq suspend of devices complete after 9.826 msecs [ 40.741546] Disabling non-boot CPUs ... [ 40.741577] Successfully put all powerdomains to target state [ 40.760498] PM: noirq resume of devices complete after 18.829 msecs [ 40.767639] PM: early resume of devices complete after 5.889 msecs [ 41.093231] PM: resume of devices complete after 325.439 msecs [ 41.149078] PM: Finishing wakeup. [ 41.152587] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:21,RET:639,INA:0,ON:661,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:11,INA:0,ON:13,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:1,RET:164,INA:0,ON:166,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:21,RET:639,INA:0,ON:661,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:18,RET:469,INA:173,ON:661,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:18,RET:469,INA:173,ON:661,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 [ 43.937957] PM: Syncing filesystems ... done. [ 43.943359] PM: Preparing system for mem sleep [ 43.950408] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 43.958068] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 43.968017] PM: Entering mem sleep [ 43.971618] Suspending console(s) (use no_console_suspend to debug) [ 44.001068] PM: suspend of devices complete after 16.204 msecs [ 44.011047] PM: late suspend of devices complete after 9.979 msecs [ 44.020324] PM: noirq suspend of devices complete after 9.216 msecs [ 44.020355] Disabling non-boot CPUs ... [ 44.020355] Successfully put all powerdomains to target state [ 44.039245] PM: noirq resume of devices complete after 18.798 msecs [ 44.046447] PM: early resume of devices complete after 5.920 msecs [ 44.371032] PM: resume of devices complete after 324.462 msecs [ 44.426910] PM: Finishing wakeup. [ 44.430419] Restarting tasks ... done. # # # # cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:108,RET:639,INA:0,ON:748,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:11,INA:0,ON:14,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:2,RET:164,INA:0,ON:167,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:108,RET:639,INA:0,ON:748,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:41,RET:532,INA:174,ON:748,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:41,RET:532,INA:174,ON:748,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:251,RET:639,INA:0,ON:891,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:6,RET:11,INA:3,ON:21,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:6,RET:221,INA:0,ON:228,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:251,RET:639,INA:0,ON:891,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:99,RET:595,INA:196,ON:891,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:99,RET:595,INA:196,ON:891,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