Adding options to RPI-B

Tim Kientzle kientzle at freebsd.org
Sat Jul 27 16:18:04 UTC 2013


On Jul 24, 2013, at 10:07 PM, Tim Kientzle wrote:
> 
> On Jul 24, 2013, at 9:42 PM, Rui Paulo wrote:
> 
>> On 24 Jul 2013, at 21:22, Tim Kientzle <kientzle at freebsd.org> wrote:
>> 
>>> I've never used loader.conf myself so please
>>> let me know what you think is still missing.
>>> 
>>> According to the manpage for loader.conf, it seems
>>> the key requirement is FICL support, and that is
>>> enabled in ubldr on ARM.
>> 
>> We don't ship with a loader.rc capable of reading loader.conf. For an example, see amd64/i386 where we load loader.4th from loader.rc and loader.4th reads loader.conf.
> 
> Ah.  I'll try installing the standard Forth files and
> see what happens.

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.

I plan to commit this to the FreeBSD tree soon.

If you're using Crochet, I also just pushed a change to
Crochet so that it copies all the boot files provided by
FreeBSD's build, instead of just picking out the
ubldr and loader.help files.  With the FreeBSD patch,
this results in all of the Forth files actually being in the image.

Again:  A system built with these changes should
function exactly the same since loader.rc is still not
present.

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.

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.  ;-)

Tim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm_uboot_include_forth_files.patch
Type: application/octet-stream
Size: 866 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20130727/14046dac/attachment.obj>
-------------- next part --------------





More information about the freebsd-arm mailing list