From owner-freebsd-arm@freebsd.org Thu Mar 2 20:59:07 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 240DCCF684F for ; Thu, 2 Mar 2017 20:59:07 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-192.reflexion.net [208.70.211.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C539AB0A for ; Thu, 2 Mar 2017 20:59:05 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 664 invoked from network); 2 Mar 2017 20:59:04 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 2 Mar 2017 20:59:04 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.30.0) with SMTP; Thu, 02 Mar 2017 15:59:04 -0500 (EST) Received: (qmail 18976 invoked from network); 2 Mar 2017 20:59:04 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 2 Mar 2017 20:59:04 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id D85F5EC9093; Thu, 2 Mar 2017 12:59:03 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: Odd-looking serial console prompt on RPI2 From: Mark Millard In-Reply-To: Date: Thu, 2 Mar 2017 12:59:03 -0800 Cc: Ian Lepore , freebsd-arm , Oleksandr Tymoshenko , Michael Tuexen Content-Transfer-Encoding: quoted-printable Message-Id: <4C69E3F3-049F-433D-B4DB-3177F30509F5@dsl-only.net> 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> To: Andrew Turner X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 20:59:07 -0000 On 2017-Mar-2, at 2:47 AM, Andrew Turner = wrote: >> On 2 Mar 2017, at 02:05, Ian Lepore 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