Forum Discussion
HPS First Boot Configuration for Agilex 7
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.
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_Altera1 month ago
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.
- anonimcs1 month ago
Contributor
Hi,
I'm using an HPS-First flow to boot a Linux application
- EstebanVV_Altera1 month ago
Occasional Contributor
Ok,
So, the two files that your flows generate are needed. The .core.rbf should be placed in the SD card "boot" partition. If you built the SD card using the YOCTO/KAS flow, u-boot will look for this file as ghrd.core.rbf and program the FPGA after the HPS loads the FSBL. This is the file really used to configure the FPGA.
The, .hps.rbf is used to "kick-off" the HPS, so you program this file via "quartus programmer" and you will see the first HPS prints in the UART terminal. This file can be converted into a .jic, as suggested in the documentation so you don't have to use the programmer every time you want to kick-off the booting process.
~E.V.