Difference between revisions of "OpenCore 16550 IP Linux driver"

From ArmadeusWiki
Jump to: navigation, search
(Usage)
Line 1: Line 1:
 
{{Under_Construction}}
 
{{Under_Construction}}
  
Thanks to the OpenCore 16550 serial IP integration, you can add at least 4 complete RS232 ports to your Armadeus board (depending on the FPGA capacity).
+
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 linux26-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:
 
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 IPs you put in your bitfile.
+
Now you should have as much ''/dev/ttySN'' as 16650 cores you put in your bitfile.
  
 
==Links==
 
==Links==
 +
* [[POD|Peripheral On Demand (POD)]]
 +
* [[Serial_ports_usage_on_Linux]]
 
* http://www.opencores.org/projects.cgi/web/uart16550/overview
 
* http://www.opencores.org/projects.cgi/web/uart16550/overview

Revision as of 15:35, 17 July 2009

Page under construction... Construction.png Informations on this page are not guaranteed !!

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 linux26-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