|
Dear all,
I am struggling with NAND and SDRAM issues with a modified 9260ek board. I have posted this in u-boot forum, thinking that might be an u-boot issue. Testing seems to point to reset and NAND, SDRAM timing issue. Any suggestions on how to debug this is greatly appreciated.
I am able to reproduce this on three boards (1) 9260ek RevA (2) 9260ek RevB and (3) my modified 9260ek with only one SDRAM and a 32M NAND
I have changed the at91bootstrap V1.8 to run in 16bit databus(SDRAMC and PIOC); and NAND to small block with the corresponding sector page info. Also relocate memory address accordingly. I am running u-boot 1.3.2 Linux 2.6.25
- bootstrap, u-boot, kernel, RFS all downloaded to NAND with SAM-BA 2.6
- Without recycle power, just push reset button; u-boot will come up. And I can continue to boot Kernel (2.6.25). I can run memory test, Nand read write, etc.
- Push reset second time(and subsequent times), bootstrap will run and fail in the first few instruction of u-boot
- Sometimes power cycle, u-boot will come up again
- If I use JTAG GDB to trace bootstrap and branch to u-boot. U-boot will run without any problem.
- When linux is running - Push reset button in Linux board will reboot and u-boot will run again (all the times)
- If I use linux reboot command, the board will stop after running bootstrap same behavior as pushing reset in u-boot.
Our h/ware guy has checked all the timing NAND, SDRAM etc and we have experimented with all the settings.
Any suggestion about how to debug this is greatly appreciated.
Thanks,
Norman
|