This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Where is the uEnv.txt for Sitara Starter Kit?

Other Parts Discussed in Thread: TPS65910, WL1271

Hi,

I download the new SDK 8.0 for Sitara Starter Kit, install it on an Ubuntu 14.04 PC. After several trials of setup.sh, the SD-card can boot the kit up. Although I always select tftpboot and NFS server, it is obvious that it boots up from sd-card. I remember that for SDK 6.0 setup.sh, it will generate a uEnv.txt. And the sd-card will mount to the host PC.

But now, the setup ends quietly. I paste the echo message here for your reference:

Welcome to minicom 2.7

OPTIONS: I18n
Compiled on Jan  1 2014, 17:13:22.
Port /dev/ttyUSB1, 17:41:20

Press CTRL-A Z for help on special keys                               
                                                                      
reading args                                                          
spl_load_image_fat_os: error reading image args, err - -1             
reading u-boot.img                                                    
reading u-boot.img


U-Boot 2014.07-g7e537bf (Feb 11 2015 - 08:15:16)

I2C:   ready
DRAM:  256 MiB
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:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
4283056 bytes read in 354 ms (11.5 MiB/s)
36285 bytes read in 84 ms (420.9 KiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x415ab0 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8e713000, end 8e71edbc ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.26-g2489c02 (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 Wed Feb 11 08:26:25 CST 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 AM335x EVM-SK
[    0.000000] cma: CMA: reserved 24 MiB at 8c800000
[    0.000000] Memory policy: 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: 64512
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[    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: 224344K/260096K available (5791K kernel code, 313K rwdata, 2088K rodata, 269K init, 23
1K bss, 35752K 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 - 0xc07ba054   (7881 kB)
[    0.000000]       .init : 0xc07bb000 - 0xc07fe454   ( 270 kB)
[    0.000000]       .data : 0xc0800000 - 0xc084e760   ( 314 kB)
[    0.000000]        .bss : 0xc084e760 - 0xc0888738   ( 232 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.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000037] OMAP clocksource: timer1 at 24000000 Hz
[    0.000340] Console: colour dummy device 80x30
[    0.000375] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.119372] pid_max: default: 32768 minimum: 301
[    0.119473] Security Framework initialized
[    0.119531] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.119544] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.127568] CPU: Testing write buffer coherency: ok
[    0.127986] Setting up static identity map for 0x805ad920 - 0x805ad978
[    0.128989] devtmpfs: initialized
[    0.130999] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.138859] omap_hwmod: tptc0 using broken dt data from edma
[    0.138950] omap_hwmod: tptc1 using broken dt data from edma
[    0.139029] omap_hwmod: tptc2 using broken dt data from edma
[    0.143416] omap_hwmod: debugss: _wait_target_disable failed
[    0.199465] pinctrl core: initialized pinctrl subsystem
[    0.200595] regulator-dummy: no parameters
[    0.203067] NET: Registered protocol family 16
[    0.205246] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.208034] cpuidle: using governor ladder
[    0.208052] cpuidle: using governor menu
[    0.215423] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
[    0.217044] platform 49000000.edma: alias fck already exists
[    0.217070] platform 49000000.edma: alias fck already exists
[    0.217086] platform 49000000.edma: alias fck already exists
[    0.218342] OMAP GPIO hardware version 0.1
[    0.234187] No ATAGs?
[    0.234213] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.262362] bio: create slab <bio-0> at 0
[    0.279653] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.280741] vbat: 5000 mV
[    0.281179] lis3_reg: no parameters
[    0.281292] reg-fixed-voltage fixedregulator.6: could not find pctldev for node /pinmux@44e10800/pinmux_wl
12xx_gpio, deferring probe
[    0.281317] platform fixedregulator.6: Driver reg-fixed-voltage requests probe deferral
[    0.281810] vtt: 1500 mV
[    0.285186] vgaarb: loaded
[    0.285759] i2c-core: driver [palmas] using legacy suspend method
[    0.285772] i2c-core: driver [palmas] using legacy resume method
[    0.286572] SCSI subsystem initialized
[    0.288213] usbcore: registered new interface driver usbfs
[    0.288417] usbcore: registered new interface driver hub
[    0.288639] usbcore: registered new device driver usb
[    0.289775] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, defe
rring probe
[    0.289809] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[    0.290245] pps_core: LinuxPPS API ver. 1 registered
[    0.290258] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.290402] PTP clock support registered
[    0.292527] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.293503] Advanced Linux Sound Architecture Driver Initialized.
[    0.295231] Switched to clocksource timer1
[    0.316562] NET: Registered protocol family 2
[    0.317470] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.317510] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.317542] TCP: Hash tables configured (established 2048 bind 2048)
[    0.317617] TCP: reno registered
[    0.317632] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.317653] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.317854] NET: Registered protocol family 1
[    0.318265] RPC: Registered named UNIX socket transport module.
[    0.318278] RPC: Registered udp transport module.
[    0.318285] RPC: Registered tcp transport module.
[    0.318292] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.319453] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.322431] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.508557] VFS: Disk quotas dquot_6.5.2
[    0.508626] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.509191] NFS: Registering the id_resolver key type
[    0.509281] Key type id_resolver registered
[    0.509290] Key type id_legacy registered
[    0.509334] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    0.509520] msgmni has been set to 486
[    0.511096] NET: Registered protocol family 38
[    0.511141] io scheduler noop registered
[    0.511150] io scheduler deadline registered
[    0.511172] io scheduler cfq registered (default)
[    0.513079] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.516912] backlight.10 supply power not found, using dummy regulator
[    0.520709] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.524088] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.524255] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    1.193146] console [ttyO0] enabled
[    1.198406] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    1.205822] [drm] Initialized drm 1.1.0 20060810
[    1.222399] brd: module loaded
[    1.231658] loop: module loaded
[    1.235449] (hci_tty): inside hci_tty_init
[    1.240205] (hci_tty): allocated 249, 0
[    1.248423] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.259346] usbcore: registered new interface driver asix
[    1.265276] usbcore: registered new interface driver ax88179_178a
[    1.271815] usbcore: registered new interface driver cdc_ether
[    1.278152] usbcore: registered new interface driver smsc95xx
[    1.284358] usbcore: registered new interface driver net1080
[    1.290442] usbcore: registered new interface driver cdc_subset
[    1.296826] usbcore: registered new interface driver zaurus
[    1.302917] usbcore: registered new interface driver cdc_ncm
[    1.309383] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.316232] ehci-pci: EHCI PCI platform driver
[    1.321104] ehci-omap: OMAP-EHCI Host Controller driver
[    1.327114] usbcore: registered new interface driver cdc_wdm
[    1.333273] usbcore: registered new interface driver usb-storage
[    1.340741] mousedev: PS/2 mouse device common for all mice
[    1.348034] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
[    1.355467] input: ti-tsc as /devices/ocp.3/44e0d000.tscadc/TI-am335x-tsc/input/input0
[    1.365338] i2c-core: driver [rtc-ds1307] using legacy suspend method
[    1.372071] i2c-core: driver [rtc-ds1307] using legacy resume method
[    1.379616] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    1.387118] 44e3e000.rtc: already running
[    1.392146] i2c /dev entries driver
[    1.396007] Driver for 1-wire Dallas network protocol.
[    1.403755] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.413075] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
[    1.420181] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
[    1.427927] omap_hsmmc 481d8000.mmc: unable to get vmmc regulator -517
[    1.434807] platform 481d8000.mmc: Driver omap_hsmmc requests probe deferral
[    1.444536] ledtrig-cpu: registered to indicate activity on CPUs
[    1.451221] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.458593] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.466326] usbcore: registered new interface driver usbhid
[    1.472150] usbhid: USB HID core driver
[    1.476476] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[    1.487328] oprofile: using arm/armv7
[    1.491470] TCP: cubic registered
[    1.494929] Initializing XFRM netlink socket
[    1.499531] NET: Registered protocol family 17
[    1.504221] NET: Registered protocol family 15
[    1.509012] Key type dns_resolver registered
[    1.514216] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[    1.523360] cpu cpu0: cpu0 clock notifier not ready, retry
[    1.529196] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[    1.537637] PM: bootloader does not support rtc-only!
[    1.542924] ThumbEE CPU extension supported.
[    1.547534] Registering SWP/SWPB emulation handler
[    1.554148] lis3_reg: disabling
[    1.557565] vbat: disabling
[    1.560482] regulator-dummy: disabling
[    1.568029] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.574944] [drm] No driver support for vblank timestamp query.
[    1.627769] Console: switching to colour frame buffer device 60x34
[    1.636611] tilcdc 4830e000.lcdc: fb0:  frame buffer device
[    1.642428] tilcdc 4830e000.lcdc: registered panic notifier
[    1.648273] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[    1.655712] vwl1271: 1800 mV
[    1.660946] tps65910 0-002d: No interrupt support, no core IRQ
[    1.671654] vrtc: 1800 mV
[    1.674771] vrtc: supplied by vbat
[    1.680155] vio: at 1500 mV
[    1.683253] vio: supplied by vbat
[    1.688624] vdd_mpu: 912 <--> 1375 mV at 1137 mV
[    1.693620] vdd_mpu: supplied by vbat
[    1.699379] vdd_core: 912 <--> 1150 mV at 1137 mV
[    1.704461] vdd_core: supplied by vbat
[    1.709913] vdd3: 5000 mV
[    1.714155] vdig1: at 1800 mV
[    1.717460] vdig1: supplied by vbat
[    1.722543] vdig2: at 1800 mV
[    1.725827] vdig2: supplied by vbat
[    1.730898] vpll: at 1800 mV
[    1.734082] vpll: supplied by vbat
[    1.739058] vdac: at 1800 mV
[    1.742234] vdac: supplied by vbat
[    1.747283] vaux1: at 1800 mV
[    1.750559] vaux1: supplied by vbat
[    1.755677] vaux2: at 3300 mV
[    1.758946] vaux2: supplied by vbat
[    1.764030] vaux33: at 3300 mV
[    1.767418] vaux33: supplied by vbat
[    1.772551] vmmc: 1800 <--> 3300 mV at 3300 mV
[    1.777450] vmmc: supplied by vbat
[    1.782970] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.862732] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.873267] mmc0: new high speed SDHC card at address 1234
[    1.879705] mmcblk0: mmc0:1234 SA08G 7.28 GiB
[    1.886890]  mmcblk0: p1 p2
[    1.945977]  remoteproc0: wkup_m3 is available
[    1.950631]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    1.960033]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet gua
ranteed.
[    1.971062]  remoteproc0: Direct firmware load failed with error -2
[    1.977677]  remoteproc0: Falling back to user helper
[    1.983461] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[1100000<->1260000]:
-22
[    1.998496] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
[    2.031870] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    2.038410] mmc1: new SDIO card at address 0001
[    2.065276] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.071654] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
[    2.079632] libphy: 4a101000.mdio: probed
[    2.083835] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
[    2.093506] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet
[    2.104086] cpsw 4a100000.ethernet: Detected MACID = d4:94:a1:86:09:c3
[    2.112275] cpsw 4a100000.ethernet: cpsw: Detected MACID = d4:94:a1:86:09:c4
[    2.122207] input: gpio_buttons.9 as /devices/gpio_buttons.9/input/input1
[    2.130162] omap_rtc 44e3e000.rtc: setting system clock to 2015-02-11 15:27:27 UTC (1423668447)
[    2.142630] ALSA device list:
[    2.145822]   No soundcards found.
[    2.154777] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.162493] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[   14.216817] EXT4-fs (mmcblk0p2): recovery complete
[   15.115947] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   15.124603] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[   15.138330] devtmpfs: mounted
[   15.142731] Freeing unused kernel memory: 268K (c07bb000 - c07fe000)
INIT: version 2.88 booting
[   15.634628] random: nonblocking pool is initialized
Starting udev
[   16.126281] udevd[858]: starting version 182
[   16.720383]  remoteproc0: powering up wkup_m3
[   16.766717]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154420
[   16.788560] 47401300.usb-phy supply vcc not found, using dummy regulator
[   16.897462] PM: CM3 Firmware Version = 0x190
[   16.922344] 47401b00.usb-phy supply vcc not found, using dummy regulator
[   16.935723] lis3lv02d: 16 bits lis331dlh sensor found
[   16.951109] cryptodev: driver 1.6 loaded.
[   16.963527]  remoteproc0: remote processor wkup_m3 is now up
[   17.055773] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
[   17.326099] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[   17.355144] Loading modules backported from Linux version R8.5-0-gcb51164
[   17.362356] Backport generated by backports.git R8.4-0-g0d46f43
[   17.539355] wl1271_sdio mmc1:0001:2: No platform data set
[   17.583198] wl1271_sdio: probe of mmc1:0001:2 failed with error -12
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[   18.291824] davinci_evm sound.11: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
[   19.559197] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver

udevadm settle - timeout of 3 seconds reached, the event queue contains:
  /sys/devices/ocp.3/48060000.mmc/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p1 (834)
  /sys/devices/ocp.3/48060000.mmc/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p2 (835)
  /sys/devices/virtual/block/loop0 (982)
  /sys/devices/virtual/block/loop1 (983)
  /sys/devices/virtual/block/loop3 (985)
  /sys/devices/virtual/block/loop6 (988)
  /sys/devices/virtual/block/loop7 (989)
  /sys/devices/virtual/block/ram0 (990)
  /sys/devices/virtual/block/ram1 (991)
  /sys/devices/virtual/block/ram10 (992)
  /sys/devices/virtual/block/ram11 (993)
  /sys/devices/virtual/block/ram12 (994)
  /sys/devices/virtual/block/ram13 (995)
  /sys/devices/virtual/block/ram14 (996)
  /sys/devices/virtual/block/ram15 (997)
  /sys/devices/virtual/block/ram2 (998)
  /sys/devices/virtual/block/ram3 (999)
  /sys/devices/virtual/block/ram4 (1000)
  /sys/devices/virtual/block/ram5 (1001)
  /sys/devices/virtual/block/ram6 (1002)
  /sys/devices/virtual/block/ram7 (1003)
  /s[   19.779515] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
ys/devices/virtual/block/ram8 (1004)
  /sys/devices/virtual/block/ram9 (1005)
  /sys/devices/virtual/net/lo (1012)
  /sys/devices/ocp.3/47400000.usb/47401400.usb (1027)
  /sys/devices/ocp.3/47400000.usb/47401c00.usb (1032)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller (1033)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan0 (1034)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan1 (1035)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan2 (1036)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan3 (1037)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan4 (1038)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan5 (1039)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan6 (1040)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan7 (1041)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan8 (1042)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan9 (1043)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan10 (1044)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan11 (1045)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan12 (1046)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan13 (1047)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan14 (1048)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan15 (1049)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan16 (1050)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan17 (1051)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan18 (1052)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan19 (1053)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan20 (1054)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan21 (1055)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan22 (1056)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan23 (1057)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan24 (1058)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan25 (1059)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan26 (1060)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan27 (1061)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan28 (1062)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan29 (1063)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan30 (1064)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan31 (1065)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan32 (1066)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan33 (1067)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan34 (1068)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan35 (1069)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan36 (1070)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan37 (1071)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan38 (1072)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan39 (1073)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan40 (1074)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan41 (1075)
  /sys/devices/ocp.3/47400[   20.110790] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
000.usb/47400000.dma-controller/dma/dma1chan42 ([   20.121595] usb usb1: New USB device strings: Mfr=3, Produ
ct=2, SerialNumber=1
1076)
  /sys/devices/ocp.3/47400000.usb/4740000[   20.133294] usb usb1: Product: MUSB HDRC host driver
