Skip to contentSkip to conversation

Add Microblaze internal toolchain

PATCH New Spenser Gilliland 3 participants 13 messages Nov 13, 2013

lore
Share & tools
lore
#0 lore raw

v3 cover Add Microblaze internal toolchain

This patch series adds a Microblaze internal toolchain from the sources at
http://github.com/Xilinx .

This series requires that the arc toolchain patches and github helper patches are applied.

v2->v3:
- Incorporated all review suggestions.
- Rebased on arc v2 patches and github helper.

Spenser Gilliland (7):
binutils: add microblaze internal toolchain
gcc: add microblaze internal toolchain
glibc: add microblaze internal toolchain
gdb: add microblaze internal toolchain
toolchain: enable microblaze toolchain
toolchain: uclibc does not support microblze
defconfigs: update microblaze defconfigs to use new toolchain

 configs/qemu_microblazebe_mmu_defconfig |    7 -------
 configs/qemu_microblazeel_mmu_defconfig |    7 -------
 package/binutils/Config.in.host         |    2 ++
 package/binutils/binutils.mk            |    4 ++++
 package/gcc/Config.in.host              |   23 +++++++++++++++--------
 package/gcc/gcc.mk                      |    3 +++
 package/gdb/Config.in.host              |    2 ++
 package/gdb/gdb.mk                      |    5 +++++
 package/glibc/glibc.mk                  |   12 ++++++++++++
 toolchain/Config.in                     |    2 +-
 toolchain/toolchain-buildroot/Config.in |    5 +++--
 11 files changed, 47 insertions(+), 25 deletions(-)
#1 lore raw

PATCH v3 1/7 binutils: add microblaze internal toolchain

---
 package/binutils/Config.in.host |    2 ++
 package/binutils/binutils.mk    |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)
package/binutils/Config.in.host +2 -0
index 2989e6e..c125c25 100644
@@ -3,6 +3,7 @@ comment "Binutils Options"
 choice
 	prompt "Binutils Version"
 	depends on !BR2_arc
+	depends on !BR2_microblaze
 	default BR2_BINUTILS_VERSION_2_21 if (BR2_mips || BR2_mipsel || BR2_sh)
 	default BR2_BINUTILS_VERSION_2_22
 	help
@@ -45,6 +46,7 @@ config BR2_BINUTILS_VERSION
 	string
 	default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
 	default "0c824ba511fa9b028220eb3c39b566af89ac9dda" if BR2_arc
+	default "8351467c933d277ebea0c8d99ad2b65b5f7b6bc2" if BR2_microblaze
 	default "2.20.1"	if BR2_BINUTILS_VERSION_2_20_1
 	default "2.21"		if BR2_BINUTILS_VERSION_2_21
 	default "2.21.1"	if BR2_BINUTILS_VERSION_2_21_1
package/binutils/binutils.mk +4 -0
index b8d7c69..4464b7f 100644
@@ -27,6 +27,10 @@ ifeq ($(BR2_arc),y)
 BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils,$(BINUTILS_VERSION))
 BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
 endif
+ifeq ($(BR2_microblaze),y)
+BINUTILS_SITE = $(call github,Xilinx,binutils,$(BINUTILS_VERSION))
+BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
+endif
 BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils
 BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2
 BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS))
Signature · 1 line
1.7.1
#2 lore raw

PATCH v3 2/7 gcc: add microblaze internal toolchain

In reply to Spenser Gilliland
---
 package/gcc/Config.in.host |   23 +++++++++++++++--------
 package/gcc/gcc.mk         |    3 +++
 2 files changed, 18 insertions(+), 8 deletions(-)
package/gcc/Config.in.host +15 -8
index 2f04457..186ba80 100644
@@ -8,6 +8,7 @@ choice
 	default BR2_GCC_VERSION_4_4_X if BR2_sparc_sparchfleon || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleon || BR2_sparc_sparcsfleonv8
 	default BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 if BR2_avr32
 	default BR2_GCC_VERSION_4_8_ARC if BR2_arc
+	default BR2_GCC_VERSION_4_9_MICROBLAZE if BR2_microblaze
 	default BR2_GCC_VERSION_4_5_X if BR2_bfin
 	default BR2_GCC_VERSION_4_7_X
 	help
@@ -18,12 +19,12 @@ choice
 		bool "gcc 4.2.2-avr32-2.1.5"
 
 	config BR2_GCC_VERSION_4_3_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc && !BR2_powerpc_464 && !BR2_powerpc_464fp && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc && !BR2_powerpc_464 && !BR2_powerpc_464fp && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
 		depends on !BR2_ARM_EABIHF
 		bool "gcc 4.3.x"
 
 	config BR2_GCC_VERSION_4_4_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
 		bool "gcc 4.4.x"
 		# ARM EABIhf support appeared in gcc 4.6
 		depends on !BR2_ARM_EABIHF
