imx27: Unsupported ECC algorithm

Fabio Estevam festevam at gmail.com
Wed Sep 16 09:49:03 EDT 2020


Hi Miquel,

On a imx27-phytec-phycard-s-rdk  board running linux-next, the
following warning is seen:

10:15:26.232069  ------------[ cut here ]------------
10:15:26.232880  WARNING: CPU: 0 PID: 1 at
drivers/mtd/nand/raw/nand_base.c:5242 nand_scan_with_ids+0x9bc/0x1008
10:15:26.241132  Unsupported ECC algorithm!

I believe it has been caused by 74a89d7f9ed7 ("mtd: rawnand: Use the
ECC framework user input parsing bits")

Its dts uses nand-ecc-mode = "hw" :

&nfc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nfc>;
nand-bus-width = <8>;
nand-ecc-mode = "hw";
nand-on-flash-bbt;
status = "okay";
};

I don't have access to this hardware, but I saw the report by the
Pengutronix lab in kernelci:
https://storage.kernelci.org/next/master/next-20200916/arm/imx_v4_v5_defconfig/gcc-8/lab-pengutronix/baseline-imx27-phytec-phycard-s-rdk.html

Any ideas?

Thanks,

Fabio Estevam



More information about the linux-mtd mailing list