From owner-freebsd-arm@FreeBSD.ORG Sat Jul 27 18:01:44 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 039411F2; Sat, 27 Jul 2013 18:01:44 +0000 (UTC) (envelope-from rpaulo@felyko.com) Received: from felyko.com (felyko.com [IPv6:2607:f2f8:a528::3:1337:ca7]) by mx1.freebsd.org (Postfix) with ESMTP id CFBC02EDE; Sat, 27 Jul 2013 18:01:43 +0000 (UTC) Received: from [IPv6:2601:9:4d00:119:c15b:205a:8fbd:2517] (unknown [IPv6:2601:9:4d00:119:c15b:205a:8fbd:2517]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by felyko.com (Postfix) with ESMTPSA id 4A3243982B; Sat, 27 Jul 2013 11:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=felyko.com; s=mail; t=1374948103; bh=LqUPDbNT6puYYFU+nBw2gAKNeJ9yJ3Nhtm+emUKIPd0=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=eBqYtvehFUHB0teRWzMUNqAl0qi6X6diFxTYqzsx+CWnvdDrT1xwzQMkeIPm9Xl+D L2CbylvvTSHj9lJQSIdcswBfpXTY2H9WGkI889UvKLWrm9kPHY2QI8+rPZrFxm491l HwkViVCE4AbAnzGCKgmiWP9He6IgKx/BoAjeFU7c= Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Adding options to RPI-B From: Rui Paulo In-Reply-To: <007139FF-50B3-45A3-905A-3881BAF95F10@freebsd.org> Date: Sat, 27 Jul 2013 11:01:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <978DD006-370E-4823-ADCF-A8BB474A18FB@felyko.com> References: <2C57A72F-0CB3-41DF-B0E5-1509348128BD@freebsd.org> <42C259D6-F652-417A-80B5-536893D6D642@felyko.com> <25D75461-E6FB-43C3-86AE-A513B02FA00D@freebsd.org> <877D7426-64E2-4451-AECC-073664A70AC1@freebsd.org> <1B3F0A21-D982-4D0C-965D-16739DB27003@freebsd.org> <5C14022C-FA7C-444B-83A7-745E8D94FB10@felyko.com> <007139FF-50B3-45A3-905A-3881BAF95F10@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1508) 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: Sat, 27 Jul 2013 18:01:44 -0000 On 27 Jul 2013, at 10:40, Tim Kientzle wrote: > On Jul 27, 2013, at 10:05 AM, Rui Paulo wrote: >=20 >> On 27 Jul 2013, at 09:17, Tim Kientzle wrote: >>> Here's a proposed patch that installs all of the standard Forth >>> files as part of ubldr on ARM. It does not install a loader.rc, >>> however, so it should have no effect per se, other than putting >>> a few more files on the image. >>=20 >> Why ? I thought installing loader.rc was the main point. >=20 > The way I'd like to split this: >=20 > * FreeBSD Makefiles install all of the Forth support files > as part of ubldr. >=20 > * System build scripts (such as Crochet) can install > a loader.rc if they see fit. >=20 > Loader.rc is just a couple of lines, so it's trivial for Crochet > to install that one file. I intend to do that after I've had a few > days to test. >=20 > But installing a loader.rc as part of ubldr would have implications > for every ARM system using ubldr. I'd rather not do that until > we bettter understand the consequences. Ah, ok. Makes sense. >>> To enable loader.conf, first boot the system, then: >>> $ cp /boot/loader.rc.sample /boot/loader.rc >>> and reboot. >>>=20 >>> With these changes, I've built and booted a BeagleBone >>> image that does process loader.conf and seems none >>> the worse for it. >>>=20 >>> I still need to test on RPi; hope to do that this weekend. >=20 > After that testing, I'll start pushing changes into Crochet > to install a loader.rc by default for RPi and BeagleBone. >=20 >=20 >>> This should be enough for people to start experimenting >>> with the beastie menu on RPi. Just copy the loader.rc from >>> i386 and see what happens. ;-) >>=20 >> Well, the beastie menu was always overkill on serial consoles :) >=20 > But the RPi isn't just a serial console. No, but a lot of ARM systems we support are currently serial console = only. =20 > And on the BeagleBone Black, it might be nice to > have a startup menu with options to boot from eMMC or > external SD, reflash the eMMC, etc. BTW, the U-Boot we ship with Crochet is unable to identify the eMMC via = the U-Boot API. I'm able to boot loader(8) via eMMC but then loader(8) = is unable to see the eMMC. I haven't investigated much, but this is = another blocker for the "let's boot FreeBSD off eMMC" project. > (For that matter, > I hope we'll have a video driver for BB Black someday.) Do you know how it's being done in Linux? I thought the GNU PowerVR = driver wasn't ready yet.=20 What's the driver that ships with Angstrom Linux? -- Rui Paulo