From: Tom Rini Date: Wed, 24 Apr 2019 09:23:01 -0400 Subject: [U-Boot] [U-Boot, 01/34] Add target to generate initial environment In-Reply-To: <20190313084645.4009-1-sbabic@denx.de> References: <20190313084645.4009-1-sbabic@denx.de> Message-ID: <20190424132301.GX31207@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, 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 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: