ĉ€˜€ĉ€˜€`f†fĉĝ˜†ž~f~ĉžf†ž`ĉĝfž˜ŝžxf†ĝ˜à†f††f†˜x˜àx˜žx~`˜à~˜à˜˜˜˜€fxĉxàžff˜ĉ€˜€f†fx†žĝž~àĉžŝž`˜ĝfx~ŝžf€˜€à˜ŝžx†žĝž~˜ĉf†ĉžŝž`††fžĝžxĉžĉž˜žfžf€˜€ U-Boot 2011.06-00001-ge147603 (Sep 07 2012 - 22:19:41) OMAP36XX/37XX-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment In: serial Out: serial Err: serial Beagle unknown 0x02 No EEPROM on expansion board Die ID #409400029ff80000016830c31900a013 Hit any key to stop autoboot: 10  0 OMAP3 beagleboard.org # OMAP3 beagleboard.org # loady 0x81000000 ## Ready for binary (ymodem) download to 0x81000000 at 230400 bps... CSending: uImage-dtb.omap3-beagle-xm Sending: Transfer complete xyzModem - CRC mode, 2(SOH)/4243(STX)/0(CAN) packets, 3 retries ## Total Size = 0x00424bce = 4344782 Bytes OMAP3 beagleboard.org # OMAP3 beagleboard.org # OMAP3 beagleboard.org # setenv bootargs console=ttyO2,230400 vram=12M root=/dev/mmcblk0p2 rw mmcrootfstype=ext3 rootwait earlyprintk ignore_loglevel OMAP3 beagleboard.org # OMAP3 beagleboard.org # bootm 0x81000000 ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux- Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4344718 Bytes = 4.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.14.31-rt28-54440-g42a2378 (paul@knihy) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Sun Feb 22 17:11:39 MST 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 OMAP3 BeagleBoard xM [ 0.000000] debug: ignoring loglevel setting. [ 0.000000] cma: CMA: reserved 16 MiB at 9e800000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 130816 [ 0.000000] free_area_init_node: node 0, pgdat c0894b40, node_mem_map dfaf2000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 130816 pages, LIFO batch:31 [ 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 9 pages/cpu @dfac6000 s14464 r8192 d14208 u36864 [ 0.000000] pcpu-alloc: s14464 r8192 d14208 u36864 alloc=9*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129792 [ 0.000000] Kernel command line: console=ttyO2,230400 vram=12M root=/dev/mmcblk0p2 rw mmcrootfstype=ext3 rootwait earlyprintk ignore_loglevel [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 487796K/523264K available (5590K kernel code, 656K rwdata, 2136K rodata, 386K init, 5518K bss, 35468K reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0793c00 (7727 kB) [ 0.000000] .init : 0xc0794000 - 0xc07f4880 ( 387 kB) [ 0.000000] .data : 0xc07f6000 - 0xc089a160 ( 657 kB) [ 0.000000] .bss : 0xc089a160 - 0xc0dfdc70 (5519 kB) [ 0.000000] Hierarchical RCU implementation. [ 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] Total of 96 interrupts on 1 active controller [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz [ 0.000000] OMAP clockevent source: timer1 at 32768 Hz [ 0.000030] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65536000000000ns [ 0.000030] OMAP clocksource: 32k_counter at 32768 Hz [ 0.001129] Console: colour dummy device 80x30 [ 0.001220] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.001220] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.001251] ... MAX_LOCK_DEPTH: 48 [ 0.001251] ... MAX_LOCKDEP_KEYS: 8191 [ 0.001251] ... CLASSHASH_SIZE: 4096 [ 0.001281] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.001281] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.001312] ... CHAINHASH_SIZE: 16384 [ 0.001312] memory used by lock dependency info: 3695 kB [ 0.001342] per task-struct memory footprint: 1152 bytes [ 0.001373] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696) [ 0.107818] pid_max: default: 32768 minimum: 301 [ 0.108367] Security Framework initialized [ 0.108551] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.108551] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.168701] CPU: Testing write buffer coherency: ok [ 0.170410] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.170501] Setting up static identity map for 0x8054ce50 - 0x8054cec0 [ 0.175140] Brought up 1 CPUs [ 0.175170] SMP: Total of 1 processors activated (594.73 BogoMIPS). [ 0.175201] CPU: All CPU(s) started in SVC mode. [ 0.179321] devtmpfs: initialized [ 0.190246] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.263793] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp [ 0.265899] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp [ 0.370758] pinctrl core: initialized pinctrl subsystem [ 0.376495] regulator-dummy: no parameters [ 0.380950] NET: Registered protocol family 16 [ 0.389526] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.407958] Reprogramming SDRC clock to 332000000 Hz [ 0.424072] omap_gpio 48310000.gpio: could not find pctldev for node /ocp/pinmux@48002a00/pinmux_gpio1_pins, deferring probe [ 0.424163] platform 48310000.gpio: Driver omap_gpio requests probe deferral [ 0.428344] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 0.429962] OMAP GPIO hardware version 2.5 [ 0.433654] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 0.437927] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 0.442199] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 0.446289] gpiochip_add: registered GPIOs 128 to 159 on device: gpio [ 0.470031] platform 49022000.mcbsp: alias fck already exists [ 0.471740] platform 49024000.mcbsp: alias fck already exists [ 0.497711] omap-gpmc 6e000000.gpmc: GPMC revision 5.0 [ 0.507568] No ATAGs? [ 0.507598] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.513916] OMAP DMA hardware revision 5.0 [ 0.602813] bio: create slab at 0 [ 0.608489] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot [ 0.608551] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5 [ 0.718933] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver [ 0.720825] of_get_named_gpiod_flags exited with status -517 [ 0.720916] platform hsusb2_power_reg.7: Driver reg-fixed-voltage requests probe deferral [ 0.732788] SCSI subsystem initialized [ 0.736419] usbcore: registered new interface driver usbfs [ 0.737854] usbcore: registered new interface driver hub [ 0.738922] usbcore: registered new device driver usb [ 0.739654] of_get_named_gpiod_flags exited with status 0 [ 0.739959] platform hsusb2_phy.8: Driver usb_phy_gen_xceiv requests probe deferral [ 0.749298] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz [ 0.751525] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz [ 0.755004] omap_i2c 48060000.i2c: bus 2 rev4.4 at 100 kHz [ 0.766662] Switched to clocksource 32k_counter [ 1.006317] NET: Registered protocol family 2 [ 1.009216] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 1.009490] TCP bind hash table entries: 4096 (order: 5, 147456 bytes) [ 1.011779] TCP: Hash tables configured (established 4096 bind 4096) [ 1.011993] TCP: reno registered [ 1.012023] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 1.012359] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 1.013946] NET: Registered protocol family 1 [ 1.016479] RPC: Registered named UNIX socket transport module. [ 1.016510] RPC: Registered udp transport module. [ 1.016540] RPC: Registered tcp transport module. [ 1.016693] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.018341] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 1.032135] futex hash table entries: 256 (order: 2, 16384 bytes) [ 1.246765] VFS: Disk quotas dquot_6.5.2 [ 1.247100] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.249969] NFS: Registering the id_resolver key type [ 1.250488] Key type id_resolver registered [ 1.250518] Key type id_legacy registered [ 1.250671] jffs2: version 2.2. (NAND) (SUMMARY) Âİ 2001-2006 Red Hat, Inc. [ 1.251251] msgmni has been set to 984 [ 1.255493] io scheduler noop registered [ 1.255523] io scheduler deadline registered [ 1.255645] io scheduler cfq registered (default) [ 1.261810] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568 [ 1.262603] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92 [ 1.263946] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92 [ 1.270355] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.282714] omap_uart 4806a000.serial: no wakeirq for uart0 [ 1.282775] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4806a000[0]' [ 1.284240] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.287689] omap_uart 4806c000.serial: no wakeirq for uart0 [ 1.287750] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4806c000[0]' [ 1.288482] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.290985] omap_uart 49020000.serial: no wakeirq for uart0 [ 1.291015] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@49020000[0]' [ 1.291748] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 1.749908] console [ttyO2] enabled [ 1.755126] omap_uart 49042000.serial: no wakeirq for uart0 [ 1.758331] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@49042000[0]' [ 1.763946] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3 [ 1.820526] brd: module loaded [ 1.850982] loop: module loaded [ 1.868011] twl 0-0048: PIH (irq 23) chaining IRQs 306..314 [ 1.871673] twl 0-0048: power (irq 311) chaining IRQs 314..321 [ 1.884307] VAUX1: at 3000 mV [ 1.891784] usb_1v8: 1800 mV [ 1.897186] VAUX3: at 2800 mV [ 1.902435] VAUX4: at 2800 mV [ 1.908538] VDD1: 600 <--> 1450 mV at 1200 mV [ 1.914703] VDAC: 1800 mV [ 1.921630] VIO: at 1800 mV [ 1.928009] VINTANA1: 1500 mV [ 1.933837] VINTANA2: at 2750 mV [ 1.939910] VINTDIG: 1500 mV [ 1.944763] VMMC1: 1850 <--> 3150 mV at 3000 mV [ 1.951690] VMMC2: 1850 <--> 3150 mV at 2600 mV [ 1.957580] VUSB1V5: 1500 mV [ 1.962188] VUSB1V8: 1800 mV [ 1.967376] VUSB3V1: 3100 mV [ 1.973236] VPLL1: at 1800 mV [ 1.978759] VPLL2: 1800 mV [ 1.983856] VSIM: 1800 <--> 3000 mV at 1800 mV [ 1.990783] twl4030_gpio twl4030-gpio: gpio (irq 306) chaining IRQs 322..339 [ 1.995178] gpiochip_find_base: found new base at 492 [ 1.999694] gpiochip_add: registered GPIOs 492 to 511 on device: twl4030 [ 2.019989] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.045318] usbcore: registered new interface driver asix [ 2.050994] usbcore: registered new interface driver ax88179_178a [ 2.055023] usbcore: registered new interface driver cdc_ether [ 2.059112] usbcore: registered new interface driver smsc95xx [ 2.062896] usbcore: registered new interface driver net1080 [ 2.066711] usbcore: registered new interface driver cdc_subset [ 2.071136] usbcore: registered new interface driver zaurus [ 2.074951] usbcore: registered new interface driver cdc_ncm [ 2.081115] usbcore: registered new interface driver cdc_wdm [ 2.084960] usbcore: registered new interface driver usb-storage [ 2.089691] usbcore: registered new interface driver usbtest [ 2.099456] mousedev: PS/2 mouse device common for all mice [ 2.111450] input: twl4030_pwrbutton as /devices/68000000.ocp/48070000.i2c/i2c-0/0-0048/pwrbutton.34/input/input0 [ 2.123229] twl_rtc rtc.10: Power up reset detected. [ 2.126190] twl_rtc rtc.10: Enabling TWL-RTC [ 2.134887] twl_rtc rtc.10: rtc core: registered rtc.10 as rtc0 [ 2.140167] i2c /dev entries driver [ 2.148437] Driver for 1-wire Dallas network protocol. [ 2.158935] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.170257] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.175018] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.185119] omap_hsmmc 4809c000.mmc: pins are not configured from the driver [ 2.235839] usbcore: registered new interface driver usbhid [ 2.239074] usbhid: USB HID core driver [ 2.245513] oprofile: using arm/armv7 [ 2.248626] TCP: cubic registered [ 2.250427] Initializing XFRM netlink socket [ 2.252899] NET: Registered protocol family 17 [ 2.255462] NET: Registered protocol family 15 [ 2.258483] Key type dns_resolver registered [ 2.268280] ThumbEE CPU extension supported. [ 2.270690] Registering SWP/SWPB emulation handler [ 2.280487] VPLL2: disabling [ 2.282836] VUSB3V1: disabling [ 2.285400] VUSB1V8: disabling [ 2.288269] VUSB1V5: disabling [ 2.291107] VDAC: disabling [ 2.293731] VAUX3: disabling [ 2.296142] regulator-dummy: disabling [ 2.302337] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 2.309173] of_get_named_gpiod_flags exited with status 0 [ 2.315826] hsusb2_vbus: 3300 mV [ 2.318725] of_get_named_gpiod_flags exited with status 0 [ 2.327941] of_get_named_gpiod_flags exited with status 0 [ 2.333343] input: gpio_keys.6 as /devices/gpio_keys.6/input/input1 [ 2.342041] twl_rtc rtc.10: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.423797] Waiting for root device /dev/mmcblk0p2... [ 2.439697] mmc0: host does not support reading read-only switch. assuming write-enable. [ 2.448242] mmc0: new high speed SD card at address a9e1 [ 2.455047] mmcblk0: mmc0:a9e1 SD02G 1.83 GiB [ 2.464904] mmcblk0: p1 p2 [ 4.890441] kjournald starting. Commit interval 5 seconds [ 5.035797] EXT3-fs (mmcblk0p2): using internal journal [ 5.142730] EXT3-fs (mmcblk0p2): recovery complete [ 5.145355] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 5.149353] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 5.158477] devtmpfs: mounted [ 5.161041] Freeing unused kernel memory: 384K (c0794000 - c07f4000) INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 6.177703] udevd (836): /proc/836/oom_adj is deprecated, please use /proc/836/oom_score_adj instead. Synthesizing the initial hotplug events [ 13.638916] random: nonblocking pool is initialized [ 14.401550] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. Remounting root file system... mount: according to mtab, /proc is already mounted on /proc WARNING: Couldn't open directory /lib/modules/3.14.31-rt28-54440-g42a2378: No such file or directory FATAL: Could not open /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep.temp for writing: No such file or directory root: mount: mount point /proc/bus/usb does not exist Setting up IP spoofing protection: rp_filter. Configuring network interfaces... modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory udhcpc: SIOCGIFINDEX: No such device done. Starting portmap daemon: portmap. Tue Jul 22 00:18:00 UTC 2008 INIT: Entering runlevel: 5 ALSA: Restoring mixer settings... /usr/sbin/alsactl: load_state:1327: No soundcards found... Starting Dropbear SSH server: modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory dropbear. Starting advanced power management daemon: No APM support in kernel (failed.) Starting system message bus: dbus. Starting syslogd/klogd: start-stop-daemon: lseek: Invalid argument * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ ok ] Starting Bluetooth subsystem:modprobe: FATAL: Could not load /lib/modules/3.14.31-rt28-54440-g42a2378/modules.dep: No such file or directory hcid hid2hci. .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution beagleboard ttyO2 Angstrom 2008.1-test-20080712 beagleboard ttyO2 beagleboard login: .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution beagleboard ttyO2 Angstrom 2008.1-test-20080712 beagleboard ttyO2 beagleboard login: .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution beagleboard ttyO2 Angstrom 2008.1-test-20080712 beagleboard ttyO2 beagleboard login: root login[2168]: root login on `ttyO2' root@beagleboard:~# root@beagleboard:~# %% Start PM consolidated quick test %% Preparation root@beagleboard:~# root@beagleboard:~# mount -t sysfs none /sys mount: none already mounted or /sys busy mount: according to mtab, sysfs is already mounted on /sys root@beagleboard:~# root@beagleboard:~# mount -t debugfs none /debug root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do echo -1 > $u/power/autosuspend_delay_ms; done root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autos uspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms -1 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms -1 root@beagleboard:~# root@beagleboard:~# echo 0 > /debug/pm_debug/enable_off_mode root@beagleboard:~# root@beagleboard:~# %% Baseline pm_debug count dump cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1412,INA:0,ON:1413,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:1412,INA:0,ON:1413,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:1412,INA:0,ON:1413,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1412,INA:0,ON:1413,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 (14) 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) root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo enabled > $u/power/wakeup; done root@beagleboard:~# %% Start retention double suspend/resume UART wakeup test root@beagleboard:~# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo auto > $u/power/control; done root@beagleboard:~# root@beagleboard:~# 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 Jul 22 00:18 /sys/class/tty/ttyO0/power/wakeup enabled echo mem > /sys/power/state -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO1/power/wakeup enabled -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO2/power/wakeup enabled -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO3/power/wakeup enabled root@beagleboard:~# root@beagleboard:~# 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 Jul 22 00:18 /sys/class/tty/ttyO0/power/control auto -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO1/power/control auto -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO2/power/control auto -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/class/tty/ttyO3/power/control auto root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 35.097991] PM: Syncing filesystems ... done. [ 36.600799] PM: Preparing system for mem sleep [ 36.623504] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 36.630310] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 36.637390] PM: Entering mem sleep [ 36.639282] Suspending console(s) (use no_console_suspend to debug) [ 36.666839] PM: suspend of devices complete after 18.341 msecs [ 36.672912] PM: late suspend of devices complete after 6.011 msecs [ 36.679809] PM: noirq suspend of devices complete after 6.866 msecs [ 36.679901] Disabling non-boot CPUs ... [ 36.679992] Successfully put all powerdomains to target state [ 36.684020] PM: noirq resume of devices complete after 3.967 msecs [ 36.690032] PM: early resume of devices complete after 4.608 msecs [ 36.804656] PM: resume of devices complete after 114.501 msecs [ 36.837585] PM: Finishing wakeup. [ 36.839416] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1620,INA:0,ON:1621,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:1620,INA:0,ON:1621,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:1620,INA:0,ON:1621,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1620,INA:0,ON:1621,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 (14) 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) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 38.900207] PM: Syncing filesystems ... done. [ 40.192169] PM: Preparing system for mem sleep [ 40.196868] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 40.202819] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 40.209106] PM: Entering mem sleep [ 40.210968] Suspending console(s) (use no_console_suspend to debug) [ 40.233306] PM: suspend of devices complete after 13.275 msecs [ 40.239349] PM: late suspend of devices complete after 6.011 msecs [ 40.245849] PM: noirq suspend of devices complete after 6.469 msecs [ 40.245849] Disabling non-boot CPUs ... [ 40.245941] Successfully put all powerdomains to target state [ 40.249786] PM: noirq resume of devices complete after 3.753 msecs [ 40.255554] PM: early resume of devices complete after 4.486 msecs [ 40.363494] PM: resume of devices complete after 107.757 msecs [ 40.395782] PM: Finishing wakeup. [ 40.397583] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# cat /debug/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1753,INA:0,ON:1754,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:1753,INA:0,ON:1754,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:1753,INA:0,ON:1754,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1753,INA:0,ON:1754,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 (14) 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) root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# ./test_rootfs_access_nonexistent_file__ret_susp -sh: ./test_rootfs_access_nonexistent_file__ret_susp: not found root@beagleboard:~# root@beagleboard:~# %% 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/*.seria l | paste -s -d' '`; do echo 3000 > $u/power/autosuspend_delay_ms; done root@beagleboard:~# root@beagleboard:~# for u in `ls -1d /sys/bus/platform/drivers/omap_uart/*.seria l | paste -s -d' '`; do ls -l $u/power/autosuspend_delay_ms; cat $u/power/autos uspend_delay_ms; done -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806a000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/4806c000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49020000.serial/power/autosuspend_delay_ms 3000 -rw-r--r-- 1 root root 4096 Jul 22 00:18 /sys/bus/platform/drivers/omap_uart/49042000.serial/power/autosuspend_delay_ms 3000 root@beagleboard:~# root@beagleboard:~#