Building an image for Raspberry Pi
Glen Barber
gjb at FreeBSD.org
Thu Apr 3 06:31:03 UTC 2014
On Thu, Apr 03, 2014 at 02:28:11AM -0400, Shawn Webb wrote:
> On Apr 03, 2014 02:19 AM -0400, Glen Barber wrote:
> > On Thu, Apr 03, 2014 at 02:14:43AM -0400, Shawn Webb wrote:
> > > On Apr 03, 2014 01:41 AM -0400, Glen Barber wrote:
> > > > You need to build the XDEV stuff for the build environment.
> > > >
> > > > Something like: make -C /usr/src XDEV=arm XDEV_ARCH=armv6
> > > >
> > > > should do the trick.
> > >
> > > Yeah, I have the xdev stuff installed. It kinda seems like just using
> > > this xdev stuff isn't sufficient. It seems u-boot might require some
> > > gcc-centric items (though I'm unsure what they are).
> > >
> >
> > Can you send me a script(1)-ed build log?
>
> I'd be happy to. Do you want the build log of the u-boot build through
> Crochet or of the xdev build? xdev builds fine, just not u-boot via
> Crochet.
>
If XDEV build is fine, no need to send that. Just the u-boot log then.
> >
> > > >
> > > > > It seems people have successfully built FreeBSD for ARM. However, the
> > > > > instructions I'm seeing from a little bit of googling have turned up
> > > > > pretty outdated posts.
> > > > >
> > > > > You can probably tell I'm a newb at ARM on FreeBSD. What ought I do
> > > > > next?
> > > > >
> > > >
> > > > Are you aware that we have FreeBSD/arm images on FTP now? Not that I am
> > > > trying to deter you from building your own images, but if you're just
> > > > looking for an image to install to get your RPI running FreeBSD, we have
> > > > you covered. :-)
> > >
> > > I've been toying with that pretty much all evening. It seems that fbsd
> > > has a really hard time booting on the rpi. I'm getting this error pretty
> > > much 90% of the time when I try to boot:
> > >
> > > http://lists.freebsd.org/pipermail/freebsd-arm/2014-January/007228.html
> > >
> > > I'll play around with things a bit more. I have a semi-functional system
> > > now. I mainly want to be able to build my own images so I can publish
> > > nightly builds of my ASLR work now that Oliver and I just added support
> > > for [nearly all|all] architectures fbsd supports.
> >
> > Do you have a slower SD card you can try? I've seen that happen
> > sporadically with Class 10 SD cards, but have not yet seen it on lesser
> > speed SD cards. (I still boot-test faster SD cards, but haven't hit
> > this issue in a while though.)
>
> The one I'm currently using is a class 10 card, so maybe that's it. I've
> got a class 2 microsd card with an adapter that I'll try. I'll report
> back soon-ish with results.
Ok, thanks for experimenting. I thought there was a fix committed for
this, but maybe I'm wrong.
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20140403/0b74bf10/attachment.sig>
More information about the freebsd-arm
mailing list