All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain
@ 2013-11-13 21:28 Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 1/7] binutils: add microblaze " Spenser Gilliland
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 21:28 UTC (permalink / raw)
  To: buildroot

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(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 1/7] binutils: add microblaze internal toolchain
  2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
@ 2013-11-13 21:28 ` Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 2/7] gcc: " Spenser Gilliland
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 21:28 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/binutils/Config.in.host |    2 ++
 package/binutils/binutils.mk    |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index 2989e6e..c125c25 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -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
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index b8d7c69..4464b7f 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -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))
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 2/7] gcc: add microblaze internal toolchain
  2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 1/7] binutils: add microblaze " Spenser Gilliland
@ 2013-11-13 21:28 ` Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 3/7] glibc: " Spenser Gilliland
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 21:28 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/gcc/Config.in.host |   23 +++++++++++++++--------
 package/gcc/gcc.mk         |    3 +++
 2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 2f04457..186ba80 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -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
 
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index e8f5ee1..236297d 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 3/7] glibc: add microblaze internal toolchain
  2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 1/7] binutils: add microblaze " Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 2/7] gcc: " Spenser Gilliland
@ 2013-11-13 21:28 ` Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 4/7] gdb: " Spenser Gilliland
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 21:28 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/glibc/glibc.mk |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index 2e7fe82..beb7600 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -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)
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 4/7] gdb: add microblaze internal toolchain
  2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
                   ` (2 preceding siblings ...)
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 3/7] glibc: " Spenser Gilliland
@ 2013-11-13 21:28 ` Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 5/7] toolchain: enable microblaze toolchain Spenser Gilliland
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 21:28 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/gdb/Config.in.host |    2 ++
 package/gdb/gdb.mk         |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 074aa57..de0e0be 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -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
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 53e6048..bee3135 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 5/7] toolchain: enable microblaze toolchain
  2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
                   ` (3 preceding siblings ...)
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 4/7] gdb: " Spenser Gilliland
@ 2013-11-13 21:28 ` Spenser Gilliland
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze Spenser Gilliland
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 21:28 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 toolchain/Config.in                     |    2 +-
 toolchain/toolchain-buildroot/Config.in |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 3980d79..bbfd367 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -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
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index 8b37127..1529004 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze
  2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
                   ` (4 preceding siblings ...)
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 5/7] toolchain: enable microblaze toolchain Spenser Gilliland
@ 2013-11-13 21:28 ` Spenser Gilliland
  2013-11-13 21:58   ` Thomas Petazzoni
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 7/7] defconfigs: update microblaze defconfigs to use new toolchain Spenser Gilliland
  2013-11-13 22:11 ` [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Mischa Jonker
  7 siblings, 1 reply; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 21:28 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 toolchain/toolchain-buildroot/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index 1529004..57bbc3d 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -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.
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 7/7] defconfigs: update microblaze defconfigs to use new toolchain
  2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
                   ` (5 preceding siblings ...)
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze Spenser Gilliland
@ 2013-11-13 21:28 ` Spenser Gilliland
  2013-11-13 22:11 ` [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Mischa Jonker
  7 siblings, 0 replies; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 21:28 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 configs/qemu_microblazebe_mmu_defconfig |    7 -------
 configs/qemu_microblazeel_mmu_defconfig |    7 -------
 2 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/configs/qemu_microblazebe_mmu_defconfig b/configs/qemu_microblazebe_mmu_defconfig
index 0a621b1..8527ca8 100644
--- a/configs/qemu_microblazebe_mmu_defconfig
+++ b/configs/qemu_microblazebe_mmu_defconfig
@@ -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"
 
diff --git a/configs/qemu_microblazeel_mmu_defconfig b/configs/qemu_microblazeel_mmu_defconfig
index 51d58c6..e407e1b 100644
--- a/configs/qemu_microblazeel_mmu_defconfig
+++ b/configs/qemu_microblazeel_mmu_defconfig
@@ -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"
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze Spenser Gilliland
@ 2013-11-13 21:58   ` Thomas Petazzoni
  2013-11-13 22:35     ` Spenser Gilliland
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2013-11-13 21:58 UTC (permalink / raw)
  To: buildroot

Dear Spenser Gilliland,

On Wed, 13 Nov 2013 15:28:49 -0600, Spenser Gilliland wrote:
> 
> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
> ---
>  toolchain/toolchain-buildroot/Config.in |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
> index 1529004..57bbc3d 100644
> --- a/toolchain/toolchain-buildroot/Config.in
> +++ b/toolchain/toolchain-buildroot/Config.in
> @@ -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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain
  2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
                   ` (6 preceding siblings ...)
  2013-11-13 21:28 ` [Buildroot] [PATCH v3 7/7] defconfigs: update microblaze defconfigs to use new toolchain Spenser Gilliland
@ 2013-11-13 22:11 ` Mischa Jonker
  7 siblings, 0 replies; 13+ messages in thread
From: Mischa Jonker @ 2013-11-13 22:11 UTC (permalink / raw)
  To: buildroot

> 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.

Tested-by: Mischa Jonker <mjonker@synopsys.com>

Thanks,

Mischa

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze
  2013-11-13 21:58   ` Thomas Petazzoni
@ 2013-11-13 22:35     ` Spenser Gilliland
  2013-11-13 23:20       ` Thomas Petazzoni
  0 siblings, 1 reply; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 22:35 UTC (permalink / raw)
  To: buildroot

On Wed, 2013-11-13 at 22:58 +0100, Thomas Petazzoni wrote:
> Dear Spenser Gilliland,
> 
> On Wed, 13 Nov 2013 15:28:49 -0600, Spenser Gilliland wrote:
> > 
> > Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
> > ---
> >  toolchain/toolchain-buildroot/Config.in |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
> > index 1529004..57bbc3d 100644
> > --- a/toolchain/toolchain-buildroot/Config.in
> > +++ b/toolchain/toolchain-buildroot/Config.in
> > @@ -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. 

> 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

-- 
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>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze
  2013-11-13 22:35     ` Spenser Gilliland
@ 2013-11-13 23:20       ` Thomas Petazzoni
  2013-11-13 23:42         ` Spenser Gilliland
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2013-11-13 23:20 UTC (permalink / raw)
  To: buildroot

Dear Spenser Gilliland,

On Wed, 13 Nov 2013 16:35:33 -0600, Spenser Gilliland wrote:

> > >  	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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze
  2013-11-13 23:20       ` Thomas Petazzoni
@ 2013-11-13 23:42         ` Spenser Gilliland
  0 siblings, 0 replies; 13+ messages in thread
From: Spenser Gilliland @ 2013-11-13 23:42 UTC (permalink / raw)
  To: buildroot

On Nov 13, 2013 5:20 PM, "Thomas Petazzoni" <
thomas.petazzoni@free-electrons.com> wrote:
>
> Dear Spenser Gilliland,
>
> On Wed, 13 Nov 2013 16:35:33 -0600, Spenser Gilliland wrote:
>
> > > >   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?

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.

> 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>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-11-13 23:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13 21:28 [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Spenser Gilliland
2013-11-13 21:28 ` [Buildroot] [PATCH v3 1/7] binutils: add microblaze " Spenser Gilliland
2013-11-13 21:28 ` [Buildroot] [PATCH v3 2/7] gcc: " Spenser Gilliland
2013-11-13 21:28 ` [Buildroot] [PATCH v3 3/7] glibc: " Spenser Gilliland
2013-11-13 21:28 ` [Buildroot] [PATCH v3 4/7] gdb: " Spenser Gilliland
2013-11-13 21:28 ` [Buildroot] [PATCH v3 5/7] toolchain: enable microblaze toolchain Spenser Gilliland
2013-11-13 21:28 ` [Buildroot] [PATCH v3 6/7] toolchain: uclibc does not support microblze Spenser Gilliland
2013-11-13 21:58   ` Thomas Petazzoni
2013-11-13 22:35     ` Spenser Gilliland
2013-11-13 23:20       ` Thomas Petazzoni
2013-11-13 23:42         ` Spenser Gilliland
2013-11-13 21:28 ` [Buildroot] [PATCH v3 7/7] defconfigs: update microblaze defconfigs to use new toolchain Spenser Gilliland
2013-11-13 22:11 ` [Buildroot] [PATCH v3 0/7] Add Microblaze internal toolchain Mischa Jonker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.