Skip to contentSkip to conversation

configs/raspberrypi*: bump kernel version to 301ec88

PATCH Superseded Peter Seiderer 5 participants 14 messages Jan 14, 2020 – Jan 15, 2020 Broadcom BCM2711/BCM2835 Arm architecture

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 configs/raspberrypi*: bump kernel version to 301ec88

Now based on 4.19.93 (from 4.19.75).

---
 configs/raspberrypi0_defconfig       | 2 +-
 configs/raspberrypi0w_defconfig      | 2 +-
 configs/raspberrypi2_defconfig       | 2 +-
 configs/raspberrypi3_64_defconfig    | 2 +-
 configs/raspberrypi3_defconfig       | 2 +-
 configs/raspberrypi3_qt5we_defconfig | 2 +-
 configs/raspberrypi4_64_defconfig    | 2 +-
 configs/raspberrypi4_defconfig       | 2 +-
 configs/raspberrypi_defconfig        | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
configs/raspberrypi0_defconfig +1 -1
index 1600e219d1..5cdc38eae0 100644
@@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
 
 # Build the DTBs for A/B from the kernel sources: the zero is the same
configs/raspberrypi0w_defconfig +1 -1
index e3c747ff6f..129afc4f2e 100644
@@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w"
configs/raspberrypi2_defconfig +1 -1
index e6c38e74b7..15b6a58780 100644
@@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 
 # Build the DTB from the kernel sources
configs/raspberrypi3_64_defconfig +1 -1
index b9a070fb82..45283496ac 100644
@@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
 
 # Build the DTB from the kernel sources
configs/raspberrypi3_defconfig +1 -1
index 530eb0ab3f..08e7bed027 100644
@@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 
 # Build the DTB from the kernel sources
configs/raspberrypi3_qt5we_defconfig +1 -1
index 4e9d782c7c..63a03e5cf9 100644
@@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 
 # Build the DTB from the kernel sources
configs/raspberrypi4_64_defconfig +1 -1
index f013c4382c..0733e91b05 100644
@@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190819-1)/linux-raspberrypi-kernel_1.20190819-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
 
 # Build the DTB from the kernel sources
configs/raspberrypi4_defconfig +1 -1
index a216463e28..2402b0673c 100644
@@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
 
 # Build the DTB from the kernel sources
configs/raspberrypi_defconfig +1 -1
index 969a92820e..1b47e293f8 100644
@@ -11,7 +11,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,301ec88e28eb8924e827e60020ab513e60fb7085)/linux-301ec88e28eb8924e827e60020ab513e60fb7085.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
 
 # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources
Signature · 1 line
2.24.1
#1 lore raw

PATCH 2/3 package/rpi-firmware: bump version to 62a0d75

---
 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
index 63d8ac50a0..b5bb4d9f37 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 b3c5c9d3cda1f77caf317b8d1f0496cd7ca791ddaeec8207a5a1940111483509 rpi-firmware-1.20190925.tar.gz
+sha256 088d094618924a90f65bb511808bbeb921e0769c878fa7baa9626954206f61a2 rpi-firmware-62a0d75b67484cb306a2a6f8fa954d9644868169.tar.gz
 sha256 ba76edfc10a248166d965b8eaf320771c44f4f432d4fce2fd31fd272e7038add boot/LICENCE.broadcom
package/rpi-firmware/rpi-firmware.mk +1 -1
index ee59ee2f26..b320e11233 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RPI_FIRMWARE_VERSION = 1.20190925
+RPI_FIRMWARE_VERSION = 62a0d75b67484cb306a2a6f8fa954d9644868169
 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
 RPI_FIRMWARE_LICENSE = BSD-3-Clause
 RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
Signature · 1 line
2.24.1
#2 lore raw

PATCH 2/3 package/rpi-firmware: bump version to 62a0d75

Peter, All,

On 2020-01-14 10:42 +0100, Peter Seiderer spake thusly:

Quoted 20 lines
---
 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
index 63d8ac50a0..b5bb4d9f37 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 b3c5c9d3cda1f77caf317b8d1f0496cd7ca791ddaeec8207a5a1940111483509 rpi-firmware-1.20190925.tar.gz
+sha256 088d094618924a90f65bb511808bbeb921e0769c878fa7baa9626954206f61a2 rpi-firmware-62a0d75b67484cb306a2a6f8fa954d9644868169.tar.gz
 sha256 ba76edfc10a248166d965b8eaf320771c44f4f432d4fce2fd31fd272e7038add boot/LICENCE.broadcom
package/rpi-firmware/rpi-firmware.mk +0 -0
index ee59ee2f26..b320e11233 100644

package/rpi-firmware/rpi-firmware.mk line 7

Quoted 5 lines
package/rpi-firmware/rpi-firmware.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RPI_FIRMWARE_VERSION = 1.20190925
+RPI_FIRMWARE_VERSION = 62a0d75b67484cb306a2a6f8fa954d9644868169

This goes from a tag to a sha1. Why do we need to do so? This should be explained in the commit log.

Regards,
Yann E. MORIN.

Quoted 10 lines
package/rpi-firmware/rpi-firmware.mk +0 -0
 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
 RPI_FIRMWARE_LICENSE = BSD-3-Clause
 RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
Signature · 6 lines
2.24.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 2/3 package/rpi-firmware: bump version to 62a0d75

Hello Yann,

Quoted 26 lines · Yann E. MORIN

Peter, All,

On 2020-01-14 10:42 +0100, Peter Seiderer spake thusly:

Quoted 23 lines
---
 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
index 63d8ac50a0..b5bb4d9f37 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 b3c5c9d3cda1f77caf317b8d1f0496cd7ca791ddaeec8207a5a1940111483509 rpi-firmware-1.20190925.tar.gz
+sha256 088d094618924a90f65bb511808bbeb921e0769c878fa7baa9626954206f61a2 rpi-firmware-62a0d75b67484cb306a2a6f8fa954d9644868169.tar.gz
 sha256 ba76edfc10a248166d965b8eaf320771c44f4f432d4fce2fd31fd272e7038add boot/LICENCE.broadcom
package/rpi-firmware/rpi-firmware.mk +0 -0
index ee59ee2f26..b320e11233 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
Quoted 5 lines

package/rpi-firmware/rpi-firmware.mk line 7

Quoted 2 lines
package/rpi-firmware/rpi-firmware.mk +1 -1
-RPI_FIRMWARE_VERSION = 1.20190925
+RPI_FIRMWARE_VERSION = 62a0d75b67484cb306a2a6f8fa954d9644868169

This goes from a tag to a sha1. Why do we need to do so? This should be explained in the commit log.

No new tag since 1.20190925...., and tags seems to be the exception for buildroot (two times tags, numerous ones sha1), and we want to keep rpi-firmware up to the same as the rpi linux-kernel (see e.g. 'kernel: Bump to 4.19.95' [1])...

Regards,
Peter

[1] https://github.com/raspberrypi/firmware/commit/d5b8d8d7cce3f3eecb24c20a55cc50a48e3d5f4e

Quoted 15 lines

Regards,
Yann E. MORIN.

Quoted 10 lines
package/rpi-firmware/rpi-firmware.mk +0 -1
 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
 RPI_FIRMWARE_LICENSE = BSD-3-Clause
 RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
--

2.24.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#4 lore raw

PATCH 2/3 package/rpi-firmware: bump version to 62a0d75

Peter,

Quoted 37 lines · Peter Seiderer

Hello Yann,

Quoted 26 lines · Yann E. MORIN

Peter, All,

On 2020-01-14 10:42 +0100, Peter Seiderer spake thusly:

Quoted 23 lines
---
 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
index 63d8ac50a0..b5bb4d9f37 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 b3c5c9d3cda1f77caf317b8d1f0496cd7ca791ddaeec8207a5a1940111483509 rpi-firmware-1.20190925.tar.gz
+sha256 088d094618924a90f65bb511808bbeb921e0769c878fa7baa9626954206f61a2 rpi-firmware-62a0d75b67484cb306a2a6f8fa954d9644868169.tar.gz
 sha256 ba76edfc10a248166d965b8eaf320771c44f4f432d4fce2fd31fd272e7038add boot/LICENCE.broadcom
package/rpi-firmware/rpi-firmware.mk +0 -0
index ee59ee2f26..b320e11233 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
Quoted 5 lines

package/rpi-firmware/rpi-firmware.mk line 7

Quoted 2 lines
package/rpi-firmware/rpi-firmware.mk +1 -1
-RPI_FIRMWARE_VERSION = 1.20190925
+RPI_FIRMWARE_VERSION = 62a0d75b67484cb306a2a6f8fa954d9644868169

