U-Boot ignoring uEnv.txt-settings

1,920 views
Skip to first unread message

meino....@gmx.de

unread,
Oct 29, 2012, 12:21:37 AM10/29/12
to beagleboard

Hi,

I took the u-boot.img and MLO from the angström distribution
and tried to do some setting with the uEnv.txt file.

None of the setting were available neither when u-boot is interrupted
and printenv was used to proof the environment setting nor show
cat /proc/cmdline any changes of the kernels commandline.
"Reading uEnv.txt" (or similiar...dont remember exactly) was shown
though.

How can I make u-boot accept, read and use the setting in my uEnv.txt?

Best regards,
mcc



Andrew Bradford

unread,
Oct 29, 2012, 8:07:29 AM10/29/12
to beagl...@googlegroups.com, meino....@gmx.de
A copy of your uEnv.txt and serial boot log would be awfully helpful,
here.

-Andrew

meino....@gmx.de

unread,
Oct 29, 2012, 1:05:58 PM10/29/12
to beagl...@googlegroups.com
Andrew Bradford <and...@bradfordembedded.com> [12-10-29 16:23]:
> --
>
>

Hi Andrew,

here it comes:


uEnv.txt
=========

ip_method=none
i2c_bus=2,400
server_ip=192.168.178.21


serial bootsequence:
====================


U-Boot SPL 2011.09-00043-gdc52533-dirty (Aug 18 2012 - 20:55:11)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.09-00043-gdc52533-dirty (Aug 18 2012 - 20:55:11)

I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net: cpsw
Hit any key to stop autoboot: 1 0
SD/MMC found on device 0
reading uEnv.txt

