Intel Agilex® 7 Hard Processor System Remote System Update User Guide

ID 683184
Date 6/09/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.2.3.3. Creating Factory Update Images

The following command is used to create factory update images:

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.

Parameter Description
factory_design.sof Input SOF file, containing 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 first designs
-o factory_fallback=ON Optional, use to enable direct factory fallback

For FPGA first case, the parameter “-o hps=1” must be omitted, and the file factory_update.rpd is created.

For HPS first the parameter “-o hps=1” must be passed, and the following two files are created:

  • factory_update.hps.rpd—contains the factory update image
  • factory_update.core.rbf—corresponding fabric configuration file

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