This goes from a tag to a sha1. Why do we need to do so? This should be explained in the commit log.

Quoted 4 lines

No new tag since 1.20190925...., and tags seems to be the exception for buildroot (two times tags, numerous ones sha1), and we want to keep rpi-firmware up to the same as the rpi linux-kernel (see e.g. 'kernel: Bump to 4.19.95' [1])...

The tags match the release of the kernel in raspbian. So the current kernel used in raspbian is 1.20190925, no new one has been released yet. I think we should stick with released kernels.

Thanks

Martin

Quoted 22 lines

Regards,
Peter

[1] https://github.com/raspberrypi/firmware/commit/d5b8d8d7cce3f3eecb24c20a55cc50a48e3d5f4e

Quoted 15 lines

Regards,
Yann E. MORIN.

Quoted 10 lines
package/rpi-firmware/rpi-firmware.mk +0 -1
 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
 RPI_FIRMWARE_LICENSE = BSD-3-Clause
 RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
--

2.24.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#5 lore raw

PATCH 2/3 package/rpi-firmware: bump version to 62a0d75

Hello Martin,

Quoted 40 lines · Martin Bark

Peter,

Quoted 37 lines · Peter Seiderer

Hello Yann,

Quoted 31 lines · Yann E. MORIN

Peter, All,

On 2020-01-14 10:42 +0100, Peter Seiderer spake thusly:

Quoted 20 lines
---
 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
index 63d8ac50a0..b5bb4d9f37 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 b3c5c9d3cda1f77caf317b8d1f0496cd7ca791ddaeec8207a5a1940111483509 rpi-firmware-1.20190925.tar.gz
+sha256 088d094618924a90f65bb511808bbeb921e0769c878fa7baa9626954206f61a2 rpi-firmware-62a0d75b67484cb306a2a6f8fa954d9644868169.tar.gz
 sha256 ba76edfc10a248166d965b8eaf320771c44f4f432d4fce2fd31fd272e7038add boot/LICENCE.broadcom
package/rpi-firmware/rpi-firmware.mk +0 -0
index ee59ee2f26..b320e11233 100644

package/rpi-firmware/rpi-firmware.mk line 7

Quoted 5 lines
package/rpi-firmware/rpi-firmware.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RPI_FIRMWARE_VERSION = 1.20190925
+RPI_FIRMWARE_VERSION = 62a0d75b67484cb306a2a6f8fa954d9644868169

This goes from a tag to a sha1. Why do we need to do so? This should be explained in the commit log.

Quoted 8 lines
Quoted 4 lines

No new tag since 1.20190925...., and tags seems to be the exception for buildroot (two times tags, numerous ones sha1), and we want to keep rpi-firmware up to the same as the rpi linux-kernel (see e.g. 'kernel: Bump to 4.19.95' [1])...

The tags match the release of the kernel in raspbian. So the current kernel used in raspbian is 1.20190925, no new one has been released yet. I think we should stick with released kernels.

Trade off between 'offical' and up-to-date, I am in favour for the up-to-date ;-), 4.19.75 vs. 4.19.93 and as mentioned already in [2] '...tags seems to be the exception for buildroot (two times tags, numerous ones sha1)...'

Regards,
Peter

[2] http://lists.busybox.net/pipermail/buildroot/2020-January/271589.html

Quoted 27 lines

Thanks

Martin

Quoted 22 lines

Regards,
Peter

[1] https://github.com/raspberrypi/firmware/commit/d5b8d8d7cce3f3eecb24c20a55cc50a48e3d5f4e

Quoted 15 lines

Regards,
Yann E. MORIN.

Quoted 10 lines
package/rpi-firmware/rpi-firmware.mk +0 -1
 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
 RPI_FIRMWARE_LICENSE = BSD-3-Clause
 RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
--

2.24.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#6 lore raw

PATCH 3/3 package/rpi-userland: bump version to 42ec119

In reply to Peter Seiderer

- add 0006-Fix-for-cmake-vmcs_host-error-fixes-603.patch (upstream suggested cmake compile fix, taken from [1])

[1] https://github.com/raspberrypi/userland/pull/605/commits/c22df881e1f45f8934b355e903f4d9be2391ab98

