summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-01-28 13:46:46 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-01-28 13:46:46 +0100
commit4b2995d954facd9e2d7b9d593c78c7cecc664a8a (patch)
tree28f3cfd5dd26247dd6cc62a6afb5b1389f826547
parent75950a35c0f8b0722cb5eb99e3a2bc8243d1c4ab (diff)
downloadOSELAS.BSP-EnergyMicro-Gecko-4b2995d954facd9e2d7b9d593c78c7cecc664a8a.tar.gz
OSELAS.BSP-EnergyMicro-Gecko-4b2995d954facd9e2d7b9d593c78c7cecc664a8a.tar.xz
Use newer toolchain
The previously used toolchain fails to build newer kernels which breaks automatic testing of linux-next with this BSP.
-rw-r--r--README22
-rw-r--r--configs/platform-energymicro-efm32gg-dk3750/platformconfig4
2 files changed, 13 insertions, 13 deletions
diff --git a/README b/README
index 39bf2d2..62eede2 100644
--- a/README
+++ b/README
@@ -14,18 +14,18 @@ The newer firmware 0v9p10b929 does not work.
install toolchain
-----------------
-This BSP is created for OSELAS.Toolchain-2013.12. Either use a binary toolchain
+This BSP is created for OSELAS.Toolchain-2014.12. Either use a binary toolchain
(e.g. from http://debian.pengutronix.de/debian, package
- oselas.toolchain-2013.12.2-arm-cortexm3-uclinuxeabi-gcc-4.8.2-uclibc-0.9.33.2-binutils-2.24-kernel-3.12-sanitized) or
+ oselas.toolchain-2014.12.0-arm-cortexm3-uclinuxeabi-gcc-4.9.2-uclibc-0.9.33.2-binutils-2.24-kernel-3.16-sanitized) or
you can build it yourself using the following commands:
- wget http://www.pengutronix.de/oselas/toolchain/download/OSELAS.Toolchain-2013.12.2.tar.bz2
- wget http://www.ptxdist.org/software/ptxdist/download/ptxdist-2013.12.0.tar.bz2
+ wget http://www.pengutronix.de/oselas/toolchain/download/OSELAS.Toolchain-2014.12.0.tar.bz2
+ wget http://www.ptxdist.org/software/ptxdist/download/ptxdist-2014.12.0.tar.bz2
Then install ptxdist:
- tar xjf ptxdist-2013.12.0.tar.bz2
- cd ptxdist-2013.12.0
+ tar xjf ptxdist-2014.12.0.tar.bz2
+ cd ptxdist-2014.12.0
./configure
if ptxdist is missing some packages on your system, install them and restart configure
@@ -41,10 +41,10 @@ For building the toolchain, fakeroot is needed:
Then build the toolchain
- tar xf OSELAS.Toolchain-2013.12.2.tar.bz2
- cd OSELAS.Toolchain-2013.12.2
- ln -sf /usr/local/bin/ptxdist-2013.12.0 p
- ./p select ptxconfigs/arm-cortexm3-uclinuxeabi_gcc-4.8.2_uclibc-0.9.33.2_binutils-2.24_kernel-3.12-sanitized.ptxconfig
+ tar xf OSELAS.Toolchain-2014.12.0.tar.bz2
+ cd OSELAS.Toolchain-2014.12.0
+ ln -sf /usr/local/bin/ptxdist-2014.12.0 p
+ ./p select ptxconfigs/arm-cortexm3-uclinuxeabi_gcc-4.9.2_uclibc-0.9.33.2_binutils-2.24_kernel-3.16-sanitized.ptxconfig
./p go
Now go and get you a cup of coffee.
@@ -66,7 +66,7 @@ building
cd /path/to/OSELAS.BSP-EnergyMicro-Gecko
ln -s /usr/local/bin/ptxdist-2014.07.0 p
./p select configs/ptxconfig
- ./p toolchain /opt/OSELAS.Toolchain-2013.12.2/arm-cortexm3-uclinuxeabi/gcc-4.8.2-uclibc-0.9.33.2-binutils-2.24-kernel-3.12-sanitized/bin
+ ./p toolchain /opt/OSELAS.Toolchain-2014.12.0/arm-cortexm3-uclinuxeabi/gcc-4.9.2-uclibc-0.9.33.2-binutils-2.24-kernel-3.16-sanitized/bin
./p platform configs/platform-energymicro-efm32gg-dk3750/platformconfig
./p images
diff --git a/configs/platform-energymicro-efm32gg-dk3750/platformconfig b/configs/platform-energymicro-efm32gg-dk3750/platformconfig
index 50b8c01..2af8836 100644
--- a/configs/platform-energymicro-efm32gg-dk3750/platformconfig
+++ b/configs/platform-energymicro-efm32gg-dk3750/platformconfig
@@ -61,8 +61,8 @@ PTXCONF_SYSROOT_CROSS="${PTXDIST_PLATFORMDIR}/sysroot-cross"
#
# toolchain
#
-PTXCONF_CROSSCHAIN_VENDOR="OSELAS.Toolchain-2013.12"
-PTXCONF_CROSSCHAIN_CHECK="4.8.2"
+PTXCONF_CROSSCHAIN_VENDOR="OSELAS.Toolchain-2014.12"
+PTXCONF_CROSSCHAIN_CHECK="4.9.2"
# PTXCONF_LIBC_GLIBC is not set
PTXCONF_LIBC_UCLIBC=y
PTXCONF_UCLIBC_VERSION="0.9.33.2"