From owner-freebsd-arm@freebsd.org Thu Mar 2 02:05:12 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 D2074CF46F6 for ; Thu, 2 Mar 2017 02:05:12 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (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 B4EE0CB5 for ; Thu, 2 Mar 2017 02:05:12 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 983febe7-feec-11e6-b3c2-c9f38144898e X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id 983febe7-feec-11e6-b3c2-c9f38144898e; Thu, 02 Mar 2017 02:04:40 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v22259Av007933; Wed, 1 Mar 2017 19:05:09 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1488420309.60166.32.camel@freebsd.org> Subject: Re: Odd-looking serial console prompt on RPI2 From: Ian Lepore To: Oleksandr Tymoshenko , "Jayachandran C." Cc: bob prohaska , Michael Tuexen , freebsd-arm@freebsd.org Date: Wed, 01 Mar 2017 19:05:09 -0700 In-Reply-To: <20170302020116.GA98466@bluezbox.com> 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> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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 02:05:12 -0000 On Wed, 2017-03-01 at 18:01 -0800, Oleksandr Tymoshenko wrote: > Ian Lepore (ian@freebsd.org) wrote: > > > > On Wed, 2017-03-01 at 16:03 -0800, bob prohaska wrote: > > > > > > On Wed, Mar 01, 2017 at 09:20:13PM +0100, Michael Tuexen wrote: > > > > > > > > > > > > Interesting... Let us know what works and what doesn't... > > > > > > > > Best regards > > > > Michael > > > > > > > As of FreeBSD 12.0-CURRENT (RPI2) #0 r314450: Wed Mar  1 14:48:26 > > > PST > > > 2017 > > > the serial console is still corrupt (output truncated, input not > > > echoed > > > but treated like the enter key).  The serial console does seem to > > > work > > > with U-boot and loader, so I don't think it's the upstream > > > hardware.  > > > > > > The HDMI console looks normal and USB keyboard input seems to > > > work. > > > > > > There have been several updates to /usr/src/sys/dev/uart and it > > > looks > > > as if kernel updates are still coming. Maybe the job simply isn't > > > done yet. > > > > > > bob > > > > > 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 > CC'ing jchandra@. I wonder if there is some bad interaction when the same uart is used as a console and a tty? -- Ian