U-Boot SPL 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49) Error: NAND flash not present on this board SPL: Please implement spl_start_uboot() for your board SPL: Direct Linux boot not active! reading u-boot.img reading u-boot.img U-Boot 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49) I2C: ready DRAM: 1 GiB NAND: 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 reading uboot.env ** Unable to read "uboot.env" from mmc0:1 ** Using default environment Net: not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 1  0 U-Boot# U-Boot# setenv autoload 0 U-Boot# U-Boot# setenv serverip 192.168.57.1 U-Boot# U-Boot# dhcp cpsw Waiting for PHY auto negotiation to complete..... done link up on port 0, speed 1000, full duplex BOOTP broadcast 1 cpsw Waiting for PHY auto negotiation to complete.... done BOOTP broadcast 2 BOOTP broadcast 3 DHCP client bound to address 192.168.57.180 U-Boot# tftpboot 0x82000000 zImage.omap2plus_defconfig link up on port 0, speed 1000, full duplex Using cpsw device TFTP from server 192.168.57.1; our IP address is 192.168.57.180 Filename 'zImage.omap2plus_defconfig'. Load address: 0x82000000 Loading: *################################################################# ################################################################# ################################################################# ####################################################### 3.7 MiB/s done Bytes transferred = 3662616 (37e318 hex) U-Boot# tftpboot 0x88000000 am437x-sk-evm.dtb link up on port 0, speed 1000, full duplex Using cpsw device TFTP from server 192.168.57.1; our IP address is 192.168.57.180 Filename 'am437x-sk-evm.dtb'. Load address: 0x88000000 Loading: *### 3.4 MiB/s done Bytes transferred = 43038 (a81e hex) U-Boot# setenv bootargs console=ttyO0,115200n8 ignore_loglevel earlyprintk root=/dev/mmcblk0p2 rootwait rw rootfstype=ext4 init=/bin/sh U-Boot# U-Boot# bootz 0x82000000 - 0x88000000 Kernel image @ 0x82000000 [ 0x000000 - 0x37e318 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8fff2000, end 8ffff81d ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.5.0-rc1-196858-g92e963f (paul@knihy) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Mon Jan 25 13:09:46 MST 2016 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: TI AM437x SK EVM [ 0.000000] debug: ignoring loglevel setting. [ 0.000000] cma: Reserved 16 MiB at 0xbf000000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] free_area_init_node: node 0, pgdat c0a04700, node_mem_map ef6f9000 [ 0.000000] Normal zone: 1728 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 196608 pages, LIFO batch:31 [ 0.000000] HighMem zone: 65536 pages, LIFO batch:15 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM437x ES1.2 (sgx neon ) [ 0.000000] PERCPU: Embedded 14 pages/cpu @ef6b5000 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: 260416 [ 0.000000] Kernel command line: console=ttyO0,115200n8 ignore_loglevel earlyprintk root=/dev/mmcblk0p2 rootwait rw rootfstype=ext4 init=/bin/sh [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1003312K/1048576K available (6741K kernel code, 770K rwdata, 2280K rodata, 456K init, 8267K bss, 28880K reserved, 16384K cma-reserved, 245760K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc08d7718 (9022 kB) [ 0.000000] .init : 0xc08d8000 - 0xc094a000 ( 456 kB) [ 0.000000] .data : 0xc094a000 - 0xc0a0a874 ( 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] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] OMAP L2C310: ROM does not support power control setting [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000 [ 0.000000] OMAP clockevent source: timer1 at 32786 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.000000] OMAP clocksource: 32k_counter at 32768 Hz [ 0.001037] Console: colour dummy device 80x30 [ 0.001098] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.001098] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.001098] ... MAX_LOCK_DEPTH: 48 [ 0.001098] ... MAX_LOCKDEP_KEYS: 8191 [ 0.001098] ... CLASSHASH_SIZE: 4096 [ 0.001129] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.001129] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.001129] ... CHAINHASH_SIZE: 32768 [ 0.001129] memory used by lock dependency info: 5167 kB [ 0.001129] per task-struct memory footprint: 1536 bytes [ 0.001159] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896) [ 0.119567] pid_max: default: 32768 minimum: 301 [ 0.119934] Security Framework initialized [ 0.120025] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.120025] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.123016] CPU: Testing write buffer coherency: ok [ 0.124542] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.124664] Setting up static identity map for 0x80008280 - 0x800082f0 [ 0.127929] Brought up 1 CPUs [ 0.127960] SMP: Total of 1 processors activated (1987.37 BogoMIPS). [ 0.127960] CPU: All CPU(s) started in SVC mode. [ 0.130798] devtmpfs: initialized [ 0.160400] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.161193] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.163391] pinctrl core: initialized pinctrl subsystem [ 0.167694] NET: Registered protocol family 16 [ 0.172180] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.283477] cpuidle: using governor menu [ 0.287139] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable) [ 0.287322] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable) [ 0.294830] platform 44e3e000.rtc: Cannot lookup hwmod 'rtc' [ 0.296569] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio [ 0.297637] OMAP GPIO hardware version 0.1 [ 0.298828] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio [ 0.300720] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio [ 0.305694] platform 53701000.des: Cannot lookup hwmod 'des' [ 0.313446] No ATAGs? [ 0.313537] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.313568] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.314056] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.314056] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.348052] edma 49000000.edma: TI EDMA DMA engine driver [ 0.351531] SCSI subsystem initialized [ 0.352325] libata version 3.00 loaded. [ 0.353363] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe [ 0.353454] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins, deferring probe [ 0.353698] pps_core: LinuxPPS API ver. 1 registered [ 0.353698] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.353759] PTP clock support registered [ 0.357086] clocksource: Switched to clocksource 32k_counter [ 0.442596] VFS: Disk quotas dquot_6.6.0 [ 0.442749] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.467468] NET: Registered protocol family 2 [ 0.469177] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.469329] TCP bind hash table entries: 8192 (order: 6, 294912 bytes) [ 0.471130] TCP: Hash tables configured (established 8192 bind 8192) [ 0.471588] UDP hash table entries: 512 (order: 3, 40960 bytes) [ 0.471862] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes) [ 0.472778] NET: Registered protocol family 1 [ 0.474456] RPC: Registered named UNIX socket transport module. [ 0.474487] RPC: Registered udp transport module. [ 0.474487] RPC: Registered tcp transport module. [ 0.474517] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.480133] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.480346] audit: initializing netlink subsys (disabled) [ 0.480560] audit: type=2000 audit(0.460:1): initialized [ 0.486267] NFS: Registering the id_resolver key type [ 0.486572] Key type id_resolver registered [ 0.486572] Key type id_legacy registered [ 0.486785] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.491668] bounce: pool size: 64 pages [ 0.491821] io scheduler noop registered [ 0.491851] io scheduler deadline registered [ 0.491912] io scheduler cfq registered (default) [ 0.495178] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796 [ 0.498931] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.503753] omap_uart 44e09000.serial: no wakeirq for uart0 [ 0.503784] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@44e09000[0]' [ 0.503814] omap_uart 44e09000.serial: No clock speed specified: using default: 48000000 [ 0.504333] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 29, base_baud = 3000000) is a OMAP UART0 [ 1.346496] console [ttyO0] enabled [ 1.382141] brd: module loaded [ 1.404327] loop: module loaded [ 1.410095] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.477081] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 1.483489] davinci_mdio 4a101000.mdio: detected phy mask ffffffcf [ 1.494354] libphy: 4a101000.mdio: probed [ 1.498718] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver unknown [ 1.507141] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver unknown [ 1.516662] cpsw 4a100000.ethernet: Detected MACID = 34:b1:f7:3d:be:6a [ 1.525756] cpsw 4a100000.ethernet: cpsw: Detected MACID = 34:b1:f7:3d:be:6c [ 1.536743] mousedev: PS/2 mouse device common for all mice [ 1.542694] i2c /dev entries driver [ 1.547943] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 1.554290] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.561279] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 1.571746] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.576599] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 1.582946] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.589813] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 1.599456] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 1.608978] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 1.616027] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 1.624847] ledtrig-cpu: registered to indicate activity on CPUs [ 1.632324] oprofile: no performance counters [ 1.638092] oprofile: using timer interrupt. [ 1.643249] Initializing XFRM netlink socket [ 1.648193] NET: Registered protocol family 10 [ 1.656097] sit: IPv6 over IPv4 tunneling driver [ 1.663177] NET: Registered protocol family 17 [ 1.667999] NET: Registered protocol family 15 [ 1.673004] Key type dns_resolver registered [ 1.677764] omap_voltage_late_init: Voltage driver support not added [ 1.684448] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize [ 1.692962] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize [ 1.702514] ThumbEE CPU extension supported. [ 1.707092] Registering SWP/SWPB emulation handler [ 1.712158] SmartReflex Class3 initialized [ 1.753692] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz [ 1.763305] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz [ 1.770050] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 1.776397] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.783386] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 1.793884] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.798767] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 1.805084] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.811981] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 1.821594] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 1.831146] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 1.838195] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 1.844573] omap_hsmmc 48060000.mmc: omap_device: omap_device_enable() called from invalid state 1 [ 1.889984] hctosys: unable to open rtc device (rtc0) [ 1.895324] sr_init: No PMIC hook to init smartreflex [ 1.900970] sr_init: platform driver register failed for SR [ 1.928680] Waiting for root device /dev/mmcblk0p2... [ 2.006805] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.018768] mmc0: new high speed SDHC card at address aaaa [ 2.027191] mmcblk0: mmc0:aaaa SS08G 7.40 GiB [ 2.035675] mmcblk0: p1 p2 [ 2.172790] EXT4-fs (mmcblk0p2): recovery complete [ 2.178527] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.187255] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 2.199401] devtmpfs: mounted [ 2.203521] Freeing unused kernel memory: 456K (c08d8000 - c094a000) sh-3.2# sh-3.2# sh-3.2# sh-3.2# sh-3.2# %% Start PM consolidated quick test (retention only) %% Preparation sh-3.2# sh-3.2# mkdir -p /sys; mount -t sysfs none /sys sh-3.2# sh-3.2# mkdir -p /debug; mount -t debugfs none /debug sh-3.2# sh-3.2# sh-3.2# sh-3.2# echo -1 > /sys/devices/platform/omap_uart.0/power/autosuspend_delay_ms sh: /sys/devices/platform/omap_uart.0/power/autosuspend_delay_ms: No such file or directory sh-3.2# sh-3.2# echo -1 > /sys/devices/platform/omap_uart.1/power/autosuspend_delay_ms sh: /sys/devices/platform/omap_uart.1/power/autosuspend_delay_ms: No such file or directory sh-3.2# sh-3.2# echo -1 > /sys/devices/platform/omap_uart.2/power/autosuspend_delay_ms sh: /sys/devices/platform/omap_uart.2/power/autosuspend_delay_ms: No such file or directory sh-3.2# sh-3.2# echo -1 > /sys/devices/platform/omap_uart.3/power/autosuspend_delay_ms sh: /sys/devices/platform/omap_uart.3/power/autosuspend_delay_ms: No such file or directory sh-3.2# sh-3.2# echo 0 > /debug/pm_debug/enable_off_mode sh-3.2# sh-3.2# %% Baseline pm_debug count dump cat /debug/pm_debug/count 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,RET-MEMBANK4-OFF:0 cefuse_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0 tamper_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0 rtc_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 gfx_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 l3s_clkdm->per_pwrdm (0) gfx_l3_clkdm->gfx_pwrdm (0) cpsw_125mhz_clkdm->per_pwrdm (2) l4_wkup_clkdm->wkup_pwrdm (5) l3_clkdm->per_pwrdm (6) l4_wkup_aon_clkdm->wkup_pwrdm (1) emif_clkdm->per_pwrdm (1) l3_aon_clkdm->wkup_pwrdm (0) dss_clkdm->per_pwrdm (0) l3s_tsc_clkdm->wkup_pwrdm (0) ocpwp_l3_clkdm->per_pwrdm (0) pruss_ocp_clkdm->per_pwrdm (0) l4_rtc_clkdm->rtc_pwrdm (0) tamper_clkdm->tamper_pwrdm (0) l4ls_clkdm->per_pwrdm (4) mpu_clkdm->mpu_pwrdm (1) l4_cefuse_clkdm->cefuse_pwrdm (0) sh-3.2# sh-3.2# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo enabled > $u/power/wakeup; done sh: paste: command not found sh-3.2# %% Start retention double suspend/resume UART wakeup test sh-3.2# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do echo auto > $u/power/control; done sh: paste: command not found sh-3.2# sh-3.2# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/pow er/wakeup; cat $u/power/wakeup; done sh: paste: command not found sh-3.2# sh-3.2# for u in `ls -1d /sys/class/tty/ttyO* | paste -s -d' '`; do ls -l $u/pow er/control; cat $u/power/control; done sh: paste: command not found sh-3.2# sh-3.2# echo mem > /sys/power/state sh: echo: write error: Invalid argument sh-3.2# sh-3.2#