]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Support splitting an ELF file into multiple nodes
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:19:12 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
commit3e929c2427044d68b05afb01a0b7fcd7d34d9e5e
tree4cedab938048e4ccf96def0d56e955e5798064b4
parented4b87c4f10fd32b79c625ab77db1418948cdfbf
binman: Support splitting an ELF file into multiple nodes

Some boards need to load an ELF file using the 'loadables' property, but
the file has segments at different memory addresses. This means that it
cannot be supplied as a flat binary.

Allow generating a separate node in the FIT for each segment in the ELF,
with a different load address for each.

Also add checks that the fit,xxx directives are valid.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/entries.rst
tools/binman/etype/fit.py
tools/binman/ftest.py
tools/binman/test/226_fit_split_elf.dts [new file with mode: 0644]
tools/binman/test/227_fit_bad_dir.dts [new file with mode: 0644]
tools/binman/test/228_fit_bad_dir_config.dts [new file with mode: 0644]