CCSending /srv/serial/u-boot-spl.bin, 784 blocks: Give your local XMODEM receive command now. Transfer complete t SPL 2013.04-00235-g48e0b2b (May 18 2013 - 18:06:38) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 CSending: u-boot.bin Sending: Transfer complete m - CRC mode, 3(SOH)/375(STX)/0(CAN) packets, 3 retries Loaded 384084 bytes U-Boot 2013.04-00235-g48e0b2b (May 18 2013 - 18:06:38) I2C: ready DRAM: 256 MiB WARNING: Caches not enabled NAND: No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 1  0 mmc_send_cmd : timeout: No status update Card did not respond to voltage select! mmc0(part 0) is current device mmc_send_cmd : timeout: No status update Card did not respond to voltage select! Booting from nand ... no devices available Wrong Image Format for bootm command ERROR: can't get kernel image! U-Boot# a askenv - get environment variables from stdin Usage: askenv name [message] [size] - get environment variable 'name' from stdin (max 'size' chars) U-Boot# setenv autoload off; setenv serverip 192.168.57.1; dhcp link up on port 0, speed 100, full duplex BOOTP broadcast 1 DHCP client bound to address 192.168.57.138 U-Boot# tftp 0x81000000 zImage.omap2plus_defconfig link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.57.1; our IP address is 192.168.57.138 Filename 'zImage.omap2plus_defconfig'. Load address: 0x81000000 Loading: *################################################################# ################################################################# ################################################################# ####################################################### 877.9 KiB/s done Bytes transferred = 3664472 (37ea58 hex) U-Boot# tftp 0x82000000 am335x-bone.dtb link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.57.1; our IP address is 192.168.57.138 Filename 'am335x-bone.dtb'. Load address: 0x82000000 Loading: *### 791 KiB/s done Bytes transferred = 31600 (7b70 hex) U-Boot# setenv bootargs console=ttyO0,115200n8 rw debug ignore_loglevel earlyprintk root=/dev/nfs nfsroot=192.168.57.1:/srv/nfs4/rootfs2 nfsrootdebug ip=dhcp U-Boot# U-Boot# bootz 0x81000000 - 0x82000000 ## Flattened Device Tree blob at 82000000 Booting using the fdt blob at 0x82000000 Using Device Tree in place at 82000000, end 8200ab6f Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.5.0-rc1-196864-g34b4182 (paul@knihy) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Tue Mar 1 02:19:39 MST 2016 [ 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 AM335x BeagleBone [ 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: 65024 [ 0.000000] free_area_init_node: node 0, pgdat c0a049c0, node_mem_map cfbb1000 [ 0.000000] Normal zone: 576 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65024 pages, LIFO batch:15 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES1.0 (sgx neon ) [ 0.000000] PERCPU: Embedded 14 pages/cpu @cfb59000 s24808 r8192 d24344 u57344 [ 0.000000] pcpu-alloc: s24808 r8192 d24344 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64448 [ 0.000000] Kernel command line: console=ttyO0,115200n8 rw debug ignore_loglevel earlyprintk root=/dev/nfs nfsroot=192.168.57.1:/srv/nfs4/rootfs2 nfsrootdebug ip=dhcp [ 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: 222232K/260096K available (6741K kernel code, 770K rwdata, 2280K rodata, 456K init, 8267K bss, 21480K 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 - 0xff800000 ( 752 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 - 0xc08d7714 (9022 kB) [ 0.000000] .init : 0xc08d8000 - 0xc094a000 ( 456 kB) [ 0.000000] .data : 0xc094a000 - 0xc0a0ab34 ( 771 kB) [ 0.000000] .bss : 0xc0a0d000 - 0xc121fe20 (8268 kB) [ 0.000000] Running RCU self tests [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000058] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000125] OMAP clocksource: timer1 at 24000000 Hz [ 0.001493] Console: colour dummy device 80x30 [ 0.001582] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.001598] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.001611] ... MAX_LOCK_DEPTH: 48 [ 0.001624] ... MAX_LOCKDEP_KEYS: 8191 [ 0.001637] ... CLASSHASH_SIZE: 4096 [ 0.001650] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.001662] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.001674] ... CHAINHASH_SIZE: 32768 [ 0.001687] memory used by lock dependency info: 5167 kB [ 0.001700] per task-struct memory footprint: 1536 bytes [ 0.001738] Calibrating delay loop... 548.04 BogoMIPS (lpj=2740224) [ 0.107657] pid_max: default: 32768 minimum: 301 [ 0.108343] Security Framework initialized [ 0.108568] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.108590] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.114177] CPU: Testing write buffer coherency: ok [ 0.116919] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.117083] Setting up static identity map for 0x80008280 - 0x800082f0 [ 0.123253] Brought up 1 CPUs [ 0.123290] SMP: Total of 1 processors activated (548.04 BogoMIPS). [ 0.123307] CPU: All CPU(s) started in SVC mode. [ 0.129764] devtmpfs: initialized [ 0.184520] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.185966] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.189434] pinctrl core: initialized pinctrl subsystem [ 0.198084] NET: Registered protocol family 16 [ 0.207845] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.294687] omap_hwmod: debugss: _wait_target_disable failed [ 0.356191] cpuidle: using governor menu [ 0.373974] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio [ 0.375925] OMAP GPIO hardware version 0.1 [ 0.378299] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio [ 0.382054] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio [ 0.385653] gpiochip_add_data: registered GPIOs 96 to 127 on device: gpio [ 0.409099] No ATAGs? [ 0.409147] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.409621] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.409644] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.482219] edma 49000000.edma: TI EDMA DMA engine driver [ 0.483220] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]' [ 0.489656] SCSI subsystem initialized [ 0.490861] libata version 3.00 loaded. [ 0.492656] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 0.492827] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe [ 0.493239] pps_core: LinuxPPS API ver. 1 registered [ 0.493257] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.493348] PTP clock support registered [ 0.499974] clocksource: Switched to clocksource timer1 [ 0.692516] VFS: Disk quotas dquot_6.6.0 [ 0.692783] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.745749] NET: Registered protocol family 2 [ 0.748863] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.748966] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.750382] TCP: Hash tables configured (established 2048 bind 2048) [ 0.750700] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.751047] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.752606] NET: Registered protocol family 1 [ 0.755208] RPC: Registered named UNIX socket transport module. [ 0.755243] RPC: Registered udp transport module. [ 0.755259] RPC: Registered tcp transport module. [ 0.755276] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.759237] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.766629] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.767029] audit: initializing netlink subsys (disabled) [ 0.767409] audit: type=2000 audit(0.760:1): initialized [ 0.778587] NFS: Registering the id_resolver key type [ 0.779170] Key type id_resolver registered [ 0.779194] Key type id_legacy registered [ 0.779510] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.788595] io scheduler noop registered [ 0.788648] io scheduler deadline registered [ 0.788737] io scheduler cfq registered (default) [ 0.792295] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.796675] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.806464] omap_uart 44e09000.serial: no wakeirq for uart0 [ 0.806512] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@44e09000[0]' [ 0.807359] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a OMAP UART0 [ 1.589297] console [ttyO0] enabled [ 1.655305] brd: module loaded [ 1.695943] loop: module loaded [ 1.703351] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.779995] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 1.786418] davinci_mdio 4a101000.mdio: detected phy mask fffffffe [ 1.798617] libphy: 4a101000.mdio: probed [ 1.803039] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720 [ 1.814780] cpsw 4a100000.ethernet: Detected MACID = 78:c5:e5:c3:1e:2a [ 1.830001] mousedev: PS/2 mouse device common for all mice [ 1.835904] i2c /dev entries driver [ 1.841977] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 1.848300] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.855311] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 1.865818] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.870745] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 1.877050] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.883948] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 1.893574] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 1.903103] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 1.910181] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 1.921103] ledtrig-cpu: registered to indicate activity on CPUs [ 1.929277] oprofile: using arm/armv7 [ 1.934387] Initializing XFRM netlink socket [ 1.939463] NET: Registered protocol family 10 [ 1.949601] sit: IPv6 over IPv4 tunneling driver [ 1.958405] NET: Registered protocol family 17 [ 1.963347] NET: Registered protocol family 15 [ 1.968598] Key type dns_resolver registered [ 1.973600] omap_voltage_late_init: Voltage driver support not added [ 1.980358] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize [ 1.988849] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize [ 1.999112] ThumbEE CPU extension supported. [ 2.003777] Registering SWP/SWPB emulation handler [ 2.008831] SmartReflex Class3 initialized [ 2.068418] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 2.075025] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 2.087712] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 2.095078] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 2.101501] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 2.108418] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 2.118929] omap_hsmmc 48060000.mmc: Got CD GPIO [ 2.123851] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 2.130202] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 2.137060] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 2.146685] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 2.156213] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 2.163306] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 2.170095] omap_hsmmc 48060000.mmc: omap_device: omap_device_enable() called from invalid state 1 [ 2.183531] hctosys: unable to open rtc device (rtc0) [ 2.188866] sr_init: No PMIC hook to init smartreflex [ 2.194689] sr_init: platform driver register failed for SR [ 2.236492] net eth0: initializing cpsw version 1.12 (0) [ 2.245028] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1) [ 2.258226] libphy: PHY 4a101000.mdio:01 not found [ 2.263316] net eth0: phy 4a101000.mdio:01 not found on slave 1 [ 2.280538] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5.260578] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 5.269616] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 5.281423] Sending DHCP requests ., OK [ 5.301869] IP-Config: Got DHCP answer from 192.168.57.1, my address is 192.168.57.138 [ 5.310922] IP-Config: Complete: [ 5.314334] device=eth0, hwaddr=78:c5:e5:c3:1e:2a, ipaddr=192.168.57.138, mask=255.255.255.0, gw=255.255.255.255 [ 5.325667] host=192.168.57.138, domain=example.org, nis-domain=(none) [ 5.333036] bootserver=0.0.0.0, rootserver=192.168.57.1, rootpath= nameserver0=192.168.57.1 [ 5.342814] platform 48060000.mmc: omap_device_late_idle: enabled but no driver. Idling [ 5.351515] vmmcsd_fixed: disabling [ 5.387749] VFS: Mounted root (nfs filesystem) on device 0:15. [ 5.396845] devtmpfs: mounted [ 5.401446] Freeing unused kernel memory: 456K (c08d8000 - c094a000) INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [....] Starting the hotplug events dispatcher: udevd[ 8.766367] udevd[165]: starting version 175 [ ok . [....] Synthesizing the initial hotplug events...udevd[195]: error changing net interface name eth0 to eth4: Device or resource busy [ ok done. [....] Waiting for /dev to be fully populated...[ ok done. [ 15.870767] random: nonblocking pool is initialized [....] Activating swap...[ ok done. [....] Cleaning up temporary files... /tmp[ ok . [....] Activating lvm and md swap...[ ok done. [....] Checking file systems...fsck from util-linux 2.20.1 [ ok done. [....] Mounting local filesystems...[ ok done. [....] Activating swapfile swap...[ ok done. [....] Cleaning up temporary files...[ ok . [....] Setting kernel variables ...[ ok done. [....] Configuring network interfaces...[ ok done. [....] Starting rpcbind daemon...[ ok . [....] Starting NFS common utilities: statd idmapd[ ok . [....] Cleaning up temporary files...[ ok . [....] Starting network benchmark server[ ok . INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting network benchmark server[FAIL failed! [....] Starting system message bus: dbus[ ok . [....] Starting rpcbind daemon...[....] Already running.[ ok . [....] Starting NFS common utilities: statd idmapd[ ok . Debian GNU/Linux wheezy/sid armel ttyO0 armel login: Debian GNU/Linux wheezy/sid armel ttyO0 armel login: Debian GNU/Linux wheezy/sid armel ttyO0 armel login: root Last login: Thu Jan 1 00:00:48 UTC 1970 on ttyO0 Linux armel 4.5.0-rc1-196864-g34b4182 #1 SMP Tue Mar 1 02:19:39 MST 2016 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@armel:~# root@armel:~# %% Start PM consolidated quick test (retention only) %% Preparation root@armel:~# root@armel:~# mkdir -p /sys; mount -t sysfs none /sys mount: none already mounted or /sys busy mount: according to mtab, sysfs is already mounted on /sys root@armel:~# root@armel:~# mkdir -p /debug; mount -t debugfs none /debug mount: none already mounted or /debug busy mount: according to mtab, /debug is already mounted on /debug root@armel:~# root@armel:~# root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.0/power/autosuspend_dela y_ms -bash: /sys/devices/platform/omap_uart.0/power/autosuspend_delay_ms: No such file or directory root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.1/power/autosuspend_dela y_ms -bash: /sys/devices/platform/omap_uart.1/power/autosuspend_delay_ms: No such file or directory root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.2/power/autosuspend_dela y_ms -bash: /sys/devices/platform/omap_uart.2/power/autosuspend_delay_ms: No such file or directory root@armel:~# root@armel:~# echo -1 > /sys/devices/platform/omap_uart.3/power/autosuspend_dela y_ms -bash: /sys/devices/platform/omap_uart.3/power/autosuspend_delay_ms: No such file or directory root@armel:~# root@armel:~# echo 0 > /debug/pm_debug/enable_off_mode root@armel:~# root@armel:~# %% Baseline pm_debug count dump cat /debug/pm_debug/count cefuse_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0 rtc_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0 gfx_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 l4_cefuse_clkdm->cefuse_pwrdm (0) gfx_l4ls_gfx_clkdm->gfx_pwrdm (0) gfx_l3_clkdm->gfx_pwrdm (0) l4_rtc_clkdm->rtc_pwrdm (0) mpu_clkdm->mpu_pwrdm (1) l4_wkup_aon_clkdm->wkup_pwrdm (0) l3_aon_clkdm->wkup_pwrdm (0) l4_wkup_clkdm->wkup_pwrdm (4) clk_24mhz_clkdm->per_pwrdm (1) lcdc_clkdm->per_pwrdm (0) cpsw_125mhz_clkdm->per_pwrdm (2) pruss_ocp_clkdm->per_pwrdm (0) ocpwp_l3_clkdm->per_pwrdm (0) l4hs_clkdm->per_pwrdm (1) l3_clkdm->per_pwrdm (5) l4fw_clkdm->per_pwrdm (0) l3s_clkdm->per_pwrdm (1) l4ls_clkdm->per_pwrdm (2) root@armel:~# root@armel:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo e nabled > $u/power/wakeup; done root@armel:~# %% Start retention double suspend/resume UART wakeup test root@armel:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo a uto > $u/power/control; done root@armel:~# root@armel:~# 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 for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/power/control; cat $u/power/control; done enabled root@armel:~# root@armel:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/power/control; cat $u/power/control; done echo mem > /sys/power/state -rw-r--r-- 1 root root 4096 Jan 1 00:00 /sys/class/tty/ttyO0/power/control auto root@armel:~# root@armel:~# echo mem > /sys/power/state -bash: echo: write error: Invalid argument root@armel:~# root@armel:~#