[Buildroot] [PATCH RESEND] imx/genimage: Place the rootfs at a proper offset when BR2_LINUX_KERNEL_INSTALL_TARGET=y

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Nov 13 17:06:50 UTC 2021


On Sat, 13 Nov 2021 11:38:57 -0300
Fabio Estevam <festevam at gmail.com> wrote:

> Currently, when BR2_LINUX_KERNEL_INSTALL_TARGET=y is selected, issuing
> a "saveenv" command in the U-Boot prompt may lead to rootfs corruption.

I don't see the relationship between BR2_LINUX_KERNEL_INSTALL_TARGET=y
and changing the offset of the rootfs to avoid rootfs corruption.

All what BR2_LINUX_KERNEL_INSTALL_TARGET=y does it add the kernel image
into the /boot directory of the rootfs. It makes the rootfs larger for
sure, but it would still start at the same place.

Are you sure there's any relationship with
BR2_LINUX_KERNEL_INSTALL_TARGET=y here?

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list