Software flow control for /dev/console on Zynq

Stephen Tether tether at slac.stanford.edu
Wed Jul 16 22:11:52 UTC 2014


On 07/16/2014 02:59 PM, Joel Sherrill wrote:
> On 7/16/2014 4:53 PM, Stephen Tether wrote:
>> Is there any way to turn on software flow control for /dev/console on
>> the Xilinx Zynq? Some of my colleagues have noticed dropped characters
>> when pasting shell command sequences into the minicom window on the
>> development host ....
>>
>> So, is there something I'm missing or do I have to implement flow
>> control myself?
> I am hoping someone else can pipe up on if you are missing something but
> software flow control is implemented in cpukit/libcsupport/termios.c.
>
> If the console is in polled mode, it could be overflowed without termios
> ever seeing it. But if the console is interrupt driven, I would expect it to
> be OK.

Alas, the console *is* in polled mode. On our last pull of RTEMS sources 
the relevant code was in

src/c/src/lib/libbsp/arm/xilinx-zynq/console/zynq-uart.c

which didn't set up interrupts.

- Steve




More information about the users mailing list