Agilex™ 7 Configuration User Guide

ID 683673
Date 11/04/2024
Public
Document Table of Contents

5.5.3. Generating a Factory Update Image

You can generate the factory update image from the command line directly, by running the quartus_pfg with the following arguments:
quartus_pfg -c fpga.sof factory_update.rpd -o mode=ASX4 -o bitswap=ON -o rsu_upgrade=ON

Alternatively, you can use the Quartus® Prime Pro Edition Programming File Generator to generate a factory update image (.rpd). You can use this image to update the decision firmware, decision firmware data, and the factory image.

Note: The .rpd to program flash memory includes firmware pointer information for image addresses. You must use the Programming File Generator to generate the .rpd for flash devices.
You can also enable the direct factory image fallback feature via command line below when generate factory update image or by using the saved settings file (.pfg) from the Programming File Generator.
quartus_pfg -c fpga.sof factory_update.rpd -o mode=ASX4 -o bitswap=ON -o rsu_upgrade=ON -o factory_fallback=ON
  1. On the File menu, click Programming File Generator.
  2. Select Agilex™ 7 from the Device family drop-down list.
  3. Select the configuration mode from the Configuration mode drop-down list. The current Quartus® Prime only supports the RSU feature in the Active Serial x4 configuration mode.
  4. On the Output Files tab, assign the output directory and file name.
  5. Select the output file type:
    • Raw Programming File (.rpd)
  6. By default, the .rpd file type is little-endian. If you are using a third-party programmer that does not support the little-endian format, set Bit swap to On to generate the .rpd file in big endian format.
    Note: The rsu1.tcl script that Intel provides performs the bit swap operation. Consequently, if you are using this script, set Bit swap to Off.
  7. On the Input Files tab, click Add Bitstream. If necessary, change the Files of type to SRAM Object File (*.sof). Then, select factory image .sof file and click Open.
    Figure 78. Specify the .sof File
  8. Select the .sof and then click Properties. Turn On Generate RSU factory update image. Specify the Bootloader file.
    Note: You only have to specify the Bootloader file for Agilex™ 7 devices that support HPS.
    Note:

    To enable direct factory image fallback feature, set Direct factory image fallback to On. This step is optional.

    The Direct factory image fallback is disabled if Generate RSU factory update image is set to Off.

  9. Click Generate to generate the RSU programming files. You can now update the decision firmware, decision firmware data, and the factory image in flash memory. You can save the configuration in a .pfg file for later use.