Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 07:47:07 -0800
From:      Tim Kientzle <tim@kientzle.com>
To:        Pete Wright <pete@nomadlogic.org>
Cc:        freebsd-arm ml <freebsd-arm@freebsd.org>
Subject:   Re: bootelf required?
Message-ID:  <126C1F80-FDB6-40D0-B5F4-ED3EBC723A85@kientzle.com>
In-Reply-To: <53111985.2010004@nomadlogic.org>
References:  <53111985.2010004@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 28, 2014, at 3:19 PM, Pete Wright <pete@nomadlogic.org> wrote:

> hey there - i'm hacking on a utilite arm9 box and am running into an
> issue.  the stock boot environment does not seem to include the
> "bootelf" command.
> 
> looking at the "uEnv.txt" file generated by corchet-freebsd i have the
> following:
>> cat uEnv.txt
> uenvcmd=fatload mmc 0:1 88000000 ubldr;bootelf 88000000;
> 
> 
> unfortunately it does not look like the uboot environment on this system
> contains bootelf:
> 
> CM-FX6 # bootelf
> Unknown command 'bootelf' - try 'help'
> CM-FX6 # boot
>  bootm boot bootd bootz bootp
> 
> 
> is bootelf a hard requirement for our environment?
>  alternatively - is
> there a way to run an alternative bootloader that supports bootelf?


If you can recompile U-Boot, then it's easy to add bootelf
support.

If your board has U-Boot in ROM where it can't be replaced,
you might be able to use that to chain-load a more capable
U-Boot that can then bootelf the ubldr.  (FreeBSD on RPi
does something similar.)

Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?126C1F80-FDB6-40D0-B5F4-ED3EBC723A85>