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

ID 683184
Date 7/13/2022
Public

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

Document Table of Contents

9.3. Creating Application and Update Images for HPS First

The application image is created with the same command as for FPGA first, with an additional parameter specified, as shown below, in bold:
cd $TOP_FOLDER
mkdir -p images
rm -rf images/application2.rpd
~/intelFPGA_pro/21.2/nios2eds/nios2_command_shell.sh \
quartus_pfg -c hw/ghrd.2/output_files/ghrd_agfb014r24a3e3vr0.sof \
	images/application2.rpd \
	-o hps_path=u-boot-socfpga/spl/u-boot-spl-dtb.hex \
	-o mode=ASX4 -o start_address=0x00000 -o bitswap=ON \
	-o hps=1
The following files are created:
  • images/application2.hps.rpd - Application image
  • images/application2.core.rbf - Corresponding fabric configuration file
The factory update image is created with the same command as for FPGA first, with the same additional parameter specified, as shown below, in bold:
cd $TOP_FOLDER
mkdir -p images
rm -f images/factory_update.rpd
~/intelFPGA_pro/21.2/nios2eds/nios2_command_shell.sh \
quartus_pfg -c hw/ghrd.3/output_files/ghrd_agfb014r24a3e3vr0.sof \
	images/factory_update.rpd \
	-o hps_path=u-boot-socfpga/spl/u-boot-spl-dtb.hex \
	-o mode=ASX4 -o start_address=0x00000 -o bitswap=ON \
	-o rsu_upgrade=ON \
	-o hps=1
The following files are created:
  • images/factory_update.hps.rpd - Factory update image
  • images/factory_update.core.rbf - Corresponding fabric configuration file
The decision firmware update image is created with the same command as for FPGA first, with the same additional parameter specified, as shown below, in bold:
cd $TOP_FOLDER
mkdir -p images
rm -f images/decision_firmware_update.rpd
~/intelFPGA_pro/21.2/nios2eds/nios2_command_shell.sh \
quartus_pfg -c hw/ghrd.3/output_files/ghrd_agfb014r24a3e3vr0.sof \
	images/decision_firmware_update.rpd \
	-o hps_path=u-boot-socfpga/spl/u-boot-spl-dtb.hex \
	-o mode=ASX4 -o start_address=0x00000 -o bitswap=ON \
	-o rsu_upgrade=ON \
	-o firmware_only=1 \
	-o hps=1
The following files are created:
  • images/decision_firmware_update.hps.rpd - Decision firmware update image
  • images/decision_firmware_update.core.rbf - Not used