Vinod Nanjaiah wrote:

Any idea if this is still an unresolved bug in the montavista kernel?

How can I change the OOB code in the linux kernel to match with that of the uboot?

Can someone please give me some pointers on where/what code needs to be changed.


You need to add setup code for the NAND chip in the board specific code in uboot. Create a board_nand_init function which should be explained somewhere in uboot documentation, or you can look at some of the other boards which implement a specific NAND driver. Any functions which you need to be specific to davinci need to be added in your code. You can use the kernel driver as an example.

To get started you might want to just setup the nand_chip struct to disable ECC, which will then allow you to at least boot, or modify nand_read_ecc in nand_base.c (uboot) to not check ECC.



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to