[PATCH 0/5] scripts: rockchip: fix and cleanup rkimage
Michael Tretter
m.tretter at pengutronix.de
Thu Jul 31 03:48:20 PDT 2025
This series prepares the Rockchip tooling for creating and handling
signed images. The patch series for adding code to sign the images will
follow as a second step.
Fix the wrong size when calculating the hash over the image header.
Rename the hashtype field in the header to flags, because there are
other flags in this field, too. Extend the rk-usb-loader to accept
signed images and load signed images to a board via USB.
Signed-off-by: Michael Tretter <m.tretter at pengutronix.de>
---
Michael Tretter (5):
scripts: rockchip: use correct header size
scripts: rockchip: add helper for updating hash
scripts: rockchip: rename hashtype to flags
scripts: rockchip: rename NEWIDB_MAGIC to NEWIDB_MAGIC_RKNS
scripts: rockchip: support RKSS images
scripts/rk-usb-loader.c | 7 ++++---
scripts/rkimage.c | 24 ++++++++++++++++--------
scripts/rockchip.h | 8 ++++++--
3 files changed, 26 insertions(+), 13 deletions(-)
---
base-commit: 89bf1fcc998fc5fea0ce613d9930dd9ee39c0fb2
change-id: 20250731-rkimage-cleanup-611572232b66
Best regards,
--
Michael Tretter <m.tretter at pengutronix.de>
More information about the barebox
mailing list