No NAND access on AT91SAM9G20-EK

Marc Kleine-Budde mkl at pengutronix.de
Thu Feb 17 16:50:25 EST 2011


Hello Jean-Christophe,

On 02/10/2011 12:48 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> 	which ecc did u use before?

I'm working on a at91sam9m10ek, using latest origin/next.

The ecc-mode is "hardcoded" to NAND_ECC_HW in
arch/arm/mach-at91/at91sam9g45_devices.c. I've got the same -74 problem
when reading from the nand.

Barebox fails to read the environment, even if barebox has written it.
After changing the ecc mode to soft the env can be read and written
without problems.

I ported the atmel nand driver from linux-2.6.37, which had no
significant differences.

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20110217/2a17e33f/attachment.sig>


More information about the barebox mailing list