summaryrefslogtreecommitdiffstats
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
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 ?= " \
23 bcm2708-rpi-b-plus.dtb \ 23 bcm2708-rpi-b-plus.dtb \
24 bcm2709-rpi-2-b.dtb \ 24 bcm2709-rpi-2-b.dtb \
25 \ 25 \
26 ds1307-rtc-overlay.dtb \ 26 overlays/hifiberry-amp-overlay.dtb \
27 hifiberry-amp-overlay.dtb \ 27 overlays/hifiberry-dac-overlay.dtb \
28 hifiberry-dac-overlay.dtb \ 28 overlays/hifiberry-dacplus-overlay.dtb \
29 hifiberry-dacplus-overlay.dtb \ 29 overlays/hifiberry-digi-overlay.dtb \
30 hifiberry-digi-overlay.dtb \ 30 overlays/iqaudio-dac-overlay.dtb \
31 iqaudio-dac-overlay.dtb \ 31 overlays/iqaudio-dacplus-overlay.dtb \
32 iqaudio-dacplus-overlay.dtb \ 32 overlays/lirc-rpi-overlay.dtb \
33 lirc-rpi-overlay.dtb \ 33 overlays/pps-gpio-overlay.dtb \
34 pcf8523-rtc-overlay.dtb \ 34 overlays/w1-gpio-overlay.dtb \
35 pps-gpio-overlay.dtb \ 35 overlays/w1-gpio-pullup-overlay.dtb \
36 w1-gpio-overlay.dtb \
37 w1-gpio-pullup-overlay.dtb \
38 " 36 "
39KERNEL_IMAGETYPE ?= "Image" 37KERNEL_IMAGETYPE ?= "Image"
40 38
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 @@
1LINUX_VERSION ?= "3.18.11" 1LINUX_VERSION ?= "3.18.16"
2 2
3SRCREV = "d64fa8121fca9883d6fb14ca06d2abf66496195e" 3SRCREV = "1bb18c8f721ef674a447f3622273f2e2de7a205c"
4SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y" 4SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y"
5 5
6require linux-raspberrypi.inc 6require linux-raspberrypi.inc
7
8# Create missing out of tree 'overlays' directory prior to install step
9do_compile_prepend() {
10 mkdir -p ${B}/arch/arm/boot/dts/overlays
11}