[PATCH v1 0/1] bsp/xilinx-zynq: Flush TX-Buffer before initializing uart

Jan Sommer jan.sommer at dlr.de
Thu Aug 20 07:18:05 UTC 2020


We experienced that u-boot (at least from Xilinx repositories) does not wait until all its output has left the TX Buffer of the stdout uart, before handing over to the RTEMS application
This causes some garbage output at the begin of the RTEMS application in some cases and corrupts the test begin marker prohibiting rtems-test to recognize the test correctly. 

See also https://lists.rtems.org/pipermail/users/2020-August/067783.html

This patch waits until the TX buffer of the uart is flushed before
working with it.

The corresponding tickets for integration in master and 5 branches are
https://devel.rtems.org/ticket/4055 and
https://devel.rtems.org/ticket/4056

Best regards,

   Jan

Jan Sommer (1):
  bsp/xilinx-zynq: Flush TX-Buffer before initializing uart

 bsps/arm/shared/serial/zynq-uart-polled.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.1



More information about the devel mailing list