]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Support positioning an entry by and ELF symbol
authorSimon Glass <sjg@chromium.org>
Wed, 11 Jan 2023 23:10:19 +0000 (16:10 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 21:55:41 +0000 (14:55 -0700)
commit571bc4e67d39e4c376f8bab0d6518ab5ee832d9e
tree0d52288bc4298572fa2db76458a6d55eb95e788d
parent8f5afe21aed8b8ed4d75678a4e8972e7d8a23a6b
binman: Support positioning an entry by and ELF symbol

In some cases it is useful to position an entry over the top of a symbol
in an ELF file. For example, if the symbol holds a version string then it
allows the string to be accessed from the fdtmap.

Add support for this.

Suggested-by: Pali Rohár <pali@kernel.org>
Suggested-by: Keith Short <keithshort@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/elf.py
tools/binman/entry.py
tools/binman/ftest.py
tools/binman/test/274_offset_from_elf.dts [new file with mode: 0644]