Visible to Intel only — GUID: lxb1706832380809
Ixiasoft
1. Introduction
2. FPGA Configuration First Mode
3. HPS Boot First Mode
4. Creating the Configuration Files
5. HPS Boot Flows
6. Configuring the FPGA Fabric from HPS Software
7. Debugging the Agilex™ 5 SoC FPGA Boot Flow
8. Document Revision History for the Hard Processor System Booting User Guide: Agilex™ 5 SoCs
4.1. Overview
4.2. Quartus® Prime Hardware Project Compilation
4.3. Bootloader Software Compilation
4.4. Programming File Generator
4.5. Configuration over JTAG
4.6. Configuration from QSPI
4.7. Configuration over AVST
4.8. Configuration via Protocol
4.9. Remote System Update
4.10. Partial Reconfiguration
4.11. Preserving SDRAM Content across HPS Resets for Agilex™ 5 Devices
Visible to Intel only — GUID: lxb1706832380809
Ixiasoft
4.6.3.1. Creating Configuration Files from Command Line
The following example creates the QSPI configuration files for HPS boot first mode:
quartus_pfg -c design.sof design.jic design.rpd design.map \ -o hps_path=fsbl.hex \ -o device=MT25QU128 \ -o flash_loader=A5ED065BB32AR0 \ -o mode=ASX4 \ -o hps=on \ -o bitswap=on
The input and output files for this command are:
- Input Files:
- design.sof
- fsbl.hex
- Output Files:
- design.jic
- design.core.rbf
- design.rpd (optional)
- design.map (optional)
The command parameters are listed below:
Parameter | Description |
---|---|
hps_path | Location of HPS FSBL file in hex format |
device | Target QSPI device. Use a device listed in Supported QSPI Devices or use the graphical interface to determine available options. |
flash_loader | The helper image to be used for writing JIC to QSPI Flash. It is typically an alphanumeric prefix of your FPGA part number. You may use the graphical interface mode to determine available options |
mode | AS x4 for QSPI |
bitswap | Set to "on" to create RPD with plain binary format, usable by 3rd party tools. |
hps | Set to "on" to enable HPS boot first mode, omit for FPGA configuration first mode |
Note: When using HPS boot first and your JIC file size is small, you can target a QSPI device that is smaller than what you have on board. S that when the JIC file is being programmed, a warning is displayed, but the space erasing and data programming time are shortened.