Raspberry PI update
PATCH 1/1 Raspberry PI update
Update rpi-firmware/rpi-userland and all raspberrypiX_defconfigs to kernel version 4.4.21.
Tested raspberrypi3_defconfig on Raspberry Pi 3 Model B v1.2 hardware.
Peter Seiderer (6):
raspberrypi0_defconfig: bump to kernel version 4.4.21
raspberrypi_defconfig: bump to kernel version 4.4.21
raspberrypi2_defconfig: bump to kernel version 4.4.21
raspberrypi3_defconfig: bump to kernel version 4.4.21
rpi-firmware: bump version
rpi-userland: bump version
configs/raspberrypi0_defconfig | 2 +-
configs/raspberrypi2_defconfig | 2 +-
configs/raspberrypi3_defconfig | 2 +-
configs/raspberrypi_defconfig | 2 +-
package/rpi-firmware/rpi-firmware.hash | 2 +-
package/rpi-firmware/rpi-firmware.mk | 2 +-
...es-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch | 17 +-
...emove-faulty-assert-to-make-weston-happy-.patch | 35 +++++
.../0003-Disable-Werror-everywhere.patch | 171 +++++++++++++++++++++
...emove-faulty-assert-to-make-weston-happy-.patch | 33 ----
...pplications-disable-missing-applications.patch} | 18 ++-
package/rpi-userland/0004-no-Werror.patch | 138 -----------------
...-dtmerge-add-missing-include-for-va_list.patch} | 0
package/rpi-userland/rpi-userland.hash | 2 +-
package/rpi-userland/rpi-userland.mk | 2 +-
15 files changed, 236 insertions(+), 192 deletions(-)
create mode 100644 package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch
create mode 100644 package/rpi-userland/0003-Disable-Werror-everywhere.patch
delete mode 100644 package/rpi-userland/0003-interface-remove-faulty-assert-to-make-weston-happy-.patch
rename package/rpi-userland/{0005-disable-missing-all-apps.patch => 0004-host-applications-disable-missing-applications.patch} (61%)
delete mode 100644 package/rpi-userland/0004-no-Werror.patch
rename package/rpi-userland/{0006-dtmerge-add-missing-include-for-va_list.patch => 0005-dtmerge-add-missing-include-for-va_list.patch} (100%)Signature · 1 line
2.8.1
PATCH 1/1 raspberrypi0_defconfig: bump to kernel version 4.4.21
--- configs/raspberrypi0_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/raspberrypi0_defconfig +1 -1
@@ -10,7 +10,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="26f3b72a9c049be10e6af196252283e1f6ab9d1f" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9669a50a3a8e4f33b4fe138277bc4407e1eab9b2" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B from the kernel sources: the zero is the same
Signature · 1 line
2.8.1
PATCH 1/1 raspberrypi_defconfig: bump to kernel version 4.4.21
In reply to Peter Seiderer--- configs/raspberrypi_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/raspberrypi_defconfig +1 -1
@@ -12,7 +12,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="26f3b72a9c049be10e6af196252283e1f6ab9d1f" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9669a50a3a8e4f33b4fe138277bc4407e1eab9b2 " BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources
Signature · 1 line
2.8.1
PATCH 1/1 raspberrypi2_defconfig: bump to kernel version 4.4.21
In reply to Peter Seiderer--- configs/raspberrypi2_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/raspberrypi2_defconfig +1 -1
@@ -13,7 +13,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="26f3b72a9c049be10e6af196252283e1f6ab9d1f" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9669a50a3a8e4f33b4fe138277bc4407e1eab9b2" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources
Signature · 1 line
2.8.1
PATCH 1/1 raspberrypi3_defconfig: bump to kernel version 4.4.21
In reply to Peter Seiderer--- configs/raspberrypi3_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/raspberrypi3_defconfig +1 -1
@@ -13,7 +13,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="26f3b72a9c049be10e6af196252283e1f6ab9d1f" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9669a50a3a8e4f33b4fe138277bc4407e1eab9b2" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources
Signature · 1 line
2.8.1
PATCH 1/1 rpi-firmware: bump version
In reply to Peter Seiderer--- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/rpi-firmware/rpi-firmware.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 b2ce949db3745354383ac0d66107cbbb8902ccbf5fc027be8824519c44d5a302 rpi-firmware-70143fe9d371cd6486a80d6765e93b5574212b64.tar.gz +sha256 f7b649ac837a4a9c12a8f96962da310ca4efd6658621d89286b421b8784a4980 rpi-firmware-ad8608c08b122b2c228dba0ff5070d6e9519faf5.tar.gz
package/rpi-firmware/rpi-firmware.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -RPI_FIRMWARE_VERSION = 70143fe9d371cd6486a80d6765e93b5574212b64 +RPI_FIRMWARE_VERSION = ad8608c08b122b2c228dba0ff5070d6e9519faf5 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) RPI_FIRMWARE_LICENSE = BSD-3c RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
Signature · 1 line
2.8.1
PATCH 1/1 rpi-userland: bump version
In reply to Peter Seiderer- rebased patches (using git) to fix patch conflicts
---
...es-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch | 17 +-
...emove-faulty-assert-to-make-weston-happy-.patch | 35 +++++
.../0003-Disable-Werror-everywhere.patch | 171 +++++++++++++++++++++
...emove-faulty-assert-to-make-weston-happy-.patch | 33 ----
...pplications-disable-missing-applications.patch} | 18 ++-
package/rpi-userland/0004-no-Werror.patch | 138 -----------------
...-dtmerge-add-missing-include-for-va_list.patch} | 0
package/rpi-userland/rpi-userland.hash | 2 +-
package/rpi-userland/rpi-userland.mk | 2 +-
9 files changed, 230 insertions(+), 186 deletions(-)
create mode 100644 package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch
create mode 100644 package/rpi-userland/0003-Disable-Werror-everywhere.patch
delete mode 100644 package/rpi-userland/0003-interface-remove-faulty-assert-to-make-weston-happy-.patch
rename package/rpi-userland/{0005-disable-missing-all-apps.patch => 0004-host-applications-disable-missing-applications.patch} (61%)
delete mode 100644 package/rpi-userland/0004-no-Werror.patch
rename package/rpi-userland/{0006-dtmerge-add-missing-include-for-va_list.patch => 0005-dtmerge-add-missing-include-for-va_list.patch} (100%)package/rpi-userland/0001-Add-.pc-files-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch +11 -6
@@ -1,14 +1,16 @@ -From 853d7486a98e38eb78d48b2dcb1dda36610575b4 Mon Sep 17 00:00:00 2001 +From 4824be8986c2b6ef0b0bd2b32bc99c4ba6406640 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" <[email protected]> Date: Sat, 24 Jan 2015 19:44:14 +0100 -Subject: [PATCH] Add .pc files for the OpenGLESv2, EGL and bcm_host - libraries +Subject: [PATCH] Add .pc files for the OpenGLESv2, EGL and bcm_host libraries Those pkg-config files make it easier for Qt5 to find those libraries and the appropriate link flags. Signed-off-by: Thomas Petazzoni <[email protected]> Signed-off-by: "Yann E. MORIN" <[email protected]> + +[Rebased for rpi-userland-a1b89e91f393c7134b4cdc36431f863bb3333163] +Signed-off-by: Peter Seiderer <[email protected]> --- host_applications/linux/libs/bcm_host/CMakeLists.txt | 4 ++++ host_applications/linux/libs/bcm_host/bcm_host.pc.in | 10 ++++++++++
@@ -49,10 +51,10 @@ index 0000000..d40d350 +Libs: -L${libdir} -lbcm_host -lvcos -lvchiq_arm +Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM diff --git a/interface/khronos/CMakeLists.txt b/interface/khronos/CMakeLists.txt -index c437291..ec5a605 100644 +index 4231af4..2844ebd 100644 --- a/interface/khronos/CMakeLists.txt +++ b/interface/khronos/CMakeLists.txt -@@ -74,3 +74,11 @@ target_link_libraries(OpenVG EGL) +@@ -74,6 +74,14 @@ target_link_libraries(OpenVG EGL) install(TARGETS EGL GLESv2 OpenVG WFC khrn_client DESTINATION lib) install(TARGETS EGL_static GLESv2_static khrn_static DESTINATION lib)
@@ -64,6 +66,9 @@ index c437291..ec5a605 100644 + "${CMAKE_CURRENT_BINARY_DIR}/glxx/glesv2.pc" @ONLY) +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/glxx/glesv2.pc" + DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") + + # recommended names to use to avoid conflicts with mesa libs + add_library(brcmEGL ${SHARED} ${EGL_SOURCE}) diff --git a/interface/khronos/egl/egl.pc.in b/interface/khronos/egl/egl.pc.in new file mode 100644 index 0000000..5868706
@@ -98,5 +103,5 @@ index 0000000..2f58eed +Libs: -L${libdir} -lGLESv2 +Cflags: -I${includedir}/ -- -1.9.1 +2.8.1
package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch new file +35 -0
@@ -0,0 +1,35 @@ +From a126ee5a3235792abb58daffd9d4b3e1012f675b Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Sat, 24 Jan 2015 22:07:19 +0100 +Subject: [PATCH] interface: remove faulty assert() to make weston happy at + runtime + +This was removed after a discussion on IRC with the weston guys +('daniels' on irc.freenode.net/#wayland). + +Upstream status: no, will be pushed by weston guys later. +If not, I'll do it. + +Signed-off-by: "Yann E. MORIN" <[email protected]> + +[Rebased for rpi-userland-a1b89e91f393c7134b4cdc36431f863bb3333163] +Signed-off-by: Peter Seiderer <[email protected]> +--- + interface/vmcs_host/vc_vchi_dispmanx.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c +index 133e86d..0c7873c 100755 +--- a/interface/vmcs_host/vc_vchi_dispmanx.c ++++ b/interface/vmcs_host/vc_vchi_dispmanx.c +@@ -1306,7 +1306,6 @@ static void *dispmanx_notify_func( void *arg ) { + // Decrement the use count - the corresponding "use" is in vc_dispmanx_update_submit. + vchi_service_release(dispmanx_client.notify_handle[0]); + if (dispmanx_client.update_callback ) { +- vcos_assert( dispmanx_client.pending_update_handle == handle); + dispmanx_client.update_callback(handle, dispmanx_client.update_callback_param); + } + } else { +-- +2.8.1 +
package/rpi-userland/0003-Disable-Werror-everywhere.patch new file +171 -0
171 lines not on this page · raw message
package/rpi-userland/0003-interface-remove-faulty-assert-to-make-weston-happy-.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From e0df1a4f1d9737935165f420d0d0f685efc63f49 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" <[email protected]> -Date: Sat, 24 Jan 2015 22:07:19 +0100 -Subject: [PATCH] interface: remove faulty assert() to make weston happy at - runtime - -This was removed after a discussion on IRC with the weston guys -('daniels' on irc.freenode.net/#wayland). - -Signed-off-by: "Yann E. MORIN" <[email protected]> - ---- -Upstream status: no, will be pushed by weston guys later. -If not, I'll do it. ---- - interface/vmcs_host/vc_vchi_dispmanx.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c -index 85b373c..59a01f8 100755 ---- a/interface/vmcs_host/vc_vchi_dispmanx.c -+++ b/interface/vmcs_host/vc_vchi_dispmanx.c -@@ -1296,7 +1296,6 @@ static void *dispmanx_notify_func( void *arg ) { - // Decrement the use count - the corresponding "use" is in vc_dispmanx_update_submit. - vchi_service_release(dispmanx_client.notify_handle[0]); - if (dispmanx_client.update_callback ) { -- vcos_assert( dispmanx_client.pending_update_handle == handle); - dispmanx_client.update_callback(handle, dispmanx_client.update_callback_param); - } - } else { --- -1.9.1 -
package/rpi-userland/0004-host-applications-disable-missing-applications.patch renamed from package/rpi-userland/0005-disable-missing-all-apps.patch +11 -7
@@ -1,4 +1,4 @@ -From 249f6c8b44581083dfb16ebf66bfe94f7c9fb163 Mon Sep 17 00:00:00 2001 +From c8d2c332da2a03ed80d62628bbf54187a66f49b6 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" <[email protected]> Date: Fri, 24 Jul 2015 20:20:33 +0200 Subject: [PATCH] host-applications: disable missing applications
@@ -7,24 +7,28 @@ Those applications are missing from the public rpi-firmware package, so do not even try to build them. Signed-off-by: "Yann E. MORIN" <[email protected]> + +[Rebased for rpi-userland-a1b89e91f393c7134b4cdc36431f863bb3333163] +Signed-off-by: Peter Seiderer <[email protected]> --- - host_applications/linux/CMakeLists.txt | 2 -- - 1 file changed, 2 deletions(-) + host_applications/linux/CMakeLists.txt | 3 --- + 1 file changed, 3 deletions(-) diff --git a/host_applications/linux/CMakeLists.txt b/host_applications/linux/CMakeLists.txt -index ea4e016..4a87862 100644 +index 5a648e7..83bb66e 100644 --- a/host_applications/linux/CMakeLists.txt +++ b/host_applications/linux/CMakeLists.txt -@@ -10,9 +10,7 @@ add_subdirectory(apps/smem) - add_subdirectory(libs/debug_sym) +@@ -12,10 +12,7 @@ add_subdirectory(apps/dtoverlay) + add_subdirectory(apps/dtmerge) if(ALL_APPS) - add_subdirectory(apps/vcdbg) +- add_subdirectory(libs/elftoolchain) # add_subdirectory(apps/smct) - add_subdirectory(apps/edid_parser) add_subdirectory(apps/hello_pi) endif() -- -1.9.1 +2.8.1
package/rpi-userland/0004-no-Werror.patch deleted +0 -138
138 lines not on this page · raw message
package/rpi-userland/0005-dtmerge-add-missing-include-for-va_list.patch renamed from package/rpi-userland/0006-dtmerge-add-missing-include-for-va_list.patch +0 -0
package/rpi-userland/rpi-userland.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 b83878c487814d7736de83dc3ede1c39fa1c84bc2da2bea00312544eff64f1dc rpi-userland-7c026fa7a4ded2c525916cc853a32731c072ed1e.tar.gz +sha256 bb79667d23743769dde120d35e6a4b69c633eb66e445b5bb2c06cd3e065750a2 rpi-userland-a1b89e91f393c7134b4cdc36431f863bb3333163.tar.gz
package/rpi-userland/rpi-userland.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -RPI_USERLAND_VERSION = 7c026fa7a4ded2c525916cc853a32731c072ed1e +RPI_USERLAND_VERSION = a1b89e91f393c7134b4cdc36431f863bb3333163 RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION)) RPI_USERLAND_LICENSE = BSD-3c RPI_USERLAND_LICENSE_FILES = LICENCE
Signature · 1 line
2.8.1
Thomas Petazzoni
AppliedPATCH 1/1 Raspberry PI update
In reply to Peter SeidererHello,
Quoted 7 lines · Peter Seiderer
Peter Seiderer (6):
raspberrypi0_defconfig: bump to kernel version 4.4.21
raspberrypi_defconfig: bump to kernel version 4.4.21
raspberrypi2_defconfig: bump to kernel version 4.4.21
raspberrypi3_defconfig: bump to kernel version 4.4.21
rpi-firmware: bump version
rpi-userland: bump version
I've applied to master, thanks for keeping those configurations updated.
However, next time, please generate your patches so that they contain PATCH 1/N, PATCH 2/N, etc in their header.
Thanks again!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com