Hi Ilya, On 10/20/2011 05:23 PM, Ilya Yanok wrote: > Hi Simon, > > On 20.10.2011 16:00, Simon Schwarz wrote: >>> Use software ECC for the SPL build if support for software ECC in SPL is >>> enabled. >> >> I'am curious: Is there a special reason for having software ecc in SPL? > > Well, yes. On OMAP2+ ECC mode defaults to software (incompatible with HW > mode; 256 vs 512 bytes block size) both in U-Boot and Linux (U-Boot has > command to change it while in Linux you have to recompile the kernel). > > So we need software ecc to read images written from Linux.
ok. Agreed. Another thing just poped into my mind, ATM I have a DMA patch for devkit8000 on the ML: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/109744 http://article.gmane.org/gmane.comp.boot-loaders.u-boot/112661 It speeds up the process of copying the u-boot/linux image. ATM this is in combination with HW ecc and I doubt that it will work seamlessly with SW-ecc, yet. However IMHO DMA in combination with SW-ecc could be nearly as fast as using HW-ecc. So maybe an adaption is worth a try? Regards Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot