Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2013 11:01:42 -0700
From:      Rui Paulo <rpaulo@felyko.com>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: Adding options to RPI-B
Message-ID:  <978DD006-370E-4823-ADCF-A8BB474A18FB@felyko.com>
In-Reply-To: <007139FF-50B3-45A3-905A-3881BAF95F10@freebsd.org>
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> <007139FF-50B3-45A3-905A-3881BAF95F10@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 Jul 2013, at 10:40, Tim Kientzle <kientzle@freebsd.org> wrote:

> On Jul 27, 2013, at 10:05 AM, Rui Paulo wrote:
>=20
>> 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.
>>=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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?978DD006-370E-4823-ADCF-A8BB474A18FB>