Uio pci generic: Difference between revisions

From ArmadeusWiki
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..."
 
FabienM (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category: PCIe]]
[[Category: PCIe]]
[[Category: UIO]]
[[Category: UIO]]
 
{{Under_Construction}}
= Introduction =
= Introduction =
It's possible to use the FPGA CycloneV throught PCIe without writing any driver on the APF6_SP
It's possible to use the FPGA CycloneV throught PCIe without writing any driver on the APF6_SP
Line 29: Line 29:


<pre class="apf">
<pre class="apf">
$ echo "1172 e001" &>> /sys/bus/pci/drivers/uio_pci_generic/new_id
$ echo "1172 e001" > /sys/bus/pci/drivers/uio_pci_generic/new_id
</pre>
</pre>


*  
*
 
= Links =
= Links =


* [https://www.kernel.org/doc/htmldocs/uio-howto/uio_pci_generic.html uio_pci_generic] documentation.
* [https://www.kernel.org/doc/htmldocs/uio-howto/uio_pci_generic.html uio_pci_generic] documentation.

Latest revision as of 17:50, 7 March 2016

Page under construction... 

Informations on this page are not guaranteed !!

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