[PATCH] scripts: rk-usb-loader: push header first

Robin van der Gracht robin at protonic.nl
Thu Mar 12 01:29:58 PDT 2026


Hi Michael,

On 3/11/26 11:13, Michael Tretter wrote:
> On Wed, 11 Mar 2026 11:03:47 +0100, Sascha Hauer wrote:
>> From: Michael Tretter <m.tretter at pengutronix.de>
>>
>> Board that have secure boot enabled need the image header to be able
>> to verify the signature. Boards with secure boot disabled still work
>> with this patch as tested on a RK3588 board.
> I'm not against adding this to the rk-usb-loader, but maybe add some
> comment that this change is based on a wild guess and works by chance. I
> still don't know, how the ROM code or the USB protocol works and if it
> is really correct or necessary to send the entire header.
Right, add it to the list ;)

I already have this change to my repo so I think its great that this 
gets mainlined.

Tested-By: Robin van der Gracht <robin.van.der.gracht at protonic.nl>

- Robin



More information about the barebox mailing list