Difference between revisions of "OpenCore 16550 IP Linux driver"

From ArmadeusWiki
Jump to: navigation, search
m (Usage)
m (Compilation)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Under_Construction}}
+
{{Need_Update}}
 +
Thanks to the OpenCore 16550 serial IP integration in [[POD]], you can add at least 4 complete RS232 ports to your Armadeus board (depending on the FPGA capacity).
  
 
==Compilation==
 
==Compilation==
  $ make menuconfig
+
<pre class="host">
 
+
  $ make linux-menuconfig
Device Drivers  ---> Armadeus specific drivers  ---> FPGA Drivers  ---> <M>  OpenCore 16550 serial IP driver
+
</pre>
 
+
<pre class="config">
  $ make linux
+
Device Drivers  --->  
 +
    Armadeus specific drivers  --->  
 +
        FPGA Drivers  --->  
 +
            <M>  OpenCore 16550 serial IP driver
 +
</pre>
 +
<pre class="host">
 +
  $ make
 +
</pre>
  
 
==Usage==
 
==Usage==
 +
Assuming you have previously loaded your FPGA with the corresponding IP:
 +
<pre class="apf">
 
  # modprobe 8250
 
  # modprobe 8250
 
  # modprobe 16550_ocore
 
  # modprobe 16550_ocore
 +
</pre>
 +
 +
Now you should have as much ''/dev/ttySN'' as 16650 cores you put in your bitfile.
  
Now you should have as much /dev/ttySN as IPs you put in your bitfile.
+
==Links==
 +
* [[POD|Peripheral On Demand (POD)]]
 +
* [[Serial_ports_usage_on_Linux]]
 +
* http://www.opencores.org/projects.cgi/web/uart16550/overview

Latest revision as of 17:02, 4 September 2013

Update.png This page is too old and need some updates. Informations on this page are not guaranteed !! Update.png

Thanks to the OpenCore 16550 serial IP integration in POD, you can add at least 4 complete RS232 ports to your Armadeus board (depending on the FPGA capacity).

Compilation

 $ make linux-menuconfig
Device Drivers  ---> 
    Armadeus specific drivers  ---> 
        FPGA Drivers   ---> 
            <M>   OpenCore 16550 serial IP driver
 $ make

Usage

Assuming you have previously loaded your FPGA with the corresponding IP:

 # modprobe 8250
 # modprobe 16550_ocore

Now you should have as much /dev/ttySN as 16650 cores you put in your bitfile.

Links