Hi Christophe, Sorry to hijack this thread, but it sounds like you have done what I am trying to do. I would like to be able to boot a DM365 board off of an SD card directly into U-boot, which it sounds like you have done just over SPI instead of SD. There is no NAND on the board I'm using.
Can you point me a direction where I can find more information on how to do this? Thanks Marlon On Tue, 2011-07-12 at 13:12 +0200, Christophe Aeschlimann wrote: > Hi Gary, > > On 11.07.2011 13:24, Gary Thomas wrote: > > Note: I'm not sure the best place to ask this question as it's very > > Davinci specific. > > > > Has anyone worked on the NAND drivers in U-Boot for the Davinci chips? > > In particular the OMAP-L138? It seems that the U-Boot drivers in use > > only use software ECC which is incompatible with the hardware ECC engine > > on the device. My board is booting from NAND and if I use U-Boot to > > update the U-Boot image in NAND, the ECC information is incorrect and > > the board stops booting. > > I don't think the problem is HW ECC vs SW ECC the problem is where the > ECC bits are stored in the Out-Of-Band (OOB) area of the NAND. > > The ROM boot loader (RBL) expects them to be at a certain position where > U-BOOT and the Linux Kernel have them stored in another place. > > More info here : > http://processors.wiki.ti.com/index.php/DM365_Nand_ECC_layout > > A solution is to have a small dedicated partition that has the same ECC > layout as the Rom Boot Loader that contain a very basic bootloader (e.g. > TI's UBL) which then let you jump to U-Boot. > > Having the RBL loading UBL to load U-Boot to finally start Linux was too > cumbersome for us so we just boot U-Boot directly from a SPI flash. > > > Any ideas/help? Should I ask this on a different list (please don't > > say e2e forums...) > > Apart from the terrible user experience the site offers the persons > active on these forums are very helpful. > > > Thanks > > Hope it helped, > > Best regards, >
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