0.dma-controller/dma/dma1chan43 (1077)
  /sys/d[   20.142668] usb usb1: Manufacturer: Linux 3.14.26-g2489c02 musb-hcd
evices/ocp.3/47400000.usb/47400000.dma-controlle[   20.153379] usb usb1: SerialNumber: musb-hdrc.0.auto
r/dma/dma1chan44 (1078)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan45 (1079)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan46 (1080)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan47 (1081)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan48 (1082)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan49 (1083)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan50 (1084)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan51 (1085)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan52 (1086)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan53 (1087)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan54 (1088)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan55 (1089)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan56 (1090)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan57 (1091)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan58 (1092)
  /sys/devices/ocp.3/47400000.usb/47400000.dma-controller/dma/dma1chan59 (1093)
  /sys/devices/platform/lis3lv02d/input/input2 (1094)
[   20.336246] hub 1-0:1.0: USB hub found
[   20.372031] hub 1-0:1.0: 1 port detected
[   20.567410] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[   20.589342] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fs
ck.
[   20.620854] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[   20.698689] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   20.705893] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.713431] usb usb2: Product: MUSB HDRC host driver
[   20.718649] usb usb2: Manufacturer: Linux 3.14.26-g2489c02 musb-hcd
[   20.725192] usb usb2: SerialNumber: +-----------------------------+
[   20.775150] hub 2-0:1.0: USB hub fou|                             |
[   20.795400] hub 2-0:1.0: 1 port dete|  Cannot open /dev/ttyUSB1!  |
ALSA: Restoring mixer settings...      |                             |
INIT: Entering runlevel: 5             +-----------------------------+
Configuring network interfaces... [   21.770484] net eth0: initializing cpsw version 1.12 (0)
[   21.856073] net eth0: phy found : id is : 0x4dd074
udhcpc (v1.22.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
done.
Starting system message bus: dbus.
UIM SYSFS Node Not Found
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting rpcbind daemon...rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
done.
creating NFS state directory: done
starting statd: done
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
Starting Lighttpd Web Server: lighttpd.
2015-02-11 15:28:06: (/home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/wo
rk/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/lighttpd/1.4.33-r1/lighttpd-1.4.33/src/log.c.166) server started
/
Starting Matrix GUI application.
***************************************************************
***************************************************************
NOTICE: This file system contains the followin GPLv3 packages:
        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 <package>
Where <package> 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
***************************************************************
***************************************************************
Stopping Bootlog daemon: bootlogd.

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org am335x-evm /dev/ttyO0

Arago 2015.02 am335x-evm /dev/ttyO0

am335x-evm login: root
root@am335x-evm:~#

I cannot see the uEnv.txt on the host. The AM-SK board does not mount its SD-card on the host either.

What is wrong with my setup?

Thanks,

  • I find that my dlink router has IP range 192.168.0.100 to 192.168.0.200. And I cannot see the StarterKit in the network at Dlink configuration tool. I do not find the Starterkit MAC address now. If I get it, I would set a static IP address for it. Do you have better ways to deal with it? Thanks
  • From one of my old (SDK 6) SD-card, I use its uEnv.txt:

    serverip=192.168.0.10
    bootfile=am335x-evmsk.dtb
    ip_method=none
    ipaddr=192.168.0.12
    netmask=255.255.255.0
    ethaddr=d4:94:a1:86:09:c3
    tftp_sd_boot=run bootargs_defaults; tftp ${loadaddr} ${bootfile}; run mmcargs; bootm ${loadaddr}
    uenvcmd=run tftp_sd_boot



    It has errors in the following:

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, 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, bulk combine, bulk split, 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: <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    253 bytes read in 5 ms (48.8 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    cpsw Waiting for PHY auto negotiation to complete... done
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    TFTP from server 192.168.0.10; our IP address is 192.168.0.12
    Filename 'am335x-evmsk.dtb'.
    Load address: 0x80200000
    Loading: ########
    200.2 KiB/s
    done
    Bytes transferred = 36285 (8dbd hex)
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    reading am335x-evmsk.dtb
    ** Unable to read file am335x-evmsk.dtb **
    ** File not found /boot/am335x-evmsk.dtb **
    Could not find am335x-evmsk.dtb
    U-Boot#



    I don't understand what is wrong? Could you point to me how I can get a right uEnv.txt for sdk 8, SK 3358 board?

    Thanks,
  • Hi,

    I will forward this to the SW team.

  • Hello Robert,

    Loading the environment variables from "uEnv.txt" is supported but not preferred since SDK8. It's designed to rely on "uboot.env" instead of "uEnv.txt" therefore setup-uboot-env.sh no more generates "uEnv.txt" and loads it to boot partition. You can generate "uboot.env" in many ways from U-Boot#, by loading the settings from "setupBoard.minicom" or by using the tool mkenvimage.

    You better try to load them from "setupBoard.minicom".

    1) first create SDK8 sdcard by # ./create-sdcard.sh and boot-up your board with it.

    2) then run ./setup.sh and set-up your tftpboot and NFS preferences, pass 'y' to other choices.

    3) when the "bigger 50" message is printed out reboot your board by warm reset button.

    These steps must generate "uboot.env" binary file in your /boot partition.

    It's also still possible to set your variables by "uEnv.txt". You can trim your settings from "setupBoard.minicom" and shape your "uEnv.txt".

    In your case it should look like this:

    serverip=192.168.0.10
    rootpath=<absolute-path-to-your-target-nfs>/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


    Best regards,
    Kemal

  • Reply to:

    http://e2e.ti.com/support/embedded/linux/f/354/p/406922/1443760#1443760

    You can mount sdcard's boot partition to your host by this command:

    modprobe g_mass_storage file=/dev/mmcblk0p1

  • Thank you Kemal.
    Could you give me detail procedure on where to put the above command?
    modprobe g_mass_storage file=/dev/mmcblk0p1
  • Copy the attached storage-gadget-init file to the SD card's /etc/init.d/ directory.

    Then run:

    root@am335x-evm:~# update-rc.d -v storage-gadget-init start 98 0 1 2 3 4 5 6 .

    storage-gadget-init

  • After I read relevant info online, I think (but not sure) that when uboot.env is used, the new am335x-evmsk.dtb is read for the device driver. A general kernel build can support variant devices through .dtb file.

    The recent kernel still supports the old uEnv.txt file. As the online web page says that the old kernel has to rebuild for different devices/processors. My question here is that how the new kernel can support uEnv.txt?

    Has the kernal included two parts for new .dtb and the the old deivce drivers?

    Thanks,

  • The uEnv.txt is a simple text file which contains customized environmental variables and it is loaded by the U-boot.
    uboot.env is the same uEnv.txt but pre-generated as binary data to be processed and loaded fastly with included CRC32 checksum support.
    The U-Boot from SDK 8 first loads the uboot.env if exist, then looks for uEnv.txt and loads it in the same manner.
    The am335x-evmsk.dtb is a device tree generated binary file which describes the hardware configuration. During the boot up the device tree file is passed to the kernel as uEnv.txt/uboot.env is passed to the U-Boot.