what's the updated command(s) to build a toolchain for r-pi!

Adrian Chadd adrian at freebsd.org
Sat Jul 26 06:48:05 UTC 2014


On 25 July 2014 23:37, Nathan Whitehorn <nwhitehorn at freebsd.org> wrote:
>
> On 07/25/14 23:24, Jordan Hubbard wrote:
>>
>> On Jul 25, 2014, at 11:16 PM, Adrian Chadd <adrian at freebsd.org> wrote:
>>
>>> So, assuming I'm starting from scratch (and just assume I'm doing it
>>> in a jail, so there's no existing toolchain to interfere) - what's the
>>> correct way to build the cross-dev toolchain so it'll work for
>>> crochet?
>>
>> I was going to ask that too.  On -current, the crochet instructions don’t
>> actually work since the GCC xdev build blows up.  Conversely, the clang xdev
>> build works, but then crochet can’t find the compiler it’s looking for and
>> it blows up there.  I’m reduced to building world on the RPI itself.  22
>> hours and counting. ;-)
>>
>> - Jordan
>>
>> _______________________________________________
>> freebsd-arm at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>>
>
> Why do you need the xdev toolchain for building world? Just make buildworld
> TARGET=arm TARGET_ARCH=armv6 will do the trick.
> -Nathan

because we're using crochet, so we don't have to build:

* uboot
* the right filesystem layout to figure out how to get the boot pieces
to be recognised;
* put the right boot pieces in the right spot so the pi bootloader picks it up;
* get the right combination of things to generate a useful filesystem image.

So that's why your instructions by themselves aren't enough.



-a


More information about the freebsd-arm mailing list