Projects›Linux on FPGA Drivers · FPGA Open Source Projects

Linux on FPGA Drivers

Linux

Linux driver layering cover illustration

Fig: User space, driver layer and hardware in three tiers

FPGA Linux driver examples: char devices, interrupts, GPIO, SPI, I2C, DMA and more.

Driver Layering

Drivers sit between user space and hardware: apps enter through the char-device framework, drivers match peripherals via device tree and the platform model, then operate registers through GPIO, interrupt and SPI/I2C subsystems. This repo provides runnable examples for char devices, interrupts, GPIO, SPI, I2C and DMA.

User Space: Applications read / write / ioctl syscalls Kernel Driver Layer Char device framework · platform · device tree Hardware Registers Direct MMIO access GPIO Subsystem Interrupt Handler SPI / I2C DMA Engine

Fig: Syscalls pass through the char-device framework to registers; GPIO, interrupt, SPI/I2C and DMA subsystems plug into the driver layer

Related Videos

More FPGA hands-on tutorials on the fpga.love video portal

Video coming soon

Subscribe to fpga.love

Daily Briefing · Weekly Digest · Monthly Deep Dive