[RFC 0/2] Do not stop with an error when mkimage fails

Heiko Thiery heiko.thiery at gmail.com
Thu Nov 4 19:52:30 CET 2021


While converting to binman for an imx8mq board, it has been found that
building in the u-boot CI fails. This is because an imx8mq requires an
external binary (signed_hdmi_imx8m.bin). If this file cannot be found
mkimage fails. To work around the problem the exception is caught, an
error message is printed and binman continues.

Heiko Thiery (2):
  patman: introduce RunException
  binman: catch RunException for mkimage runtime failure

 tools/binman/etype/mkimage.py |  8 +++++++-
 tools/patman/tools.py         | 16 +++++++++++++---
 2 files changed, 20 insertions(+), 4 deletions(-)

-- 
2.30.2



More information about the U-Boot mailing list