]> git.dujemihanovic.xyz Git - u-boot.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)
commit40c8bdd87e3baa44314720d0d51d90c41e633ca3
tree4cedab938048e4ccf96def0d56e955e5798064b4
parent2337eca283e8be9423aa0391a2b835c254efcc2c
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]