@@ -31,24 +32,24 @@ choice
 		depends on !BR2_ARM_FPU_VFPV4 && !BR2_ARM_FPU_VFPV4D16
 
 	config BR2_GCC_VERSION_4_5_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_cortex_a7 && !BR2_cortex_a15 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_fa526 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_cortex_a7 && !BR2_cortex_a15 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_fa526 && !BR2_pj4
 		select BR2_GCC_NEEDS_MPC
 		# ARM EABIhf support appeared in gcc 4.6
 		depends on !BR2_ARM_EABIHF
 		bool "gcc 4.5.x"
 
 	config BR2_GCC_VERSION_4_6_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_cortex_a7 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_cortex_a7 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc 4.6.x"
 
 	config BR2_GCC_VERSION_4_7_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc 4.7.x"
 
 	config BR2_GCC_VERSION_4_8_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc 4.8.x"
 
@@ -57,8 +58,13 @@ choice
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc 4.8-arc"
 
+	config BR2_GCC_VERSION_4_9_MICROBLAZE
+		depends on BR2_microblaze
+		select BR2_GCC_NEEDS_MPC
+		bool "gcc 4.9-microblaze"
+
 	config BR2_GCC_VERSION_SNAP
-		depends on !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc snapshot"
 endchoice
@@ -91,6 +97,7 @@ config BR2_GCC_VERSION
 	default "4.7.3"     if BR2_GCC_VERSION_4_7_X
 	default "4.8.2"     if BR2_GCC_VERSION_4_8_X
 	default "7466697995233cc3aab5b9427bf843e3c7fabd80" if BR2_GCC_VERSION_4_8_ARC
+	default "b93bb009e021aba64dd4b8cdb0bbc5a176c55543" if BR2_GCC_VERSION_4_9_MICROBLAZE
 	default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
@@ -143,7 +150,7 @@ config BR2_GCC_ENABLE_TLS
 
 config BR2_GCC_ENABLE_OPENMP
 	bool "Enable compiler OpenMP support"
-	depends on !BR2_PTHREADS_NONE && !BR2_avr32 && !BR2_arc
+	depends on !BR2_PTHREADS_NONE && !BR2_avr32 && !BR2_arc && !BR2_microblaze
 	help
 	  Enable OpenMP support for the compiler
 
package/gcc/gcc.mk +3 -0
index e8f5ee1..236297d 100644
@@ -22,6 +22,9 @@ GCC_SITE = ftp://www.at91.com/pub/buildroot/
 else ifeq ($(BR2_arc),y)
 GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
 GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
+else ifeq ($(BR2_microblaze),y)
+GCC_SITE = $(call github,Xilinx,gcc,$(GCC_VERSION))
+GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
 else
 GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION)
 endif
Signature · 1 line
1.7.1
#3 lore raw

PATCH v3 3/7 glibc: add microblaze internal toolchain

In reply to Spenser Gilliland
---
 package/glibc/glibc.mk |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
package/glibc/glibc.mk +12 -0
index 2e7fe82..beb7600 100644
@@ -4,6 +4,17 @@
 #
 ################################################################################
 
+ifeq ($(BR2_microblaze),y)
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT_EGLIBC),y)
+GLIBC_VERSION = 7f0bcce417c47aefad06ddfec7cd4ced3a4e10ff
+GLIBC_SITE = $(call github,Xilinx,eglibc,$(GLIBC_VERSION))
+GLIBC_SRC_SUBDIR = .
+else
+GLIBC_VERSION = b86835ca92a1942ed08d8b5ee47498e711feaddb
+GLIBC_SITE = $(call github,Xilinx,glibc,$(GLIBC_VERSION))
+GLIBC_SRC_SUBDIR = .
+endif
+else
 ifeq ($(BR2_TOOLCHAIN_BUILDROOT_EGLIBC),y)
 GLIBC_VERSION = 2.17-svnr22064
 GLIBC_SITE = http://downloads.yoctoproject.org/releases/eglibc/
@@ -15,6 +26,7 @@ GLIBC_SITE = $(BR2_GNU_MIRROR)/libc
 GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz
 GLIBC_SRC_SUBDIR = .
 endif
+endif
 
 GLIBC_LICENSE = GPLv2+ (programs), LGPLv2.1+, BSD-3c, MIT (library)
 GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICENSES)
Signature · 1 line
1.7.1
#4 lore raw

PATCH v3 4/7 gdb: add microblaze internal toolchain

In reply to Spenser Gilliland
---
 package/gdb/Config.in.host |    2 ++
 package/gdb/gdb.mk         |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)
package/gdb/Config.in.host +2 -0
index 074aa57..de0e0be 100644
@@ -16,6 +16,7 @@ if BR2_PACKAGE_HOST_GDB
 choice
 	prompt "GDB debugger Version"
 	depends on !BR2_arc
+	depends on !BR2_microblaze
 	default BR2_GDB_VERSION_6_6 if BR2_bfin
 	default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
 	default BR2_GDB_VERSION_7_5
@@ -59,5 +60,6 @@ config BR2_GDB_VERSION
 	default "7.4.1"    if BR2_GDB_VERSION_7_4
 	default "7.5.1"    if BR2_GDB_VERSION_7_5
 	default "f25a1952afd054205f9471e449c1f7ca5b271b7c" if BR2_arc
+	default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
 
 endif
package/gdb/gdb.mk +5 -0
index 53e6048..bee3135 100644
@@ -26,6 +26,11 @@ GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gdb,$(GDB_VERSION)
 GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
 endif
 
+ifeq ($(BR2_microblaze),y)
+GDB_SITE = $(call github,Xilinx,gdb,$(GDB_VERSION))
+GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+endif
+
 ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
 GDB_SITE = ftp://www.at91.com/pub/buildroot/
 endif
Signature · 1 line
1.7.1
#5 lore raw

PATCH v3 5/7 toolchain: enable microblaze toolchain

In reply to Spenser Gilliland
---
 toolchain/Config.in                     |    2 +-
 toolchain/toolchain-buildroot/Config.in |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
toolchain/Config.in +1 -1
index 3980d79..bbfd367 100644
@@ -35,7 +35,7 @@ choice
 
 config BR2_TOOLCHAIN_BUILDROOT
 	bool "Buildroot toolchain"
-	depends on !BR2_microblaze && !BR2_aarch64 && !BR2_nios2
+	depends on !BR2_aarch64 && !BR2_nios2
 	select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
 
 config BR2_TOOLCHAIN_EXTERNAL
toolchain/toolchain-buildroot/Config.in +2 -2
index 8b37127..1529004 100644
@@ -21,7 +21,7 @@ config BR2_TOOLCHAIN_BUILDROOT_EGLIBC
 		   BR2_i386   || BR2_mips     || BR2_mipsel  || \
 		   BR2_mips64 || BR2_mips64el || BR2_powerpc || \
 		   BR2_sh     || BR2_sh64     || BR2_sparc   || \
-		   BR2_x86_64
+		   BR2_x86_64 || BR2_microblaze
 	depends on BR2_USE_MMU
 	depends on !BR2_PREFER_STATIC_LIB
 	select BR2_TOOLCHAIN_USES_GLIBC
@@ -42,7 +42,7 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC
 		   BR2_i386   || BR2_mips     || BR2_mipsel  || \
 		   BR2_mips64 || BR2_mips64el || BR2_powerpc || \
 		   BR2_sh     || BR2_sh64     || BR2_sparc   || \
-		   BR2_x86_64
+		   BR2_x86_64 || BR2_microblaze
 	select BR2_TOOLCHAIN_USES_GLIBC
 	depends on !BR2_PREFER_STATIC_LIB
 	# our glibc.mk enables RPC support
Signature · 1 line
1.7.1
#6 lore raw

PATCH v3 6/7 toolchain: uclibc does not support microblze

In reply to Spenser Gilliland
---
 toolchain/toolchain-buildroot/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
toolchain/toolchain-buildroot/Config.in +1 -0
index 1529004..57bbc3d 100644
@@ -9,6 +9,7 @@ choice
 config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
 	bool "uClibc"
 	select BR2_TOOLCHAIN_USES_UCLIBC
+	depends on !BR2_microblaze
 	help
 	  This option selects uClibc as the C library for the
 	  cross-compilation toolchain.
Signature · 1 line
1.7.1
#7 lore raw

PATCH v3 6/7 toolchain: uclibc does not support microblze

Dear Spenser Gilliland,

Quoted 11 lines · Spenser Gilliland
---
 toolchain/toolchain-buildroot/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
toolchain/toolchain-buildroot/Config.in +0 -0
index 1529004..57bbc3d 100644

toolchain/toolchain-buildroot/Config.in choice · line 12

Quoted 4 lines
toolchain/toolchain-buildroot/Config.in +1 -0
@@ -9,6 +9,7 @@ choice
 config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
 	bool "uClibc"
 	select BR2_TOOLCHAIN_USES_UCLIBC
+	depends on !BR2_microblaze

Hum, I see a libc/sysdeps/linux/microblaze in my uClibc tree. And also, since there are some no-MMU variant of Microblaze processors, which C library other than uClibc could they use?

That being said, I don't *require* you to add the support for uClibc. Having glibc/eglibc support is already good. We can add uClibc support later on.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#8 lore raw

PATCH v3 6/7 toolchain: uclibc does not support microblze

