mbox series

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

Message ID 20250129223641.1888833-1-jonas@kwiboo.se
Headers show
Series rockchip: mkimage: Improve support for v2 image format | expand

Message

Jonas Karlman Jan. 29, 2025, 10:36 p.m. UTC
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(-)

Comments

Kever Yang May 6, 2025, 7:38 a.m. UTC | #1
Hi Jonas,

     Do you have a new version for this patch set?

     The main change in this patch set looks good to me and it needs for 
rk3576 which has land for next release.


Thanks,

- Kever

On 2025/1/30 06:36, Jonas Karlman wrote:
> 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(-)
>