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

Tom Rini trini at ti.com
Mon Apr 23 19:14:46 CEST 2012


On Mon, Apr 23, 2012 at 09:22:22AM -0700, Tom Warren wrote:
> Stephen,
> 
> On Fri, Apr 20, 2012 at 2:40 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> > On 04/20/2012 01:50 PM, Tom Warren wrote:
> >> This set of boot cmds from Stephen Warren provides a simple
> >> default for booting a linux kernel and DT from mmc (eMMC or
> >> SD-Card, in that order). Tested on Seaboard w/an SD card.
> > ...
> >> diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h
> > ...
> >> ?#define CONFIG_EXTRA_ENV_SETTINGS \
> > ...
> >> + ? ? "script=/boot.scr.uimg\0" \
> >
> > It might be best to make that just /boot.scr. The reason being that I
> > looked at the Ubuntu Precise images for OMAP, and they don't have
> > ".uimg" in the filename, even though they're uImage files. It's probably
> > best to be consistent with the Ubuntu images given the only other
> > precedent is what I do locally, which can easily be adjusted.
> 
> I'll change it to /boot.scr, but do we have any stats on other/more
> distros and what they use?

Can I suggest that instead of using boot.scr files we just use a text
file that can be imported to the environment and a command run?  The
omap3_beagle example (uEnv.txt + uenvcmd) is something I plan to
propogate to more TI boards and I think it'd be good if we picked it up
on other SoCs.  Or came up with a better plan for everyone :)  The main
benefit of uEnv.txt over boot.scr is that it's now plain text, rather
than text that needs to be mkimage'd at each change.

-- 
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/1741a6db/attachment.pgp>


More information about the U-Boot mailing list