summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorPaul Barker <pbarker@toganlabs.com>2017-03-11 13:29:39 +0000
committerKhem Raj <raj.khem@gmail.com>2017-03-11 09:33:17 -0800
commit6561befc96def01c1bf73236b10289a7fe3a21bf (patch)
tree665f4a96e381ecc63d84a89e99f528d262aae1d1 /recipes-kernel
parent52bec45b6785abad3dd6ff7388ae8f9f491025df (diff)
downloadmeta-raspberrypi-6561befc96def01c1bf73236b10289a7fe3a21bf.tar.gz
linux-raspberrypi: Fix uImage build on 4.9.y and later
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-raspberrypi_4.9.bb5
-rw-r--r--recipes-kernel/linux/linux-raspberrypi_dev.bb5
2 files changed, 10 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
index 7733bf1..3aba67b 100644
--- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
@@ -6,3 +6,8 @@ SRCREV = "28ea32b9afb5d813986c4ab940c26fe298d80ed2"
6SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \ 6SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \
7" 7"
8require linux-raspberrypi.inc 8require linux-raspberrypi.inc
9
10# A LOADADDR is needed when building a uImage format kernel. This value is not
11# set by default in rpi-4.8.y and later branches so we need to provide it
12# manually. This value unused if KERNEL_IMAGETYPE is not uImage.
13KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000"
diff --git a/recipes-kernel/linux/linux-raspberrypi_dev.bb b/recipes-kernel/linux/linux-raspberrypi_dev.bb
index b3a2a02..96cbbb0 100644
--- a/recipes-kernel/linux/linux-raspberrypi_dev.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_dev.bb
@@ -6,3 +6,8 @@ SRCREV = "9aa91f43583fdb07306f962e6ee6797fba1cc62d"
6SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.10.y \ 6SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.10.y \
7" 7"
8require linux-raspberrypi.inc 8require linux-raspberrypi.inc
9
10# A LOADADDR is needed when building a uImage format kernel. This value is not
11# set by default in rpi-4.8.y and later branches so we need to provide it
12# manually. This value unused if KERNEL_IMAGETYPE is not uImage.
13KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000"