Forum Discussion
HPS First Boot Configuration for Agilex 7
Dear Community,
I'm developing a design using Agilex 7 on Quartus Pro 24.2. I'm a bit confused on the parameter settings I need for the HPS (and its EMIF) and my Quartus project settings in order to have HPS-First boot (Called HPS Early Release in former Quartus versions). For that, I'd like to generate .core.rbf and .periph.rbf files. I tried generating the .rbf files in two different ways given below, none succeeded.
#1) Having the below pfg command in a text file and sourcing it in my .qsf
--convert --hps -o bitstream_compression=on output_files/ProjectName.sof output_files/ProjectName.rbf
#2) Using the Programming File Generator tool of Quartus
I can generate .sof programming file, but converting that to .rbf fails with the following error when I did either given above.
"sof is incomplete. Hps is present but bootloader information is missing". When doing case #2, I even add a bootloader .hex file that I could find on Rocketboards' webpage.
Could anyone support me to have an HPS-first boot on Agilex 7 ?
Thanks in advance!
7 Replies
- EstebanVV_Altera
Occasional Contributor
Hello,
You can start from the "Altera Developers Site", areas like:
There is some material in here that can help you, if not, we are here to help.
~E.V.
- anonimcs
Contributor
Hi EstebanVV_Altera ,
Thanks for providing those design files. Now my build flow generates two files with .rbf extension, which are ProjectName.core.rbf and ProjectName.hps.rbf. I would have expected to see a core and periph.rbf files instead, as it's also commented out so in the qcpg.options.hlp file located in QuartusInstallFolder/quartus/common/flow/qaf/. I can see the line below on line 34 of that file, emphasis on the 'and'. It doesn't mention anything about hps.rbf file.
# To split a .sof into .periph.pof, .periph.jic, .periph.rbf, .periph.ttf, or .periph.hexout and .core.rbf
To eliminate the possibility of me having an error in my pfg_commands.txt file, here is its content:
-c -o hps=ON -o hps_path=u-boot/u-boot-spl-dtb.hex -o compression=ON output_files/ProjectName.sof output_files/ProjectName.rbf
Kind regards
- EstebanVV_Altera
Occasional Contributor
Hi,
Lets go back a couple of steps.
Are you using "HPS First" flow?
Are you trying to boot Linux or a "bare-metal" application?
Please answer this to have a wider picture of what you are trying to do.
~E.V.