imx27: Unsupported ECC algorithm

Miquel Raynal miquel.raynal at bootlin.com
Thu Sep 17 12:13:18 EDT 2020


Hi Fabio,

Fabio Estevam <festevam at gmail.com> wrote on Wed, 16 Sep 2020 10:49:03
-0300:

> 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 for the report, I don't know what is happening yet but I'll
investigate.

As I'll be off next week, it might take a bit longer than expected
to see this solved if I don't come up with something by tomorrow...

Thanks,
Miquèl



More information about the linux-mtd mailing list