Skip to contentSkip to conversation

recommendation for ARM cross-compiler for building for beaglebone black?

DISCUSSION Robert P. J. Day 3 participants 3 messages Jun 30, 2014 – Jul 1, 2014

lore
Share & tools
lore
#0 lore raw

been a while since i've build barebox for my BBB ... anyone here
doing that and can recommend a cross-compiler that's been working for them? i know there are several out there, just curious what anyone here is using for that particular board. thanks.

rday

Signature · 12 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 4 lines · Robert P. J. Day

been a while since i've build barebox for my BBB ... anyone here
doing that and can recommend a cross-compiler that's been working for them? i know there are several out there, just curious what anyone here is using for that particular board. thanks.

We use OSELAS.Toolchain-2013.12.2 and its arm-v7a-linux-gnueabihf crosscompiler.

rsc

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Robert P. J. Day

I don't have a clue if that is the "best" toolchain, but I'm using this:

#############################################################################
## Toolchain
#############################################################################
# http://www.linaro.org/downloads/#008

GCC_LINARO_FILE=gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz GCC_LINARO_HTTP=http://releases.linaro.org/14.04/components/toolchain/binaries/ GCC_LINARO_DIR=gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux CROSS_COMPILE=pwd/$(GCC_LINARO_DIR)/bin/arm-linux-gnueabihf-

.PHONY:: toolchain
toolchain all:: $(GCC_LINARO_DIR)/STAMP

downloads:: downloads/$(GCC_LINARO_FILE)
downloads/$(GCC_LINARO_FILE):

        @test `id -u` != 0 || { echo "\n---> Not as root, dude!

($@)\n"; exit 1; }
mkdir -p downloads
wget -q -c -P downloads $(GCC_LINARO_HTTP)/$(GCC_LINARO_FILE)

$(GCC_LINARO_DIR)/STAMP: downloads/$(GCC_LINARO_FILE)

        @test `id -u` != 0 || { echo "\n---> Not as root, dude!

($@)\n"; exit 1; }
tar xaf $<
touch $@

Works okay with barebox and Linux.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox