From owner-freebsd-arm@FreeBSD.ORG Tue May 14 17:21:07 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB5F61EB for ; Tue, 14 May 2013 17:21:07 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id A979FCB3 for ; Tue, 14 May 2013 17:21:07 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id xk17so854435obc.25 for ; Tue, 14 May 2013 10:21:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=NeGQjAos/Un5XbTlJ9zu7QJ2i085Gs5EJErzhpG1W2Y=; b=L8LFlkoHrZxAVk8dJhcl5T3PopuldNJuIQP1OT6oUInTZoU9EjFhQ145upRG2POm8U 92kVbGR/aeGvurTVdswqC5JCB5OCgzlj2MrIr80ivkFN8K3F4uhwppoKNp5ZWDiyEodl gorkqv/VTeowYF+ce6uaaoDrU5VwJtmhIiyLqAmYKyPG1RcOZxWoCX5yQaZk9zuAz7FI CPiLvpFaPrJCG8TZPIcz9pbwSxwC9/WkEm7HLrSuUq9A28MaENSy/d2gFn/ZTldBe+kz 5w1tVwRaSkcFn4rNeAceqgKpBnDkn4LCsNqJEOaXQU8c1L9Ffjr0WLifnxpJEgjQgF6p SXMQ== MIME-Version: 1.0 X-Received: by 10.60.147.197 with SMTP id tm5mr17377036oeb.72.1368552067185; Tue, 14 May 2013 10:21:07 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Tue, 14 May 2013 10:21:07 -0700 (PDT) In-Reply-To: <20130514192448.7b48e095.ray@freebsd.org> References: <20130514192448.7b48e095.ray@freebsd.org> Date: Tue, 14 May 2013 11:21:07 -0600 Message-ID: Subject: Re: RS-232 driver for GPIO From: Tom Everett To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQnWcY8RC+UASBnxtM9j1Jp2Tbs5JGEuRuXGtQPbiH/vf+f6VHxfnySkuSh9Pn5o4csRvLyJ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 17:21:07 -0000 ok, where would a newb start with getting that working? On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko wrote: > 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 > -- A better world shall emerge based on faith and understanding - Douglas MacArthur