On 17:06 Wed 18 Jul , Sascha Hauer wrote: > Hi Sven, > > On Wed, Jul 18, 2012 at 11:44:29AM +0200, Stutz Sven wrote: > > > > Hello Sascha, > > > > thanks a lot for your help. > > > > When I completely switch off the ecc, Barebox is loading the Linux kernel. > > But I guess that the ecc is necessary especially for NAND-Flash devices. > > Indeed. You shouldn't use NAND without ecc. > > > > > > > The AT91SAM9263 controller has a ecc unit implemented. There are > > three registers and the error calculation is done automatically, > > only the error correction must be done in software. > > Or is it better to you use the software ecc and I should try to fix > > the software problem? > > If possible you should use hardware ecc. It may be though that it has > bugs that force you to use software ecc, but I'm not familiar with the > atmel hardware. the hw ecc work on 9263 but we do not use it on the kernel > > > Can you give me some hints to fix this problem? > > Does it work in the kernel? If yes, try looking for differences. The > NAND layers are sufficiently similar. the drivers as the same on both barebox and linux > > > > > Btw. I have found the description table for the NAND devices. But > > what would happen if I change the connections between the controller > > and the NAND-Flash, where are those port description stored or the > > timings to access the data bus? smc Best Regards, J. _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox