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.3. Creating Factory Update Images

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

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

The following table describes the parameters.

Table 13.  Factory Update Images Parameters for HPS Boot First Mode
Parameter Description
factory_design.sof Input SOF file, which contains the FPGA design for the factory image
factory_update.rpd Output factory update image
-o hps_path=fsbl.hex Input HPS FSBL hex binary file for the factory image
-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 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:
  • factory_update.hps.rpd—contains the factory update image
  • factory_update.core.rbf—corresponding fabric configuration file

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