From owner-freebsd-arm@FreeBSD.ORG Sat Feb 2 15:13:34 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3FF42369 for ; Sat, 2 Feb 2013 15:13:34 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id DDA5D79E for ; Sat, 2 Feb 2013 15:13:27 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.6/8.14.6) with ESMTP id r12FDQd5049908 for ; Sat, 2 Feb 2013 08:13:26 -0700 (MST) (envelope-from ian@FreeBSD.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r12FDNRu027351; Sat, 2 Feb 2013 08:13:23 -0700 (MST) (envelope-from ian@FreeBSD.org) Subject: Re: Beaglebone Serial Ports From: Ian Lepore To: Iain Young In-Reply-To: <510CE8E0.9070102@g7iii.net> References: <510CE8E0.9070102@g7iii.net> Content-Type: text/plain; charset="us-ascii" Date: Sat, 02 Feb 2013 08:13:23 -0700 Message-ID: <1359818003.93359.381.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 15:13:34 -0000 On Sat, 2013-02-02 at 10:22 +0000, Iain Young wrote: > Hi Folks, > > Just a quick question with regards to some clarification serial ports > on the Beaglbone and FreeBSD. Am I correct in deducing that FreeBSD > lacks support for UARTS1 thru 5 at the moment ? > > I can see what I believe to be UART0 (which is attached to the USB) as > /dev/cuau0, but not the others. A few finds and greps through the > kernel source didn't show up anything obvious either. > > Is any one working on them ? Or is there a kernel module or option > that I need to enable for them to build ? > According to the datasheet all the onboard uarts should be supported by our standard uart driver (but only uart1 has all the modem-control lines wired). Two things need to be done to enable them: add entries to the .dts file (easy), and configure the multipurpose pins for them at runtime. I have no idea how we handle the latter in the FDT world. In the pre-FDT world it was pretty much ad-hoc and board-support routines that ran at startup configured pins for that board. -- Ian