I am trying to boot an baremetal application from qspi flash without using uboot or any OS in cyclone V soc. My code works fine in debug mode. But doesnt boot from qspi flash on its own.
- generated preloader-mkpimage.bin file with qspi boot using bsp generator
- compiled my baremetal design to obtain my_file.axf
- converted my_file.axf to my_file.bin using soceds command
- loaded preloader-mkpimage.bin file at address 0x00000000 of qspi flash successfully using command quartus_hps -c 1 -o P preloader-mkpimage.bin
5.loaded my_file.bin at address 0x60000 of qspi flash using command quartus_hps -c 1 -o P -a 0x60000 my_file.bin
- Cold reset the system.
System not booting from qspi flash. how to do it without u boot . please guide