From owner-freebsd-arm@FreeBSD.ORG Sun Oct 14 06:30:31 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 78274473 for ; Sun, 14 Oct 2012 06:30:31 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 252338FC08 for ; Sun, 14 Oct 2012 06:30:30 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q9E6USaq062819; Sun, 14 Oct 2012 06:30:28 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id fmq7ybgrqzkd8ev6d9irv4em9e; Sun, 14 Oct 2012 06:30:28 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Latest code and scripts are working for me on BeagleBone... Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <084A7039-7967-4D51-9410-595B34F2DC7C@neville-neil.com> Date: Sat, 13 Oct 2012 23:31:09 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7B68EBB3-86AF-41D5-B7BF-E4A61D47DB12@kientzle.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> <8C1192B3-EC56-4D9E-824E-774700FB2EE9@kientzle.com> <1349876577.1123.30.camel@revolution.hippie.lan> <084A7039-7967-4D51-9410-595B34F2DC7C@neville-neil.com> To: George Neville-Neil X-Mailer: Apple Mail (2.1278) Cc: 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: Sun, 14 Oct 2012 06:30:31 -0000 On Oct 11, 2012, at 7:50 AM, George Neville-Neil wrote: >=20 > Just FYI I did a new build from sources last night and the scripts are = working > fine for producing a bootable/usable image on the BeagleBone. = Networking now > seems to be fixed as well, which is great. It was 12:30am when I got = that done > so I didn't have time to try the RaspberryPi, but that's next on my = list.D The (increasingly misnamed) beaglebsd.sh can now build bootable RaspberryPi images. Let me know if you can reproduce this. Here's the config.sh script I'm using: board_setup RaspberryPi # Make a very small image SD_SIZE=3D$((100 * MB)) # Don't bother installing world unset FREEBSD_INSTALL_WORLD BIG CAVEAT #1: No root filesystem. No one has yet merged Oleksandr's MMC drivers into -CURRENT, so the boot fails when it tries to mount root. I haven't tried mounting root over USB or NFS yet. BIG CAVEAT #2: This is *only* with the serial console. I'm using the serial/USB adapter from Adafruit, which works quite well; it even provides power to the board. BIG CAVEAT #3: Serial console keyboard is broken. Getting to a loader prompt is tricky but the keyboard seems okay there if you can get to the prompt. The mount root prompt is unusable. Small issue: Memory size is wrong. Kernel's getting it from ubldr which gets it from U-Boot which apparently has it hard-coded (?). I'm tinkering with having start.elf load FreeBSD kernel directly, bypassing U-Boot and ubldr. It's certainly not trivial. Tim