Uio pci generic

From ArmadeusWiki
Revision as of 17:45, 7 March 2016 by FabienM (Talk | contribs) (Created page with "Category: PCIe Category: UIO = Introduction = It's possible to use the FPGA CycloneV throught PCIe without writing any driver on the APF6_SP = Kernel configuration...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Introduction

It's possible to use the FPGA CycloneV throught PCIe without writing any driver on the APF6_SP


Kernel configuration

$ make linux-menuconfig
    Device Drivers  ---> 
        <*> Userspace I/O drivers  --->
            <M>   Generic driver for PCI 2.3 and PCI Express cards

Mounting the uio

  • First load the uio_pci_generic driver:
$ modprobe uio_pci_generic
  • Then bind the FPGA PCIe with following command:
$ echo "1172 e001" &>> /sys/bus/pci/drivers/uio_pci_generic/new_id

Links