]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Support updating the dtb in an ELF file
authorSimon Glass <sjg@chromium.org>
Thu, 4 Nov 2021 03:09:18 +0000 (21:09 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 13 Nov 2021 15:16:39 +0000 (08:16 -0700)
commit5bcf20fc0157fe60e0bd79498ae3069d6678b5c7
tree90653898c45400120b54f2b32973e71df585b3ca
parent7ae173945ac0e0044ccf4a1c5e794dac4c6da725
binman: Support updating the dtb in an ELF file

WIth EFI we must embed the devicetree in an ELF image so that it is loaded
as part of the executable file. We want it to include the binman
definition in there also, which in some cases cannot be created until the
ELF (u-boot) is built. Add an option to binman to support writing the
updated dtb to the ELF file u-boot.out

This is useful with the EFI app, which is always packaged as an ELF file.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/cmdline.py
tools/binman/control.py
tools/binman/elf.py
tools/binman/ftest.py
tools/binman/test/Makefile
tools/binman/test/u_boot_binman_embed.c [new file with mode: 0644]
tools/binman/test/u_boot_binman_embed.lds [new file with mode: 0644]
tools/binman/test/u_boot_binman_embed_sm.c [new file with mode: 0644]