This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Some DM368 systems get stuck at kernel boot

Hi.

About 3% of our boards gets stuck when the kernel is booting, and replacing the DM368 chips on these boards fixes the problem.

We are using DVSDK 2

The last print before it gets stuck is:

"nand_davinci nand_davinci.0 Using 4-bit hardware ECC"

And more precisely, it gets stuck when calling the function "nand_flash_init(info);"   inside drivers/mtd/nand/davinci_nand.c

I've tried to remove this line just to see what happens, and it just got stuck a little later somewhere inside the "nand_scan(info-mtd, 1)" call.

Can anyone help?

Thanks!

  • Qwe,

    If you can find out where exactly its getting stuck inside the function nand_flash_init(), it will be easier to debug. Most likely it might be some timing issue. Can you try giving maximum values in the EMIF registers AWCCR and A1CR or A2CR and see whether it makes any difference or not?