Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHow to porting u-boot to my own board?
Hello, everyone I want to use u-boot on my board. I have two questions. 1. Before I use u-boot on my board, I just try to compile u-boot first. So, I follow the readme file. I use ...
Altera_Forum
Honored Contributor
20 years agoHi LiangYi,
> $elf2flash --base=0x0 --end=0x1fffff --input=u-boot --output=u-boot.flash --flash=U20 elf2flash is appropriate if you boot from an epcs, ... sorry for misleading you. When you are using parallel flash with u-boot, bin2flash is what you want (since the u-boot make will generate a binary image). E.g.: $ bin2flash --base=0x0 --location=0x0 --flash=U20 --input=u-boot.bin --output=u-boot.flash > $elf2flash --base=0x0 --end=0x1fffff --input=u-boot --output=u-boot.flash --flash=U20 --reset=0x0 > --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec u-boot does not require the boot copier ... it will relocate itself to its run-time address. Regards, --Scott