2018-03-26 19:50:09

by Thor Thayer

[permalink] [raw]
Subject: [PATCH] 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 ..."

Signed-off-by: Thor Thayer <[email protected]>
---
arch/arm/configs/socfpga_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig
index 2620ce790db0..371fca4e1ab7 100644
--- a/arch/arm/configs/socfpga_defconfig
+++ b/arch/arm/configs/socfpga_defconfig
@@ -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
--
2.7.4



2018-04-11 15:24:33

by Thor Thayer

[permalink] [raw]
Subject: Re: [PATCH] ARM: socfpga_defconfig: Remove QSPI Sector 4K size force

Hi. Any comments on this patch?

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 ..."
>
> Signed-off-by: Thor Thayer <[email protected]>
> ---
> arch/arm/configs/socfpga_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig
> index 2620ce790db0..371fca4e1ab7 100644
> --- a/arch/arm/configs/socfpga_defconfig
> +++ b/arch/arm/configs/socfpga_defconfig
> @@ -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
>


2018-04-12 13:37:48

by Dinh Nguyen

[permalink] [raw]
Subject: Re: [PATCH] ARM: socfpga_defconfig: Remove QSPI Sector 4K size force



On 04/11/2018 10:20 AM, Thor Thayer wrote:
> Hi. Any comments on this patch?
>
> 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 ..."
>>
>> Signed-off-by: Thor Thayer <[email protected]>
>> ---
>>   arch/arm/configs/socfpga_defconfig | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/configs/socfpga_defconfig
>> b/arch/arm/configs/socfpga_defconfig
>> index 2620ce790db0..371fca4e1ab7 100644
>> --- a/arch/arm/configs/socfpga_defconfig
>> +++ b/arch/arm/configs/socfpga_defconfig
>> @@ -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
>>
>

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

Dinh