[LEDE-DEV] [PATCH] Fix UBIFS work on Mikrotik RB95x devices
John Crispin
john at phrozen.org
Wed May 31 00:46:36 PDT 2017
Hi,
please resend the patch with a proper prefix in the subject "ar71xx:"
and also an Signed-off-by line added in the description
John
On 30/05/17 22:30, adron at yapic.net wrote:
> From: Sergey Sergeev <adron at yapic.net>
>
> If nand chip has no NAND_NO_SUBPAGE_WRITE flag on its options
> ubifs can't use it mtd devices and the kernel crashes with error:
> __nand_correct_data: uncorrectable ECC error
> ---
> target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c
> index 05e15e7..e940d6c 100644
> --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c
> +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c
> @@ -165,6 +165,8 @@ static int rb95x_nand_scan_fixup(struct mtd_info *mtd)
> chip->ecc.layout = &rb95x_nand_ecclayout;
> }
>
> + chip->options = NAND_NO_SUBPAGE_WRITE;
> +
> return 0;
> }
>
More information about the Lede-dev
mailing list