Building an image for Raspberry Pi
Shawn Webb
lattera at gmail.com
Thu Apr 3 01:29:15 UTC 2014
On Apr 02, 2014 09:15 PM -0400, George Mitchell wrote:
> On 04/02/14 20:57, Shawn Webb wrote:
> > Hey all,
> >
> > So I'm trying to build an image for the rPi, and I came across Crochet
> > from the Raspberry Pi wiki page on FreeBSD's wiki. I'm basing my build
> > off of a fresh HEAD.
> >
> > I'm not entirely sure if I should be contacting the Crochet developers
> > about this, or if the freebsd-arm list would be better. Either way,
> > please forgive me if this isn't the most effective place.
> >
> > It seems that when Crochet tries to build U-Boot from source, U-Boot
> > requires the application armv6-freebsd-gcc. I can't find such an
> > application in the ports tree (grep -rn arv6-freebsd-gcc /usr/ports).
>
> What I found on my most recent clean build (on a FreeBSD 10-STABLE
> system) was that I had to set HOSTCC to cc in the environment in
> order to build U-Boot. I don't even really understand why it worked,
> but it did. -- George
Setting HOSTCC didn't really do anything for me. However, setting CC to
/usr/bin/armv6-freebsd-cc got me further in the process. I'm now getting
tons of errors like this:
/usr/bin/armv6-freebsd-ld: ERROR: Source object /usr/armv6-freebsd/usr/lib/libstand.a(bcd.o) has EABI version 5, but target ubldr has EABI version 0
/usr/bin/armv6-freebsd-ld: failed to merge target specific data of file /usr/armv6-freebsd/usr/lib/libstand.a(bcd.o)
-------------- 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/20140402/d218bc89/attachment.sig>
More information about the freebsd-arm
mailing list