[yocto] [meta-raspberrypi][morty][PATCH 2/3] linux-raspberrypi: Fix uImage build on 4.9.y and later
Paul Barker
pbarker at toganlabs.com
Tue Mar 14 03:32:36 PDT 2017
Signed-off-by: Paul Barker <pbarker at toganlabs.com>
---
recipes-kernel/linux/linux-raspberrypi_4.9.bb | 5 +++++
1 file changed, 5 insertions(+)
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"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \
"
require linux-raspberrypi.inc
+
+# A LOADADDR is needed when building a uImage format kernel. This value is not
+# set by default in rpi-4.8.y and later branches so we need to provide it
+# manually. This value unused if KERNEL_IMAGETYPE is not uImage.
+KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000"
--
2.11.0
More information about the yocto
mailing list