The Rockchip signed image has the same header format as the unsigned image, but uses a different magic.
In order to be able do boot and update signed images, barebox has to accept the magic of the signed images. Extend the bootm and bbu handlers to accept signed images. Signed-off-by: Michael Tretter <[email protected]> --- Michael Tretter (4): filetype: detect Rockchip signed images ARM: rockchip: bbu: accept signed images ARM: rockchip: bootm: don't propagate error from register_image_handler ARM: rockchip: bootm: accept signed images arch/arm/mach-rockchip/bbu.c | 8 ++++---- arch/arm/mach-rockchip/bootm.c | 11 ++++++++++- common/filetype.c | 4 ++++ include/filetype.h | 1 + 4 files changed, 19 insertions(+), 5 deletions(-) --- base-commit: c23f4202a0abd964a5d0a2ac7b1e7bcf28a1d687 change-id: 20250820-rkimage-signed-c5278283d49b Best regards, -- Michael Tretter <[email protected]>
