From owner-freebsd-embedded@FreeBSD.ORG Mon Sep 17 11:07:56 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00AF416A4D8 for ; Mon, 17 Sep 2007 11:07:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D378113C4B4 for ; Mon, 17 Sep 2007 11:07:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8HB7tO9049329 for ; Mon, 17 Sep 2007 11:07:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8HB7sVi049325 for freebsd-embedded@FreeBSD.org; Mon, 17 Sep 2007 11:07:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Sep 2007 11:07:54 GMT Message-Id: <200709171107.l8HB7sVi049325@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 11:07:56 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/15876 embedded [picobsd] PicoBSD message of the day problems o misc/28255 embedded [picobsd] picobsd documentation still references old . o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c f misc/52255 embedded [picobsd] picobsd build script fails under FreeBSD 5.0 o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub 6 problems total. From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 10:20:12 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3CDF16A417 for ; Tue, 18 Sep 2007 10:20:12 +0000 (UTC) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 0CA6B13C459 for ; Tue, 18 Sep 2007 10:20:11 +0000 (UTC) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 18 Sep 2007 09:53:26 -0000 Received: from f049187105.adsl.alicedsl.de (EHLO sol.hackerzberg.local) [78.49.187.105] by mail.gmx.net (mp033) with SMTP; 18 Sep 2007 11:53:26 +0200 X-Authenticated: #5707313 X-Provags-ID: V01U2FsdGVkX1++diFdbX++8sj9UdRwrTZP4asZ9tDy/KKoIU+o1u 9Ts6hHMgu0SZmb Date: Tue, 18 Sep 2007 11:53:34 +0200 From: Marius Nuennerich To: freebsd-embedded@FreeBSD.org Message-ID: <20070918115334.569521c1@sol.hackerzberg.local> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 10:20:12 -0000 Hi all, Andrew Turner and me are currently exploring what to do about getting FreeBSD to run on the Neo1973. Andrew put up some first instructions here: http://wiki.openmoko.org/wiki/FreeBSD Much information about the hardware can be found in that wiki. We are currently stuck after loading the kernel because there is no framebuffer driver (yet) and the uart is not working. I'm using qemu right now because I have no hardware yet. Any idea what to do next? How to get the uart working? And how to tell the kernel to use it as console? Many Thanks Marius P.S. Should I have posted this to freebsd-arm? From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 13:56:50 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C437516A419 for ; Tue, 18 Sep 2007 13:56:50 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 896D513C465 for ; Tue, 18 Sep 2007 13:56:50 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.13.4) with ESMTP id l8IDsFb9028128; Tue, 18 Sep 2007 07:54:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 18 Sep 2007 07:54:31 -0600 (MDT) Message-Id: <20070918.075431.146407018.imp@bsdimp.com> To: marius.nuennerich@gmx.net From: "M. Warner Losh" In-Reply-To: <20070918115334.569521c1@sol.hackerzberg.local> References: <20070918115334.569521c1@sol.hackerzberg.local> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 18 Sep 2007 07:54:15 -0600 (MDT) Cc: freebsd-embedded@FreeBSD.ORG Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 13:56:50 -0000 In message: <20070918115334.569521c1@sol.hackerzberg.local> Marius Nuennerich writes: : Hi all, : : Andrew Turner and me are currently exploring what to do about getting : FreeBSD to run on the Neo1973. Andrew put up some first instructions : here: http://wiki.openmoko.org/wiki/FreeBSD : : Much information about the hardware can be found in that wiki. We are : currently stuck after loading the kernel because there is no : framebuffer driver (yet) and the uart is not working. : : I'm using qemu right now because I have no hardware yet. Are there instructions for that posted somewhere. Last time I tried to get it going I hit all kinds of snags. : Any idea what to do next? How to get the uart working? And how to tell : the kernel to use it as console? Chances are very good that you'll need more than just the uart. The uart for the samsung devices will need a driver written for it. You'll also need to initialize memory in some way that's unique for this SoC : Many Thanks : Marius : : P.S. Should I have posted this to freebsd-arm? This is radically cool! I'd love to see FreeBSD going on this phone, and would help out as best I can. I was going to buy one, but my cash flow won't allow it until I can sell some real estate :-(. Warner From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 14:02:58 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32DDA16A421 for ; Tue, 18 Sep 2007 14:02:58 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id ECB8D13C494 for ; Tue, 18 Sep 2007 14:02:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.13.4) with ESMTP id l8IE0RYY028182; Tue, 18 Sep 2007 08:00:27 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 18 Sep 2007 08:00:43 -0600 (MDT) Message-Id: <20070918.080043.-1625879466.imp@bsdimp.com> To: marius.nuennerich@gmx.net From: "M. Warner Losh" In-Reply-To: <20070918115334.569521c1@sol.hackerzberg.local> References: <20070918115334.569521c1@sol.hackerzberg.local> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 18 Sep 2007 08:00:27 -0600 (MDT) Cc: freebsd-embedded@FreeBSD.ORG Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 14:02:58 -0000 In message: <20070918115334.569521c1@sol.hackerzberg.local> Marius Nuennerich writes: : Hi all, : : Andrew Turner and me are currently exploring what to do about getting : FreeBSD to run on the Neo1973. Andrew put up some first instructions : here: http://wiki.openmoko.org/wiki/FreeBSD : : Much information about the hardware can be found in that wiki. We are : currently stuck after loading the kernel because there is no : framebuffer driver (yet) and the uart is not working. : : I'm using qemu right now because I have no hardware yet. : : Any idea what to do next? How to get the uart working? And how to tell : the kernel to use it as console? It might also make sense to create a mkimage port. I have another AT91RM9200 board with uboot I'd like to be able to boot from... Warner From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 15:42:41 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B80AD16A420 for ; Tue, 18 Sep 2007 15:42:41 +0000 (UTC) (envelope-from marius.nuennerich@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 3454213C4A8 for ; Tue, 18 Sep 2007 15:42:40 +0000 (UTC) (envelope-from marius.nuennerich@gmx.de) Received: (qmail invoked by alias); 18 Sep 2007 15:15:54 -0000 Received: from f049187105.adsl.alicedsl.de (EHLO sol.hackerzberg.local) [78.49.187.105] by mail.gmx.net (mp029) with SMTP; 18 Sep 2007 17:15:54 +0200 X-Authenticated: #5707313 X-Provags-ID: V01U2FsdGVkX1+4cRZXEZ+4EYS+ifWj4Awe6VMM5xvVopx/Sb7YSD 44rGlBD0QiNWUu Date: Tue, 18 Sep 2007 17:16:01 +0200 From: Marius Nuennerich To: "M. Warner Losh" Message-ID: <20070918171601.66837464@sol.hackerzberg.local> In-Reply-To: <20070918.075431.146407018.imp@bsdimp.com> References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.075431.146407018.imp@bsdimp.com> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-embedded@FreeBSD.ORG Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 15:42:41 -0000 On Tue, 18 Sep 2007 07:54:31 -0600 (MDT) "M. Warner Losh" wrote: > In message: <20070918115334.569521c1@sol.hackerzberg.local> > Marius Nuennerich writes: > : Hi all, > : > : Andrew Turner and me are currently exploring what to do about getting > : FreeBSD to run on the Neo1973. Andrew put up some first instructions > : here: http://wiki.openmoko.org/wiki/FreeBSD > : > : Much information about the hardware can be found in that wiki. We are > : currently stuck after loading the kernel because there is no > : framebuffer driver (yet) and the uart is not working. > : > : I'm using qemu right now because I have no hardware yet. > > Are there instructions for that posted somewhere. Last time I tried > to get it going I hit all kinds of snags. Just checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973 with subversion and do this: http://wiki.openmoko.org/wiki/Talk:OpenMoko_under_QEMU#FreeBSD_and_Qemu... Then run openmoko/download.sh and openmoko/flash.sh if you have all the dependencies it should work. > > : Any idea what to do next? How to get the uart working? And how to tell > : the kernel to use it as console? > > Chances are very good that you'll need more than just the uart. The > uart for the samsung devices will need a driver written for it. > You'll also need to initialize memory in some way that's unique for > this SoC Uh, I thought that this could happen. I have no experience with drivers like this. But at least it's documented in the User Manual from Samsung. > : Many Thanks > : Marius > : > : P.S. Should I have posted this to freebsd-arm? > > This is radically cool! > > I'd love to see FreeBSD going on this phone, and would help out as > best I can. I was going to buy one, but my cash flow won't allow it > until I can sell some real estate :-(. Hehe, similar problem here. I wait for the next hardware version as one should be able to use gps without a linux blob. From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 16:02:43 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB22A16A419 for ; Tue, 18 Sep 2007 16:02:43 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC9F13C46C for ; Tue, 18 Sep 2007 16:02:43 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.13.4) with ESMTP id l8IG0bdc029019; Tue, 18 Sep 2007 10:00:37 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 18 Sep 2007 10:00:37 -0600 (MDT) Message-Id: <20070918.100037.74721531.imp@bsdimp.com> To: marius.nuennerich@gmx.de From: Warner Losh In-Reply-To: <20070918171601.66837464@sol.hackerzberg.local> References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.075431.146407018.imp@bsdimp.com> <20070918171601.66837464@sol.hackerzberg.local> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 18 Sep 2007 10:00:37 -0600 (MDT) Cc: freebsd-embedded@FreeBSD.ORG Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 16:02:43 -0000 From: Marius Nuennerich Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) Date: Tue, 18 Sep 2007 17:16:01 +0200 > On Tue, 18 Sep 2007 07:54:31 -0600 (MDT) > "M. Warner Losh" wrote: > > > In message: <20070918115334.569521c1@sol.hackerzberg.local> > > Marius Nuennerich writes: > > : Hi all, > > : > > : Andrew Turner and me are currently exploring what to do about getting > > : FreeBSD to run on the Neo1973. Andrew put up some first instructions > > : here: http://wiki.openmoko.org/wiki/FreeBSD > > : > > : Much information about the hardware can be found in that wiki. We are > > : currently stuck after loading the kernel because there is no > > : framebuffer driver (yet) and the uart is not working. > > : > > : I'm using qemu right now because I have no hardware yet. > > > > Are there instructions for that posted somewhere. Last time I tried > > to get it going I hit all kinds of snags. > > Just checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973 with > subversion and do this: > http://wiki.openmoko.org/wiki/Talk:OpenMoko_under_QEMU#FreeBSD_and_Qemu... > > Then run openmoko/download.sh and openmoko/flash.sh if you have all the > dependencies it should work. I'll take a look at these... I think there might be some of this integrated into the qemu-devel port, but maybe I'm misremebering the commit messages. > > : Any idea what to do next? How to get the uart working? And how to tell > > : the kernel to use it as console? > > > > Chances are very good that you'll need more than just the uart. The > > uart for the samsung devices will need a driver written for it. > > You'll also need to initialize memory in some way that's unique for > > this SoC > > Uh, I thought that this could happen. I have no experience with drivers > like this. But at least it's documented in the User Manual from > Samsung. Yes. There's also a console driver (but not serial port driver) in NetBSD right now for at least earlier versions of the Samsung part's uart. > > : Many Thanks > > : Marius > > : > > : P.S. Should I have posted this to freebsd-arm? > > > > This is radically cool! > > > > I'd love to see FreeBSD going on this phone, and would help out as > > best I can. I was going to buy one, but my cash flow won't allow it > > until I can sell some real estate :-(. > > Hehe, similar problem here. I wait for the next hardware version as one > should be able to use gps without a linux blob. Maybe I should wait for it as well :-) btw, the project offers p4 services for people that are doing cool work. This would qualify. The arm-devel p4 branch has many items that are being polished for integration into the tree, and this seems like a good place to do the neo work. I did all my atmel work on a p4 branch... Warner From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 16:42:08 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 028CD16A468; Tue, 18 Sep 2007 16:42:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 9CEE313C48E; Tue, 18 Sep 2007 16:42:07 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.13.4) with ESMTP id l8IGeYYL029266; Tue, 18 Sep 2007 10:40:34 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 18 Sep 2007 10:40:33 -0600 (MDT) Message-Id: <20070918.104033.71118330.imp@bsdimp.com> To: marius.nuennerich@gmx.de, arm@FreeBSD.org From: Warner Losh In-Reply-To: <20070918171601.66837464@sol.hackerzberg.local> References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.075431.146407018.imp@bsdimp.com> <20070918171601.66837464@sol.hackerzberg.local> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 18 Sep 2007 10:40:34 -0600 (MDT) Cc: freebsd-embedded@FreeBSD.org Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: arm@FreeBSD.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 16:42:08 -0000 P.S. I'd like move the rest of this discussion to arm@. From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 16:55:50 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3226116A418 for ; Tue, 18 Sep 2007 16:55:50 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.12.36.68]) by mx1.freebsd.org (Postfix) with ESMTP id 8F44E13C45E for ; Tue, 18 Sep 2007 16:55:49 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id 5EB3514388; Tue, 18 Sep 2007 18:22:59 +0200 (CEST) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12922-06; Tue, 18 Sep 2007 18:22:56 +0200 (CEST) Message-ID: <46EFFB5E.9040407@semihalf.com> Date: Tue, 18 Sep 2007 18:22:54 +0200 From: Rafal Jaworowski MIME-Version: 1.0 To: "M. Warner Losh" References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.080043.-1625879466.imp@bsdimp.com> In-Reply-To: <20070918.080043.-1625879466.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: marius.nuennerich@gmx.net, freebsd-embedded@FreeBSD.ORG Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 16:55:50 -0000 M. Warner Losh wrote: > : > : Any idea what to do next? How to get the uart working? And how to tell > : the kernel to use it as console? > > It might also make sense to create a mkimage port. I have another > AT91RM9200 board with uboot I'd like to be able to boot from... > If you mean mkimage from U-Boot, it doesn't require to be "ported" as it already supports branding images as FreeBSD right now. The problem is that stock U-Boot would not recognize them during usual boot command. There are modifications to U-Boot required to run FreeBSD kernel directly. For FreeBSD/powerpc running with U-Boot we have loader(8) running as a second stage bootloader on top of it (as a standalone app), which loads and runs the kernel, providing it with full metadata etc. This however needs changes to U-Boot itself, and they were not merged with its mainline yet, but I can provide patches if you're intersted. For the loader(8) piece you can have a look at some preliminary approach in the e500 branch in P4 for reference: in particular it has a common library that is intended to be used also on ARM, MIPS etc., only the lowest level gluing needs equivalent asm routines. For early development however there's a quick path that one can always exercise to boot the kernel (or anything else): 1. on the host: - build FreeBSD kernel - objcopy it to kernel.bin 2. at U-Boot - tftp /tftpboot/kernel.bin - go Rafal From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 17:53:45 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C14A16A469 for ; Tue, 18 Sep 2007 17:53:45 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout0.freenet.de (mout0.freenet.de [IPv6:2001:748:100:40::2:2]) by mx1.freebsd.org (Postfix) with ESMTP id 056A313C4B3 for ; Tue, 18 Sep 2007 17:53:45 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.10] (helo=mx0.freenet.de) by mout0.freenet.de with esmtpa (Exim 4.68-dev) (envelope-from ) id 1IXhGY-0000Ta-T5; Tue, 18 Sep 2007 19:53:42 +0200 Received: from r9db0.r.pppool.de ([89.54.157.176]:61064 helo=peedub.jennejohn.org) by mx0.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.68-dev #12) id 1IXhGY-0000Bc-OG; Tue, 18 Sep 2007 19:53:42 +0200 Date: Tue, 18 Sep 2007 19:53:41 +0200 From: Gary Jennejohn To: freebsd-embedded@freebsd.org Message-ID: <20070918195341.160a590b@peedub.jennejohn.org> In-Reply-To: <46EFFB5E.9040407@semihalf.com> References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.080043.-1625879466.imp@bsdimp.com> <46EFFB5E.9040407@semihalf.com> Organization: DENX Softwre Engineering GmbH X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.13; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 17:53:45 -0000 On Tue, 18 Sep 2007 18:22:54 +0200 Rafal Jaworowski wrote: > For FreeBSD/powerpc running with U-Boot we have loader(8) running as a > second stage bootloader on top of it (as a standalone app), which loads > and runs the kernel, providing it with full metadata etc. This however > needs changes to U-Boot itself, and they were not merged with its > mainline yet, but I can provide patches if you're intersted. For the > loader(8) piece you can have a look at some preliminary approach in the > e500 branch in P4 for reference: in particular it has a common library > that is intended to be used also on ARM, MIPS etc., only the lowest > level gluing needs equivalent asm routines. > Do you plan to submit these patches to the u-boot ML? Or directly to Wolfgang Denk? I knows he's very interested in getting some *BSD support into u-boot. Or maybe you've already done that? -- Gary Jennejohn From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 18:44:54 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A293216A420 for ; Tue, 18 Sep 2007 18:44:54 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.12.36.68]) by mx1.freebsd.org (Postfix) with ESMTP id 1C3EA13C46A for ; Tue, 18 Sep 2007 18:44:54 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id C456F142D9; Tue, 18 Sep 2007 20:44:52 +0200 (CEST) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08193-06; Tue, 18 Sep 2007 20:44:51 +0200 (CEST) Received: from [83.175.187.132] (pc187-132.ghnet.pl [83.175.187.132]) by mail.semihalf.com (Postfix) with ESMTP id 84DB0142C1; Tue, 18 Sep 2007 20:44:51 +0200 (CEST) Message-ID: <46F01CA2.9060004@semihalf.com> Date: Tue, 18 Sep 2007 20:44:50 +0200 From: Rafal Jaworowski MIME-Version: 1.0 To: gary.jennejohn@freenet.de References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.080043.-1625879466.imp@bsdimp.com> <46EFFB5E.9040407@semihalf.com> <20070918195341.160a590b@peedub.jennejohn.org> In-Reply-To: <20070918195341.160a590b@peedub.jennejohn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: freebsd-embedded@freebsd.org Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 18:44:54 -0000 Gary Jennejohn wrote: > > Do you plan to submit these patches to the u-boot ML? Or directly to > Wolfgang Denk? I knows he's very interested in getting some *BSD > support into u-boot. Or maybe you've already done that? > It will be submitted, although not in its present form. The reason that current approach [although functional] is not pushed to mainline is that it's based on U-Boot's jumptable concept, which has drawbacks: it's strongly dependent on the given arch and platform, and is too simple to serve real API purposes. In order to have a more independent and extensible interface I came up with a generic new API (a la syscall mechanism). It's still prototype, but working (somewhat limited in functionality); loader(8) for FreeBSD/e500 is going to be its first consumer, and once I have these two initially integrated, I'll send this new API for review etc. Anyway, I already have a custodian repo for the FreeBSD/U-Boot support and all changes will go there one day: http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot/u-boot-freebsd.git;a=summary Rafal From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 20:06:19 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A40E16A417 for ; Tue, 18 Sep 2007 20:06:19 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from exprod7og60.obsmtp.com (exprod7og60.obsmtp.com [64.18.2.175]) by mx1.freebsd.org (Postfix) with ESMTP id 5A63E13C46C for ; Tue, 18 Sep 2007 20:06:19 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from source ([66.129.224.36]) by exprod7ob60.obsmtp.com ([64.18.6.12]) with SMTP; Tue, 18 Sep 2007 13:06:19 PDT Received: from proton.jnpr.net ([10.10.2.37]) by gamma.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 18 Sep 2007 12:36:18 -0700 Received: from antipi.jnpr.net ([10.10.2.34]) by proton.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 18 Sep 2007 15:36:16 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 18 Sep 2007 15:36:12 -0400 Message-ID: <0FCFCF6165E968449991746EB91D614D913E8E@antipi.jnpr.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NOR flash drivers in 6.1? Thread-Index: Acf6KyvfNfZAWq2XSCK3xp0ZTKvPpg== From: "Andrew Duane" To: X-OriginalArrivalTime: 18 Sep 2007 19:36:16.0320 (UTC) FILETIME=[2DDACC00:01C7FA2B] Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NOR flash drivers in 6.1? X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 20:06:19 -0000 We just changed a design on a board, and I'm now looking at putting our filesystems on a Spansion NOR flash. Are there any drivers for this readily available? I doubt the vendor will have anything to help me. =20 Andrew Duane Juniper Networks 978-589-0551 10 Technology Park Dr aduane@juniper.net Westford, MA 01886-3418 =20 From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 20:51:08 2007 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79B4B16A417 for ; Tue, 18 Sep 2007 20:51:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1ACF513C46A for ; Tue, 18 Sep 2007 20:51:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.13.4) with ESMTP id l8IKoIpZ035183; Tue, 18 Sep 2007 14:50:18 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 18 Sep 2007 14:50:34 -0600 (MDT) Message-Id: <20070918.145034.669287571.imp@bsdimp.com> To: aduane@juniper.net From: "M. Warner Losh" In-Reply-To: <0FCFCF6165E968449991746EB91D614D913E8E@antipi.jnpr.net> References: <0FCFCF6165E968449991746EB91D614D913E8E@antipi.jnpr.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 18 Sep 2007 14:50:19 -0600 (MDT) Cc: embedded@freebsd.org Subject: Re: NOR flash drivers in 6.1? X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 20:51:08 -0000 In message: <0FCFCF6165E968449991746EB91D614D913E8E@antipi.jnpr.net> "Andrew Duane" writes: : We just changed a design on a board, and I'm now looking at putting our : filesystems on a Spansion NOR flash. Are there any drivers for this : readily available? I doubt the vendor will have anything to help me. Andrew, There is a NAND driver that's floating around done by John Birrell a few years ago. We used it at Timing Solutions for one x86 board that had NAND flash and no hard disk. However, I'm not aware of a NOR driver, specifically. The specs for NAND and NOR memory are readily available, so wouldn't be a big deal to get data necessary to read/write/erase them. A quick search of the intel site shows: http://www.intel.com/design/flcomp/datashts/315567.htm to be one of the places to get data on these part. Spansion is the new name for AMD's flash memory. In the past I know that AMD and Intel flash memories operated the same for both NAND and NOR. A quick peek at Linux's mtd driver confirms this. I don't see any Spansion stuff in the mtd version that I have, but plenty of AMD stuff. The following page suggests has tons of datasheets for Spansion memory, continuing the trend from AMD and other flash memory makers of providing fairly complete docs for years: http://www.spansion.com/flash_memory_products/support/technical_documents/flash_datasheets.html The s29ws-j_00_a6_e datasheet has command lists and the like that would be necessary to write a driver for this part. I didn't check any others, but I'm sure at least some of them would have this information. Since the commands are simple, the harder part would be the 'bridge' code that's necessary to send/receive commands and data to/from the card. There are some experimental reports that suggest doing this in an abstract way is very slow. Linux's MTD driver suggests that it is possible to do in an abstract manner without too much of a hit. Of course, your biggest issue may be tuning your application to operate in an extremely limited write environment. JB's nand driver did some primitive wear averaging, which likely is sufficient for low data write rates on larger parts when using ufs. However, higher data rates likely need a filesystem that's optimized for flash. Warner P.S. I've wanted to do a Flash layer for FreeBSD for some time, but could never find someone to fund it. From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 18 23:35:05 2007 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D977916A41B for ; Tue, 18 Sep 2007 23:35:05 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 975E913C48D for ; Tue, 18 Sep 2007 23:35:05 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 9AB6D7318A; Tue, 18 Sep 2007 23:20:20 +0000 (GMT) Date: Tue, 18 Sep 2007 23:20:20 +0000 From: John Birrell To: "M. Warner Losh" Message-ID: <20070918232020.GA96782@what-creek.com> References: <0FCFCF6165E968449991746EB91D614D913E8E@antipi.jnpr.net> <20070918.145034.669287571.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070918.145034.669287571.imp@bsdimp.com> User-Agent: Mutt/1.4.2.3i Cc: embedded@freebsd.org Subject: Re: NOR flash drivers in 6.1? X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 23:35:05 -0000 On Tue, Sep 18, 2007 at 02:50:34PM -0600, M. Warner Losh wrote: > There is a NAND driver that's floating around done by John Birrell a > few years ago. We used it at Timing Solutions for one x86 board that > had NAND flash and no hard disk. However, I'm not aware of a NOR > driver, specifically. The specs for NAND and NOR memory are readily > available, so wouldn't be a big deal to get data necessary to > read/write/erase them. NOR is very much simpler than NAND. NOR flash is memory mapped whereas NAND reads and writes are clocked via a single byte address. NAND has to handle bad tracks. This means that NOR flash drivers are pretty simple. I used to have one for an Intel 386EX evaluation board. I only ever used the NOR for booting, never writing from the application. With GEOM in FreeBSD, writing a NOR driver is a simple exercise. All the file system stuff is handled by GEOM and above, leaving just the low level IO to be handled by the driver. All you have to do is locate the NOR flash and read from it. :-P Writing probably requires you to write the entire flash block. I doubt that NOR flash is designed for read/write like a file system would expect to do. -- John Birrell From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 19 07:49:58 2007 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07B2316A419 for ; Wed, 19 Sep 2007 07:49:58 +0000 (UTC) (envelope-from marius.nuennerich@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 53C9113C49D for ; Wed, 19 Sep 2007 07:49:56 +0000 (UTC) (envelope-from marius.nuennerich@gmx.de) Received: (qmail invoked by alias); 19 Sep 2007 07:49:55 -0000 Received: from f049187105.adsl.alicedsl.de (EHLO sol.hackerzberg.local) [78.49.187.105] by mail.gmx.net (mp047) with SMTP; 19 Sep 2007 09:49:55 +0200 X-Authenticated: #5707313 X-Provags-ID: V01U2FsdGVkX18Jz2ZmHjMJ/87ACjV/oXX47EJSic/UxsC7nek/zR nHxZZHA9WL6ox+ Date: Wed, 19 Sep 2007 09:50:03 +0200 From: Marius Nuennerich To: Rafal Jaworowski Message-ID: <20070919095003.19d95312@sol.hackerzberg.local> In-Reply-To: <46EFFB5E.9040407@semihalf.com> References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.080043.-1625879466.imp@bsdimp.com> <46EFFB5E.9040407@semihalf.com> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-arm@FreeBSD.ORG, freebsd-embedded@FreeBSD.ORG Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 07:49:58 -0000 On Tue, 18 Sep 2007 18:22:54 +0200 Rafal Jaworowski wrote: > M. Warner Losh wrote: > > : > > : Any idea what to do next? How to get the uart working? And how to tell > > : the kernel to use it as console? > > > > It might also make sense to create a mkimage port. I have another > > AT91RM9200 board with uboot I'd like to be able to boot from... > > > > If you mean mkimage from U-Boot, it doesn't require to be "ported" as it > already supports branding images as FreeBSD right now. The problem is > that stock U-Boot would not recognize them during usual boot command. > There are modifications to U-Boot required to run FreeBSD kernel directly. > > For FreeBSD/powerpc running with U-Boot we have loader(8) running as a > second stage bootloader on top of it (as a standalone app), which loads > and runs the kernel, providing it with full metadata etc. This however > needs changes to U-Boot itself, and they were not merged with its > mainline yet, but I can provide patches if you're intersted. For the > loader(8) piece you can have a look at some preliminary approach in the > e500 branch in P4 for reference: in particular it has a common library > that is intended to be used also on ARM, MIPS etc., only the lowest > level gluing needs equivalent asm routines. Do we really need loader(8)? > > For early development however there's a quick path that one can always > exercise to boot the kernel (or anything else): > > 1. on the host: > - build FreeBSD kernel > - objcopy it to kernel.bin > > 2. at U-Boot > - tftp /tftpboot/kernel.bin > - go Sadly this won't work with qemu-neo1973 on FreeBSD, because it's not possible to attach emulated usb devices from qemu to the freebsd host. I think something like gadgetfs in linux is missing for that. And even if we had that I don't know if u-boot is capable of speaking CDC ethernet over usb so that we can tftp the kernel. The Neo1973 has no real ethernet onboard. Another way is possibly to copy the kernel to an sd card (or image for qemu) and boot it from there. But until now qemu always says size = 0 when I use -sd sd.img. And I haven't found a way to format I file with fat32. I installed e2fsprogs and will try that later as u-boot can read ext2 too. Kind regards Marius From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 19 10:00:42 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29A416A468 for ; Wed, 19 Sep 2007 10:00:42 +0000 (UTC) (envelope-from marius.nuennerich@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 2FB7A13C48E for ; Wed, 19 Sep 2007 10:00:41 +0000 (UTC) (envelope-from marius.nuennerich@gmx.de) Received: (qmail invoked by alias); 19 Sep 2007 10:00:40 -0000 Received: from f049175163.adsl.alicedsl.de (EHLO sol.hackerzberg.local) [78.49.175.163] by mail.gmx.net (mp017) with SMTP; 19 Sep 2007 12:00:40 +0200 X-Authenticated: #5707313 X-Provags-ID: V01U2FsdGVkX18xZHoGxwkxjL/TXg4LoIb0/pm80Jvv90PtXnKHEe YjG9khZUckqniQ Date: Wed, 19 Sep 2007 12:00:48 +0200 From: Marius Nuennerich To: Philip Schulz Message-ID: <20070919120048.226d982c@sol.hackerzberg.local> In-Reply-To: <92FE2033-4C29-4FEE-BA42-FF6CDBC4E5C3@deadc0.de> References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.080043.-1625879466.imp@bsdimp.com> <46EFFB5E.9040407@semihalf.com> <20070919095003.19d95312@sol.hackerzberg.local> <92FE2033-4C29-4FEE-BA42-FF6CDBC4E5C3@deadc0.de> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-arm@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 10:00:42 -0000 On Wed, 19 Sep 2007 10:55:39 +0200 Philip Schulz wrote: > Am 19.09.2007 um 09:50 schrieb Marius Nuennerich: > > > On Tue, 18 Sep 2007 18:22:54 +0200 > > Rafal Jaworowski wrote: > > [...] > > >> > >> For FreeBSD/powerpc running with U-Boot we have loader(8) running > >> as a > >> second stage bootloader on top of it (as a standalone app), which > >> loads > >> and runs the kernel, providing it with full metadata etc. This > >> however > >> needs changes to U-Boot itself, and they were not merged with its > >> mainline yet, but I can provide patches if you're intersted. For the > >> loader(8) piece you can have a look at some preliminary approach > >> in the > >> e500 branch in P4 for reference: in particular it has a common > >> library > >> that is intended to be used also on ARM, MIPS etc., only the lowest > >> level gluing needs equivalent asm routines. > > > > Do we really need loader(8)? > > You don't absolutely need it, but you probably want it. > > The loader gives you the ability to pass parameters to the kernel. > Without > the loader, you can still boot the kernel, however you can't even > (easily) > tell it to do a verbose boot. Maybe we can tell u-boot how to do that or tell the kernel how to read the u-boot environment... From owner-freebsd-embedded@FreeBSD.ORG Fri Sep 21 03:38:21 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 523A716A418 for ; Fri, 21 Sep 2007 03:38:21 +0000 (UTC) (envelope-from bob@sinister.com) Received: from dark.sinister.com (dark.sinister.com [199.201.145.56]) by mx1.freebsd.org (Postfix) with ESMTP id 350FE13C459 for ; Fri, 21 Sep 2007 03:38:21 +0000 (UTC) (envelope-from bob@sinister.com) Received: from bob (helo=localhost) by dark.sinister.com with local-esmtp (Exim 4.63) (envelope-from ) id 1IYYwn-0005Gy-A3 for freebsd-embedded@freebsd.org; Thu, 20 Sep 2007 23:12:53 -0400 Date: Thu, 20 Sep 2007 23:12:53 -0400 (EDT) From: Bob Keyes To: freebsd-embedded@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Competition with OpenWRT X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 03:38:21 -0000 Hello all, I've been using OpenWRT for the past few years, and I am again exploring the BSD world to see how it matches up in terms of providing a similar system. This would be something that is small in terms of ram and flash requirements, while still providing good performance and a wide variety of applications and device support. I can see some good things when I look back at the archive, but what I haven't seen is any attention to consumer-level Wifi APs. Perhaps I just haven't dug deep enough. My idea is to expand beyond MIPS support for some development boards and into support for some of the chipsets which are going to today's routers, such as the Atheros AR531x System-on-Chip, and from there, build files for specific routers, such as FON's La Fonera. Is this a project that others here are interested in?