On Thu, May 15, 2014 at 7:05 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote: > Hi Sascha, > > On Thu, May 15, 2014 at 6:21 PM, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote: > >>> --- a/drivers/serial/serial_imx.c >>> +++ b/drivers/serial/serial_imx.c >>> @@ -258,7 +258,8 @@ static int imx_serial_getc(struct console_device *cdev) >>> while (readl(priv->regs + priv->devtype->uts) & UTS_RXEMPTY); >>> >>> ch = readl(priv->regs + URXD0); >>> - >>> + if (ch >= 0x80) >>> + ch = '?'; >> >> This is not part of the fix, right? > > Correct, this is not part of the fix. > > This code is just to help reproducing the issue in console, without > the need of hooking an oscilloscope to the UART pins or inspecting > directly the UART TX registers. Any comments, Sascha? The same fix has also been applied to the kernel: https://git.kernel.org/cgit/linux/kernel/git/gregkh/tty.git/commit/?h=tty-next&id=b38cb7d2571197b56cefae8967f9db15c9361113 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox