Skip to content

Armada 370/XP NAND support

Thomas Petazzoni linux-arm-kernel linux-mtd 2 versions – New

Get series with b4
b4 am 20131124152239.01777cf9@skate

Versions newest first · linked by author and title

  1. v5 Latest0 of 14 patches 0 repliesNew
  2. v20 of 27 patches 0 repliesSuperseded

Patches in v5 No applies recorded yet

None of the 14 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 00/14] Armada 370/XP NAND support

Dear Arnaud Ebalard,

Quoted 5 lines · Arnaud Ebalard
[   80.189852] pxa3xx-nand d00d0000.nand: This platform can't do DMA on this device
[   80.197454] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix H27U1G8F2BTR-BC)
[   80.205308] NAND device: 128MiB, SLC, page size: 2048, OOB size: 64
[   80.211594] pxa3xx-nand d00d0000.nand: ECC strength 1 at page size 2048 is not supported
[   80.219699] pxa3xx-nand d00d0000.nand: failed to scan nand at cs 0

[...]

Quoted 4 lines

i.e. return 0 because it does not support page size and strength of the chip. I also guess this works fine on the Armada mirabox and XP GP boards you have which both include a 1GB NAND flash w/ higher page size and ECC strength.

Right, that's correct. Ezequiel will expand on this, but we intentionally excluded the cases we couldn't test, such as 2048 bytes page size.

Quoted 2 lines

I wonder if you could extend your support support to lower page size and strength. I'd be happy to test it on a 370 and XP based platfom.

We were just waiting for people to have practical cases that we can test, so I'm sure Ezequiel will provide patches to support 2048 bytes page size.

Thanks for your testing, very useful!

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com