Hard Processor System Remote System Update User Guide: Agilex™ 5 SoCs

ID 852610
Date 4/18/2025
Public
Document Table of Contents

4.2.3.4. Creating Decision Firmware Update Images

The following command is used to create decision firmware update images in HPS boot first mode:

quartus_pfg -c \ 
factory_design.sof \ 
decision_update.rpd \
-o hps_path=fsbl.hex \
-o mode=ASX4 \
-o bitswap=ON \
-o rsu_upgrade=ON \
-o firmware_only=ON \
-o hps=1 \
-o factory_fallback=ON

The following table describes the parameters.

Table 14.  Decision Firmware Update Images Parameters
Parameter Description
factory_design.sof Input SOF file, which contains the FPGA design with the parameters for the decision firmware data
decision_update.rpd Output decision firmware update image
-o hps_path=fsbl.hex Input HPS FSBL hex binary file, ignored
-o mode=ASX4 Create image targeting QSPI
-o bitswap=ON Create file in regular binary format
-o rsu_upgrade=ON Select factory upgrade image
-o firmware_only=ON Select to upgrade just decision firmware
-o hps=1 Use only for HPS boot first designs
-o factory_fallback=ON Optional, use to enable direct factory fallback

For the FPGA configuration first case, omit the -o hps=1 parameter to create the factory_update.rpd file.

For the HPS boot first case, pass the -o hps=1 parameter to create following two files:
  • decision_update.hps.rpd—contains the decision firmware update image
  • decision_update.core.rbf—corresponding fabric configuration file (to be discarded)

The optional -o factory_fallback=ON parameter enables direct factory fallback for all configuration failures.