Scarthgap jffs2 image fails to mount
Hi All,
I'm using building a stock scarthgap core-image-minimal-zcu111-zynqmp.rootfs.jffs2 image and when I try to mount this on QSPI flash it fails to mount but I don't see this issue in landgale. Is this a known issue in Scarthgap release? How jffs2 images are tested in YP?
yocto-zcu111-zynqmp-2024:/home/petalinux# cat /proc/mtd dev: size erasesize name mtd0: 01e00000 00020000 "qspi-boot" mtd1: 00040000 00020000 "qspi-bootenv" mtd2: 03e80000 00020000 "qspi-kernel" mtd3: 00180000 00020000 "qspi-bootscr" mtd4: 0c000000 00020000 "jffs2" yocto-zcu111-zynqmp-2024:/home/petalinux# yocto-zcu111-zynqmp-2024:/home/petalinux# mount -t jffs2 /dev/mtdblock mtdblock0 mtdblock1 mtdblock2 mtdblock3 mtdblock4 yocto-zcu111-zynqmp-2024:/home/petalinux# mount -t jffs2 /dev/mtdblock4 /mnt [ 120.330795] jffs2: Magic bitmask is backwards at offset 0x00000000. Wrong endian filesystem? [ 120.339266] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x423e instead [ 120.348757] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0a03 instead [ 120.358301] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x38b1 instead [ 120.367797] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x6655 instead [ 120.377285] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0x6962 instead [ 120.386768] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000002c: 0x8519 instead [ 120.396245] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000034: 0x5034 instead [ 120.405725] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0xc31d instead [ 120.415202] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x1443 instead [ 120.424680] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000070: 0x7375 instead [ 120.434158] jffs2: Further such events for this erase block will not be printed [ 120.442136] jffs2: Empty flash at 0x00001ffc ends at 0x00002000 [ 120.448594] jffs2: Empty flash at 0x00003ffc ends at 0x00004000 [ 120.455191] jffs2: Empty flash at 0x00005ffc ends at 0x00006000 [ 120.461644] jffs2: Empty flash at 0x00007fdc ends at 0x00008000 [ 120.468237] jffs2: Empty flash at 0x00009ffc ends at 0x0000a000 [ 120.474720] jffs2: Empty flash at 0x0000bffc ends at 0x0000c000 [ 120.481305] jffs2: Empty flash at 0x0000dffc ends at 0x0000e000 [ 120.487760] jffs2: Empty flash at 0x0000fffc ends at 0x00010000 [ 120.494347] jffs2: Empty flash at 0x00011ffc ends at 0x00012000 [ 120.500808] jffs2: Empty flash at 0x00013ffc ends at 0x00014000 [ 120.507391] jffs2: Empty flash at 0x00015ffc ends at 0x00016000 [ 120.513851] jffs2: Empty flash at 0x00017ffc ends at 0x00018000 [ 120.520439] jffs2: Empty flash at 0x00019ffc ends at 0x0001a000 [ 120.526915] jffs2: Empty flash at 0x0001bffc ends at 0x0001c000 [ 120.533498] jffs2: Empty flash at 0x0001dffc ends at 0x0001e000 [ 120.540062] jffs2: Magic bitmask is backwards at offset 0x00020000. Wrong endian filesystem? [ 120.548507] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xe05b instead [ 120.557990] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x0201 instead [ 120.567469] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002002c: 0x0500 instead [ 120.576957] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020038: 0x0006 instead [ 120.586435] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002003c: 0x10f3 instead [ 120.595912] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020040: 0xd905 instead [ 120.605389] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020044: 0x5e78 instead [ 120.614868] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020048: 0x6050 instead [ 120.624351] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002004c: 0x6050 instead [ 120.633825] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020050: 0x6030 instead [ 120.643303] jffs2: Further such events for this erase block will not be printed
Thanks,
Sandeep