From owner-freebsd-arm@FreeBSD.ORG Tue Sep 25 14:19:04 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C361106566C for ; Tue, 25 Sep 2012 14:19:04 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6598FC0C for ; Tue, 25 Sep 2012 14:19:04 +0000 (UTC) Received: from [209.249.190.124] (port=63403 helo=dhcp-10-2-212-168.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1TGVyY-0007j9-PV; Tue, 25 Sep 2012 10:19:03 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) From: George Neville-Neil In-Reply-To: <5679C679-A434-4714-BE61-4DC093DA7F34@kientzle.com> Date: Tue, 25 Sep 2012 10:18:57 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <034F9446-B2FB-44AD-BDEE-4C2FBAC51796@neville-neil.com> References: <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com> <7E18623F-3945-4EA0-B332-5A5C717B20F0@kientzle.com> <9896AA3E-D8A0-4CE8-8160-4672AA07388F@cheney.net> <6B74ADD7-3266-4919-BEB4-B10E0C1BAB58@kientzle.com> <5679C679-A434-4714-BE61-4DC093DA7F34@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1498) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com Cc: arm@freebsd.org Subject: Re: Towards an ARM system-building script X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Sep 2012 14:19:04 -0000 On Sep 23, 2012, at 14:55 , Tim Kientzle wrote: > On Sep 4, 2012, at 9:52 PM, Tim Kientzle wrote: >> On Sep 4, 2012, at 9:33 PM, Dave Cheney wrote: >>=20 >>> Sorry to butt in on this discussion, but how feasible would it be to = adapt this build script to the pandaboard. I understand there may be a = config in svn similar to the beaglebone which may be applicable.=20 >>=20 >> I've started tinkering with ideas for generalizing my >> BeagleBone script so it can build system images for >> other boards. >=20 > I've made significant progress and would > appreciate any feedback: >=20 > github.com/kientzle/freebsd-beaglebone >=20 > This has been massively refactored so it can > build system images for a variety of > ARM-based boards. Right now: >=20 > * BeagleBone builds and boots cleanly again. ;-) > In particular, I've caught up with some changes to > ubldr in -CURRENT and switched to using the > stable DENX U-Boot sources instead of the > rapidly-evolving (and often broken) TI/Arago sources. >=20 > * PandaBoard: I have a completely untested > sketch. Someone with a PandaBoard will need > to work through the U-Boot configuration to make > this work. >=20 > * RaspberryPi: I have a completely untested > sketch that will need more work before it can > build a bootable image. >=20 > Others? If you're interested in adding support for > other boards, let me know. All the boards above: > * Are ARMv6-based. > * Have a kernel configuration in -CURRENT > * Boot from an MBR-partitioned SD card or USB stick > * Boot using U-Boot and ubldr >=20 > It should be pretty straightforward to add support > for other boards that meet these criteria. The hardest > part is working up the correct U-Boot patches; hopefully > the existing BeagleBone patches will prove helpful > to anyone who wants to work on this. >=20 I will test the Pi and BeagleBone in the next few days. House guests are keeping me from my office after work :-( Great that you're moving this forwards! I wonder how we can get this = into the main tree so that it gets the appropriate help and testing. Any = ideas on where you'd want to put this Tim? Best, George