[linux-yocto] [yocto-kernel-cache v6.1/v5.15]: nxp-s32g: disable the 4K sector setting for mtd device

2023-06-11 Thread Zhantao Tang via lists.yoctoproject.org
Hi Bruce,

The following patch is to disable the 4K sector setting for mtd device,
would you please help to merge it into yocto-6.1 and yocto-5.15 branches?

Thanks,
Zhantao

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



[linux-yocto] [PATCH] nxp-s32g: disable the 4K sector setting for mtd device

2023-06-11 Thread Zhantao Tang via lists.yoctoproject.org
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 
---
 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]
-=-=-=-=-=-=-=-=-=-=-=-