[U-Boot] [PATCH] arm: Tegra2: Add a useful default boot env

Tom Rini trini at ti.com
Mon Apr 23 19:47:13 CEST 2012


On Mon, Apr 23, 2012 at 11:39:30AM -0600, Stephen Warren wrote:

[snip]
> TomR, is there a reason OMAP3 uses FAT for /boot rather than ext2?
> Perhaps it's due to the need to load intermediate boot loaders from the
> filesystem, and that code needs FAT? On Tegra, we jump straight to
> U-Boot from the boot ROM without the need for intermediate filesystem
> access, and could make /boot ext2 - do you see any reason not to do this?

Correct.  Our ROMs will read FAT looking for 'MLO' (which is u-boot-spl
these days) and that loads U-Boot.  It can also raw read the card.  The
other reason for having the first partition be FAT by default is ease of
replacement since everything can read/write FAT but ext2/3/4 is limited
(largely/easily...) to Linux.  Distro do change this behavior and
Angstrom for example changes to ext2load (or ext4load) from /boot.

And I don't think omap3_beagle is perfect just yet.  I really want to
switch to the whole env being a file on the SD card, but I can't easily
do that until we can tell at run time if we're on beagleboard classic or
xM (which we can now) and then change where the environment is (we can't
do that yet, but perhaps soon).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120423/16690186/attachment.pgp>


More information about the U-Boot mailing list