Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2017 12:59:03 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Andrew Turner <andrew@fubar.geek.nz>
Cc:        Ian Lepore <ian@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org>, Oleksandr Tymoshenko <gonzo@id.bluezbox.com>, Michael Tuexen <tuexen@fh-muenster.de>
Subject:   Re: Odd-looking serial console prompt on RPI2
Message-ID:  <4C69E3F3-049F-433D-B4DB-3177F30509F5@dsl-only.net>
In-Reply-To: <F72DB7BF-3B0E-4E6A-9A39-AE8FF22FC752@fubar.geek.nz>
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> <F72DB7BF-3B0E-4E6A-9A39-AE8FF22FC752@fubar.geek.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-Mar-2, at 2:47 AM, Andrew Turner <andrew at fubar.geek.nz> =
wrote:

>> On 2 Mar 2017, at 02:05, Ian Lepore <ian@freebsd.org> wrote:
>>=20
>> On Wed, 2017-03-01 at 18:01 -0800, Oleksandr Tymoshenko wrote:
>>> Ian Lepore (ian@freebsd.org) wrote:
>>>> 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
>>>=20
>>=20
>> CC'ing jchandra@.
>>=20
>> I wonder if there is some bad interaction when the same uart is used =
as
>> a console and a tty?
>>=20
>=20
> I tested the change on a ThunderX before this was committed and found =
no issues. It=E2=80=99s using the same uart as the console and a tty.
>=20
> Andrew

I updated the rpi2 that I have access to to -r314479
(to match other contexts that I have). This was a
large jump: i'd not updated the rpi2 in a long time.

It had the problem so I then reverted to the prior
source for the file in question:

# svnlite update -r310289 sys/dev/uart/uart_dev_pl011.c                  =
                                                                         =
                                                                         =
                                                    =20

and rebuilt and installed.

The problem was gone.

Of course if ThunderX and the rpi2 code use that code
differently then it might be other code that is actually
considered wrong and reverting just sidesteps the issue.

=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C69E3F3-049F-433D-B4DB-3177F30509F5>