Date: Sat, 4 Mar 2017 22:24:13 +0530 From: "Jayachandran C." <jchandra@freebsd.org> To: Ian Lepore <ian@freebsd.org> Cc: Oleksandr Tymoshenko <gonzo@id.bluezbox.com>, bob prohaska <fbsd@www.zefox.net>, Michael Tuexen <tuexen@fh-muenster.de>, freebsd-arm@freebsd.org Subject: Re: Odd-looking serial console prompt on RPI2 Message-ID: <CA%2B7sy7Bv=-2mx2MJP18ZnbNp2yO2hKukw=KALn711txaxsk=rg@mail.gmail.com> In-Reply-To: <1488420309.60166.32.camel@freebsd.org> References: <20170227195647.GA91329@www.zefox.net> <20170301200112.ymwkfd64tzz5f3b2@mutt-hbsd> <4194F030-4E5C-4EB6-82D7-FD725E3B7CEF@fh-muenster.de> <20170302000334.GA99403@www.zefox.net> <1488419304.60166.26.camel@freebsd.org> <20170302020116.GA98466@bluezbox.com> <1488420309.60166.32.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 2, 2017 at 7:35 AM, Ian Lepore <ian@freebsd.org> wrote: > On Wed, 2017-03-01 at 18:01 -0800, Oleksandr Tymoshenko wrote: >> Ian Lepore (ian@freebsd.org) wrote: >> > >> > On Wed, 2017-03-01 at 16:03 -0800, bob prohaska wrote: >> > > >> > > On Wed, Mar 01, 2017 at 09:20:13PM +0100, Michael Tuexen wrote: >> > > > >> > > > >> > > > Interesting... Let us know what works and what doesn't... >> > > > >> > > > Best regards >> > > > Michael >> > > > >> > > As of FreeBSD 12.0-CURRENT (RPI2) #0 r314450: Wed Mar 1 14:48:26 >> > > PST >> > > 2017 >> > > the serial console is still corrupt (output truncated, input not >> > > echoed >> > > but treated like the enter key). The serial console does seem to >> > > work >> > > with U-boot and loader, so I don't think it's the upstream >> > > hardware. >> > > >> > > The HDMI console looks normal and USB keyboard input seems to >> > > work. >> > > >> > > There have been several updates to /usr/src/sys/dev/uart and it >> > > looks >> > > as if kernel updates are still coming. Maybe the job simply isn't >> > > done yet. >> > > >> > > bob >> > > >> > It seems like this might be caused by r314318. Can someone having >> > this problem confirm if 314317 works and 314318 fails? >> Tested on my RPi2, 314317 - works, 314318 - broken >> > > CC'ing jchandra@. > > I wonder if there is some bad interaction when the same uart is used as > a console and a tty? I don't have a RPi3 setup to test now, I will look at the code again to see if I can find an issue. Otherwise I will revert the change until we can find why the RPi UART breaks with these changes. Thanks, JC.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7sy7Bv=-2mx2MJP18ZnbNp2yO2hKukw=KALn711txaxsk=rg>