---
 ...-for-cmake-vmcs_host-error-fixes-603.patch | 29 +++++++++++++++++++
 package/rpi-userland/rpi-userland.hash        |  2 +-
 package/rpi-userland/rpi-userland.mk          |  2 +-
 3 files changed, 31 insertions(+), 2 deletions(-)
 create mode 100644 package/rpi-userland/0006-Fix-for-cmake-vmcs_host-error-fixes-603.patch
package/rpi-userland/0006-Fix-for-cmake-vmcs_host-error-fixes-603.patch new file +29 -0
new file mode 100644
index 0000000000..d0669f0f06
@@ -0,0 +1,29 @@
+From 902831348f72c88df2776d4a09e86874ae2e34e0 Mon Sep 17 00:00:00 2001
+From: Damian Wrobel <[email protected]>
+Date: Fri, 27 Dec 2019 15:49:45 +0100
+Subject: [PATCH] Fix for cmake vmcs_host error (fixes #603)
+
+Signed-off-by: Damian Wrobel <[email protected]>
+
+Upstream: https://github.com/raspberrypi/userland/pull/605/commits/c22df881e1f45f8934b355e903f4d9be2391ab98
+Signed-off-by: Peter Seiderer <[email protected]>
+---
+ interface/vmcs_host/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt
+index e34e0ae..ab2e0fa 100755
+--- a/interface/vmcs_host/CMakeLists.txt
++++ b/interface/vmcs_host/CMakeLists.txt
+@@ -24,7 +24,7 @@ if(NOT ARM64)
+ 
+ 	# ILCS pulls in EGL for the ILCS/EGL surface API support
+ 	target_link_libraries(vcilcs brcmEGL brcmGLESv2 khrn_client vchiq_arm vcos)
+-	set(INSTALL_TARGETS "${INSTALL_TARGETS} vcilcs")
++	set(INSTALL_TARGETS ${INSTALL_TARGETS} vcilcs)
+ endif()
+ 
+ # vchostif needs ilcore as well (vmcs_main pulls it in)
+-- 
+2.24.1
+
package/rpi-userland/rpi-userland.hash +1 -1
index 6d59f2aafc..98d62fa73f 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 d6231e9fa33c805cf7cbb559a0d6eb125605fc2ba862d9e5a3248778dd269859 rpi-userland-5070cb7fc150fc98f1ed64a7739c3356970d9f76.tar.gz
+sha256 cb0f1d653fdb9975783f30359277d9de2868607381e081796eac68745e3e8324 rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6.tar.gz
 sha256 bee6f1249175683d8610651706e1aa7dffcbfd3f9c4c05bc1e5ab34f313c2db5 LICENCE
package/rpi-userland/rpi-userland.mk +1 -1
index 2b672b6c97..555e84ecab 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RPI_USERLAND_VERSION = 5070cb7fc150fc98f1ed64a7739c3356970d9f76
+RPI_USERLAND_VERSION = 42ec119e03eb8dffc7c83e2ac0e665e333abbef6
 RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
 RPI_USERLAND_LICENSE = BSD-3-Clause
 RPI_USERLAND_LICENSE_FILES = LICENCE
Signature · 1 line
2.24.1
#7 lore raw

PATCH 3/3 package/rpi-userland: bump version to 42ec119

Greetings Peter,

Quoted 79 lines

Sent: Tuesday, January 14, 2020 at 11:42 AM
From: "Peter Seiderer" <[email protected]>
To: buildroot at buildroot.org
Cc: "Maxime Hadjinlian" <[email protected]>, "Martin Bark" <[email protected]>, "Mahyar Koshkouei" <[email protected]>, "Arthur Courtel" <[email protected]>
Subject: [Buildroot] [PATCH v1 3/3] package/rpi-userland: bump version to 42ec119

- add 0006-Fix-for-cmake-vmcs_host-error-fixes-603.patch (upstream suggested cmake compile fix, taken from [1])

[1] https://github.com/raspberrypi/userland/pull/605/commits/c22df881e1f45f8934b355e903f4d9be2391ab98

---
 ...-for-cmake-vmcs_host-error-fixes-603.patch | 29 +++++++++++++++++++
 package/rpi-userland/rpi-userland.hash        |  2 +-
 package/rpi-userland/rpi-userland.mk          |  2 +-
 3 files changed, 31 insertions(+), 2 deletions(-)
 create mode 100644 package/rpi-userland/0006-Fix-for-cmake-vmcs_host-error-fixes-603.patch
package/rpi-userland/0006-Fix-for-cmake-vmcs_host-error-fixes-603.patch new file +29 -0
new file mode 100644
index 0000000000..d0669f0f06
@@ -0,0 +1,29 @@
+From 902831348f72c88df2776d4a09e86874ae2e34e0 Mon Sep 17 00:00:00 2001
+From: Damian Wrobel <[email protected]>
+Date: Fri, 27 Dec 2019 15:49:45 +0100
+Subject: [PATCH] Fix for cmake vmcs_host error (fixes #603)
+
+Signed-off-by: Damian Wrobel <[email protected]>
+
+Upstream: https://github.com/raspberrypi/userland/pull/605/commits/c22df881e1f45f8934b355e903f4d9be2391ab98
+Signed-off-by: Peter Seiderer <[email protected]>
+---
+ interface/vmcs_host/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt
+index e34e0ae..ab2e0fa 100755
+--- a/interface/vmcs_host/CMakeLists.txt
++++ b/interface/vmcs_host/CMakeLists.txt
+@@ -24,7 +24,7 @@ if(NOT ARM64)
+
+ 	# ILCS pulls in EGL for the ILCS/EGL surface API support
+ 	target_link_libraries(vcilcs brcmEGL brcmGLESv2 khrn_client vchiq_arm vcos)
+-	set(INSTALL_TARGETS "${INSTALL_TARGETS} vcilcs")
++	set(INSTALL_TARGETS ${INSTALL_TARGETS} vcilcs)
+ endif()
+
+ # vchostif needs ilcore as well (vmcs_main pulls it in)
+--
+2.24.1
+
package/rpi-userland/rpi-userland.hash +1 -1
index 6d59f2aafc..98d62fa73f 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 d6231e9fa33c805cf7cbb559a0d6eb125605fc2ba862d9e5a3248778dd269859 rpi-userland-5070cb7fc150fc98f1ed64a7739c3356970d9f76.tar.gz
+sha256 cb0f1d653fdb9975783f30359277d9de2868607381e081796eac68745e3e8324 rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6.tar.gz
 sha256 bee6f1249175683d8610651706e1aa7dffcbfd3f9c4c05bc1e5ab34f313c2db5 LICENCE
package/rpi-userland/rpi-userland.mk +1 -2
index 2b672b6c97..555e84ecab 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RPI_USERLAND_VERSION = 5070cb7fc150fc98f1ed64a7739c3356970d9f76
+RPI_USERLAND_VERSION = 42ec119e03eb8dffc7c83e2ac0e665e333abbef6
 RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
 RPI_USERLAND_LICENSE = BSD-3-Clause
 RPI_USERLAND_LICENSE_FILES = LICENCE
--

2.24.1

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

do note that this commit allows rpi-userland compilation on aarch64. might be a good idea to fix rpi-userland.mk and Config.in to support that.

Dagg.

#8 lore raw

PATCH 3/3 package/rpi-userland: bump version to 42ec119

Hello Dagg,

Quoted 4 lines · daggs

do note that this commit allows rpi-userland compilation on aarch64. might be a good idea to fix rpi-userland.mk and Config.in to support that.

Dagg.

Thanks for the hint, will give it a try the next days....

Regards,
Peter

#9 lore raw

PATCH 3/3 package/rpi-userland: bump version to 42ec119

Peter, All,

On 2020-01-14 15:27 +0100, Peter Seiderer spake thusly:

Quoted 3 lines · daggs
Quoted 1 line

do note that this commit allows rpi-userland compilation on aarch64. might be a good idea to fix rpi-userland.mk and Config.in to support that.

Thanks for the hint, will give it a try the next days....

Thanks. If at all possible, enable aarch64 in a separate patch.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#10 lore raw

PATCH 3/3 package/rpi-userland: bump version to 42ec119

In reply to Peter Seiderer

Hello Dagg,

Quoted 10 lines · Peter Seiderer

Hello Dagg,

Quoted 4 lines · daggs

do note that this commit allows rpi-userland compilation on aarch64. might be a good idea to fix rpi-userland.mk and Config.in to support that.

Dagg.

Thanks for the hint, will give it a try the next days....

But does not provide the full set of libs for the 64bit build, e.g. no libegl, libgles, libopenmax, libopenvg (see e.g. [1], [2]), not sure which libs all the buildroot rpi-userland dependent packages expect (and if a incomplete rpi-userland is worth the 64-bit build)?

As a starting point the following patch works to enable rpi-userland for 64-bit:

package/rpi-userland/Config.in +10 -7
index 342faf26e3..1a3bf46d42 100644
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_RPI_USERLAND
 	bool "rpi-userland"
-	depends on BR2_arm
+	depends on BR2_arm || BR2_aarch64
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_STATIC_LIBS
-	select BR2_PACKAGE_HAS_LIBEGL
-	select BR2_PACKAGE_HAS_LIBGLES
-	select BR2_PACKAGE_HAS_LIBOPENVG
-	select BR2_PACKAGE_HAS_LIBOPENMAX
+	select BR2_PACKAGE_HAS_LIBEGL if BR2_arm
+	select BR2_PACKAGE_HAS_LIBGLES if BR2_arm
+	select BR2_PACKAGE_HAS_LIBOPENVG if BR2_arm
+	select BR2_PACKAGE_HAS_LIBOPENMAX if BR2_arm
 	help
 	  Raspberry Pi Userland contains the necessary library to use
 	  the VideoCore driver.
@@ -20,6 +20,7 @@ config BR2_PACKAGE_RPI_USERLAND
 
 if BR2_PACKAGE_RPI_USERLAND
 
+if BR2_arm
 config BR2_PACKAGE_PROVIDES_LIBEGL
 	default "rpi-userland"
 
@@ -32,14 +33,16 @@ config BR2_PACKAGE_PROVIDES_LIBOPENVG
 config BR2_PACKAGE_PROVIDES_LIBOPENMAX
 	default "rpi-userland"
 
+endif # BR2_arm
+
 config BR2_PACKAGE_RPI_USERLAND_HELLO
 	bool "hello_pi examples"
 	help
 	  Install the hello-pi examples to test the HW (GPU, camera...)
 
-endif
+endif # BR2_PACKAGE_RPI_USERLAND
 
 comment "rpi-userland needs a toolchain w/ C++, threads, dynamic library"
-	depends on BR2_arm
+	depends on BR2_arm || BR2_aarch64
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
 		BR2_STATIC_LIBS
package/rpi-userland/rpi-userland.mk +0 -0
index 555e84ecab..8a8d2e1471 100644
@@ -11,7 +11,12 @@ RPI_USERLAND_LICENSE_FILES = LICENCE
 RPI_USERLAND_INSTALL_STAGING = YESdiff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in

index 342faf26e3..1a3bf46d42 100644

package/rpi-userland/Config.in +10 -7
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_RPI_USERLAND
 	bool "rpi-userland"
-	depends on BR2_arm
+	depends on BR2_arm || BR2_aarch64
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_STATIC_LIBS
-	select BR2_PACKAGE_HAS_LIBEGL
-	select BR2_PACKAGE_HAS_LIBGLES
-	select BR2_PACKAGE_HAS_LIBOPENVG
-	select BR2_PACKAGE_HAS_LIBOPENMAX
+	select BR2_PACKAGE_HAS_LIBEGL if BR2_arm
+	select BR2_PACKAGE_HAS_LIBGLES if BR2_arm
+	select BR2_PACKAGE_HAS_LIBOPENVG if BR2_arm
+	select BR2_PACKAGE_HAS_LIBOPENMAX if BR2_arm
 	help
 	  Raspberry Pi Userland contains the necessary library to use
 	  the VideoCore driver.
@@ -20,6 +20,7 @@ config BR2_PACKAGE_RPI_USERLAND
 
 if BR2_PACKAGE_RPI_USERLAND
 
+if BR2_arm
 config BR2_PACKAGE_PROVIDES_LIBEGL
 	default "rpi-userland"
 
@@ -32,14 +33,16 @@ config BR2_PACKAGE_PROVIDES_LIBOPENVG
 config BR2_PACKAGE_PROVIDES_LIBOPENMAX
 	default "rpi-userland"
 
+endif # BR2_arm
+
 config BR2_PACKAGE_RPI_USERLAND_HELLO
 	bool "hello_pi examples"
 	help
 	  Install the hello-pi examples to test the HW (GPU, camera...)
 
-endif
+endif # BR2_PACKAGE_RPI_USERLAND
 
 comment "rpi-userland needs a toolchain w/ C++, threads, dynamic library"
-	depends on BR2_arm
+	depends on BR2_arm || BR2_aarch64
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
 		BR2_STATIC_LIBS
package/rpi-userland/rpi-userland.mk +6 -1
index 555e84ecab..8a8d2e1471 100644
@@ -11,7 +11,12 @@ RPI_USERLAND_LICENSE_FILES = LICENCE
 RPI_USERLAND_INSTALL_STAGING = YES
 RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr
 
-RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
+ifeq ($(BR2_aarch64),y)
+	RPI_USERLAND_CONF_OPTS += -DARM64=ON
+else
+	RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
+	RPI_USERLAND_CONF_OPTS += -DARM64=OFF
+endif
 
 ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)
 

RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr

-RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg +ifeq ($(BR2_aarch64),y)
+ RPI_USERLAND_CONF_OPTS += -DARM64=ON
+else
+ RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
+ RPI_USERLAND_CONF_OPTS += -DARM64=OFF
+endif

ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)

