Re: BSP support - UART
Martin Schröder <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 14.10.2015 um 00:39 schrieb ba_f: > Hello Hackers, > > > I have a custom board with Zynq processor. > Unfortunately, it uses UART0 which produces only garbage. > (A lot of white spaces or tabs and single freak characters, if this is any help.) > > My ZedBoard uses UART1 and Fiasco runs successfully on it. > > I'm sure Zynq is proper configured on the new board, because the U-Boot output is displayed correctly. > But the Fiasco output then looks like a wrong baud-rate, or something. > With both boards i open console with: > picocom /dev/ttyACM0 -b 115200 Looks like a wrong calculated divisor in the baudrate divider register. You should check the actual UART clock source and change the value in uart_cadence.cc accordingly: _regs-write<unsigned>(BAUDGEN, 50000000 / r / (div + 1)); Martin