Date: Wed, 8 Mar 2017 18:23:28 +0900 From: Andrew Turner <andrew@fubar.geek.nz> To: Ian Lepore <ian@freebsd.org> Cc: "Jayachandran C." <jchandra@freebsd.org>, Oleksandr Tymoshenko <gonzo@id.bluezbox.com>, freebsd-arm@freebsd.org, Michael Tuexen <tuexen@fh-muenster.de> Subject: Re: Odd-looking serial console prompt on RPI2 Message-ID: <F3AA7E4C-0254-4BC3-B9C5-3284E1AE8282@fubar.geek.nz> In-Reply-To: <1488936952.18764.63.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> <CA%2B7sy7Bv=-2mx2MJP18ZnbNp2yO2hKukw=KALn711txaxsk=rg@mail.gmail.com> <1488664965.69705.24.camel@freebsd.org> <CA%2B7sy7D0ctonL26mchbpyDL-CrcyW%2B5F9CYsQ9UwagR4UcoK7g@mail.gmail.com> <1488817492.18764.14.camel@freebsd.org> <CA%2B7sy7ANOxzJXfx62M8c7sq4SsLL3gDxyhSj74QDmupjKsT7mQ@mail.gmail.com> <1488936952.18764.63.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 8 Mar 2017, at 10:35, Ian Lepore <ian@freebsd.org> wrote: > > On Wed, 2017-03-08 at 03:18 +0530, Jayachandran C. wrote: >> On Mon, Mar 6, 2017 at 9:54 PM, Ian Lepore <ian@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F3AA7E4C-0254-4BC3-B9C5-3284E1AE8282>