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

7.1.3. Yocto Recipe: recipes-drivers/msgdma-userio/msgdma-userio.bb

This Yocto recipe enables an out-of-kernel (userspace) build of the msgdma-userio character driver used for transfer data to and from the HPS to the FPGA DDR memory. This driver calls into the DMA_ENGINE API exposed by the altera-msgdma kernel driver. The kernel module altera-msgdma.ko is enabled in recipe-kernel/linux kernel configuration file: recipes-kernel/linux/files/enable-coredla-mod.cfg.

Device tree settings are set to assign base address, IRQ for the altera-msgdma and associated to the msgdma-userio driver. These can be found in recipes-kernel/linux/files/coredla-dts.patch.