SDAA427 July   2026 AFE7900 , AFE7901 , AFE7903 , AFE7906 , AFE7950 , AFE7950-SP , AFE7951 , AFE7953 , AFE7954 , AFE7955 , AFE7958

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Linux Kernel Driver
    1. 2.1 Linux Kernel Driver using PetaLinux Tools
    2. 2.2 Linux Kernel Driver Using Yocto Project
      1. 2.2.1 Overview of the Yocto Project
      2. 2.2.2 Host System Requirements
      3. 2.2.3 Setting Up a Yocto Build Environment
      4. 2.2.4 Configuring Board Specific Layers
      5. 2.2.5 Integrating the AFE79xx Yocto Layer
      6. 2.2.6 Verifying the Integration
      7. 2.2.7 Troubleshooting
    3. 2.3 Preparing Linux Boot Images
    4. 2.4 Operating the AFE79xx Device from User Space
  6. 3Building the AFE79xx SDK in Application Layer
    1. 3.1 Building Linux Kernel Without AFE79xx SDK using PetaLinux Tools
    2. 3.2 Integrating SPI with AFE79xx in User Space
  7. 4Reference Design for ZCU102 FPGA with Processor and SPI
    1. 4.1 Configuring the Zynq Processor
    2. 4.2 Configuring the SPI Interface
    3. 4.3 Generating Hardware Description
    4. 4.4 Booting ZCU102 Board with SD Card
  8. 5Summary
  9. 6References

Host System Requirements

The following host system configuration is required to build a Yocto image.

Operating System

Ubuntu 18.04 LTS or later is recommended. Other Linux distributions supported by Yocto may also be used; refer to the official Yocto documentation for a full list.

Table 2-1 System Resources
Resource Minimum Recommended
RAM8 GB16 GB
Free Disk Space100 GB200 GB
CPU Cores48 or more

Required Packages

Install the following packages on the host system before proceeding:

sudo apt-get update

sudo apt-get install -y 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