From owner-freebsd-arm@FreeBSD.ORG Tue May 14 16:24:53 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 D44D9490; Tue, 14 May 2013 16:24:53 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 91A0D813; Tue, 14 May 2013 16:24:53 +0000 (UTC) Received: from rnote.ddteam.net (67-51-133-95.pool.ukrtel.net [95.133.51.67]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id E9EB0C493A; Tue, 14 May 2013 19:24:51 +0300 (EEST) Date: Tue, 14 May 2013 19:24:48 +0300 From: Aleksandr Rybalko To: Adrian Chadd Subject: Re: RS-232 driver for GPIO Message-Id: <20130514192448.7b48e095.ray@freebsd.org> In-Reply-To: References: Organization: FreeBSD.ORG X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) X-Operating-System: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: Tue, 14 May 2013 16:24:53 -0000 On Tue, 14 May 2013 09:06:44 -0700 Adrian Chadd wrote: > ... the r-pi actually has an RS232 port exposed via GPIO. It's only > 3.3v but it's there. > > Someone just needs to write up an SIO driver for it and then put the > GPIO pins in question into RS232 "mode". we have it already :) (console works on uart) only FDT definition is required. And maybe some fixes for boudrate setting and/or format setup (bits/parity/stop bits/etc) > > Yay multi-function GPIO pins! > > > > adrian > > > On 14 May 2013 08:58, Tom Everett wrote: > > Good morning ARM mailing list. > > > > I've been running FreeBSD on my Pi, and I've now got two XBee Pros > > which I hope to connect. XBee's communicate over RS-232. > > > > https://www.sparkfun.com/products/8742 > > > > I see from the source tree that it was possible to attach the iic > > driver to GPIO pins in software: > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > I'm wondering, it is possible to connect the FreeBSD serial driver > > for RS-2332 to GPIO in a similar way to how iic was connected? > > > > > > > > -- > > A better world shall emerge based on faith and understanding - > > Douglas MacArthur > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to > > "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Aleksandr Rybalko