Difference between revisions of "OpenCore 16550 IP Linux driver"
From ArmadeusWiki
m (→Usage) |
m (→Compilation) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{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 | |
− | + | </pre> | |
− | + | <pre class="config"> | |
− | $ make | + | 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. | ||
− | + | ==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
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.