FPGA AI Suite: SoC Design Example User Guide

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

7.1.4. Yocto Recipe: recipes-drivers/uio-devices/uio-devices.bb

This Yocto recipe installs a service which starts up the uio drivers within the system.

The uio_pdrv_genirq driver provides user mode access to mapping and umapping CSR registers in the FPGA AI Suite IP.

The kernel modules uio.ko and uio_pdev_genirq.ko are enabled in the recipe-kernel/linux kernel configuration file: recipes-kernel/linux/files/enable-mod.cfg.

The device tree settings are set to assign base addresses and IRQs for the FPGA AI Suite IP, the stream controller, and the layout transform module. These can be found in recipes-kernel/linux/files/coredla-dts.patch.