From owner-freebsd-arm@FreeBSD.ORG Tue May 14 18:20:08 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 C89CA1D3 for ; Tue, 14 May 2013 18:20:08 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 9681380 for ; Tue, 14 May 2013 18:20:08 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id xn12so954415obc.10 for ; Tue, 14 May 2013 11:20:08 -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=kh4rBYJcql838ExLY8HNvOduiTkbZaip1iqow9pA/Yc=; b=MRW8qw/aIq2jG3amDA2iSH2HSODWBzW/ZhNezNOMlryfjken2gI/hMSNhsuUyBVuQB aWD4Cwd9Eg+uNuto27WkBV8NPPnhCP2eyAZwYUg1jWQE9FxN5MKhZiNc/4dcnWIGnNSa spXCFEwiKJdK8i6/9HnVU/otVFfqJJFQW9I6GUebF16IaQzZNmfTnyGGb7Gbd5RTWzw+ zVrg9b5ps9hO1Z5U8k+RVlcclZA0HJ4v2HEMaX7yUKpUpjLilKFJhe7RN3aAaycs/0ld 5rOeSje1c6JCcfg1euowMl1kgDMqf/cNGH8Fo9Lycl0hFUcF6gGDSqOzWM8Rwy0ZtiKw fg4A== MIME-Version: 1.0 X-Received: by 10.60.40.4 with SMTP id t4mr17667506oek.133.1368555608199; Tue, 14 May 2013 11:20:08 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Tue, 14 May 2013 11:20:08 -0700 (PDT) In-Reply-To: <20130514192448.7b48e095.ray@freebsd.org> References: <20130514192448.7b48e095.ray@freebsd.org> Date: Tue, 14 May 2013 12:20:08 -0600 Message-ID: Subject: Re: RS-232 driver for GPIO From: Tom Everett To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQloVQ99WhbWTgcRSIDDmqrm9PrATJnLuomf08+XaL/LTiSM0ltEJ7mwhYdXA+OzdugqC6/E 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 18:20:08 -0000 ok so the FDT definition would have to be added here? http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup 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