Skip to contentSkip to conversation

linux-raspberrypi: Update kernel to 3.18.16

PATCH In review Andrei Gherzan 1 participant 13 messages Oct 21, 2015 – Oct 24, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/11 linux-raspberrypi: Update kernel to 3.18.16

From: Alex J Lennon <[email protected]>

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

---
 conf/machine/include/rpi-base.inc              | 22 ++++++++++------------
 recipes-kernel/linux/linux-raspberrypi_3.18.bb |  9 +++++++--
 2 files changed, 17 insertions(+), 14 deletions(-)
conf/machine/include/rpi-base.inc +10 -12
index 1dda207..8caa5ba 100644
@@ -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"
 
recipes-kernel/linux/linux-raspberrypi_3.18.bb +7 -2
index 6d8b155..a1fe6b4 100644
@@ -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
+}
Signature · 1 line
2.6.0
#1 lore raw

PATCH 2/11 linux-raspberrypi: support kernel 4.1.3

From: Alex J Lennon <[email protected]>

---
 recipes-kernel/linux/linux-raspberrypi_4.1.bb | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_4.1.bb
recipes-kernel/linux/linux-raspberrypi_4.1.bb new file +6 -0
new file mode 100644
index 0000000..637c5b2
@@ -0,0 +1,6 @@
+LINUX_VERSION ?= "4.1.3"
+
+SRCREV = "2a2dc4e5e4946e75b98c71eacc3660e913dbd302"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.1.y"
+
+require linux-raspberrypi.inc
Signature · 1 line
2.6.0
#2 lore raw

PATCH 3/11 linux-raspberrypi: Update 4.1 recipe to 4.1.10

In reply to Andrei Gherzan
---
 recipes-kernel/linux/linux-raspberrypi_4.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-raspberrypi_4.1.bb +2 -2
index 637c5b2..3a3cf40 100644
@@ -1,6 +1,6 @@
-LINUX_VERSION ?= "4.1.3"
+LINUX_VERSION ?= "4.1.10"
 
-SRCREV = "2a2dc4e5e4946e75b98c71eacc3660e913dbd302"
+SRCREV = "b74df9228c27f55361c065bc5dbfba88861cc771"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.1.y"
 
 require linux-raspberrypi.inc
Signature · 1 line
2.6.0
#3 lore raw

PATCH 4/11 linux-raspberrypi: Remove old 3.12 version

In reply to Andrei Gherzan
---
 recipes-kernel/linux/linux-raspberrypi_3.12.bb | 7 -------
 1 file changed, 7 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.bb
recipes-kernel/linux/linux-raspberrypi_3.12.bb deleted +0 -7
deleted file mode 100644
index 71fba49..0000000
@@ -1,7 +0,0 @@
-LINUX_VERSION ?= "3.12.36"
-
-SRCREV = "ee9b8c7d46f2b1787b1e64604acafc70f70191cf"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y \
-          "
-
-require linux-raspberrypi.inc
Signature · 1 line
2.6.0
#4 lore raw

PATCH 5/11 rpi-default-versions: Default kernel on 4.1.%

In reply to Andrei Gherzan
---
 conf/machine/include/rpi-default-versions.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/rpi-default-versions.inc +1 -1
index bcf7828..c879dde 100644
@@ -1,3 +1,3 @@
 # RaspberryPi BSP default versions
 
-PREFERRED_VERSION_linux-raspberrypi ?= "3.18.%"
+PREFERRED_VERSION_linux-raspberrypi ?= "4.1.%"
Signature · 1 line
2.6.0
#5 lore raw

PATCH 6/11 bcm2835: Update to v1.46

In reply to Andrei Gherzan
---
 recipes-devtools/bcm2835/bcm2835_1.44.bb | 40 --------------------------------
 recipes-devtools/bcm2835/bcm2835_1.46.bb | 40 ++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 40 deletions(-)
 delete mode 100644 recipes-devtools/bcm2835/bcm2835_1.44.bb
 create mode 100644 recipes-devtools/bcm2835/bcm2835_1.46.bb
recipes-devtools/bcm2835/bcm2835_1.44.bb deleted +0 -40
deleted file mode 100644
index a0d349d..0000000
@@ -1,40 +0,0 @@
-DESCRIPTION = "Package that provides access to GPIO and other IO\
-functions on the Broadcom BCM 2835 chip, allowing access to the\
-GPIO pins on the 26 pin IDE plug on the RPi board"
-SECTION = "base"
-HOMEPAGE = "http://www.open.com.au/mikem/bcm2835"
-AUTHOR = "Mike McCauley ([email protected])"
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-COMPATIBLE_MACHINE = "raspberrypi"
-
-SRC_URI = "http://www.airspayce.com/mikem/bcm2835/bcm2835-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "a974af22a2fa2c0b131becd55c4b31c0"
-SRC_URI[sha256sum] = "608b60bf95ff909a027155303090b71643f333116584d4a2c3b8f6edbf49c612"
-
-inherit autotools
-
-do_compile_append() {
-    # Now compiling the examples provided by the package
-    mkdir -p ${B}/examples
-    for file in `ls ${S}/examples`; do
-        ${CC} ${S}/examples/${file}/${file}.c -o ${B}/examples/${file} -Bstatic -L${B}/src -lbcm2835 -I${S}/src
-    done
-}
-
-do_install_append() {
-    install -d ${D}/${libdir}/${BPN}
-    for file in ${B}/examples/*
-    do
-        install -m 0755 ${file} ${D}/${libdir}/${BPN}
-    done
-}
-
-PACKAGES += "${PN}-tests"
-
-FILES_${PN} = ""
-FILES_${PN}-tests = "${libdir}/${BPN}"
-FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
recipes-devtools/bcm2835/bcm2835_1.46.bb new file +40 -0
new file mode 100644
index 0000000..dd37b8f
@@ -0,0 +1,40 @@
+DESCRIPTION = "Package that provides access to GPIO and other IO\
+functions on the Broadcom BCM 2835 chip, allowing access to the\
+GPIO pins on the 26 pin IDE plug on the RPi board"
+SECTION = "base"
+HOMEPAGE = "http://www.open.com.au/mikem/bcm2835"
+AUTHOR = "Mike McCauley ([email protected])"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI = "http://www.airspayce.com/mikem/bcm2835/bcm2835-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "3a40c01ee7d81fbff80c54fbe1a351b5"
+SRC_URI[sha256sum] = "fc6b0412525e6b7e85aeffec67e2d01a99fb906346620041e6684d59ea5517a7"
+
+inherit autotools
+
+do_compile_append() {
+    # Now compiling the examples provided by the package
+    mkdir -p ${B}/examples
+    for file in `ls ${S}/examples`; do
+        ${CC} ${S}/examples/${file}/${file}.c -o ${B}/examples/${file} -Bstatic -L${B}/src -lbcm2835 -I${S}/src
+    done
+}
+
+do_install_append() {
+    install -d ${D}/${libdir}/${BPN}
+    for file in ${B}/examples/*
+    do
+        install -m 0755 ${file} ${D}/${libdir}/${BPN}
+    done
+}
+
+PACKAGES += "${PN}-tests"
+
+FILES_${PN} = ""
+FILES_${PN}-tests = "${libdir}/${BPN}"
+FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
Signature · 1 line
2.6.0
#6 lore raw

PATCH 7/11 firmware: Bump revision

In reply to Andrei Gherzan
---
 recipes-bsp/common/firmware.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/common/firmware.inc +2 -2
index a5a5412..020f0ed 100644
@@ -1,5 +1,5 @@
-RPIFW_SRCREV ?= "89881b5488a5a60088677333dcbd97e1836c0e7e"
-RPIFW_DATE ?= "20150630"
+RPIFW_SRCREV ?= "f7108cfdc715f79c5fd051fb4c3ae6f4b1b01f23"
+RPIFW_DATE ?= "20151021"
 RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
 RPIFW_S ?= "${WORKDIR}/git"
 
Signature · 1 line
2.6.0
#7 lore raw

PATCH 8/11 omxplayer: Bump revision

In reply to Andrei Gherzan
---
 recipes-multimedia/omxplayer/omxplayer_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-multimedia/omxplayer/omxplayer_git.bb +1 -1
index f4839a9..2f45fb0 100644
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh"
 PR = "r4"
 
-SRCREV = "4d8ffd13153bfef2966671cb4fb484afeaf792a8"
+SRCREV = "d99bd86c9fd80ea01f98761e130d7ac9a2bb7588"
 SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \
            file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \
            file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \
Signature · 1 line
2.6.0
#8 lore raw

PATCH 9/11 rpi-mkimage: Bump revision

In reply to Andrei Gherzan
---
 recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb +1 -1
index ffd1818..ffcaa83 100644
@@ -5,7 +5,7 @@ SECTION = "bootloader"
 
 DEPENDS = "python"
 
-SRCREV = "d4b397f3a1e60ea45660eafb9209bcb97453c456"
+SRCREV = "f5642106425d430e1f82ee064121a5fd0e05a386"
 SRC_URI = " \
     git://github.com/raspberrypi/tools.git;branch=master;protocol=git \
     file://License \
Signature · 1 line
2.6.0
#9 lore raw

PATCH 10/11 userland: Bump revision

In reply to Andrei Gherzan
---
 recipes-graphics/userland/userland_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/userland/userland_git.bb +1 -1
index e431077..896229e 100644
@@ -14,7 +14,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
 
 SRCBRANCH = "master"
 SRCFORK = "raspberrypi"
-SRCREV = "cc92dfd6c4e8e2d90c3903dccfe77f7274b8d1b7"
+SRCREV = "40e377862410371a9962db79b81fd4f0f266430a"
 
 SRC_URI = "\
     git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
Signature · 1 line
2.6.0
#10 lore raw

PATCH 11/11 pi-blaster: Bump revision

In reply to Andrei Gherzan
---
 recipes-devtools/pi-blaster/pi-blaster_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/pi-blaster/pi-blaster_git.bb +1 -1
index 01a55ca..263852b 100644
@@ -1,3 +1,3 @@
 require pi-blaster.inc
 
-SRCREV = "bce7c1b4c53b0dd12665e46bdebd3b7cb0987e3d"
+SRCREV = "ec5e1b4c6191d8f9a538497dbbb86f9cf0de7016"
Signature · 1 line
2.6.0