]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Add support for generating a FIT
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:39:45 +0000 (18:39 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commita74e667a93ce3ea35189cd6a9a24bfc531632052
tree7a7a659dfd0329bf9b55bf95e0d5877bf319a1a2
parent4c107b057f700eb40ee5eb2be5f054dde1efa72f
binman: Add support for generating a FIT

FIT (Flat Image Tree) is the main image format used by U-Boot. In some
cases scripts are used to create FITs within the U-Boot build system. This
is not ideal for various reasons:

- Each architecture has its own slightly different script
- There are no tests
- Some are written in shell, some in Python

To help address this, add support for FIT generation to binman. This works
by putting the FIT source directly in the binman definition, with the
ability to adjust parameters, etc. The contents of each FIT image come
from sub-entries of the image, as is normal with binman.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/README.entries
tools/binman/etype/fit.py [new file with mode: 0644]
tools/binman/ftest.py
tools/binman/test/161_fit.dts [new file with mode: 0644]
tools/binman/test/162_fit_external.dts [new file with mode: 0644]