Quoted 9 lines · Thomas Petazzoni

Dear Spenser Gilliland,

Quoted 6 lines · Spenser Gilliland
---
 toolchain/toolchain-buildroot/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 13 lines

toolchain/toolchain-buildroot/Config.in choice · line 12

Quoted 9 lines
toolchain/toolchain-buildroot/Config.in +1 -0
index 1529004..57bbc3d 100644
@@ -9,6 +9,7 @@ choice
 config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
 	bool "uClibc"
 	select BR2_TOOLCHAIN_USES_UCLIBC
+	depends on !BR2_microblaze

Hum, I see a libc/sysdeps/linux/microblaze in my uClibc tree. And also, since there are some no-MMU variant of Microblaze processors, which C library other than uClibc could they use?

In the distant past there may have been a version of uclibc that worked with microblaze. However from my limited testing, the current toolchain does not work with uclibc.

Quoted 3 lines

That being said, I don't *require* you to add the support for uClibc. Having glibc/eglibc support is already good. We can add uClibc support later on.

Sounds great.

Thanks,
Spenser

Signature · 10 lines
Spenser Gilliland
Computer Engineer
IIT ECASP Lab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131113/6a497109/attachment.asc>
#9 lore raw

PATCH v3 6/7 toolchain: uclibc does not support microblze

Dear Spenser Gilliland,

Quoted 10 lines · Spenser Gilliland
Quoted 6 lines

toolchain/toolchain-buildroot/Config.in choice · line 12

Quoted 2 lines
toolchain/toolchain-buildroot/Config.in +1 -0
 	select BR2_TOOLCHAIN_USES_UCLIBC
+	depends on !BR2_microblaze

Hum, I see a libc/sysdeps/linux/microblaze in my uClibc tree. And also, since there are some no-MMU variant of Microblaze processors, which C library other than uClibc could they use?

In the distant past there may have been a version of uclibc that worked with microblaze. However from my limited testing, the current toolchain does not work with uclibc.

Ok. But then which C library are Microblaze non-MMU users using?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#10 lore raw

PATCH v3 6/7 toolchain: uclibc does not support microblze

Quoted 9 lines · Thomas Petazzoni

Dear Spenser Gilliland,

Quoted 4 lines · Spenser Gilliland
Quoted 4 lines
Quoted 2 lines

select BR2_TOOLCHAIN_USES_UCLIBC
+ depends on !BR2_microblaze

Hum, I see a libc/sysdeps/linux/microblaze in my uClibc tree. And

also,

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

since there are some no-MMU variant of Microblaze processors, which C library other than uClibc could they use?

In the distant past there may have been a version of uclibc that worked with microblaze. However from my limited testing, the current toolchain does not work with uclibc.

Ok. But then which C library are Microblaze non-MMU users using?

Likely a version from petalinux. This needs to be investigated further to see if uclibc support is possible with newer toolchains and any patches from petalinux.

Quoted 7 lines

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131113/7d8f4a8b/attachment.html>

#11 lore raw

PATCH v3 7/7 defconfigs: update microblaze defconfigs to use new toolchain

In reply to Spenser Gilliland
---
 configs/qemu_microblazebe_mmu_defconfig |    7 -------
 configs/qemu_microblazeel_mmu_defconfig |    7 -------
 2 files changed, 0 insertions(+), 14 deletions(-)
configs/qemu_microblazebe_mmu_defconfig +0 -7
index 0a621b1..8527ca8 100644
@@ -2,13 +2,6 @@
 BR2_microblaze=y
 BR2_microblazebe=y
 
-# Special toolchain
-BR2_TOOLCHAIN_EXTERNAL=y
-BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2=y
-BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
-BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
-BR2_TOOLCHAIN_EXTERNAL_CXX=y
-
 # System
 BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0"
 
configs/qemu_microblazeel_mmu_defconfig +0 -7
index 51d58c6..e407e1b 100644
@@ -2,13 +2,6 @@
 BR2_microblaze=y
 BR2_microblazeel=y
 
-# Toolchain
-BR2_TOOLCHAIN_EXTERNAL=y
-BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2=y
-BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
-BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
-BR2_TOOLCHAIN_EXTERNAL_CXX=y
-
 # System
 BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0"
 
Signature · 1 line
1.7.1
#12 lore raw

v3 cover Add Microblaze internal toolchain

In reply to Spenser Gilliland
Quoted 8 lines

Subject: [PATCH v3 0/7] Add Microblaze internal toolchain

This patch series adds a Microblaze internal toolchain from the sources at
http://github.com/Xilinx .

This series requires that the arc toolchain patches and github helper patches are applied.

Tried it here, and everything builds fine. I even enabled a couple of random packages, and no problems seen. Note that I don't have a platform to actually run the binaries on, so this is a build-only test.

Thanks,

Mischa