binman: Show missing blob message when building U-Boot
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v2 from the cover letter
- Drop merged patches.
- Add patches to improve help text.
- Add tests.
- Collect r-b tags.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | binman: Update tee-os missing blob help texttools/ | +1 | 2 replies | |
| 2/7 | binman: Update missing optional external blob warning texttools/ tools/ | +2 | 2 replies | |
| 3/7 | binman: Report missing external blobs using error leveltools/ | +9 | 2 replies | |
| 4/7 | binman: Override CheckOptional in fit entrytools/ tools/ tools/ | +15 | 1 reply | |
| 5/7 | binman: Fix blank line usage for invalid images warning texttools/ | +7 | 2 replies | |
| 6/7 | binman: Show filename in missing blob help messagetools/ tools/ | +12 | 1 reply | |
| 7/7 | Makefile: Show binman missing blob messageMakefile | +1 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/7 | R-b R-b |
| 2/7 | R-b |
| 3/7 | R-b R-b |
| 4/7 | R-b R-b |
| 5/7 | R-b |
| 6/7 | R-b R-b |
| 7/7 | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] binman: Show missing blob message when building U-Boot
binman currently support showing a helpful missing blob message, however only when the badly named --allow-missing flag is used.
This changes so that binman is invoked with the --allow-missing flag and the helpful message can be shown by default when building U-Boot.
Using the following:
make rockpro64-rk3399_defconfig
make CROSS_COMPILE="aarch64-linux-gnu-"
Before this series a build fails with:
binman: Filename 'atf-bl31' not found in input path (...)
After this series a build fails with:
Image 'simple-bin' is missing external blobs and is non-functional: atf-bl31
/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31 (atf-bl31):
See the documentation for your board. You may need to build ARM Trusted Firmware and build with BL31=/path/to/bl31.bin
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
Some images are invalid
Builds will continue to fail when there is missing blobs, and the use of BINMAN_ALLOW_MISSING=1 now only enables the --ignore-missing flag.
Changes in v2:
- Drop merged patches.
- Add patches to improve help text.
- Add tests.
- Collect r-b tags.
In v1 there was discussion regarding the name of binman --ignore-missing flag, see [1]. The flag is kept as-is in v2 and a rename or change of default behavior is something that someone can do in a follow up series.
The series is based on top of Simon's "binman: Simple templating feature and mkimage conversion" v5 series. This series can also be found at [2].
[1] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[2] https://github.com/Kwiboo/u-boot-rockchip/commits/binman-missing-v2
Jonas Karlman (7):
binman: Update tee-os missing blob help text
binman: Update missing optional external blob warning text
binman: Report missing external blobs using error level
binman: Override CheckOptional in fit entry
binman: Fix blank line usage for invalid images warning text
binman: Show filename in missing blob help message
Makefile: Show binman missing blob message
Makefile | 2 +- tools/binman/control.py | 34 +++++++++++++++--------- tools/binman/etype/fit.py | 7 +++++ tools/binman/ftest.py | 11 +++++++- tools/binman/missing-blob-help | 2 +- tools/binman/test/264_tee_os_opt_fit.dts | 1 + 6 files changed, 41 insertions(+), 16 deletions(-)
Signature · 1 line
2.41.0