Odd-looking serial console prompt on RPI2

Ian Lepore ian at freebsd.org
Sat Mar 11 18:04:19 UTC 2017


On Sat, 2017-03-11 at 12:49 -0500, Shawn Webb wrote:
> On Tue, Mar 07, 2017 at 02:29:18PM -0500, Shawn Webb wrote:
> > 
> > On Tue, Mar 07, 2017 at 02:09:37PM -0500, Shawn Webb wrote:
> > > 
> > > On Sat, Mar 04, 2017 at 03:02:45PM -0700, Ian Lepore wrote:
> > > > 
> > > > The bugs should be fixed as of r314682. ?It looks like the bugs
> > > > have
> > > > long been in the pl011 driver, but were masked by having a fifo
> > > > depth
> > > > of 1 byte -- it all sorta worked by accident previously.
> > > Thanks for the fix! But it looks to be only partial. When I
> > > connect to
> > > the serial console via either cu or screen, I don't get corrupted
> > > text,
> > > but no keypresses are registered. Hitting enter at the login
> > > prompt does
> > > absolutely nothing. I'm at the latest commit of
> > > hardened/current/master
> > > on HardenedBSD for both the RPI3 and my laptop.
> > > 
> > > I'm using this serial cable from Adafruit:
> > > https://www.adafruit.com/product/954
> > It looks like I had a bad cable. Sorry for the line noise.
> > Switching to
> > a different cable worked.
> Looks like the problem is back, but manifest in a different way.
> Screenshot:
> 
> https://goo.gl/photos/XYx6v1jCTVCGrnhd6
> 
> Thanks,
> 

I wonder if rpi3 needs the same smaller-fifo fix as a 32-bit rpi.  Just
to test that theory, can you see if the attached patch fixes problem?
 If it does, I'll figure out how to detect rpi3 at runtime and set the
sizes properly.

-- Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp.diff
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20170311/e249f14a/attachment.bin>


More information about the freebsd-arm mailing list