[U-Boot] [U-Boot, 01/34] Add target to generate initial environment

Tom Rini trini at konsulko.com
Wed Apr 24 13:23:01 UTC 2019


On Wed, Mar 13, 2019 at 09:46:45AM +0100, Stefano Babic wrote:

> The initial environment is linked to the u-boot binary. Modifying the
> environment from User Space with the env tools requires that the tools
> are always built together with the bootloader to be sure that they
> contain the initial environment in case no environment is stored into
> persistent storage or when a board boots with just the default
> environment. This makes difficult for distros to provide a general
> package to access the environment. A simpler way is if the tools are
> generic for all boards and a configuration file is given to provide the
> initial environment.
> 
> The patch just generates the initial environment by extracting it from
> the compiled object. This file can then be used for tools in user space
> to initialize the environment.
> 
> Signed-off-by: Stefano Babic <sbabic at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190424/ef8b92c8/attachment.sig>


More information about the U-Boot mailing list