[PATCH 1/2] tools: mkimage: Add Amlogic Boot Image type
Ferass El Hafidi
funderscore at postmarketos.org
Sat Jan 4 13:06:07 CET 2025
Hi,
> Add support for creating an Amlogic Boot Image that pass CHK in BL1 on
> Amlogic AArch64 SoCs.
>
> Images can optionally be signed for secure boot scenario, however
> creation of signed images has not been implemented.
>
> Example of how to use it:
> # Create an amlogic boot image
> tools/mkimage -T amlimage -n gxbb -d u-boot-spl.bin u-boot-amlogic.bin
>
> # List boot image header information
> tools/mkimage -l u-boot-amlogic.bin
>
> # Extract amlogic boot image payload
> tools/dumpimage -T amlimage -o bl2-payload.bin u-boot-amlogic.bin
>
> Or with binman using something like:
> binman {
> u-boot-amlogic {
> filename = "u-boot-amlogic.bin";
> pad-byte = <0xff>;
>
> mkimage {
> filename = "bl2.bin";
> args = "-n", "gxbb", "-T", "amlimage";
>
> u-boot-spl {
> };
> };
> };
> };
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
> ---
Acked-by: Ferass El Hafidi <funderscore at postmarketos.org>
Thanks for sending those patches upstream :) I've been using them for a
while now, and they work nicely.
Cheers!
More information about the U-Boot
mailing list