56 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Loading file "/boot/uImage" from mmc device 0:2 xxa2
3417664 bytes read
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3417600 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.32-psp25 (root@solfire) (gcc version 4.7.2 (Gentoo 4.7.2 p1.1, pie-0.5.5) ) #8 Thu Oct 25 18:34:45 CEST 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait ip=none
[ 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] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 253128k/253128k available, 9016k 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] modules : 0xbf800000 - 0xc0000000 ( 8 MB)
[ 0.000000] .text : 0xc0008000 - 0xc04a4df0 (4724 kB)
[ 0.000000] .init : 0xc04a5000 - 0xc04d0000 ( 172 kB)
[ 0.000000] .data : 0xc04d0000 - 0xc05242e0 ( 337 kB)
[ 0.000000] .bss : 0xc0524304 - 0xc0591254 ( 436 kB)
[ 0.000000] NR_IRQS:410 nr_irqs:410 410
[ 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: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000122] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160)
[ 0.058532] pid_max: default: 32768 minimum: 301
[ 0.058654] Security Framework initialized
[ 0.058715] Mount-cache hash table entries: 512
[ 0.059051] Initializing cgroup subsys cpuacct
[ 0.059082] Initializing cgroup subsys memory
[ 0.059143] Initializing cgroup subsys devices
[ 0.059143] Initializing cgroup subsys freezer
[ 0.059143] Initializing cgroup subsys blkio
[ 0.059173] Initializing cgroup subsys perf_event
[ 0.059234] CPU: Testing write buffer coherency: ok
[ 0.060272] devtmpfs: initialized
[ 0.079406] omap_hwmod: gfx: failed to hardreset
[ 0.095275] omap_hwmod: pruss: failed to hardreset
[ 0.095825] print_constraints: dummy:
[ 0.096038] NET: Registered protocol family 16
[ 0.097045] OMAP GPIO hardware version 0.1
[ 0.098022] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.099365] omap_i2c.1: alias fck already exists
[ 0.099670] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.099853] omap2_mcspi.1: alias fck already exists
[ 0.099945] omap2_mcspi.2: alias fck already exists
[ 0.100097] edma.0: alias fck already exists
[ 0.100097] edma.0: alias fck already exists
[ 0.100128] edma.0: alias fck already exists
[ 0.100219] cape: pcm register
[ 0.108612] bio: create slab <bio-0> at 0
[ 0.109649] SCSI subsystem initialized
[ 0.110412] usbcore: registered new interface driver usbfs
[ 0.110534] usbcore: registered new interface driver hub
[ 0.110687] usbcore: registered new device driver usb
[ 0.110809] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.110931] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.111328] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.112304] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.112823] Switching to clocksource gp timer
[ 0.134704] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.134887] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.135040] MUSB0 controller's USBSS revision = 4ea20800
[ 0.135467] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
[ 0.135711] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.135864] MUSB1 controller's USBSS revision = 4ea20800
[ 0.135955] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.136047] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.136169] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.136169] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.136199] usb usb1: Product: MUSB HDRC host driver
[ 0.136199] usb usb1: Manufacturer: Linux 3.2.32-psp25 musb-hcd
[ 0.136230] usb usb1: SerialNumber: musb-hdrc.1
[ 0.136840] hub 1-0:1.0: USB hub found
[ 0.136871] hub 1-0:1.0: 1 port detected
[ 0.137298] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
[ 0.137664] NET: Registered protocol family 2
[ 0.137847] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.138214] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.138366] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.138458] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.138488] TCP reno registered
[ 0.138488] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.138519] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.138763] NET: Registered protocol family 1
[ 0.139068] RPC: Registered named UNIX socket transport module.
[ 0.139068] RPC: Registered udp transport module.
[ 0.139099] RPC: Registered tcp transport module.
[ 0.139099] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.140655] audit: initializing netlink socket (disabled)
[ 0.140716] type=2000 audit(0.130:1): initialized
[ 0.142028] VFS: Disk quotas dquot_6.5.2
[ 0.142089] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.143157] msgmni has been set to 494
[ 0.144042] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.144134] io scheduler noop registered
[ 0.144134] io scheduler deadline registered
[ 0.144195] io scheduler cfq registered (default)
[ 0.145050] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.146301] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.768432] console [ttyO0] enabled
[ 0.772583] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.780334] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.788024] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.795745] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.803466] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.811279] [drm] Initialized drm 1.1.0 20060810
[ 0.817138] brd: module loaded
[ 0.823974] loop: module loaded
[ 0.827331] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.893096] No daughter card found
[ 0.896697] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.911865] Board config.name: A335BONE00A62712BB000768
[ 0.917327] Board name: A335BONE
[ 0.920684] Board version: 00A6
[ 0.923980] The board is a AM335x Beaglebone.
[ 0.929138] tps65217 1-0024: TPS65217 ID 0xf version 1.1
[ 0.936492] print_constraints: DCDC1: 900 <--> 1800 mV at 1800 mV
[ 0.944763] print_constraints: DCDC2: 900 <--> 3300 mV at 1275 mV
[ 0.952972] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV
[ 0.961212] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[ 0.969451] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[ 0.977600] print_constraints: LDO3: 1800 <--> 3300 mV at 3300 mV
[ 0.985839] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[ 0.992950] omap_i2c.3: alias fck already exists
[ 0.998077] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
[ 1.007263] at24 3-0054: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.037658] BeagleBone cape EEPROM: found eeprom at address 0x54
[ 1.043945] BeagleBone cape: Beagleboardtoys. BeagleBone AUDIO CAPE...........Beagleboardtoys., revision 00A0
[ 1.054290] BeagleBone cape partnumber: BB-BONE-AUDI-01.
[ 1.059814] BeagleBone cape: initializing audio cape
[ 1.065002] Beaglebone cape: mcasp0 init
[ 1.069213] davinci-mcasp.0: alias fck already exists
[ 1.074768] at24 3-0055: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.105072] BeagleBone cape EEPROM: found eeprom at address 0x55
[ 1.111328] BeagleBone cape: Beagleboardtoys. BeagleBone RS232 CAPE...........Beagleboardtoys., revision 00A1
[ 1.121673] BeagleBone cape partnumber: BB-BONE-SERL-03.
[ 1.127227] BeagleBone cape: initializing RS232 cape
[ 1.132415] BeagleBone RS232 cape: only uart2/ttyO2 is supported.
[ 1.138763] BeagleBone RS232 cape: Jumper J27 and J23.
[ 1.144195] at24 3-0056: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.203186] BeagleBone cape EEPROM: could not read eeprom at address 0x56
[ 1.210296] at24 3-0057: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.240600] BeagleBone cape EEPROM: found eeprom at address 0x57
[ 1.246887] BeagleBone cape: Beagleboardtoys. BeagleBone LCD7 CAPE............Beagleboardtoys., revision 00A2
[ 1.257232] BeagleBone cape partnumber: BB-BONE-LCD7-01.
[ 1.262756] BeagleBone cape: initializing LCD cape
[ 1.268127] da8xx_lcdc.0: alias fck already exists
[ 1.273406] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[ 1.291564] Console: switching to colour frame buffer device 100x30
[ 1.304992] BeagleBone cape: initializing LCD cape touchscreen
[ 1.311065] TSC connected to BeagleBone
[ 1.315399] BeagleBone cape: Registering PWM backlight for LCD cape
[ 1.321929] BeagleBone cape: Registering gpio-keys for LCD cape
[ 1.328399] BeagleBone cape: initializing mmc
[ 1.332855] omap_hsmmc.0: alias fck already exists
[ 1.338256] BeagleBone cape: initializing w1-gpio
[ 1.343292] w1-gpio connected to P8_6
[ 1.347503] SCSI Media Changer driver v0.25
[ 1.352264] CAN device driver interface
[ 1.356292] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.403289] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.409729] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 1.417175] davinci_mdio.0: probed
[ 1.420715] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
[ 1.429473] usbcore: registered new interface driver cdc_acm
[ 1.435394] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.443847] usbcore: registered new interface driver usblp
[ 1.449615] usbcore: registered new interface driver cdc_wdm
[ 1.455596] usbcore: registered new interface driver uas
[ 1.461120] Initializing USB Mass Storage driver...
[ 1.466339] usbcore: registered new interface driver usb-storage
[ 1.472595] USB Mass Storage support registered.
[ 1.477508] usbcore: registered new interface driver libusual
[ 1.483947] mousedev: PS/2 mouse device common for all mice
[ 1.490234] dev addr = cf1fe808
[ 1.493560] pdev addr = cf1fe800
[ 1.497314] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input0
[ 1.505279] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 1.512268] omap_rtc: already running
[ 1.516174] i2c /dev entries driver
[ 1.520172] Linux media interface: v0.10
[ 1.524383] Linux video capture interface: v2.00
[ 1.529205] Driver for 1-wire Dallas network protocol.
[ 1.535797] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.543548] cpuidle: using governor ladder
[ 1.547973] cpuidle: using governor menu
[ 1.554809] usbcore: registered new interface driver usbhid
[ 1.560607] usbhid: USB HID core driver
[ 1.566802] usbcore: registered new interface driver snd-usb-audio
[ 1.577209] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
[ 1.587646] ALSA device list:
[ 1.590759] #0: AM335X EVM
[ 1.594177] TCP cubic registered
[ 1.597564] Initializing XFRM netlink socket
[ 1.602020] NET: Registered protocol family 17
[ 1.606750] NET: Registered protocol family 15
[ 1.611389] can: controller area network core (rev 20090105 abi 8)
[ 1.617919] NET: Registered protocol family 29
[ 1.622558] can: raw protocol (rev 20090105)
[ 1.627075] Registering the dns_resolver key type
[ 1.632019] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.640045] ThumbEE CPU extension supported.
[ 1.644561] mux: Failed to setup hwmod io irq -22
[ 1.650146] Power Management for AM33XX family
[ 1.654998] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.661621] Copied the M3 firmware to UMEM
[ 1.670684] registered taskstats version 1
[ 1.675292] Detected MACID=d4:94:a1:99:9b:82
[ 1.681579] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 1.689086] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:38:44 UTC (946687124)
[ 1.698364] Waiting for root device /dev/mmcblk0p2...
[ 1.744140] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.754486] mmc0: new high speed SDHC card at address b368
[ 1.760711] mmcblk0: mmc0:b368 TF16G 14.8 GiB
[ 1.767089] mmcblk0: p1 p2
[ 1.826293] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.834869] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.844604] devtmpfs: mounted
[ 1.848083] Freeing init memory: 172K
INIT: version 2.88 booting



