root@Latitude3540:~/ti-sdk-am335x-evm-07.00.00.00/bin# ./setup-uboot-env.sh -------------------------------------------------------------------------------- This step will set up the u-boot variables for booting the EVM. Becuase the not all AM335x devices have a NAND, the u-boot variables will be stored in uEnv.txt on the boot partition. U-boot will read this file on boot. Autodetected the following ip address of your host, correct it if necessary [ 10.5.5.86 ] Select Linux kernel location: 1: TFTP 2: SD card [ 1 ] 1 Select root file system location: 1: NFS 2: SD card [ 1 ] 1 Available kernel images in /tftproot: am335x-bone.dtb am335x-boneblack.dtb am335x-evm.dtb am335x-evmsk.dtb uImage uImage-am335x-evm.bin uImage-am335x-evm.bin.01282015_17.27 uImage-am335x-evm.bin.01282015_17.34 uImage-am335x-evm.bin.01292015_10.46 uImage-am335x-evm.bin.01292015_11.16 uImage-am335x-evm.bin.01292015_11.35 uImage-am335x-evm.bin.01292015_11.44 zImage zImage-am335x-evm.bin zImage-am335x-evm.bin.01292015_10.51 zImage-am335x-evm.bin.01292015_10.57 Which kernel image do you want to boot from TFTP? [ zImage-am335x-evm.bin ] This SDK supports both the AM335x EVM and the BeagleBone/EVM-SK. A BeagleBone/EVM-SK has been detected as attached to your host system Are you wanting to configure u-boot for this device? An answer of 'n' will configure u-boot for the AM335x EVM instead (y/n) y Copying uEnv.txt to boot partition... Detecting connection to board... -------------------------------------------------------------------------------- uEnv.text has been saved to the boot partition. uEnv.txt contains: serverip=10.5.5.86 rootpath=/home/ngrutman/ti-sdk-am335x-evm-07.00.00.00/targetNFS bootfile=zImage-am335x-evm.bin ip_method=dhcp tftp_nfs_boot=run findfdt; setenv autoload no;dhcp; tftp ${loadaddr} zImage-am335x-evm.bin; run findfdt; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr} uenvcmd=run tftp_nfs_boot On the next boot, the BeagleBone will boot with these settings. Would you like to restart now (y/n)? [ y ]y Welcome to minicom 2.5 OPTIONS: I18n Compiled on May 2 2011, 00:39:27. Port /dev/ttyUSB1 Press CTRL-A Z for help on special keys bigger 50 _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyO0 Arago 2013.12 am335x-evm ttyO0 am335x-evm login: init 6 INIT: Sending processes the TERM signal INIT: SenUIM SYSFS Node Not Found Stopping Dropbear SSH server: stopped /usr/sbin/dropbear (pid 1304) dropbear. Stopping telnet daemon. Stopping system message bus: Stopping syslogd/klogd: stopped syslogd (pid 1316) stopped klogd (pid 1319) done Stopping thttpd. ALSA: Storing mixer settings... Deconfiguring network interfaces... ifdown: interface eth0 not configured done. Stopping PVR Stopping Lighttpd Web Server: stopped /usr/sbin/lighttpd (pid 1379) lighttpd. Stopping Matrix GUI application. *************************************************************** *************************************************************** NOTICE: This file system contains the followin GPLv3 packages: binutils-symlinks binutils gdbserver If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove Where is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** Sending all processes the TERM signal... Error VT_WAITACTIVE failed : Interrupted system call Sending all processes the KILL signal... Unmounting remote filesystems... Deactivating swap... Unmounting local filesystems... [ 248.055042] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered Rebooting... [ 250.441402] reboot: Restarting system U-Boot SPL 2013.10-g78d8ebd (Mar 30 2014 - 20:46:34) reading args spl: error reading image args, err - -1 reading u-boot.img reading u-boot.img U-Boot 2013.10-g78d8ebd (Mar 30 2014 - 20:46:34) I2C: ready DRAM: 256 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Error - No Valid Environment Area found *** Warning - bad CRC, using default environment Net: not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 mmc0 is current device Scanning mmc 0... 4117616 bytes read in 287 ms (13.7 MiB/s) 38048 bytes read in 43 ms (863.3 KiB/s) mmc0 is current device SD/MMC found on device 0 reading uEnv.txt 333 bytes read in 5 ms (64.5 KiB/s) Loaded environment from uEnv.txt Importing environment from mmc ... Running uenvcmd ... link up on port 0, speed 100, full duplex BOOTP broadcast 1 DHCP client bound to address 10.5.5.93 link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 10.5.5.86; our IP address is 10.5.5.93 Filename 'zImage-am335x-evm.bin'. Load address: 0x80200000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######################### 2.9 MiB/s done Bytes transferred = 4117616 (3ed470 hex) link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 10.5.5.86; our IP address is 10.5.5.93 Filename 'am335x-evmsk.dtb'. Load address: 0x80f80000 Loading: ######## 2.4 MiB/s done Bytes transferred = 38048 (94a0 hex) Kernel image @ 0x80200000 [ 0x000000 - 0x3ed470 ] ## Flattened Device Tree blob at 80f80000 Booting using the fdt blob at 0x80f80000 Loading Device Tree to 8f320000, end 8f32c49f ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.12.10-ti2013.12.01 (jenkins@sdit-build02) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Sun Mar 30 20:55:31 CDT 2014 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x EVM-SK [ 0.000000] cma: CMA: reserved 24 MiB at 8d800000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES1.0 (sgx neon ) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64256 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=10.5.5.86:/home/ngrutman/ti-sdk-a m335x-evm-07.00.00.00/targetNFS,nolock rw 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: 223444K/259072K available (5555K kernel code, 559K rwdata, 1876K rodata, 345K init, 225K bs s, 35628K 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 : 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 - 0xc074a04c (7433 kB) [ 0.000000] .init : 0xc074b000 - 0xc07a15f0 ( 346 kB) [ 0.000000] .data : 0xc07a2000 - 0xc082ddd8 ( 560 kB) [ 0.000000] .bss : 0xc082ddd8 - 0xc0866400 ( 226 kB) [ 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] Total of 128 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] OMAP clocksource: timer1 at 24000000 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000316] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160) [ 0.119738] pid_max: default: 32768 minimum: 301 [ 0.119843] Security Framework initialized [ 0.119894] Mount-cache hash table entries: 512 [ 0.128295] CPU: Testing write buffer coherency: ok [ 0.128704] Setting up static identity map for 0xc0572e68 - 0xc0572ed8 [ 0.129596] devtmpfs: initialized [ 0.131388] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.193328] omap_hwmod: debugss: _wait_target_disable failed [ 0.194060] pinctrl core: initialized pinctrl subsystem [ 0.194941] regulator-dummy: no parameters [ 0.197381] NET: Registered protocol family 16 [ 0.199627] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.202383] cpuidle: using governor ladder [ 0.202400] cpuidle: using governor menu [ 0.211140] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt! [ 0.212218] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt! [ 0.213468] OMAP GPIO hardware version 0.1 [ 0.221783] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt! [ 0.224815] DSS not supported on this SoC [ 0.224835] No ATAGs? [ 0.224846] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.248922] bio: create slab at 0 [ 0.263744] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver [ 0.264572] vbat: 5000 mV [ 0.264964] lis3_reg: no parameters [ 0.267845] vgaarb: loaded [ 0.269130] SCSI subsystem initialized [ 0.270554] usbcore: registered new interface driver usbfs [ 0.270739] usbcore: registered new interface driver hub [ 0.270935] usbcore: registered new device driver usb [ 0.271912] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe [ 0.271944] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral [ 0.272176] media: Linux media interface: v0.10 [ 0.272358] Linux video capture interface: v2.00 [ 0.272621] pps_core: LinuxPPS API ver. 1 registered [ 0.272631] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.272781] PTP clock support registered [ 0.275355] Switched to clocksource timer1 [ 0.294246] NET: Registered protocol family 2 [ 0.294918] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.294971] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.295002] TCP: Hash tables configured (established 2048 bind 2048) [ 0.295072] TCP: reno registered [ 0.295086] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.295107] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.295311] NET: Registered protocol family 1 [ 0.295789] RPC: Registered named UNIX socket transport module. [ 0.295802] RPC: Registered udp transport module. [ 0.295809] RPC: Registered tcp transport module. [ 0.295816] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.296732] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.297357] PM: Loading am335x-pm-firmware.bin [ 0.453015] VFS: Disk quotas dquot_6.5.2 [ 0.453098] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.453721] NFS: Registering the id_resolver key type [ 0.453818] Key type id_resolver registered [ 0.453828] Key type id_legacy registered [ 0.453871] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc. [ 0.454066] msgmni has been set to 484 [ 0.455779] NET: Registered protocol family 38 [ 0.455821] io scheduler noop registered [ 0.455831] io scheduler deadline registered [ 0.455854] io scheduler cfq registered (default) [ 0.457877] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.497114] Console: switching to colour frame buffer device 60x34 [ 0.500842] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.503689] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.114817] console [ttyO0] enabled [ 1.119986] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ 1.137153] brd: module loaded [ 1.145676] loop: module loaded [ 1.153371] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.163833] usbcore: registered new interface driver asix [ 1.169793] usbcore: registered new interface driver ax88179_178a [ 1.176442] usbcore: registered new interface driver cdc_ether [ 1.182794] usbcore: registered new interface driver r815x [ 1.188775] usbcore: registered new interface driver smsc95xx [ 1.195032] usbcore: registered new interface driver net1080 [ 1.201169] usbcore: registered new interface driver cdc_subset [ 1.207606] usbcore: registered new interface driver zaurus [ 1.213759] usbcore: registered new interface driver cdc_ncm [ 1.220272] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.227206] ehci-pci: EHCI PCI platform driver [ 1.232106] ehci-omap: OMAP-EHCI Host Controller driver [ 1.238537] usbcore: registered new interface driver cdc_wdm [ 1.244730] usbcore: registered new interface driver usb-storage [ 1.252158] mousedev: PS/2 mouse device common for all mice [ 1.259963] input: ti-tsc as /devices/ocp.2/44e0d000.tscadc/TI-am335x-tsc/input/input0 [ 1.270503] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 [ 1.278101] 44e3e000.rtc: already running [ 1.283098] i2c /dev entries driver [ 1.287401] Driver for 1-wire Dallas network protocol. [ 1.295173] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 1.304387] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25 [ 1.311721] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24 [ 1.318982] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517 [ 1.325928] edma-dma-engine edma-dma-engine.0: freeing channel for 24 [ 1.332744] edma-dma-engine edma-dma-engine.0: freeing channel for 25 [ 1.339678] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral [ 1.349162] ledtrig-cpu: registered to indicate activity on CPUs [ 1.355928] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36 [ 1.363168] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 1.370509] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 1.376711] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5 [ 1.383813] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6 [ 1.392248] usbcore: registered new interface driver usbhid [ 1.398185] usbhid: USB HID core driver [ 1.404455] oprofile: no performance counters [ 1.409516] oprofile: using timer interrupt. [ 1.414333] TCP: cubic registered [ 1.417881] Initializing XFRM netlink socket [ 1.422461] NET: Registered protocol family 17 [ 1.427229] NET: Registered protocol family 15 [ 1.431986] 8021q: 802.1Q VLAN Support v1.8 [ 1.439584] omap_hwmod: gpio1: _wait_target_disable failed [ 1.445522] Key type dns_resolver registered [ 1.450721] cpu cpu0: cpu0 regulator not ready, retry [ 1.456121] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral [ 1.464475] ThumbEE CPU extension supported. [ 1.472621] tps65910 0-002d: No interrupt support, no core IRQ [ 1.480884] vrtc: 1800 mV [ 1.484006] vrtc: supplied by vbat [ 1.488961] vio: at 1500 mV [ 1.492086] vio: supplied by vbat [ 1.496980] vdd_mpu: 912 <--> 1375 mV at 1137 mV [ 1.502012] vdd_mpu: supplied by vbat [ 1.507255] vdd_core: 912 <--> 1150 mV at 1137 mV [ 1.512375] vdd_core: supplied by vbat [ 1.517411] vdd3: 5000 mV [ 1.521385] vdig1: at 1800 mV [ 1.524689] vdig1: supplied by vbat [ 1.529559] vdig2: at 1800 mV [ 1.532852] vdig2: supplied by vbat [ 1.537713] vpll: at 1800 mV [ 1.540907] vpll: supplied by vbat [ 1.545691] vdac: at 1800 mV [ 1.548884] vdac: supplied by vbat [ 1.553632] vaux1: at 1800 mV [ 1.556944] vaux1: supplied by vbat [ 1.561793] vaux2: at 3300 mV [ 1.565080] vaux2: supplied by vbat [ 1.569951] vaux33: at 3300 mV [ 1.573331] vaux33: supplied by vbat [ 1.578292] vmmc: 1800 <--> 3300 mV at 3300 mV [ 1.583148] vmmc: supplied by vbat [ 1.588532] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 1.595433] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25 [ 1.602639] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24 [ 1.693299] mmc0: host does not support reading read-only switch. assuming write-enable. [ 1.705379] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 1.711843] davinci_mdio 4a101000.mdio: detected phy mask fffffffc [ 1.719182] mmc0: new high speed SD card at address 1234 [ 1.726275] libphy: 4a101000.mdio: probed [ 1.730546] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet [ 1.740321] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet [ 1.750171] mmcblk0: mmc0:1234 SA02G 1.83 GiB [ 1.756622] Missing dual_emac_res_vlan in DT. [ 1.761292] Using 1 as Reserved VLAN for 0 slave [ 1.766238] Missing dual_emac_res_vlan in DT. [ 1.770847] Using 2 as Reserved VLAN for 1 slave [ 1.775742] Detected MACID = d4:94:a1:83:0f:8c [ 1.780547] mmcblk0: p1 p2 [ 1.786111] cpsw: Detected MACID = d4:94:a1:83:0f:8d [ 1.793544] input: gpio_buttons.7 as /devices/gpio_buttons.7/input/input1 [ 1.801538] omap_rtc 44e3e000.rtc: setting system clock to 2014-03-31 02:40:14 UTC (1396233614) [ 1.814146] net eth0: initializing cpsw version 1.12 (0) [ 1.822940] net eth0: phy found : id is : 0x4dd074 [ 1.832628] 8021q: adding VLAN 0 to HW filter on device eth0 [ 1.839055] net eth1: initializing cpsw version 1.12 (0) [ 1.847834] net eth1: phy found : id is : 0x4dd074 [ 1.856415] 8021q: adding VLAN 0 to HW filter on device eth1 [ 3.816243] libphy: 4a101000.mdio:00 - Link is Up - 100/Full [ 3.835375] Sending DHCP requests .....[ 44.517480] DHCP/BOOTP: Reply not for us, op[2] xid[b849180] [ 45.810378] DHCP/BOOTP: Reply not for us, op[2] xid[82e4567] .[ 60.325795] PM: request_firmware failed timed out! [ 90.381267] IP-Config: Retrying forever (NFS root)... [ 90.386717] net eth0: initializing cpsw version 1.12 (0) [ 90.395383] net eth0: phy found : id is : 0x4dd074 [ 90.404921] 8021q: adding VLAN 0 to HW filter on device eth0 [ 90.411200] net eth1: initializing cpsw version 1.12 (0) [ 90.419953] net eth1: phy found : id is : 0x4dd074 [ 90.428514] 8021q: adding VLAN 0 to HW filter on device eth1 [ 92.396292] libphy: 4a101000.mdio:00 - Link is Up - 100/Full [ 92.425367] Sending DHCP requests ......[ 148.543879] DHCP/BOOTP: Reply not for us, op[2] xid[72496e0e] timed out! [ 172.861241] IP-Config: Retrying forever (NFS root)... [ 172.866691] net eth0: initializing cpsw version 1.12 (0) [ 172.875378] net eth0: phy found : id is : 0x4dd074 [ 172.884884] 8021q: adding VLAN 0 to HW filter on device eth0 [ 172.891218] net eth1: initializing cpsw version 1.12 (0) [ 172.899949] net eth1: phy found : id is : 0x4dd074 [ 172.908506] 8021q: adding VLAN 0 to HW filter on device eth1 [ 174.876288] libphy: 4a101000.mdio:00 - Link is Up - 100/Full [ 174.905366] Sending DHCP requests ..