Patchwork [2/3] pandaboard: Fix defconfig build

login
register
mail settings
Submitter Maxime Ripard
Date May 6, 2013, 10:14 a.m.
Message ID <1367835297-6560-3-git-send-email-maxime.ripard@free-electrons.com>
Download mbox | patch
Permalink /patch/241614/
State Accepted
Commit d451f3c0bb9efd97263b7f5e49c2fb5fe62f41dc
Headers show

Comments

Maxime Ripard - May 6, 2013, 10:14 a.m.
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(+)

Patch

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