Re: [linux-sunxi] Mdt nand in Uboot for A20 SoC

2015-06-03 Thread Henrik Nordström
fre 2015-05-29 klockan 06:33 -0700 skrev Philippe Fouquet: > cmd : mw.b 0x4100 0xFF 0x100 (all are to FF) > cmd : nand read 0x4100 0x0 0x100 (fail with ecc error) > cmd : md.b 0x4100 0x100 (I read .eGON.BTO.) > > I check the register new uboot/old uboot that same I would guess

[linux-sunxi] Mdt nand in Uboot for A20 SoC

2015-05-29 Thread Philippe Fouquet
Hi I work on mtd nand driver for SoC A20 in UBoot I have a dificuty with ecc mode when I try to read back a nand that write whit old driver I recive a NFC_REG_ECC_ST= 0x00FF that it fail but if I read the memory my data are good cmd : mw.b 0x4100 0xFF 0x100 (all are to FF) cmd : nand read 0x4