FPGA AI Suite Handbook

ID 863373
Date 11/21/2025
Public

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

Document Table of Contents

4.3.6.2.2.5. Building the SD Card Image for the SoC Design Example

The SD card image contains a Yocto Project embedded Linux system, HPS packages, and the FPGA AI Suite runtime.

Building the SD card image requires a minimum of 100GB of free disk space.

The SD card image is build with the create_hps_image.sh command, which does the following steps for you:
  • Build a Yocto Project embedded Linux system.
  • Build additional packages required by the SoC design example runtime, including the OpenVINO™ and OpenCV runtimes.
  • Build the design example runtime.
  • Combine all of these items and FPGA bitstreams into an SD card image using wic.
  • Place the SD card image in the specified output directory.

For more details about the create_hps_image.sh command, refer to Building the Bootable SD Card Image (.wic).

To build the SD card image, run the following commands:
  1. Ubuntu* 24.04 Users: Check if AppArmor is restricting unprivileged user namespaces with the following command:
    sysctl kernel.apparmor_restrict_unprivileged_userns
    If the result is kernel.apparmor_restrict_unprivileged_userns = 1, temporarily disable the restriction to allow the Yocto Project BitBake tool to run correctly when building the SD card image with the following command:
    sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
  2. Build the SD card image for your board with one of the following commands:
    • Agilex™ 5 FPGA E-Series 065B Modular Development Kit (MK-A5E065BB32AES1)
      cd $COREDLA_WORK/runtime
      
      ./create_hps_image.sh \
          -f $COREDLA_WORK/agx5_perf_bitstream/hw/output_files \
          -o <output_dir> -u \
        -m agilex5_mk_a5e065bb32aes1
    • Agilex™ 7 FPGA I-Series Transceiver-SoC Development Kit
      cd $COREDLA_WORK/runtime
      
      ./create_hps_image.sh \
         -f $COREDLA_WORK/agx7_perf_bitstream/hw/output_files \
         -o <output_dir> -u \
        -m agilex7_dk_si_agi027fa
    • Arria® 10 SX SoC FPGA Development Kit
      cd $COREDLA_WORK/runtime
      
      ./create_hps_image.sh \
         -f $COREDLA_WORK/a10_perf_bitstream/hw/output_files \
         -o <output_dir> -u \
        -m arria10

If the command returns errors such as " bitbake: command not found ", try deleting the $COREDLA_WORK/runtime/build_Yocto/ directory before rerunning the create_hps_image.sh command.