lkml.org 
[lkml]   [2021]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.10 148/221] ARM: dts: imx6ull: fix ubi filesystem mount failed
    Date
    From: dillon min <dillon.minfei@gmail.com>

    [ Upstream commit e4817a1b6b77db538bc0141c3b138f2df803ce87 ]

    For NAND Ecc layout, there is a dependency from old kernel's nand driver
    setting and current. if old kernel use 4 bit ecc , we should use 4 bit
    in new kernel either. else will run into following error at filesystem
    mounting.

    So, enable fsl,use-minimum-ecc from device tree, to fix this mismatch

    [ 9.449265] ubi0: scanning is finished
    [ 9.463968] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading
    22528 bytes from PEB 513:4096, read only 22528 bytes, retry
    [ 9.486940] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading
    22528 bytes from PEB 513:4096, read only 22528 bytes, retry
    [ 9.509906] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading
    22528 bytes from PEB 513:4096, read only 22528 bytes, retry
    [ 9.532845] ubi0 error: ubi_io_read: error -74 (ECC error) while reading
    22528 bytes from PEB 513:4096, read 22528 bytes

    Fixes: f9ecf10cb88c ("ARM: dts: imx6ull: add MYiR MYS-6ULX SBC")
    Signed-off-by: dillon min <dillon.minfei@gmail.com>
    Reviewed-by: Fabio Estevam <festevam@gmail.com>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts b/arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts
    index ecbb2cc5b9ab..79cc45728cd2 100644
    --- a/arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts
    +++ b/arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts
    @@ -14,5 +14,6 @@
    };

    &gpmi {
    + fsl,use-minimum-ecc;
    status = "okay";
    };
    --
    2.30.1


    \
     
     \ /
      Last update: 2021-03-29 10:41    [W:4.564 / U:0.728 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site