]> git.baikalelectronics.ru Git - uboot.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)
commit1bba04f9c3b1e20999f205d7aa0aa42674b5806d
tree0d52288bc4298572fa2db76458a6d55eb95e788d
parent818eedfd4824cb9b5d7ac106b618fb9afdcb35a6
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]