]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Support new op-tee binary format
authorSimon Glass <sjg@chromium.org>
Sat, 7 Jan 2023 21:07:14 +0000 (14:07 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 18:50:01 +0000 (11:50 -0700)
commit2f80c5ef134c2c339f6d4ad2f9a21aa0ffd465a8
treedd7aaa2a161f2f5be5d9a7c52e2306f51bdfe1ed
parent39f4a85bb2dd5915ebc86921c34da26faa278fec
binman: Support new op-tee binary format

OP-TEE has a format with a binary header that can be used instead of the
ELF file. With newer versions of OP-TEE this may be required on some
platforms.

Add support for this in binman. First, add a method to obtain the ELF
sections from an entry, then use that in the FIT support. We then end up
with the ability to support both types of OP-TEE files, depending on which
one is passed in with the entry argument (TEE=xxx in the U-Boot build).

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/entries.rst
tools/binman/entry.py
tools/binman/etype/fit.py
tools/binman/etype/section.py
tools/binman/etype/tee_os.py
tools/binman/ftest.py
tools/binman/test/263_tee_os_opt.dts [new file with mode: 0644]
tools/binman/test/264_tee_os_opt_fit.dts [new file with mode: 0644]
tools/binman/test/265_tee_os_opt_fit_bad.dts [new file with mode: 0644]