[PATCH 0/6] rockchip: mkimage: Improve support for v2 image format

Jonas Karlman jonas at kwiboo.se
Wed Jan 29 23:36:26 CET 2025


The Rockchip idblock v2 image format header embeds much more information
than the older format. E.g. it can embed up to 4 images that the BootROM
can load, image load address, flag, checksum and more.

This series improves mkimage with support for some of these features of
the v2 image format. Features that are likely to be needed to have
working SD-card boot on RK3576.

Jonas Karlman (6):
  rockchip: mkimage: Split size_and_off and size_and_nimage
  rockchip: mkimage: Print image information for all embedded images
  rockchip: mkimage: Print boot0 and boot1 parameters
  rockchip: mkimage: Add option to change image offset alignment
  rockchip: mkimage: Add support for up to 4 input files
  rockchip: mkimage: Add option for image load address and flag

 tools/rkcommon.c | 268 +++++++++++++++++++++++++++++------------------
 tools/rkcommon.h |   2 -
 2 files changed, 166 insertions(+), 104 deletions(-)

-- 
2.48.1



More information about the U-Boot mailing list