rockchip: make it possible to sign the u-boot.itb
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 posting 2/20 of 5 patches 0 repliesNew
- v4 Latest6 patches 0 repliesNew
- v3 posting 1/25 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 7 patches | 0 replies | Superseded | |
| v1 | 7 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- add patch to fix the always defined U_BOOT_ITS in Makefile
- adapt Rockchip make_fit_atf to both python2+3 caused by the different crypto-implementations
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | imx: mkimage_fit_atf: Fix FIT image if BL31.bin missingarch/ | +2 | 0 replies | |
| 2/6 | mkimage: fit_image: handle multiple errors when writing signaturestools/ | +1 | 0 replies | |
| 3/6 | spl: fit: dont set U_BOOT_ITS var if not build SPL_FIT supportMakefile | +2 | 0 replies | |
| 4/6 | spl: fit: enable signing a generated u-boot.itbKconfig Makefile | +18 | 0 replies | |
| 5/6 | spl: fit: add Kconfig option to specify key-hint for fit_generatorKconfig doc/ | +21 | 0 replies | |
| 6/6 | rockchip: make_fit_atf: add signature handlingarch/ | +56 | 4 replies | |
| 6/6 | rockchip: make_fit_atf: add signature handling | +0 | 1 reply |
Reviews trailers per patch
4 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Peng Fan | Simon Glass | Philipp Tomsich |
|---|---|---|---|
| 1/6 | R-b | ||
| 2/6 | R-b | ||
| 3/6 | |||
| 4/6 | R-b | R-b | |
| 5/6 | R-b | ||
| 6/6 | |||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/6] rockchip: make it possible to sign the u-boot.itb
From: Heiko Stuebner <[email protected]>
This series makes it possible to sign a generated u-boot.itb automatically even if the its-source got created by a generator script.
To let the SPL know about the key, the -K option for mkimage points to the dts/dt-spl.dtb which can then get included into the spl binary.
Tested on Rockchip PX30 with a TPL -> SPL -> U-Boot.itb bootchain.
I've split out the the rsa/crypto fixes into a separate series starting at [0].
Simon asked for fit_image_write_sig() to always return an errno code, never an FDT code and suggested that this could be a follow-on patch. So I've kept code that way and will provide a follow up series to convert the return code handling.
[0] https://patchwork.ozlabs.org/project/uboot/patch/20200522141937.3523692-1-heiko at sntech.de/
changes in v4:
- add patch to fix the always defined U_BOOT_ITS in Makefile
- adapt Rockchip make_fit_atf to both python2+3 caused by the different crypto-implementations
changes in v3:
- add patch to fix imx make_fit_atf.sh error handling
- split out rsa fixes into separate series
changes in v2.1:
- depend on $(CONFIG_SPL_FIT_SIGNATURE)$(U_BOOT_ITS) instead of only $(CONFIG_SPL_FIT_GENERATOR)
changes in v2:
- add received reviews
- fix commit message typo
- add doc snippet explaining CONFIG_SPL_FIT_GENERATOR_KEY_HINT
Heiko Stuebner (6):
imx: mkimage_fit_atf: Fix FIT image if BL31.bin missing
mkimage: fit_image: handle multiple errors when writing signatures
spl: fit: dont set U_BOOT_ITS var if not build SPL_FIT support
spl: fit: enable signing a generated u-boot.itb
spl: fit: add Kconfig option to specify key-hint for fit_generator
rockchip: make_fit_atf: add signature handling
Kconfig | 16 ++++++++ Makefile | 13 +++++- arch/arm/mach-imx/mkimage_fit_atf.sh | 4 +- arch/arm/mach-rockchip/make_fit_atf.py | 57 +++++++++++++++++++++++++- doc/uImage.FIT/howto.txt | 13 ++++++ tools/image-host.c | 2 +- 6 files changed, 100 insertions(+), 5 deletions(-)
Signature · 1 line
2.26.2