fre 2015-05-29 klockan 06:33 -0700 skrev Philippe Fouquet: > cmd : mw.b 0x41000000 0xFF 0x100 (all are to FF) > cmd : nand read 0x41000000 0x0 0x100 (fail with ecc error) > cmd : md.b 0x41000000 0x100 (I read .....eGON.BTO.....) > > I check the register new uboot/old uboot that same
I would guess that the ECC mode mismatch between drier and data stored in NAND. The ECC controller then fails, and data is left (hopefully) untouched as it was read. An ECC read consists of two parts, read separately and then combined by the controller (or driver if using software ECC) 1. Data. 2. ECC information. The ECC controller tries to verify and recover errors in the data using the ECC information. BROM supports a number of ECC modes and layouts. Mismatch in either ECC mode or layout will cause read ECC failure. Regards Henrik -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
