Hi,
I'd like to activate UART0 on the zynq and use it from within Linux like a standard i/o device (/dev/tty...)
Im planning to route UART0 via Emio internally to another Unit that is instantiated in the PL (and has a Uart interface).
So my plan is:
-) activate UART0 it in XPS, set to Emio, make external
-) Generate the stub for the system
-) route the uart0 pins internally in the top verilog design to the other uart device that is also instantiated in the PL section
-) flash new *.bit.bin file into the PL
*) Load the Driver for Uart0 in Linux / Create I/O device node
-) Write a Linux Application to write to/ read from uart device via termios.h
I think, so far I would need some help with the step marked with *).
I'm using the current Ubuntu Version with Default Headless Kernel Image.
What is neccessary in order to get the Uart0 Device in Linux running?
Do I need to change anything in the kernel/recompile it or can I just load the driver for Uart0 somehow?
Do I need to generate a new devicetree for that?
Thanks for your help!
cheers, moses