Skip to contentSkip to conversation

external-toolchain: add Sourcery CodeBench ARM 2012.03

PATCH RESEND Superseded Fabio Porcedda 3 participants 5 messages Sep 10, 2012 – Sep 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 external-toolchain: add Sourcery CodeBench ARM 2012.03

---
 toolchain/toolchain-external/Config.in   | 22 ++++++++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |  3 +++
 2 files changed, 25 insertions(+)
toolchain/toolchain-external/Config.in +22 -0
index f86ed74..1925928 100644
@@ -77,6 +77,27 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02
 	  Thumb 2, with the softfp calling convention, and uses the
 	  VFPv3-D16 FPU instructions.
 
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
+	bool "Sourcery CodeBench ARM 2012.03"
+	depends on BR2_arm
+	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+	select BR2_INSTALL_LIBSTDCPP
+	help
+	  Sourcery CodeBench toolchain for the ARM architecture, from
+	  Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
+	  2.15 and gdb 7.2.50, kernel headers 3.2.10. It has support
+	  for the following variants:
+	    - ARMv5TE, little endian, soft-float, glibc
+	      Select ARM926T, ARM10T, XScale or another ARMv5 core
+	      Select BR2_SOFT_FLOAT
+	    - ARMv4T, little endian, soft-float, glibc
+	      Select ARM720T, ARM920T, ARM922T or another ARMv4 core
+	      Select BR2_SOFT_FLOAT
+	    - ARMv7-A, Thumb 2, little endian, soft-float, glibc
+	      Select Cortex-A8, Cortex-A9 or another ARMv7-A core
+	      Select BR2_SOFT_FLOAT
+	      Set BR2_TARGET_OPTIMIZATION to -mthumb
+
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
 	bool "Sourcery CodeBench ARM 2011.09"
 	depends on BR2_arm
@@ -614,6 +635,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
+	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
 	default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
 	default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
toolchain/toolchain-external/ext-tool.mk +3 -0
index 53b898f..9d67aa6 100644
@@ -187,6 +187,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=arm-2011.03-41-arm-none-linux-gnueabi-i686-pc-linux-gn
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109),y)
 TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/
 TOOLCHAIN_EXTERNAL_SOURCE=arm-2011.09-70-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203),y)
+TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/
+TOOLCHAIN_EXTERNAL_SOURCE=arm-2012.03-57-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02),y)
 TOOLCHAIN_EXTERNAL_SITE=http://launchpad.net/linaro-toolchain-binaries/trunk/2012.02/+download/
 TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabi-2012.02-20120222_linux.tar.bz2
Signature · 1 line
1.7.11.3
#1 lore raw

PATCH RESEND 1/1 external-toolchain: add Sourcery CodeBench ARM 2012.03

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Porcedda <[email protected]> writes:

Fabio> Signed-off-by: Fabio Porcedda <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH RESEND 1/1 external-toolchain: add Sourcery CodeBench ARM 2012.03

Peter,

Quoted 5 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Porcedda <[email protected]> writes:

Fabio> Signed-off-by: Fabio Porcedda <[email protected]>

Committed, thanks.

Isn't this toolchain causing a problem with RPC support, since it has glibc 2.15 ?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH RESEND 1/1 external-toolchain: add Sourcery CodeBench ARM 2012.03

Quoted 11 lines · Thomas Petazzoni

Peter,

Quoted 5 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Porcedda <[email protected]> writes:

Fabio> Signed-off-by: Fabio Porcedda <[email protected]>

Committed, thanks.

Isn't this toolchain causing a problem with RPC support, since it has glibc 2.15 ?

This toolchain has the RPC support, from the "getting-started.pdf":

A.1.1. Changes in Sourcery CodeBench Lite 2012.03-57

RPC library functions. GLIBC has been changed so that programs may again be built to use its
RPC library functions. The ability to build programs using these functions had previously been disabled.

Best regards

Signature · 1 line
Fabio Porcedda
#4 lore raw

PATCH RESEND 1/1 external-toolchain: add Sourcery CodeBench ARM 2012.03

Quoted 11 lines · Fabio Porcedda
Quoted 2 lines

Isn't this toolchain causing a problem with RPC support, since it has glibc 2.15 ?

This toolchain has the RPC support, from the "getting-started.pdf":

A.1.1. Changes in Sourcery CodeBench Lite 2012.03-57

RPC library functions. GLIBC has been changed so that programs may again be built to use its
RPC library functions. The ability to build programs using these functions had previously been disabled.

Ah, ok, thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com