Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHi austin, hi aignacio
I post in this thread since I think I'm stuck in a similar situation and I hope someone of you can help me. I have a cyclone V de0 nano soc board and I want to boot a bare metal application from SD card. This is what I could do so far: - I built a working baremetal application and I can debug via jtag - I created the u-boot.scr script file to load fpga configuration and baremetal application - I copied the .scr on SD card and it get executed, as I can see in the serial port output log - during the boot process, FPGA can successfullly configure from the .rbf file I copied in the FAT partition of SD card - when the script tries to load the application (fatload mmc 0:1 0x00100040 app_image.bin) I clearly get an error, since I still don't have the app_image.bin which is supposed to contain my application. The point is that I don't understand how to generate it from the .axf file I get from the build tools! I read this and other threads and I believe I simply need this .bin file on the SD card I used objcopy as someone suggested, but this creates a 4GB file! Moreover mkimage then tells me it can't read it. I'm missing some point?