Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi,
to get a *.bin file from *.axf file, you can use the fromelf tool, like this:fromelf --bin --output=baremetal.bin baremetal.axf You say, you only want to develop under Win7. It's no problem. I'm developing on Windows 7 system, too. A complete boot from SD CARD, with integrated preloader is on windows a little bit difficult, because you have to create a special "a2" partition on the card. That's much more easier on a linux system. But there is another way you can go. You can put the preloader into the QSPI flash and load the baremetal image from a FAT partition on SD Card. It's easy, because you only need to configure the preloader to load the image from SD-Card/FAT and put this preloader into the QSPI Flash, using the quartus_hps programmer. It's best to start this tool from Embedded_Command_Shell.bat quartus_hps -c 1 -o PV -a 0x0000 preloader-mkpimage.bin and than you put the baremetal.img on the FAT partition of the SD-Card. I can write a better step-by-step tutorial in the evening.