Altera_Forum
Honored Contributor
11 years agoQSPI boot
hello,
I am trying to boot the example baremetal project: Altera-SoCFPGA-HardwareLib-FPGA-CV-GNU from QSPI (can run it successfully with debugger) with the cyclone 5 dev kit. did the following steps but still doesnt work 1. Build an appropriate preloader with the QSPI with boot from QSPI and QSPI_NEXT_BOOT_IMAGE 0x60000 option 2. because I dont have the ARM compiler license I used the following command to create an bin from hwlib.axf : arm-none-eabi-objcopy -O binary hwlib.axf hwlib.bin 3. I noticed that the starting address of hwlib.axf is 0x02000000 but the entry point is 0x02000040( __cs3_interrupt_vector is located at 0x02000000 ) so I tryed several combinations all of them failed eventually : mkimage -A arm -O u-boot -T standalone -C none -a 0x02000000 -e 0x02000040 -n "baremetal image" -d hwlib.bin hwlib.img mkimage -A arm -O u-boot -T standalone -C none -a 0x02000000 -e 0x02000000 -n "baremetal image" -d hwlib.bin hwlib.img 4.copy the hwlib.img and change its name hwlib.bin so it can be compatible to the flash programer 5.burn both binaris : preboot to address 0 , hwlib to address 60000 (both complete succesfuly) I cant really know where its stuck and appreciate ideas about how to get more information about the problem? thanks