Regards,
Peter

[1] https://github.com/raspberrypi/userland/blob/master/CMakeLists.txt#L65
[2] https://github.com/raspberrypi/userland/blob/master/CMakeLists.txt#L83

Detailed list BR2_arm vs. BR2_aarch64:

- BR2_arm:

build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbcm_host.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmEGL.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmGLESv2.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmjpeg.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmOpenVG.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmWFC.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libcontainers.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdebug_sym.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdebug_sym_static.a build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdtovl.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libEGL.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libEGL_static.a build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libfdt.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libGLESv2.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libGLESv2_static.a build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libkhrn_client.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libkhrn_static.a build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_components.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_core.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_omx.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_omxutil.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_util.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_vc_client.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libopenmaxil.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libOpenVG.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvchiq_arm.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvchostif.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcilcs.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcos.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcsm.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libWFC.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_asf.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_avi.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_binary.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_flv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_metadata_id3.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mkv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mp4.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mpga.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_ps.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_qsynth.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_raw_video.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rcv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rtp.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rtsp.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rv9.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_simple.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_wav.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_asf.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_avi.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_binary.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_dummy.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_mp4.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_raw_video.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_simple.so

- BR2_aarch64:

build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbcm_host.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libcontainers.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdebug_sym.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdebug_sym_static.a build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdtovl.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libfdt.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_components.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_core.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_util.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_vc_client.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvchiq_arm.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvchostif.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcos.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcsm.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_asf.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_avi.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_binary.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_flv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_metadata_id3.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mkv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mp4.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mpga.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_ps.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_qsynth.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_raw_video.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rcv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rtp.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rtsp.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rv9.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_simple.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_wav.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_asf.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_avi.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_binary.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_dummy.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_mp4.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_raw_video.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_simple.so

