On 07/12/2011 05:12 AM, 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.
I'm using the RBL->UBL->U-Boot method already. The information in the
link above looks like it will help, I'm testing it now.
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.
Precisely; the horrible user experience keeps me away - I don't have
time to constantly check/scan the forums for information I need. I
find mailing lists, such as this one, a much better approach.
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source