aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex J Lennon <ajlennon@dynamicdevices.co.uk>2015-08-11 13:30:22 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2015-10-21 14:44:26 +0200
commit10a5bace87c19e50014f838031e8f3db334b45b7 (patch)
tree081c0838165e22ba49e657d348b28475a1d1c88a
parent20c8e6a5bce17fba97af7365d8bdf04e5c7b17b9 (diff)
downloadmeta-raspberrypi-10a5bace87c19e50014f838031e8f3db334b45b7.tar.gz
meta-raspberrypi-10a5bace87c19e50014f838031e8f3db334b45b7.tar.bz2
meta-raspberrypi-10a5bace87c19e50014f838031e8f3db334b45b7.zip
linux-raspberrypi: Update kernel to 3.18.16
This requires some changes to KERNEL_DEVICETREE as the dtb layout has changed to support overlays. This change also makes us ready to support kernel 4.x series Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
-rw-r--r--conf/machine/include/rpi-base.inc22
-rw-r--r--recipes-kernel/linux/linux-raspberrypi_3.18.bb9
2 files changed, 17 insertions, 14 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index 1dda207..8caa5ba 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -23,18 +23,16 @@ KERNEL_DEVICETREE ?= " \
bcm2708-rpi-b-plus.dtb \
bcm2709-rpi-2-b.dtb \
\
- ds1307-rtc-overlay.dtb \
- hifiberry-amp-overlay.dtb \
- hifiberry-dac-overlay.dtb \
- hifiberry-dacplus-overlay.dtb \
- hifiberry-digi-overlay.dtb \
- iqaudio-dac-overlay.dtb \
- iqaudio-dacplus-overlay.dtb \
- lirc-rpi-overlay.dtb \
- pcf8523-rtc-overlay.dtb \
- pps-gpio-overlay.dtb \
- w1-gpio-overlay.dtb \
- w1-gpio-pullup-overlay.dtb \
+ overlays/hifiberry-amp-overlay.dtb \
+ overlays/hifiberry-dac-overlay.dtb \
+ overlays/hifiberry-dacplus-overlay.dtb \
+ overlays/hifiberry-digi-overlay.dtb \
+ overlays/iqaudio-dac-overlay.dtb \
+ overlays/iqaudio-dacplus-overlay.dtb \
+ overlays/lirc-rpi-overlay.dtb \
+ overlays/pps-gpio-overlay.dtb \
+ overlays/w1-gpio-overlay.dtb \
+ overlays/w1-gpio-pullup-overlay.dtb \
"
KERNEL_IMAGETYPE ?= "Image"
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.bb b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
index 6d8b155..a1fe6b4 100644
--- a/recipes-kernel/linux/linux-raspberrypi_3.18.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
@@ -1,6 +1,11 @@
-LINUX_VERSION ?= "3.18.11"
+LINUX_VERSION ?= "3.18.16"
-SRCREV = "d64fa8121fca9883d6fb14ca06d2abf66496195e"
+SRCREV = "1bb18c8f721ef674a447f3622273f2e2de7a205c"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y"
require linux-raspberrypi.inc
+
+# Create missing out of tree 'overlays' directory prior to install step
+do_compile_prepend() {
+ mkdir -p ${B}/arch/arm/boot/dts/overlays
+}