]> git.baikalelectronics.ru Git - uboot.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)
commit70b96ca1519344644a4cf2893af0b60a21db6c2d
treedd7aaa2a161f2f5be5d9a7c52e2306f51bdfe1ed
parenta63ecc16aead4fc1026fbbd8131ec0077f52a196
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]