Hi,

On 6/25/26 10:36 AM, Liangbin Lian wrote:
Hi Quentin,

+CONFIG_LEGACY_IMAGE_FORMAT=y

Do you really need this?

I found `mkimage -A $INITRD_ARCH -O linux -T ramdisk -C gzip -n
uInitrd -d $2 $tempname` in the Armbian code [1], so
`CONFIG_LEGACY_IMAGE_FORMAT=y` should still be needed, right?

[1] 
https://github.com/armbian/build/blob/main/packages/bsp/common/etc/initramfs/post-update.d/99-uboot


Seems you could be right since they add it for a couple of boards defconfigs via patches, c.f. patch/u-boot/u-boot-genio/0003-GENIO-configs-genio-350-720-evk-Enable-LEGACY_IMAGE_.patch and patch/u-boot/u-boot-tqma/0005-add-LEGACY_IMAGE_FORMAT.patch.

So I guess it's "fine" (although you won't be able to do a proper secure boot with this enabled). So you can keep it in.

Thanks for the pointer!

Cheers,
Quentin

Reply via email to