Hi,
I know that, now the v5.15 kernel is about to be the primary kernel for S32G platform.
But when I compare the v5.15 and v5.10 kernels, there are different erasesize of qspi flash on RDB3,
With v5.10 kernel, the "cat /proc/mtd" command will show the following info:
root@nxp-s32g:~# cat /proc/mtd
dev: size erasesize name
mtd0: 04000000 00010000 "Flash-Image"
mtd1: 001e0000 00010000 "FIP"
mtd2: 00010000 00010000 "U-Boot-Env"
mtd3: 00e00000 00010000 "Kernel"
mtd4: 00100000 00010000 "DTB"
mtd5: 01f10000 00010000 "Rootfs"
mtd6: 01000000 00010000 "PFE-Firmware"
While, whit v5.15 kernel, there will be:
root@nxp-s32g:~# cat /proc/mtd
dev: size erasesize name
mtd0: 04000000 00001000 "Flash-Image"
mtd1: 001e0000 00001000 "FIP"
mtd2: 00010000 00001000 "U-Boot-Env"
mtd3: 00e00000 00001000 "Kernel"
mtd4: 00100000 00001000 "DTB"
mtd5: 01f10000 00001000 "Rootfs"
mtd6: 01000000 00001000 "PFE-Firmware"
This difference will cause the UBI file system mount failure with:
UBIFS error (ubi0:0 pid 2277): init_constants_early: too small LEBs (3968 bytes), min. is 15360 bytes
So would you please help to check the issue and give a workaround to fix it?
Thanks,
Zhantao