From owner-freebsd-arm@FreeBSD.ORG Sat Jul 27 17:40:57 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EF4E6BF5 for ; Sat, 27 Jul 2013 17:40:57 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E9D82E1A for ; Sat, 27 Jul 2013 17:40:56 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r6RHes7B084419; Sat, 27 Jul 2013 17:40:54 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id cp3n3zc52tbda6vqkyzwip4n4s; Sat, 27 Jul 2013 17:40:54 +0000 (UTC) (envelope-from kientzle@freebsd.org) Subject: Re: Adding options to RPI-B Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: <5C14022C-FA7C-444B-83A7-745E8D94FB10@felyko.com> Date: Sat, 27 Jul 2013 10:40:53 -0700 Content-Transfer-Encoding: 7bit Message-Id: <007139FF-50B3-45A3-905A-3881BAF95F10@freebsd.org> 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> To: Rui Paulo X-Mailer: Apple Mail (2.1283) 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 17:40:58 -0000 On Jul 27, 2013, at 10:05 AM, Rui Paulo wrote: > 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. > > Why ? I thought installing loader.rc was the main point. The way I'd like to split this: * FreeBSD Makefiles install all of the Forth support files as part of ubldr. * System build scripts (such as Crochet) can install a loader.rc if they see fit. 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. 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. >> To enable loader.conf, first boot the system, then: >> $ cp /boot/loader.rc.sample /boot/loader.rc >> and reboot. >> >> With these changes, I've built and booted a BeagleBone >> image that does process loader.conf and seems none >> the worse for it. >> >> I still need to test on RPi; hope to do that this weekend. After that testing, I'll start pushing changes into Crochet to install a loader.rc by default for RPi and BeagleBone. >> 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. ;-) > > Well, the beastie menu was always overkill on serial consoles :) But the RPi isn't just a serial console. 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. (For that matter, I hope we'll have a video driver for BB Black someday.) Now that the Forth infrastructure is available, it should be much easier to start experimenting with such things. Tim