]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Support adding a U-Boot environment
authorSimon Glass <sjg@chromium.org>
Sun, 6 Sep 2020 16:35:33 +0000 (10:35 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:28 +0000 (11:27 +0800)
commitfb91d5675edf9a45141b69740f10979e221dd72e
treee3b99d14cf116cdcb1c45581500486ec306ead18
parent204aa78e04a290c6836bdb29ba466b9cdfcec3ea
binman: Support adding a U-Boot environment

In some cases it is useful to include a U-Boot environment region in an
image. This allows the board to start up with an environment ready to go.

Add a new entry type for this. The input is a text file containing the
environment entries, one per line, in the format:

   var=value

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
tools/binman/etype/u_boot_env.py [new file with mode: 0644]
tools/binman/ftest.py
tools/binman/test/174_env.dts [new file with mode: 0644]
tools/binman/test/175_env_no_size.dts [new file with mode: 0644]
tools/binman/test/176_env_too_small.dts [new file with mode: 0644]