From owner-freebsd-arm@freebsd.org Wed Mar 8 09:24:14 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 9194ED025D9 for ; Wed, 8 Mar 2017 09:24:14 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fry.fubar.geek.nz (fry.fubar.geek.nz [139.59.165.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5BBC11E4E; Wed, 8 Mar 2017 09:24:13 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from adsl-172-10-1-110.dsl.sndg02.sbcglobal.net (p76eca588.tokynt01.ap.so-net.ne.jp [118.236.165.136]) by fry.fubar.geek.nz (Postfix) with ESMTPSA id 4974D4E6DC; Wed, 8 Mar 2017 09:23:34 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: Odd-looking serial console prompt on RPI2 From: Andrew Turner In-Reply-To: <1488936952.18764.63.camel@freebsd.org> Date: Wed, 8 Mar 2017 18:23:28 +0900 Cc: "Jayachandran C." , Oleksandr Tymoshenko , freebsd-arm@freebsd.org, Michael Tuexen Content-Transfer-Encoding: 7bit Message-Id: 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> <1488664965.69705.24.camel@freebsd.org> <1488817492.18764.14.camel@freebsd.org> <1488936952.18764.63.camel@freebsd.org> To: Ian Lepore 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: Wed, 08 Mar 2017 09:24:14 -0000 > On 8 Mar 2017, at 10:35, Ian Lepore wrote: > > On Wed, 2017-03-08 at 03:18 +0530, Jayachandran C. wrote: >> On Mon, Mar 6, 2017 at 9:54 PM, Ian Lepore wrote: >>> [...] >> >> I was thinking that IFLS behaved differently on ThunderX and that is >> why my original code worked there. But after going thru the spec >> again, >> it looks like the FIFO in newer pl011 implementations is 32 entry >> deep, >> and that may be real reason why ThunderX did not have any issues. >> >> JC. > > Could you (and anybody else who has a board that uses pl011 uarts) > please test the attached patch? I tested already on an rpi-b and it > works fine there, but I'd like to hear whether it works on something > that actually has 32-byte fifos. It should probably be tested on an > rpi2 as well (which I don't have). It works for me on ThunderX. Andrew