- Diff BR_arm vs. BR_aarch64

build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbcm_host.so
-build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmEGL.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmGLESv2.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmjpeg.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmOpenVG.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbrcmWFC.so
build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libcontainers.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdebug_sym.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdebug_sym_static.a build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdtovl.so
-build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libEGL.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libEGL_static.a
build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libfdt.so
-build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libGLESv2.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libGLESv2_static.a -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libkhrn_client.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libkhrn_static.a
build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_components.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_core.so
-build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_omx.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_omxutil.so
build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_util.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_vc_client.so
-build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libopenmaxil.so -build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libOpenVG.so
build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvchiq_arm.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvchostif.so
-build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcilcs.so
build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcos.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcsm.so
-build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libWFC.so
build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_asf.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_avi.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_binary.so

#11 lore raw

PATCH 3/3 package/rpi-userland: bump version to 42ec119

Hello,

Quoted 33 lines · On Tue, 14 Jan 2020 18:19:20 +0100 Peter Seiderer <[email protected]> wrote:

- BR2_aarch64:

build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libbcm_host.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libcontainers.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdebug_sym.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdebug_sym_static.a build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libdtovl.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libfdt.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_components.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_core.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_util.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libmmal_vc_client.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvchiq_arm.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvchostif.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcos.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/libvcsm.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_asf.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_avi.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_binary.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_flv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_metadata_id3.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mkv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mp4.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_mpga.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_ps.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_qsynth.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_raw_video.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rcv.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rtp.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rtsp.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_rv9.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_simple.so

