Intel® FPGA AI Suite: SoC Design Example User Guide

ID 768979
Date 4/05/2023
Public

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

Document Table of Contents

3.3.5. Building the SD Card Image

The SD card image contains a Yocto Project embedded Linux system, Intel® Arria® 10 SX SoC HPS packages, and the Intel® 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:
cd $COREDLA_WORK/runtime
./create_hps_image.sh -f $COREDLA_WORK/a10_perf_bitstream -o <output_dir> -u

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