]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Override CheckOptional in fit entry
authorJonas Karlman <jonas@kwiboo.se>
Tue, 18 Jul 2023 20:34:36 +0000 (20:34 +0000)
committerSimon Glass <sjg@chromium.org>
Wed, 2 Aug 2023 18:05:57 +0000 (12:05 -0600)
commit49dcd1c0bb428904c0cfc76fb5c031853ffe9bcc
tree6e647bb8eac31ce644eaac783b332c6b9b47b43c
parentd92c4dd27dd0f155040fce5ba96f8f2d93c4fa24
binman: Override CheckOptional in fit entry

Missing optional blobs was not reported for generated entries, e.g.
tee-os on rockchip targets. Implement a CheckOptional to fix this.

After this the following can be shown:

  Image 'simple-bin' is missing optional external blobs but is still functional: tee-os

  /binman/simple-bin/fit/images/@tee-SEQ/tee-os (tee-os):
     See the documentation for your board. You may need to build Open Portable
     Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/fit.py
tools/binman/ftest.py
tools/binman/test/264_tee_os_opt_fit.dts