]> git.baikalelectronics.ru Git - uboot.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)
commitc92d0be5dbb4838edf0bee63eaee9e698b1b01bf
treee3b99d14cf116cdcb1c45581500486ec306ead18
parent146860aea19d727d693cf9058b545f6808c319de
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]