arm64: defconfig: add JFFS FS support in defconfig
PATCH v2 1/1 arm64: defconfig: add JFFS FS support in defconfig
This patch adds JFFS2 FS support and remove QSPI Sector 4K size force in the default defconfig
---
v2: disable CONFIG_MTD_SPI_NOR_USE_4K_SECTORS using the correct syntax
--- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
@@ -860,3 +860,5 @@ CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_PREEMPT is not set # CONFIG_FTRACE is not set CONFIG_MEMTEST=y +CONFIG_JFFS2_FS=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
Signature · 1 line
1.9.1
Quoted 16 lines · Joyce
This patch adds JFFS2 FS support and remove QSPI Sector 4K size force in the default defconfig
Signed-off-by Ooi, Joyce <[email protected]>---
v2: disableCONFIG_MTD_SPI_NOR_USE_4K_SECTORSusing the correct syntax--- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/configs/defconfig +0
-0
arch/arm64/configs/defconfig CONFIG_DEBUG_KERNEL=y · line 864
Quoted 5 lines
arch/arm64/configs/defconfig +2
-0@@ -860,3 +860,5 @@ CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_PREEMPT is not set # CONFIG_FTRACE is not set CONFIG_MEMTEST=y +CONFIG_JFFS2_FS=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
Can you explain why you're removing CONFIG_MTD_SPI_NOR_USE_4K_SECTORS?
Dinh
Quoted 38 lines
-----Original Message-----
From: Dinh Nguyen <[email protected]>
Sent: Monday, October 21, 2019 11:57 PM
To: Ooi, Joyce <[email protected]>; Vladimir Murzin <[email protected]>; Catalin Marinas <[email protected]>; Will Deacon <[email protected]>
Cc: Shawn Guo <[email protected]>; Olof Johansson <[email protected]>; Maxime Ripard <[email protected]>; Bjorn Andersson <[email protected]>; Arnd Bergmann <[email protected]>; Jagan Teki <[email protected]>; Anson Huang <[email protected]>; Leonard Crestez <[email protected]>; Marcin Juszkiewicz <[email protected]>; [email protected]; linux- [email protected]; Ong, Hean Loong <[email protected]>; See, Chin Liang <[email protected]>; Tan, Ley Foon <[email protected]>
Subject: Re: [PATCHv2] arm64: defconfig: add JFFS FS support in defconfigarch/arm64/configs/defconfig CONFIG_DEBUG_KERNEL=y #
Quoted 15 lines · Joyce
This patch adds JFFS2 FS support and remove QSPI Sector 4K size force in the default defconfig
Signed-off-by Ooi, Joyce <[email protected]>---
v2: disableCONFIG_MTD_SPI_NOR_USE_4K_SECTORSusing the correct syntax--- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+)(quoted diff) +0
-0b/arch/arm64/configs/defconfig index c9adae4..6080c6e 100644
arch/arm64/configs/defconfig +0
-0@@ -860,3 +860,5 @@ CONFIG_DEBUG_KERNEL=y #
CONFIG_DEBUG_PREEMPTis
Quoted 7 lines
arch/arm64/configs/defconfig CONFIG_DEBUG_KERNEL=y · line 864
Quoted 4 lines
not set #
CONFIG_FTRACEis not setCONFIG_MEMTEST=yarch/arm64/configs/defconfig +2
-0+CONFIG_JFFS2_FS=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not setCan you explain why you're removing
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS?
Removing CONFIG_MTD_SPI_NOR_USE_4K_SECTORS will fix errors like this:
[ 1.905772] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000f90: 0x00bf instead [ 1.915275] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000f94: 0x6abb instead
I'll add this explanation in the commit message.
Quoted 2 lines
Dinh