Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi LiangYi,
> I have added cfi_flash.c to my u-boot, re-compiled u-boot and it can run in sdram. Great! > I download the u-boot to my flash at 0x0 using Flash-Programmer How did you create the flash file? Typically, you should do the following: $ elf2flash --base=0x0 --end=0x7fffffff --input=u-boot --outfile=u-boot.flash --flash=<Uxx> $ nios2-flash-programmer --base=0x0 --input=u-boot.flash --sof=<xxx.sof> > Shell, run nios2-terminal. Nothing happen. > I think that nios2-terminal start with jtag-uart, but not from uart. When you run out of sdram, do you use the jtag uart ... and did you see the command prompt? If everything works with download/go to sdram, you most likely have a problem with the u-boot image stored in flash (either the flash file is incorrect ... or flash memory is not correct). Regards, --Scott