Forum Discussion
Altera_Forum
Honored Contributor
20 years agoU-BOOT !!!!!!!!!!!!
Hi http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wacko.gif , that u-boot is really driving me crazy. This is what I've done: 1- Compiled u-boot (got the .bin and the .srec)...
Altera_Forum
Honored Contributor
20 years ago> > What about the
> > home/MFM/linux-2.6.x/arch/nios2nommu/boot/compressed/vmlinux.bin file, > > isn't a binary file made from that vmlinux elf. > yes, it is. ??? This is why I always like to review the scripts/makefiles ;-) Time to go back to the basics ... 1. Please post an objdump of the elf headers. E.g.: $ nios2-elf-objdump -h vmlinux 2. Confirm that the elf image can be loaded and successfully run using nios2-download. 3. Use the elf image to create a binary (nios2-elf-objcopy -O binary). Load the binary (via nios2-console) to the load address, set the pc to the load address, then resume execution -- confirm operation. 4. Make the u-boot image with the binary (uncompressed) -- confirm operation. 5. Compress the binary, and make the u-boot image (compressed) -- confirm operation. Regards, --Scott