From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 23 Apr 2012 10:14:46 -0700 Subject: [U-Boot] [PATCH] arm: Tegra2: Add a useful default boot env In-Reply-To: References: <1334951458-31987-1-git-send-email-twarren@nvidia.com> <4F91D7DA.80506@wwwdotorg.org> Message-ID: <20120423171446.GB31450@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: