[yocto] [meta-raspberrypi][PATCH v2 1/2] linux-raspberrypi: Update kernel to 3.18.16

Petter Mabäcker petter at technux.se
Tue Aug 11 06:17:43 PDT 2015


 

2015-08-11 14:30 skrev Alex J Lennon: 

> 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 at dynamicdevices.co.uk>
> ---
>
conf/machine/include/rpi-base.inc | 22 ++++++++++------------
>
recipes-kernel/linux/linux-raspberrypi_3.18.bb | 9 +++++++--
> 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
> +}
> -- 
> 1.9.1

One very
minor comment, update the comment ".. prior to install step" to
something like ".. prior to compile step instead" :) Perhaps Andrei can
fix that during merge, since at least I see no need for a v3 for
this.... :) 

BR Petter 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150811/d16e906b/attachment.html>


More information about the yocto mailing list