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

ID 852610
Date 12/15/2025
Public
Document Table of Contents

4.2.3.5. Creating Combined Application Images

A combined application image is an application image capable of updating the decision firmware and decision firmware data in flash while it is being loaded. Refer to the Combined Application Images appendix for more information about the combined application.

The following command is used to create combined application images in HPS boot first mode:

quartus_pfg -c \ 
factory_design.sof \ 
combined_image.rpd \
-o app_image=app_design.sof \
-o app_image_hps_path=app_fsbl.hex \
-o hps_path=factory_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 15.  Combined Application Images Parameters
Parameter Description
factory_design.sof Input SOF file, which contains the FPGA design for the factory image
combined_image.rpd Output combined application image
-o app_image=app_design.sof Input SOF file, which contains the FPGA design for the application image
-o app_image_hps_path=app_fsbl.hex Input HPS FSBL hex file for application image
-o hps_path=fsbl.hex Input HPS FSBL hex file for factory image
-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 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 combined_image.rpd file.

For the HPS boot first case, pass the -o hps=1 parameter to create following two files:
  • combined_image.hps.rpd—contains the combined application image
  • combined_image.core.rbf—corresponding fabric configuration file

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