Quoted 8 lines

build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/reader_wav.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_asf.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_avi.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_binary.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_dummy.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_mp4.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_raw_video.so build/rpi-userland-42ec119e03eb8dffc7c83e2ac0e665e333abbef6/build/lib/writer_simple.so

The question is: what are those libraries useful for? Which packages are using them?

For OpenGL, EGL, OpenMAX, etc. it's pretty clear: they implement the standard Khronos APIs. But none of these are available in the AArch64 version. So, what is using these libraries ?

I also noticed that libfdt.so is part of these libraries (for both the ARM and AArch64 version): I hope it is not installed as it would conflict/overwrite the libfdt library installed by the dtc package.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#12 lore raw

PATCH 3/3 package/rpi-userland: bump version to 42ec119

In reply to Peter Seiderer

Greetings Peter,

Quoted 17 lines

Sent: Tuesday, January 14, 2020 at 7:19 PM
From: "Peter Seiderer" <[email protected]>
To: daggs <[email protected]>
Cc: buildroot at buildroot.org, "Maxime Hadjinlian" <[email protected]>, "Martin Bark" <[email protected]>, "Mahyar Koshkouei" <[email protected]>, "Arthur Courtel" <[email protected]>
Subject: Re: [Buildroot] [PATCH v1 3/3] package/rpi-userland: bump version to 42ec119

