Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2014 21:29:11 -0400
From:      Shawn Webb <lattera@gmail.com>
To:        George Mitchell <george+freebsd@m5p.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Building an image for Raspberry Pi
Message-ID:  <20140403012911.GB71905@pwnie.vrt.sourcefire.com>
In-Reply-To: <533CB62B.3040502@m5p.com>
References:  <20140403005755.GA71905@pwnie.vrt.sourcefire.com> <533CB62B.3040502@m5p.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--KFztAG8eRSV9hGtP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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).
>=20
> 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 /us=
r/armv6-freebsd/usr/lib/libstand.a(bcd.o)

--KFztAG8eRSV9hGtP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBAgAGBQJTPLlmAAoJEGqEZY9SRW7utOwQALMeEBG4sVt6zM5ruxCZqHzc
ECMMGmI6adUhCwG4XelYCsKb/1ElSmO9mizcQmOhnP/Nx5Yes46SN5EkRfTLMe9H
zbsJQClixz76lLz2gvKZymYks9ulIsHsX+jNQZnsgGvml/+D9i1mw+PsNvGwxRzz
HiDRIuRgXtqxyMa0ROcoItid6qn1pp7tYg40e3aCZt7jUWuDuJU8L7qlqwfrzH70
i/c3ivr+kBlDO22OVvoCWi2GDNhX578noN6TsFqKaOTbMEVsYDgpUK/k/SSAvK7o
tkCiYihobMY0DG4buwBDXpPPAgoe3iI8FnN2LOvWl20UbWkLtjSv7hDy8UljhW82
94eHmk2sRRRIkwkAY9TL0rl5GWjxvXWURFlZBOWaNx56pJpEnfEYA3HVGNPKkPuT
TwFsSMZI7A3PM4BgJz4zq3ZZvG8VZzHFuMobd1TjBIZMC9PmFTq2g+wFRd+nF4z0
E3/1fB7PBTVBnHgOZqiej68gveYdb+5VLGrSbfiNMnOyY0hMny0kaipIlFackOD2
Qno2ytkr86t/EnEx7gkfXbxCFRw8q6M0dJtwazw5A+DC7u2zCwyRNv+iymJYjxet
qSPkbCGK3N6dOVWZdKBfxjOrnKLCuJYSKtMnA3vW+IxX8PsgXL+13a3ZVN15WGiK
oauzGNIRe+L6V7KBLTwQ
=Y63a
-----END PGP SIGNATURE-----

--KFztAG8eRSV9hGtP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140403012911.GB71905>