Visible to Intel only — GUID: ioz1678993605624
Ixiasoft
1. FPGA AI Suite SoC Design Example User Guide
2. About the SoC Design Example
3. FPGA AI Suite SoC Design Example Quick Start Tutorial
4. FPGA AI Suite SoC Design Example Run Process
5. FPGA AI Suite SoC Design Example Build Process
6. FPGA AI Suite SoC Design Example Quartus® Prime System Architecture
7. FPGA AI Suite Soc Design Example Software Components
8. Streaming-to-Memory (S2M) Streaming Demonstration
A. FPGA AI Suite SoC Design Example User Guide Archives
B. FPGA AI Suite SoC Design Example User Guide Document Revision History
3.1. Initial Setup
3.2. Initializing a Work Directory
3.3. (Optional) Create an SD Card Image (.wic)
3.4. Writing the SD Card Image (.wic) to an SD Card
3.5. Preparing SoC FPGA Development Kits for the FPGA AI Suite SoC Design Example
3.6. Adding Compiled Graphs (AOT files) to the SD Card
3.7. Verifying FPGA Device Drivers
3.8. Running the Demonstration Applications
3.3.1. Installing Prerequisite Software for Building an SD Card Image
3.3.2. Building the FPGA Bitstreams
3.3.3. Installing HPS Disk Image Build Prerequisites
Red Hat* Enterprise Linux* 8 Prerequisites
Ubuntu* 20 Prerequisites
Ubuntu* 22 Prerequisites
3.3.4. (Optional) Downloading the ImageNet Categories
3.3.5. Building the SD Card Image
7.1.1. Yocto Recipe: recipes-core/images/coredla-image.bb
7.1.2. Yocto Recipe: recipes-bsp/u-boot/u-boot-socfpga_%.bbappend
7.1.3. Yocto Recipe: recipes-drivers/msgdma-userio/msgdma-userio.bb
7.1.4. Yocto Recipe: recipes-drivers/uio-devices/uio-devices.bb
7.1.5. Yocto Recipe: recipes-kernel/linux/linux-socfpga-lts_%.bbappend
7.1.6. Yocto Recipe: recipes-support/devmem2/devmem2_2.0.bb
7.1.7. Yocto Recipe: wic
Visible to Intel only — GUID: ioz1678993605624
Ixiasoft
3.3.3. Installing HPS Disk Image Build Prerequisites
The process to build the HPS disk image has additional prerequisites. To install these prerequisites, follow the instructions for your operating system in the following sections:
Red Hat* Enterprise Linux* 8 Prerequisites
To install the prerequisites for Red Hat* Enterprise Linux* 8:
- Enable additional Red Hat* Enterprise Linux* 8 repository and package manager:
sudo subscription-manager repos \ --enable codeready-builder-for-rhel-8-x86_64-rpms wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf install ./epel-release-latest-8.noarch.rpm epel-release sudo dnf upgrade
- Install the dependency packages:
sudo dnf install gawk wget git diffstat unzip texinfo gcc gcc-c++ make \ chrpath socat cpio python3 python3-pexpect xz iputils python3-jinja2 \ mesa-libEGL SDL xterm python3-subunit rpcgen zstd lz4 perl-open.noarch \ perl-Thread-Queue
- Install packages required to create the flash card image and FPGA AI Suite runtime and dependencies:
cd /tmp mkdir uboot_tools && cd uboot_tools wget https://kojipkgs.fedoraproject.org/\ vol/fedora_koji_archive02/packages/uboot-tools/2018.03/3.fc28/x86_64/\ uboot-tools-2018.03-3.fc28.x86_64.rpm sudo dnf install ./uboot-tools-2018.03-3.fc28.x86_64.rpm sudo dnf install ninja-build fakeroot sudo python3 -m pip install pylint passlib scons
- Install CMake Version 3.16.3 or later:
sudo dnf install openssl-devel cd /tmp mkdir cmake && cd cmake wget https://github.com/Kitware/CMake/releases/\ download/v3.24.3/cmake-3.24.3.tar.gz tar zxf cmake-3*tar.gz cd cmake-3.24.3 ./bootstrap --prefix=/usr make sudo make install
- Install Make Version 4.3 or later:
cd /tmp mkdir make && cd make wget https://ftp.gnu.org/gnu/make/make-4.3.tar.gz tar xvf make-4.3.tar.gz cd make-4.3 ./configure make sudo make install
- Add the /sbin directory to your $PATH environment variable:
export PATH="/sbin:$PATH"
Ubuntu* 20 Prerequisites
To install the prerequisites for Ubuntu* 20:
- Install the dependency packages:
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential \ chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \ iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 \ xterm python3-subunit mesa-common-dev zstd liblz4-tool device-tree-compiler \ mtools
- Install packages required to create the flash card image and FPGA AI Suite runtime and dependencies:
sudo apt install ninja-build u-boot-tools scons fakeroot
- Add the /sbin directory to your $PATH environment variable:
export PATH="/sbin:$PATH"
Ubuntu* 22 Prerequisites
To install the prerequisites for Ubuntu* 22:
- Install the dependency packages:
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential \ chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \ iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev xterm \ python3-subunit mesa-common-dev zstd liblz4-tool device-tree-compiler mtools
- Install packages required to create the flash card image and FPGA AI Suite runtime and dependencies:
sudo apt install ninja-build u-boot-tools scons fakeroot
- Add the /sbin directory to your $PATH environment variable:
export PATH="/sbin:$PATH"