The config MTD_SPI_NOR_USE_4K_SECTORS is to "Use small 4096 B erase sectors",
but for UBI file system, the 4096 erase size is too small, and will cause the
UBI file system attaches failure, so disable this config to compatible with
UBI file system.

Signed-off-by: Zhantao Tang <zhantao.t...@windriver.com>
---
 bsp/nxp-s32g/nxp-s32g.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bsp/nxp-s32g/nxp-s32g.cfg b/bsp/nxp-s32g/nxp-s32g.cfg
index c97eaeed..c7f1e430 100644
--- a/bsp/nxp-s32g/nxp-s32g.cfg
+++ b/bsp/nxp-s32g/nxp-s32g.cfg
@@ -108,6 +108,8 @@ CONFIG_MTD_PHYSMAP=y
 CONFIG_MTD_PHYSMAP_OF=y
 CONFIG_MTD_DATAFLASH=y
 CONFIG_MTD_SPI_NOR=y
+# In order to support UBI filesystem
+# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
 
 CONFIG_INPUT_EVDEV=y
 CONFIG_INPUT_MISC=y
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12738): 
https://lists.yoctoproject.org/g/linux-yocto/message/12738
Mute This Topic: https://lists.yoctoproject.org/mt/99477481/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to