All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] Fixes for new regressions
@ 2013-05-06 10:14 Maxime Ripard
  2013-05-06 10:14 ` [Buildroot] [PATCH 1/3] armv8: Fix defconfig build Maxime Ripard
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Maxime Ripard @ 2013-05-06 10:14 UTC (permalink / raw)
  To: buildroot

Hi,

This patchset fixes a bunch of regressions introduced recently caught by
building the defconfig.

Maxime

Maxime Ripard (3):
  armv8: Fix defconfig build
  pandaboard: Fix defconfig build
  toolchain/gcc: Enable --with-float for powerpc

 Makefile                        | 3 ++-
 configs/pandaboard_defconfig    | 5 +++++
 toolchain/gcc/gcc-uclibc-4.x.mk | 3 ++-
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
1.8.1.2

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

* [Buildroot] [PATCH 1/3] armv8: Fix defconfig build
  2013-05-06 10:14 [Buildroot] [PATCH 0/3] Fixes for new regressions Maxime Ripard
@ 2013-05-06 10:14 ` Maxime Ripard
  2013-05-06 10:14 ` [Buildroot] [PATCH 2/3] pandaboard: " Maxime Ripard
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2013-05-06 10:14 UTC (permalink / raw)
  To: buildroot

Commit 14f48861 ("arc: Add ARC and ARC BE architecture") introduced a
sed match against arc* buildroot architecture to translate it to arc.

This causes a problem with armv8, which is called in buildroot aarch64,
which is also matching, resulting in a build failure.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 1692a36..9128c75 100644
--- a/Makefile
+++ b/Makefile
@@ -238,7 +238,8 @@ ARCH:=$(call qstrip,$(BR2_ARCH))
 
 KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
 	-e s/i.86/i386/ -e s/sun4u/sparc64/ \
-	-e s/arc.*/arc/ \
+	-e s/arcle/arc/ \
+	-e s/arcbe/arc/ \
 	-e s/arm.*/arm/ -e s/sa110/arm/ \
 	-e s/aarch64/arm64/ \
 	-e s/bfin/blackfin/ \
-- 
1.8.1.2

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

* [Buildroot] [PATCH 2/3] pandaboard: Fix defconfig build
  2013-05-06 10:14 [Buildroot] [PATCH 0/3] Fixes for new regressions Maxime Ripard
  2013-05-06 10:14 ` [Buildroot] [PATCH 1/3] armv8: Fix defconfig build Maxime Ripard
@ 2013-05-06 10:14 ` Maxime Ripard
  2013-05-06 10:14 ` [Buildroot] [PATCH 3/3] toolchain/gcc: Enable --with-float for powerpc Maxime Ripard
  2013-05-06 10:29 ` [Buildroot] [PATCH 0/3] Fixes for new regressions Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2013-05-06 10:14 UTC (permalink / raw)
  To: buildroot

Commit 75b7dc68 ("linux: default to 3.9, remove 3.8") made 3.9 the
default kernel version.

The omap kernel switched to multiplatform kernel during the 3.9 kernel
development cycle. Obviously, the uImage generation doesn't work anymore
with multiplatform kernels, since you have to provide the kernel load
address, resulting in a build error.

Lock down the kernel version to 3.8 to keep the old behaviour until
someone submits a patch to switch to multiplatform kernel.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 configs/pandaboard_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configs/pandaboard_defconfig b/configs/pandaboard_defconfig
index 9496b7f..95cfdd6 100644
--- a/configs/pandaboard_defconfig
+++ b/configs/pandaboard_defconfig
@@ -11,8 +11,13 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set
 
+# Lock to 3.8 headers to avoid breaking with newer kernels
+BR2_KERNEL_HEADERS_3_8=y
+
 # Kernel
 BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.8.11"
 BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
 
 # GCC
-- 
1.8.1.2

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

* [Buildroot] [PATCH 3/3] toolchain/gcc: Enable --with-float for powerpc
  2013-05-06 10:14 [Buildroot] [PATCH 0/3] Fixes for new regressions Maxime Ripard
  2013-05-06 10:14 ` [Buildroot] [PATCH 1/3] armv8: Fix defconfig build Maxime Ripard
  2013-05-06 10:14 ` [Buildroot] [PATCH 2/3] pandaboard: " Maxime Ripard
@ 2013-05-06 10:14 ` Maxime Ripard
  2013-05-06 10:29 ` [Buildroot] [PATCH 0/3] Fixes for new regressions Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2013-05-06 10:14 UTC (permalink / raw)
  To: buildroot

Commit 8d929f4b ("toolchain/gcc: Only enable --with-float when it makes
sense") restricted the --with-float use to only MIPS, ARM and SPARC,
while it seems that powerpc needs it as well.

Fixes the qemu_ppc_virtex_ml507_defconfig build.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 toolchain/gcc/gcc-uclibc-4.x.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index 128b7ab..959568f 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/toolchain/gcc/gcc-uclibc-4.x.mk
@@ -66,7 +66,8 @@ endif
 # Determine soft-float options
 ifeq ($(BR2_SOFT_FLOAT),y)
 # only mips*-*-*, arm*-*-* and sparc*-*-* accept --with-float
-ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_sparc),y)
+# powerpc seems to be needing it as well
+ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_sparc),y)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
 endif
 ifeq ($(BR2_arm)$(BR2_armeb),y) # only set float-abi for arm
-- 
1.8.1.2

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

* [Buildroot] [PATCH 0/3] Fixes for new regressions
  2013-05-06 10:14 [Buildroot] [PATCH 0/3] Fixes for new regressions Maxime Ripard
                   ` (2 preceding siblings ...)
  2013-05-06 10:14 ` [Buildroot] [PATCH 3/3] toolchain/gcc: Enable --with-float for powerpc Maxime Ripard
@ 2013-05-06 10:29 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2013-05-06 10:29 UTC (permalink / raw)
  To: buildroot

>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:

 Maxime> Hi,

 Maxime> This patchset fixes a bunch of regressions introduced recently
 Maxime> caught by building the defconfig.

 Maxime> Maxime

 Maxime> Maxime Ripard (3):
 Maxime>   armv8: Fix defconfig build
 Maxime>   pandaboard: Fix defconfig build
 Maxime>   toolchain/gcc: Enable --with-float for powerpc

Committed series, thanks!

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2013-05-06 10:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-06 10:14 [Buildroot] [PATCH 0/3] Fixes for new regressions Maxime Ripard
2013-05-06 10:14 ` [Buildroot] [PATCH 1/3] armv8: Fix defconfig build Maxime Ripard
2013-05-06 10:14 ` [Buildroot] [PATCH 2/3] pandaboard: " Maxime Ripard
2013-05-06 10:14 ` [Buildroot] [PATCH 3/3] toolchain/gcc: Enable --with-float for powerpc Maxime Ripard
2013-05-06 10:29 ` [Buildroot] [PATCH 0/3] Fixes for new regressions Peter Korsgaard

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.