Hello Dagg,

Quoted 7 lines · Peter Seiderer

Hello Dagg,

Quoted 3 lines · daggs

do note that this commit allows rpi-userland compilation on aarch64. might be a good idea to fix rpi-userland.mk and Config.in to support that.

Quoted 9 lines
Quoted 3 lines
Quoted 1 line

Dagg.

Thanks for the hint, will give it a try the next days....

But does not provide the full set of libs for the 64bit build, e.g. no libegl, libgles, libopenmax, libopenvg (see e.g. [1], [2]), not sure which libs all the buildroot rpi-userland dependent packages expect (and if a incomplete rpi-userland is worth the 64-bit build)?

that is correct, libopenmax will probably not be implemented (as the devs say), mmal is supported and can be used instead.
as for the rest, I don't think they will be supported, according to the relevant issue (https://github.com/raspberrypi/userland/issues/314), it seems that they plan to wrap the aarch64 support up with the current list. infact, I won't be surprised if one will ask for they will say to use libegl, libgles from exiting 32 bits libs.

for me, 64 bit build it worthwhile because I want to use mmal with tvheadend.

btw 06bc6daa02137ca72b7a2104afad81e82a44de17 includes that patch already, might be worthwhile to bump the version again.

#13 lore raw

PATCH 3/3 package/rpi-userland: bump version to 42ec119

Hello Dagg,

Quoted 29 lines · daggs

Greetings Peter,

Quoted 17 lines

Sent: Tuesday, January 14, 2020 at 7:19 PM
From: "Peter Seiderer" <[email protected]>
To: daggs <[email protected]>
Cc: buildroot at buildroot.org, "Maxime Hadjinlian" <[email protected]>, "Martin Bark" <[email protected]>, "Mahyar Koshkouei" <[email protected]>, "Arthur Courtel" <[email protected]>
Subject: Re: [Buildroot] [PATCH v1 3/3] package/rpi-userland: bump version to 42ec119

Hello Dagg,

Quoted 7 lines · Peter Seiderer

Hello Dagg,

Quoted 3 lines · daggs

do note that this commit allows rpi-userland compilation on aarch64. might be a good idea to fix rpi-userland.mk and Config.in to support that.

Quoted 9 lines
Quoted 3 lines
Quoted 1 line

Dagg.

Thanks for the hint, will give it a try the next days....

But does not provide the full set of libs for the 64bit build, e.g. no libegl, libgles, libopenmax, libopenvg (see e.g. [1], [2]), not sure which libs all the buildroot rpi-userland dependent packages expect (and if a incomplete rpi-userland is worth the 64-bit build)?

Quoted 4 lines

that is correct, libopenmax will probably not be implemented (as the devs say), mmal is supported and can be used instead.
as for the rest, I don't think they will be supported, according to the relevant issue (https://github.com/raspberrypi/userland/issues/314), it seems that they plan to wrap the aarch64 support up with the current list. infact, I won't be surprised if one will ask for they will say to use libegl, libgles from exiting 32 bits libs.

for me, 64 bit build it worthwhile because I want to use mmal with tvheadend.

O.k, will try to get a proper rpi-userland-enable-64bit patch...

Quoted 2 lines

btw 06bc6daa02137ca72b7a2104afad81e82a44de17 includes that patch already, might be worthwhile to bump the version again.

Thanks for the hint, will send an updated patch series...

Regards,
Peter