Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2012 23:31:09 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        George Neville-Neil <gnn@neville-neil.com>
Cc:        arm@freebsd.org
Subject:   Re: Latest code and scripts are working for me on BeagleBone...
Message-ID:  <7B68EBB3-86AF-41D5-B7BF-E4A61D47DB12@kientzle.com>
In-Reply-To: <084A7039-7967-4D51-9410-595B34F2DC7C@neville-neil.com>
References:  <DD05E72B9F474BFE96B6A4B050D2A18A@gmail.com> <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com> <FAA208C1-2872-4BB6-A7EC-04C757533CA4@kientzle.com> <7E18623F-3945-4EA0-B332-5A5C717B20F0@kientzle.com> <9896AA3E-D8A0-4CE8-8160-4672AA07388F@cheney.net> <6B74ADD7-3266-4919-BEB4-B10E0C1BAB58@kientzle.com> <5679C679-A434-4714-BE61-4DC093DA7F34@kientzle.com> <CAGtf9xPgFeDHMnKRacYfUg1BKJx0MjfmX=DWOc-X2NoJfPVB9Q@mail.gmail.com> <8C1192B3-EC56-4D9E-824E-774700FB2EE9@kientzle.com> <CAGtf9xO%2Bz8JhCY-TirNwh-R_zW=hY%2BbPh-4x%2Bz3H0TQHu1aXAQ@mail.gmail.com> <CAGtf9xNr9_Bh1Krw8rB1VkqKMx0eQBOC7SFuGkwS6GD8dHQdLw@mail.gmail.com> <CAGtf9xPzhq8fnarz_fNepfMkRbLc3aGL47DGm4b8K6uV_Do3sg@mail.gmail.com> <CACfq092Nakk=DF8_DRttBLwG8sw_3BdhTkfrNoYh7CmgtXQaBA@mail.gmail.com> <1349876577.1123.30.camel@revolution.hippie.lan> <CACfq092AAKXNU3fo2g0gmkHTPEEDXYsg7woaVDZDbU_mhe5S_Q@mail.gmail.com> <CB80A684-40B8-48FF-8AB2-9CD96475FB13@kientzle.com> <084A7039-7967-4D51-9410-595B34F2DC7C@neville-neil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 11, 2012, at 7:50 AM, George Neville-Neil wrote:
>=20
> Just FYI I did a new build from sources last night and the scripts are =
working
> fine for producing a bootable/usable image on the BeagleBone.  =
Networking now
> seems to be fixed as well, which is great.  It was 12:30am when I got =
that done
> so I didn't have time to try the RaspberryPi, but that's next on my =
list.D

The (increasingly misnamed) beaglebsd.sh can now build
bootable RaspberryPi images.  Let me know if you can reproduce
this.  Here's the config.sh script I'm using:

  board_setup RaspberryPi
  # Make a very small image
  SD_SIZE=3D$((100 * MB))
  # Don't bother installing world
  unset FREEBSD_INSTALL_WORLD



BIG CAVEAT #1:  No root filesystem.

No one has yet merged Oleksandr's MMC drivers into
-CURRENT, so the boot fails when it tries to mount
root.   I haven't tried mounting root over USB or NFS yet.


BIG CAVEAT #2:  This is *only* with the serial console.

I'm using the serial/USB adapter from Adafruit, which
works quite well; it even provides power to the board.


BIG CAVEAT #3:  Serial console keyboard is broken.

Getting to a loader prompt is tricky but the keyboard
seems okay there if you can get to the prompt.
The mount root prompt is unusable.


Small issue:   Memory size is wrong.  Kernel's
getting it from ubldr which gets it from U-Boot
which apparently has it hard-coded (?).


I'm tinkering with having start.elf load FreeBSD kernel
directly, bypassing U-Boot and ubldr.  It's certainly
not trivial.


Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B68EBB3-86AF-41D5-B7BF-E4A61D47DB12>