[PATCH] scripts: rk-usb-loader: push header first
Sascha Hauer
s.hauer at pengutronix.de
Thu Mar 12 07:02:55 PDT 2026
On Wed, Mar 11, 2026 at 11:13:47AM +0100, 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.
I can add a comment. FWIW I found another project [1] for a rk-usb-loader
which does exactly the same.
[1] https://github.com/DualTachyon/rk3588-tools/blob/main/rk-usb.c#L117
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list