Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2013 10:40:53 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Rui Paulo <rpaulo@felyko.com>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: Adding options to RPI-B
Message-ID:  <007139FF-50B3-45A3-905A-3881BAF95F10@freebsd.org>
In-Reply-To: <5C14022C-FA7C-444B-83A7-745E8D94FB10@felyko.com>
References:  <CALCpEUEV2woA3qmQEGQCR0tZ%2B2fMX0xObw3b4F8_MDh51mODDw@mail.gmail.com> <CAJ-Vmoni3HTEsxXPh=7mrqJkZbX%2B6gPyAbaC7_P6F3m-E1H%2Bvg@mail.gmail.com> <2C57A72F-0CB3-41DF-B0E5-1509348128BD@freebsd.org> <42C259D6-F652-417A-80B5-536893D6D642@felyko.com> <25D75461-E6FB-43C3-86AE-A513B02FA00D@freebsd.org> <BB6A8DE9-EB00-4F8E-BADB-D9543D6C33A8@felyko.com> <BEDFAA8C-A1E1-4993-AC12-61F4E5941C44@freebsd.org> <AFE1E912-8450-4C24-A6E3-9B2543CEED24@felyko.com> <877D7426-64E2-4451-AECC-073664A70AC1@freebsd.org> <1B3F0A21-D982-4D0C-965D-16739DB27003@freebsd.org> <5C14022C-FA7C-444B-83A7-745E8D94FB10@felyko.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jul 27, 2013, at 10:05 AM, Rui Paulo wrote:

> On 27 Jul 2013, at 09:17, Tim Kientzle <kientzle@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007139FF-50B3-45A3-905A-3881BAF95F10>