CONFIG_SERIAL_XILINX_PS_UART=y CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y |
CONFIG_SERIAL_XILINX_NR_UARTS=<number of expected UARTs> |
uart0: serial@e0000000 { compatible = "xlnx,xuartps", "cdns,uart-r1p8"; clocks = <&clkc 23>, <&clkc 40>; clock-names = "uart_clk", "pclk"; reg = <0xE0000000 0x1000>; interrupts = <0 27 4>; }; |
root@Xilinx-ZynqMP-EAApr2015:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:16 tx:21556 rx:401 brk:1 RTS|CTS|DTR|DSR|CD |
root@Xilinx-ZCU102-2015_4:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:204 tx:1008 rx:51 RTS|CTS|DTR|DSR|CD 1: uart:xuartps mmio:0xFF010000 irq:205 tx:0 rx:0 CTS|DSR|CD root@Xilinx-ZCU102-2015_4:~# [ 79.344585] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) dump-ftrace-buffer(z) root@Xilinx-ZCU102-2015_4:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:204 tx:1267 rx:64 brk:1 RTS|CTS|DTR|DSR|CD 1: uart:xuartps mmio:0xFF010000 irq:205 tx:0 rx:0 CTS|DSR|CD root@Xilinx-ZCU102-2015_4:~# stty -F /dev/ttyPS0 -a speed 115200 baud;stty: /dev/ttyPS0 line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke root@Xilinx-ZCU102-2015_4:~# stty -F /dev/ttyPS1 -a speed 9600 baud;stty: /dev/ttyPS1 line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke root@Xilinx-ZCU102-2015_4:~# cat < /dev/ttyPS1 ^C root@Xilinx-ZCU102-2015_4:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:204 tx:2975 rx:162 brk:1 RTS|CTS|DTR|DSR|CD 1: uart:xuartps mmio:0xFF010000 irq:205 tx:0 rx:1 brk:1 CTS|DSR|CD root@Xilinx-ZCU102-2015_4:~# stty -F /dev/ttyPS1 inpck root@Xilinx-ZCU102-2015_4:~# cat < /dev/ttyPS1 ^C root@Xilinx-ZCU102-2015_4:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:204 tx:3646 rx:200 brk:1 RTS|CTS|DTR|DSR|CD 1: uart:xuartps mmio:0xFF010000 irq:205 tx:0 rx:2 fe:1 brk:1 CTS|DSR|CD root@Xilinx-ZCU102-2015_4:~# cat < /dev/ttyPS1 ^C root@Xilinx-ZCU102-2015_4:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:204 tx:4042 rx:215 brk:1 RTS|CTS|DTR|DSR|CD 1: uart:xuartps mmio:0xFF010000 irq:205 tx:0 rx:7 fe:6 brk:1 CTS|DSR|CD root@Xilinx-ZCU102-2015_4:~# stty -F /dev/ttyPS1 parenb root@Xilinx-ZCU102-2015_4:~# cat < /dev/ttyPS1 ^C root@Xilinx-ZCU102-2015_4:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:204 tx:4835 rx:263 brk:1 RTS|CTS|DTR|DSR|CD 1: uart:xuartps mmio:0xFF010000 irq:205 tx:0 rx:8 fe:6 pe:1 brk:1 CTS|DSR|CD root@Xilinx-ZCU102-2015_4:~# cat < /dev/ttyPS1 ^C root@Xilinx-ZCU102-2015_4:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:204 tx:5236 rx:278 brk:1 RTS|CTS|DTR|DSR|CD 1: uart:xuartps mmio:0xFF010000 irq:205 tx:0 rx:9 fe:6 pe:1 brk:2 CTS|DSR|CD root@Xilinx-ZCU102-2015_4:~# cat < /dev/ttyPS1[ 363.850712] random: nonblocking pool is initialized ^C root@Xilinx-ZCU102-2015_4:~# cat /proc/tty/driver/xuartps serinfo:1.0 driver revision: 0: uart:xuartps mmio:0xFF000000 irq:204 tx:5637 rx:293 brk:1 RTS|CTS|DTR|DSR|CD 1: uart:xuartps mmio:0xFF010000 irq:205 tx:0 rx:13 fe:6 pe:5 brk:2 CTS|DSR|CD root@Xilinx-ZCU102-2015_4:~# |
Commits:
Commits:
Summary:
Commits:
2020.2
Summary:
Commits:
2021.1
Summary:
Commits:
2021.2
Summary:
Commits:
2022.1
2022.2
Summary:
Commits:
2023.1
Summary:
Commits: