AN 999: Drive-on-Chip with Functional Safety Design Example: Agilex™ 7 Devices

ID 823627
Date 7/04/2024
Public

Visible to Intel only — GUID: rhd1716285579738

Ixiasoft

Document Table of Contents

3.5. Generating .jic and .rbf files After Hardware Modifications

In the Drive-on-Chip with Functional Safety Design Example for Agilex™ 7 Devices the HPS configures the FPGA during during boot-up flow (HPS first flow). To recreate the design, you must generate a .rbf and .jic files after Quartus compilation from the .sof file.

If you want to modify the hardware design in the FPGA, generate a new .rbf. If the hardware modification includes changes in the HPS configuration in Platform Designer, regenerate a new .jic file. You can build them with the steps in the GSRD or the steps in Building Bootloader for Agilex 7.

  1. Compile the hardware design using Quartus Prime Pro and get the top.sof file.
  2. In Building Bootloader for Agilex7, follow the steps in the Build U-Boot section. You need the file in u-boot-socfapga/spl/u-boot-spl-dtb.hex for the next step.
  3. Generate the QSPI image (.jic) and the FPGA image (.rbf)
    >> ~/intelFPGA_pro/23.3/nios2eds/nios2_command_shell.sh \ 
    quartus_pfg -c \ 
    top.sof \ 
    agilex7_dk_si_agf014ea.jic \ 
    -o device=MT25QU128 \ 
    -o flash_loader=AGFB014R24B2E2V \ 
    -o hps_path=u-boot-socfpga/spl/u-boot-spl-dtb.hex \ 
    -o mode=ASX4 \ 
    -o hps=1 
    The resulting .jic file allows you to program the QSPI image.
  4. Rename the .rbf file to agilex7_dk_si_agf014ea.core.rbf and replace into the right location during the Yocto build, refer to Rebuilding Yocto with Provided Meta Layer