Hi all,
I can run the linux kernel on my custom zedboard, where the output message is come from UART1.However, I hope to use UART1 and UART0 at the same time. I have set the pin of MIO 10 and MIO 11 for uart0 in vivado2015 configuration and enabled the UART0 port.
I also added the uart0 infomation on my diglient_zynq.dts.
aliases{
etherner0=&ps_etherner_0;
serial1=&ps7_uart_0;
serial0=&ps7_uart_1;
}
...
pa7_uart_0:serial@e0000000{
clock=<50000000>
clock-frequency=<50000000>
device_type="serial"
interrupts=<0,27,4>
....
}
pa7_uart_1:serial@e0001000{
clock=<50000000>
clock-frequency=<50000000>
device_type="serial"
interrupts=<0,50,4>
....
}
In my opnion, the UART0 has been defined correctly in that file.
Generaly, kernel will print:
----------------------------
e0001000.uart: ttyPS0 at MMIO 0xe0001000 (irq = 82) is a xuartps
console [ttyPS0] enabled
e0000000.uart: ttyPS1 at MMIO 0xe0000000 (irq = 59) is a xuartps
----------------------------
Unfortunately, I can't find any message about "ttyPS1" from kernel output.
Has any one can help me or give me any tips??
ps:i using the cmd "cat proc/interupts",i find the irq 82,but i can't find the irq 59,i have no reason why did this problem.
Thanks!