From: Tom Rini Date: Fri, 23 May 2014 19:50:49 -0400 Subject: [U-Boot] [U-Boot, v2, 1/9] omap: overo: allow the use of a plain text env file instead boot scripts In-Reply-To: <1400706295-31871-2-git-send-email-ashcharles@gmail.com> References: <1400706295-31871-2-git-send-email-ashcharles@gmail.com> Message-ID: <20140523235049.GK1752@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 Wed, May 21, 2014 at 02:04:47PM -0700, Ash Charles wrote: > Adapted from d70f5480 described below. > > commit d70f54808dfa83b574e1239c3eccbcf3317343e1 > Author: Javier Martinez Canillas > Date: Mon Jan 7 03:51:20 2013 +0000 > > omap4: allow the use of a plain text env file instead boot scripts > > For production systems it is better to use script images since > they are protected by checksums and carry valuable information like > name and timestamp. Also, you can't validate the content passed to > env import. > > But for development, it is easier to use the env import command and > plain text files instead of script-images. > > Since both OMAP4 supported boards (Panda and TI SDP4430) are used > primarily for development, this patch allows U-Boot to load env var > from a text file in case that an boot.scr script-image is not present. > > The variable uenvcmd (if existent) will be executed (using run) after > uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence > will be started. > > Signed-off-by: Javier Martinez Canillas > Acked-by: Nishanth Menon > > Signed-off-by: Peter A. Bigot > Tested-by: Ash Charles Applied to u-boot-ti/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: