Re: [PATCH] AT91RM9200 NAND support

Savin Zlobec
2006-06-20T08:58:48Z

Thomas Gleixner wrote:

>On Tue, 2006-06-20 at 09:43 +0200, Savin Zlobec wrote:
>
>
>>I'am working on this right now. I've changed the at91 driver and I'am
>>going to
>>test it when I finish the changes on YAFFS - read/write_ecc and oobblock are
>>not part of mtd_info any more...
>>
>>I'am attaching the at91_nand.c changes.
>>
>>
>
>Sorry, I doubt that any of these changes will actually work. The patch
>below might save your time.
>
>
Thanks (I did a quick diff of other nand drivers, but missed the #error...).

I've put the kernel with latest mtd on my board and got the following:

Nand is recognized as 'NAND device: Manufacturer ID: 0x98, Chip ID: 0x75
(Toshiba NAND 32MiB 3,3V 8-bit)',
should be 'NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung
NAND 32MiB 3,3V 8-bit)'.

No bad blocks are detected at initial nand scan, but when running
flash_eraseall all blocks are found bad.