Forum Discussion
Altera_Forum
Honored Contributor
11 years agoboot from S25FL512S
Hi all, I try to boot from QSPI Flash (S25FL512S) but I am having some difficulties. I have the same DDR3 as altera cyclone v soc board + two QSPI S25FL512S connected to the hps side. Inp...
Altera_Forum
Honored Contributor
10 years agoHi,
I am working on cyclone V SOC custom board and i want to boot bare metal application from qspi flash(S25FL512S). I dumped the quad custom preloader image(preloader-mkpimage.bin) into the flash using the command "quartus_hps -c 1 -o PV -a 0 preloader-mkpimage.bin". I built the helloworld example bare metal application from GHRD and created the the bootable image using the commands, objcopy -I elf32-little -O binary hello.axf hello.bin mkimage -A arm -O u-boot -T standalone -C none -a 0x01000040 -e 0 -n "baremetal image" -d hello.bin hello.img I dumped the bootable image on qspi using quartus_hps -c 1 -o PV -a 0x60000 hello.bin After resetting the board(cold and warm reset) preloader prints are printed on console but hello world is not printed. Same problem with the hwlib example bare metal application. When i tried to boot uboot from qspi it is booting properly. I used following commands for that, mkimage -A arm -O u-boot -T standalone -C none -a 0x01000040 -e 0 -n "U-Boot image" -d u-boot.bin u-boot.img quartus_hps -c 1 -o PV -a 0x60000 u-boot.img I am wondering why i am not able to see any bare metal application prints on console. Any help would be greatly appreciated.