Altera_Forum
Honored Contributor
11 years agoNAND Flash Booting
hello,
Am facing problem with NAND Flash booting. Am able to boot the preloader successfully using nand. Am using s34ml01g1 NAND flash. What i have done is: 1) I have placed preloader-mkpimage.bin file at 0x0 address of NAND. 2) then u-boot.bin file at 0xC0000 (which is the next boot address as in bsp settings). Preloader is running fine, then the control is going to next boot address also, but u-boot is not executing fully. Its stopping inthe middle. Here is the snapshot of terminal window. http://www.alteraforum.com/forum/attachment.php?attachmentid=10225&d=1425020168 How can i solve the problem? Can any of the following things solve my problem: 1) Enabling ECC for NAND, if yes, How to enable this. 2) Editing the values in socfpga_common.h file, what are the values for my NAND device? 3) By making "bootstrap_inhibit_init" to 0 in "boot strap settings" register. How can i do this? Please help me out of this...