FPGA AI Suite: SoC Design Example User Guide

ID 768979
Date 12/16/2024
Public
Document Table of Contents

3.3.5. Building the SD Card Image

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 one of the following commands:
  • 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.