Skip to contentSkip to conversation

ARM: socfpga_defconfig: Remove QSPI Sector 4K size force

PATCH In review [email protected] 2 participants 3 messages Mar 26, 2018 – Apr 12, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: socfpga_defconfig: Remove QSPI Sector 4K size force

From: Thor Thayer <[email protected]>

Remove QSPI Sector 4K size force which is causing QSPI boot problems with the JFFS2 root filesystem.

Fixes the following error:

     "Magic bitmask 0x1985 not found at ..."
---
 arch/arm/configs/socfpga_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/socfpga_defconfig +1 -0
index 2620ce790db0..371fca4e1ab7 100644
@@ -57,6 +57,7 @@ CONFIG_MTD_M25P80=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_DENALI_DT=y
 CONFIG_MTD_SPI_NOR=y
+# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
 CONFIG_SPI_CADENCE_QUADSPI=y
 CONFIG_OF_OVERLAY=y
 CONFIG_OF_CONFIGFS=y
Signature · 1 line
2.7.4
#1 lore raw

Hi. Any comments on this patch?

Quoted 26 lines · On 03/26/2018 02:50 PM, [email protected] wrote:

From: Thor Thayer <[email protected]>

Remove QSPI Sector 4K size force which is causing QSPI boot problems with the JFFS2 root filesystem.

Fixes the following error:

      "Magic bitmask 0x1985 not found at ..."
---
  arch/arm/configs/socfpga_defconfig | 1 +
  1 file changed, 1 insertion(+)
arch/arm/configs/socfpga_defconfig +1 -0
index 2620ce790db0..371fca4e1ab7 100644
@@ -57,6 +57,7 @@ CONFIG_MTD_M25P80=y
  CONFIG_MTD_NAND=y
  CONFIG_MTD_NAND_DENALI_DT=y
  CONFIG_MTD_SPI_NOR=y
+# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
  CONFIG_SPI_CADENCE_QUADSPI=y
  CONFIG_OF_OVERLAY=y
  CONFIG_OF_CONFIGFS=y
maintainer
#2 lore raw
Quoted 16 lines · Thor Thayer

Hi. Any comments on this patch?

Quoted 13 lines · thor.thayer at linux.intel.com

From: Thor Thayer <[email protected]>

Remove QSPI Sector 4K size force which is causing QSPI boot problems with the JFFS2 root filesystem.

Fixes the following error:
????? "Magic bitmask 0x1985 not found at ..."

---
? arch/arm/configs/socfpga_defconfig | 1 +
? 1 file changed, 1 insertion(+)

Quoted 15 lines
Quoted 6 lines
arch/arm/configs/socfpga_defconfig +0 -0
index 2620ce790db0..371fca4e1ab7 100644
@@ -57,6 +57,7 @@ CONFIG_MTD_M25P80=y
Quoted 8 lines

? CONFIG_MTD_NAND=y
? CONFIG_MTD_NAND_DENALI_DT=y
? CONFIG_MTD_SPI_NOR=y
+# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
? CONFIG_SPI_CADENCE_QUADSPI=y
? CONFIG_OF_OVERLAY=y
? CONFIG_OF_CONFIGFS=y

I'll apply it and hopefully get into an v4.17 -rcX.

Dinh