Linux-mtd Archive on lore.kernel.org
 help / color / Atom feed
* imx27: Unsupported ECC algorithm
@ 2020-09-16 13:49 Fabio Estevam
  2020-09-17 16:13 ` Miquel Raynal
  2020-09-21  9:40 ` Sascha Hauer
  0 siblings, 2 replies; 19+ messages in thread
From: Fabio Estevam @ 2020-09-16 13:49 UTC (permalink / raw)
  To: Miquel Raynal; +Cc: linux-mtd, Sascha Hauer

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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, back to index

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 13:49 imx27: Unsupported ECC algorithm Fabio Estevam
2020-09-17 16:13 ` Miquel Raynal
2020-09-17 16:45   ` Miquel Raynal
2020-09-17 17:12     ` Fabio Estevam
2020-09-21  9:40 ` Sascha Hauer
2020-09-28 15:20   ` Miquel Raynal
2020-09-29 11:39     ` Fabio Estevam
2020-09-29 16:31       ` Fabio Estevam
2020-09-29 17:46         ` Miquel Raynal
2020-09-30 14:58         ` Miquel Raynal
2020-10-01 21:39           ` Fabio Estevam
2020-10-13 17:14             ` Lucas Stach
2020-10-13 17:36               ` Miquel Raynal
2020-10-14 12:23               ` Fabio Estevam
2020-10-14 13:26                 ` Miquel Raynal
2020-10-15 19:24                   ` Fabio Estevam
2020-10-16  3:04                   ` Han Xu
2020-10-16  6:39                   ` Sascha Hauer
2020-10-16  7:53                     ` Miquel Raynal

Linux-mtd Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mtd/0 linux-mtd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mtd linux-mtd/ https://lore.kernel.org/linux-mtd \
		linux-mtd@lists.infradead.org
	public-inbox-index linux-mtd

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-mtd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git