Home
last modified time | relevance | path

Searched hist:cbca032016b0cfad1527abbe05c3696c32834ba5 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/
H A DMakefilecbca032016b0cfad1527abbe05c3696c32834ba5 Wed Mar 13 08:46:45 UTC 2019 Stefano Babic <sbabic@denx.de> Add target to generate initial environment

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@denx.de>
(cherry picked from commit bdaa73a5b3923257add182b4ab8058dbfa33421b)

Change-Id: I0968346510f814a12cb357c40c7785473a7aabfc
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>