The new version of e2fsprogs, 1.43, adds a new filesystem feature, metadata_csum, which requires Linux 3.6+. We only have 3.0.101 for i9300 so mounting the root filesystem fails with:
EXT4-fs (loop2): couldn't mount RDWR because of unsupported optional features (400) We add a new option to the image creation's mkfs.ext4 command to disable metadata_csum. Signed-off-by: Bob Ham <bob....@collabora.com> --- meta-samsung/conf/machine/i9300.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-samsung/conf/machine/i9300.conf b/meta-samsung/conf/machine/i9300.conf index ea8c35d..98d23ff 100644 --- a/meta-samsung/conf/machine/i9300.conf +++ b/meta-samsung/conf/machine/i9300.conf @@ -25,6 +25,12 @@ KERNEL_IMAGETYPE = "zImage" IMAGE_FSTYPES += "ext4" IMAGE_ROOTFS_EXTRA_SPACE = "200000" +# e2fsprogs 1.43 enables the metadata_csum feature for ext4, requiring +# Linux 3.6+ which we don't have. See: +# https://ext4.wiki.kernel.org/index.php/Ext4_Metadata_Checksums +EXTRA_IMAGECMD_ext4_append = " -O ^metadata_csum" + + SERIAL_CONSOLES = "115200;ttySAC2" require conf/machine/include/tune-cortexa9.inc -- 2.1.4 _______________________________________________ Shr-devel mailing list Shr-devel@lists.shr-project.org http://lists.shr-project.org/mailman/listinfo/shr-devel