[PATCH 1/5] Nokia RX-51: Fix invalidating zImage kernel format

Tom Rini trini at konsulko.com
Sun Aug 21 01:01:19 CEST 2022


On Thu, Aug 11, 2022 at 10:27:21PM +0200, Pali Rohár wrote:

> Prior starting copy of kernel image to target location, invalidate also
> zImage magic header. This ensures that on target location would be image
> with valid header only in the case valid header was also in the source
> location and copy from source to target finished successfully. Copy is
> always skipped when kernel image in source location is invalid.
> 
> Add also comment to the code which explain what is the code doing.
> 
> Fixes: cc434fccba4c ("Nokia RX-51: Add support for booting kernel in zImage format")
> Signed-off-by: Pali Rohár <pali at kernel.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220820/640253cc/attachment.sig>


More information about the U-Boot mailing list