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.

6657 nand flash boot



 

I meet a question ,I successed in auto boot  from nand flash mt29f4g08x when the .dat file length is 0x14f(it means the data length in the nand flash is 1340 bytes). but when .dat file length is 0x400(it means the data length in the nand flash is 4096 bytes),the auto  boot fails ,why?

the boot mode is 0x00003.the devstat register is 0x0007;
Thanks,

  • I have few questions regarding this issue before we start into debugging this issue.

    Can you please report where the Program counter is at when the boot fails with the larger image? Have you checked to see if the image from the first page was loaded correctly into memory. Is the NAND FLash part that you are using ONFI compatible? Are you passing NAND parameters from I2C EEPROM or expecting ROM to detect the parameters from the ONFI parameter table.

    The boot parameter table for C665x device is loaded at location 0x008fff00. Can you map that to the NAND parameter table structure in tiboot.h file and tell us if the correct NAND geometry is being detected.

    Regards,

    Rahul