Building Cross Compiler and u-boot

Russell Haley russ.haley at gmail.com
Sun Mar 15 20:22:16 UTC 2015


Thanks Ian,

I'll play with this tonight.

On Sun, Mar 15, 2015 at 9:30 AM, Ian Lepore <ian at freebsd.org> wrote:
> On Sat, 2015-03-14 at 21:14 -0700, Russell Haley wrote:
>> Hello I am trying to build the cross compile tools and make u-boot.
>>
>> Tim Kientzle spoke about two ways of getting cross compilers for
>> outside of building FreeBDS:
>>
>> 1) make TARGET=arm TARGET_ARCH=armv6 buildenv
>>
>> after a successful buildworld
>>
>> 2)make xdev XDEV=arm XDEV_ARCH=armv6
>>
>> I have struggled (and failed) to make either work. I checked out Rui
>> Paulos uboot fork to /usr/uboot.
>>
>>
>> 1)Using buildenv ->
>
> The xdev way of building crosstools to build uboot is pretty much dead.
> Probably the best way forward is to use one of the existing u-boot ports
> such as sysutils/u-boot-wandboard, copy it and transform it into a port
> to build the flavor you need.  To save the time of building the port
> cross-compiler from scratch you can do "pkg install arm-none-eabi-gcc".
>
> Are you working with the ConnectCore 6?  If so, the u-boot ports for
> wandboard or cubox-hummingboard are probably 99% ready, you may need to
> tweak the config file patch in the port.
>
> -- Ian
>


More information about the freebsd-arm mailing list