configs/stm32mp157c_dk2: disable ext4 metadata_csum option
authorBartosz Bilas <b.bilas@grinn-global.com>
Sun, 3 Nov 2019 11:50:16 +0000 (12:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 1 Jan 2020 16:17:18 +0000 (17:17 +0100)
The U-Boot ext4 write support doesn't work with the metadata_csum
option, and the stm32mp157 U-Boot defconfig uses an environment stored
in an ext4 filesystem, so we must create the ext4 root filesystem
without the metadata_csum option enabled.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
[Thomas: only disable the metadata_csum option, the 64bit and
dir_index options can be kept enabled]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
configs/stm32mp157c_dk2_defconfig

index a1e61d752d0e30bc0006d525da9bf3c7609e3b05..7e5db3caa99f086f9cde149321ced07260758a32 100644 (file)
@@ -16,6 +16,7 @@ BR2_LINUX_KERNEL_INSTALL_TARGET=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O ^metadata_csum"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y