Best regards,
mcc



Andrew Bradford

unread,
Oct 29, 2012, 1:13:31 PM10/29/12
to beagl...@googlegroups.com, meino....@gmx.de
On Mon, 29 Oct 2012 18:05:58 +0100
meino....@gmx.de wrote:

> Andrew Bradford <and...@bradfordembedded.com> [12-10-29 16:23]:
> > On Mon, 29 Oct 2012 05:21:37 +0100
> > meino....@gmx.de wrote:
> >
> > > I took the u-boot.img and MLO from the angström distribution
> > > and tried to do some setting with the uEnv.txt file.
> > >
> > > None of the setting were available neither when u-boot is
> > > interrupted and printenv was used to proof the environment
> > > setting nor show cat /proc/cmdline any changes of the kernels
> > > commandline. "Reading uEnv.txt" (or similiar...dont remember
> > > exactly) was shown though.
> > >
> > > How can I make u-boot accept, read and use the setting in my
> > > uEnv.txt?
> >
> > A copy of your uEnv.txt and serial boot log would be awfully
> > helpful, here.
>
> uEnv.txt
> =========
>
> ip_method=none
> i2c_bus=2,400
> server_ip=192.168.178.21

What is the goal of these settings?
Where do you expect to find them used and for what purposes?

ip_method seems to be set to 'none' by the u-boot tree you're using as
the default. The other two, 'i2c_bus' and 'server_ip' don't seem to
appear to be useful in u-boot.
<snip>

meino....@gmx.de

