Visible to Intel only — GUID: ojo1620234081951
Ixiasoft
1. Introduction
2. FPGA Configuration First Mode
3. HPS Boot First Mode
4. Creating the Configuration Files
5. Golden System Reference Design and Design Examples
6. Configuring the FPGA Fabric from HPS Software
7. Debugging the Agilex™ 7 SoC FPGA Boot Flow
8. SoC FPGA Boot User Guide Archives
9. Document Revision History for Agilex™ 7 SoC FPGA Boot User Guide
A. Boot Scratch Registers
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
A.1. BOOT_SCRATCH_COLD0
A.2. BOOT_SCRATCH_COLD1
A.3. BOOT_SCRATCH_COLD2
A.4. BOOT_SCRATCH_COLD3
A.5. BOOT_SCRATCH_COLD4, BOOT_SCRATCH_COLD5
A.6. BOOT_SCRATCH_COLD6, BOOT_SCRATCH_COLD7
A.7. BOOT_SCRATCH_COLD8
A.8. BOOT_SCRATCH_COLD9
A.9. BOOT_SCRATCH_COLD0, BOOT_SCRATCH_COLD1, BOOT_SCRATCH_COLD8, BOOT_SCRATCH_COLD9
Visible to Intel only — GUID: ojo1620234081951
Ixiasoft
4.6.2.1. Creating Configuration Files from Command Line
The following example command creates the QSPI configuration files for FPGA configuration first mode:
quartus_pfg -c design.sof design.jic design.rpd design.map \ -o hps_path=fsbl.hex \ -o device=MT25QU128 \ -o flash_loader=AGFB014R24AR0\ -o mode=ASX4 \ -o bitswap=on
The input and output files for this command are:
- Input Files:
- design.sof
- fsbl.hex
- Output Files:
- design.jic
- design.rpd
- design.map
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 | Which helper image to be used for writing JIC to flash. It is typically a prefix of your FPGA part number. Use the graphical interface mode to determine available options. |
mode | ASX4 for QSPI |
bitswap | Set to "on" to create RPD with plain binary format, usable by 3rd party tools. |
Note: If your design is small, you can target a QSPI device that is smaller than what you have on board. When programming the resulted JIC file, a warning is displayed, but the resulted file size and erasing and programming times are reduced accordingly.