unread,
Oct 29, 2012, 1:19:40 PM10/29/12
to beagl...@googlegroups.com
Andrew Bradford <and...@bradfordembedded.com> [12-10-29 18:16]:
> On Mon, 29 Oct 2012 18:05:58 +0100
> meino....@gmx.de wrote:
>
> > Andrew Bradford <and...@bradfordembedded.com> [12-10-29 16:23]:
> > > On Mon, 29 Oct 2012 05:21:37 +0100
> > > meino....@gmx.de wrote:
> > >
> > > > I took the u-boot.img and MLO from the angström distribution
> > > > and tried to do some setting with the uEnv.txt file.
> > > >
> > > > None of the setting were available neither when u-boot is
> > > > interrupted and printenv was used to proof the environment
> > > > setting nor show cat /proc/cmdline any changes of the kernels
> > > > commandline. "Reading uEnv.txt" (or similiar...dont remember
> > > > exactly) was shown though.
> > > >
> > > > How can I make u-boot accept, read and use the setting in my
> > > > uEnv.txt?
> > >
> > > A copy of your uEnv.txt and serial boot log would be awfully
> > > helpful, here.
> >
> > uEnv.txt
> > =========
> >
> > ip_method=none
> > i2c_bus=2,400
> > server_ip=192.168.178.21
>
> What is the goal of these settings?
> Where do you expect to find them used and for what purposes?

These are environmental variable from the point of view of u-boot,
Andrew.

I expect to see them after a printenv command from the "u-boot
shell".

The purpose and goal are irrelevant for u-boot.
> --
>
>

Robert Nelson

unread,
Oct 29, 2012, 1:35:09 PM10/29/12
to beagl...@googlegroups.com
Are you typing "printenv" before or after u-boot loads "uEnv.txt"...
As the one should expect, new variables introduced by "uEnv.txt"
shouldn't exist prior to loading "uEnv.txt"..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

meino....@gmx.de

unread,
Oct 29, 2012, 1:42:11 PM10/29/12
to beagl...@googlegroups.com
Robert Nelson <robert...@gmail.com> [12-10-29 18:36]:
Hi Robert,

I redone the experiment several times and you are right: It is before
uEnv.txt is read.
Is there any chance to proof that uEnv.txt is read from the later
userland?
May be cat /proc/cmdline?

Best regards,
mcc






> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
>
>

Robert Nelson

unread,
Oct 29, 2012, 2:05:12 PM10/29/12
to beagl...@googlegroups.com
> Hi Robert,
>
> I redone the experiment several times and you are right: It is before
> uEnv.txt is read.
> Is there any chance to proof that uEnv.txt is read from the later
> userland?
> May be cat /proc/cmdline?

Yeah, look at your "uEnv.txt" and put a "printenv; " right before the
bootm/bootz call..

Regards,

meino....@gmx.de

unread,
Oct 29, 2012, 3:02:06 PM10/29/12
to beagl...@googlegroups.com
Robert Nelson <robert...@gmail.com> [12-10-29 19:08]:
> --
>
>

Hi Robert,

before I brick my bone ... (I am no boot-guru...)

Where Do I have to do that?

Is this correct:
Reboot bone
Hit <SPACE> when U-Boot asks for it
Modify commands as described via setenv
run bootcmd

Is this correct?

Thank you very much for your help in advance!
Best regards,
mcc


Robert Nelson

unread,
Oct 29, 2012, 3:12:17 PM10/29/12
to beagl...@googlegroups.com
> before I brick my bone ... (I am no boot-guru...)
>
> Where Do I have to do that?
>
> Is this correct:
> Reboot bone
> Hit <SPACE> when U-Boot asks for it
> Modify commands as described via setenv
> run bootcmd
>
> Is this correct?

Nope it is not... You need to actually look in your "uEnv.txt" file...

Using (for reference only): http://elinux.org/BeagleBoardUbuntu#BeagleBone_2

I have set:

loaduimage=run xyz_mmcboot; run mmcargs; bootz 0x80300000
0x81600000:${initrd_size}

so i would change it to:

loaduimage=run xyz_mmcboot; run mmcargs; printenv; bootz 0x80300000
0x81600000:${initrd_size}

**Warning, if your uEnv.txt does not have something similar, then you
need to hit "printenv" first and actually figure out what variable
(probably loaduimage) you need to add to "uEnv.txt" and properly
modify with "printenv;"

meino....@gmx.de

unread,
Oct 29, 2012, 3:33:13 PM10/29/12
to beagl...@googlegroups.com
Robert Nelson <robert...@gmail.com> [12-10-29 20:16]:
> --
>
>

Hi Robert,

...got it!

Thanks a lot for your help! Will try it tommorrow morning...

Best regards,
mcc



meino....@gmx.de

unread,
Oct 30, 2012, 3:16:05 PM10/30/12
to beagl...@googlegroups.com
Robert Nelson <robert...@gmail.com> [12-10-29 20:16]:
> --
>
>

Hi Robert,

with your help and infos I could verify that uEnv.txt gets loaded and
"executed". Thats good news.

Thank you very much for help and support! :)

Best regards,
mcc



Reply all
Reply to author
Forward
0 new messages