All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1
@ 2019-11-07 20:23 Peter Seiderer
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 2/5] package/rpi-firmware: bump " Peter Seiderer
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Peter Seiderer @ 2019-11-07 20:23 UTC (permalink / raw)
  To: buildroot

Now based on 4.19.75 (from 4.19.66).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
 - revert of accidantal remove of rpi-userland vcfiled files
   (suggested by Baruch Siach)
---
 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_defconfig       | 2 +-
 configs/raspberrypi_defconfig        | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig
index 7255f8d067..1600e219d1 100644
--- a/configs/raspberrypi0_defconfig
+++ b/configs/raspberrypi0_defconfig
@@ -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.20190819-1)/linux-raspberrypi-kernel_1.20190819-1.tar.gz"
+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_DEFCONFIG="bcmrpi"

 # Build the DTBs for A/B from the kernel sources: the zero is the same
diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig
index 57276aa8f7..ea5856e8c0 100644
--- a/configs/raspberrypi0w_defconfig
+++ b/configs/raspberrypi0w_defconfig
@@ -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.20190819-1)/linux-raspberrypi-kernel_1.20190819-1.tar.gz"
+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_DEFCONFIG="bcmrpi"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w"
diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
index 73f5f349d3..e6c38e74b7 100644
--- a/configs/raspberrypi2_defconfig
+++ b/configs/raspberrypi2_defconfig
@@ -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.20190819-1)/linux-raspberrypi-kernel_1.20190819-1.tar.gz"
+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_DEFCONFIG="bcm2709"

 # Build the DTB from the kernel sources
diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig
index 61cf730a19..de1cd10c22 100644
--- a/configs/raspberrypi3_64_defconfig
+++ b/configs/raspberrypi3_64_defconfig
@@ -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,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"

 # Build the DTB from the kernel sources
diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig
index 744b16dca9..01aa239805 100644
--- a/configs/raspberrypi3_defconfig
+++ b/configs/raspberrypi3_defconfig
@@ -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,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"

 # Build the DTB from the kernel sources
diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig
index 7fd834c502..775eb9114e 100644
--- a/configs/raspberrypi3_qt5we_defconfig
+++ b/configs/raspberrypi3_qt5we_defconfig
@@ -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.20190819-1)/linux-raspberrypi-kernel_1.20190819-1.tar.gz"
+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_DEFCONFIG="bcm2709"

 # Build the DTB from the kernel sources
diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig
index ec29c13804..6eea0ca816 100644
--- a/configs/raspberrypi4_defconfig
+++ b/configs/raspberrypi4_defconfig
@@ -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,raspberrypi-kernel_1.20190925-1)/linux-raspberrypi-kernel_1.20190925-1.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"

 # Build the DTB from the kernel sources
diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig
index 11107c44a9..969a92820e 100644
--- a/configs/raspberrypi_defconfig
+++ b/configs/raspberrypi_defconfig
@@ -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.20190819-1)/linux-raspberrypi-kernel_1.20190819-1.tar.gz"
+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_DEFCONFIG="bcmrpi"

 # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources
--
2.23.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 2/5] package/rpi-firmware: bump version to 1.20190925-1
  2019-11-07 20:23 [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Peter Seiderer
@ 2019-11-07 20:23 ` Peter Seiderer
  2019-11-07 21:45   ` Thomas Petazzoni
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 3/5] package/rpi-userland: bump version to 5070cb7f Peter Seiderer
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Peter Seiderer @ 2019-11-07 20:23 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
 - no changes
---
 package/rpi-firmware/rpi-firmware.hash | 2 +-
 package/rpi-firmware/rpi-firmware.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash
index 58737b4585..63d8ac50a0 100644
--- a/package/rpi-firmware/rpi-firmware.hash
+++ b/package/rpi-firmware/rpi-firmware.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 ec2dbd3cd7654f743894ffb9100e7e86ef9d840e7cf113c0b517e0da42cbbb02 rpi-firmware-1.20190819.tar.gz
+sha256 b3c5c9d3cda1f77caf317b8d1f0496cd7ca791ddaeec8207a5a1940111483509 rpi-firmware-1.20190925.tar.gz
 sha256 ba76edfc10a248166d965b8eaf320771c44f4f432d4fce2fd31fd272e7038add boot/LICENCE.broadcom
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
index 3a23bc26d1..ee59ee2f26 100644
--- a/package/rpi-firmware/rpi-firmware.mk
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################

-RPI_FIRMWARE_VERSION = 1.20190819
+RPI_FIRMWARE_VERSION = 1.20190925
 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
 RPI_FIRMWARE_LICENSE = BSD-3-Clause
 RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
--
2.23.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/5] package/rpi-userland: bump version to 5070cb7f
  2019-11-07 20:23 [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Peter Seiderer
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 2/5] package/rpi-firmware: bump " Peter Seiderer
@ 2019-11-07 20:23 ` Peter Seiderer
  2019-11-07 21:46   ` Thomas Petazzoni
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 4/5] configs/raspberrypi3_64_defconfig: enable device tree overlay support Peter Seiderer
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Peter Seiderer @ 2019-11-07 20:23 UTC (permalink / raw)
  To: buildroot

- rebased 0003-Disable-Werror-everywhere.patch
- remove vcfiled support (upstream removed, see [1])

[1] https://github.com/raspberrypi/userland/commit/f00a1189b9f8246dc24c45985de599c50b8c62a5

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
 - moved remove of rpi-userland vcfiled files here
   (suggested by Baruch Siach)
---
 Config.in.legacy                              |  6 +++
 .../0003-Disable-Werror-everywhere.patch      | 27 ++++-------
 package/rpi-userland/Config.in                |  7 ---
 package/rpi-userland/S94vcfiled               | 47 -------------------
 package/rpi-userland/rpi-userland.hash        |  2 +-
 package/rpi-userland/rpi-userland.mk          | 23 +--------
 package/rpi-userland/vcfiled.service          |  9 ----
 7 files changed, 18 insertions(+), 103 deletions(-)
 delete mode 100644 package/rpi-userland/S94vcfiled
 delete mode 100644 package/rpi-userland/vcfiled.service

diff --git a/Config.in.legacy b/Config.in.legacy
index fcb10b1291..7167b1d60c 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,12 @@ endif

 comment "Legacy options removed in 2019.11"

+config BR2_PACKAGE_RPI_USERLAND_START_VCFILED
+	bool "rpi-userland start vcfiled was removed"
+	select BR2_LEGACY
+	help
+	  The vcfiled support was removed upstream.
+
 config BR2_PACKAGE_ALLJOYN
 	bool "alljoyn was removed"
 	select BR2_LEGACY
diff --git a/package/rpi-userland/0003-Disable-Werror-everywhere.patch b/package/rpi-userland/0003-Disable-Werror-everywhere.patch
index 7fb2f97978..27c8acdd41 100644
--- a/package/rpi-userland/0003-Disable-Werror-everywhere.patch
+++ b/package/rpi-userland/0003-Disable-Werror-everywhere.patch
@@ -1,4 +1,4 @@
-From 8275a380658070336df0c404f0ff585d27681836 Mon Sep 17 00:00:00 2001
+From cc9ac86bcff79697d354cc51d3a984fd0f362868 Mon Sep 17 00:00:00 2001
 From: Peter Seiderer <ps.report@gmx.net>
 Date: Thu, 22 Sep 2016 22:59:11 +0200
 Subject: [PATCH] Disable Werror everywhere
@@ -15,6 +15,9 @@ Signed-off-by: Peter Seiderer <ps.report@gmx.net>

 [Rebased for rpi-userland-8f0abfb07b96e7ee85f46e59d895014ec5e25f5e]
 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+
+[Rebased for rpi-userland-5070cb7fc150fc98f1ed64a7739c3356970d9f76]
+Signed-off-by: Peter Seiderer <ps.report@gmx.net>
 ---
  host_applications/android/apps/vidtex/CMakeLists.txt | 2 +-
  host_applications/linux/apps/gencmd/CMakeLists.txt   | 2 +-
@@ -26,8 +29,7 @@ Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  interface/vcos/CMakeLists.txt                        | 2 +-
  interface/vcos/pthreads/CMakeLists.txt               | 2 +-
  interface/vmcs_host/CMakeLists.txt                   | 2 +-
- interface/vmcs_host/linux/vcfiled/CMakeLists.txt     | 2 +-
- 11 files changed, 11 insertions(+), 11 deletions(-)
+ 10 files changed, 10 insertions(+), 10 deletions(-)

 diff --git a/host_applications/android/apps/vidtex/CMakeLists.txt b/host_applications/android/apps/vidtex/CMakeLists.txt
 index 6d66d69..06a3192 100644
@@ -55,7 +57,7 @@ index f95d1a1..034bf20 100644

  include_directories( ../../../..
 diff --git a/host_applications/linux/apps/raspicam/CMakeLists.txt b/host_applications/linux/apps/raspicam/CMakeLists.txt
-index 42636e8..d778f09 100644
+index f7db21e..b94bdc3 100644
 --- a/host_applications/linux/apps/raspicam/CMakeLists.txt
 +++ b/host_applications/linux/apps/raspicam/CMakeLists.txt
 @@ -1,7 +1,7 @@
@@ -107,7 +109,7 @@ index 5ce5aca..02aea7c 100644

  include_directories( ../../../..
 diff --git a/interface/mmal/CMakeLists.txt b/interface/mmal/CMakeLists.txt
-index 37ae757..78b24a9 100644
+index 46f149d..06273dc 100644
 --- a/interface/mmal/CMakeLists.txt
 +++ b/interface/mmal/CMakeLists.txt
 @@ -3,7 +3,7 @@ if (NOT DEFINED LIBRARY_TYPE)
@@ -146,7 +148,7 @@ index 1d81ca3..b35cd8e 100644
  endif ()

 diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt
-index fde18da..802c158 100755
+index a157db1..dc384ca 100755
 --- a/interface/vmcs_host/CMakeLists.txt
 +++ b/interface/vmcs_host/CMakeLists.txt
 @@ -2,7 +2,7 @@
@@ -158,17 +160,6 @@ index fde18da..802c158 100755

  # vc_vchi_gencmd.c has a type-punning problem in vc_gencmd_read_response
  add_definitions(-fno-strict-aliasing)
-diff --git a/interface/vmcs_host/linux/vcfiled/CMakeLists.txt b/interface/vmcs_host/linux/vcfiled/CMakeLists.txt
-index aed0e83..d834b3f 100644
---- a/interface/vmcs_host/linux/vcfiled/CMakeLists.txt
-+++ b/interface/vmcs_host/linux/vcfiled/CMakeLists.txt
-@@ -1,5 +1,5 @@
-
--add_definitions(-Werror)
-+add_definitions()
-
- # vcfiled - serves files to videocore. used for media handlers from
- # OpenMAX/IL and loading VLLs.
 --
-2.19.0
+2.23.0

diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in
index 8d349f21e1..342faf26e3 100644
--- a/package/rpi-userland/Config.in
+++ b/package/rpi-userland/Config.in
@@ -32,13 +32,6 @@ config BR2_PACKAGE_PROVIDES_LIBOPENVG
 config BR2_PACKAGE_PROVIDES_LIBOPENMAX
 	default "rpi-userland"

-config BR2_PACKAGE_RPI_USERLAND_START_VCFILED
-	bool "Start vcfiled"
-	depends on BR2_INIT_SYSV || BR2_INIT_BUSYBOX
-	help
-	  vcfiled is a daemon serving files to VideoCore from the host
-	  file system.
-
 config BR2_PACKAGE_RPI_USERLAND_HELLO
 	bool "hello_pi examples"
 	help
diff --git a/package/rpi-userland/S94vcfiled b/package/rpi-userland/S94vcfiled
deleted file mode 100644
index 4d27b91bae..0000000000
--- a/package/rpi-userland/S94vcfiled
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-NAME=vcfiled
-DESC="VideoCore file server daemon $NAME"
-DAEMON="/usr/sbin/$NAME"
-DAEMON_ARGS=""
-CFGFILE="/etc/default/$NAME"
-PIDFILE="/var/run/$NAME.pid"
-
-# Read configuration variable file if it is present
-[ -r "$CFGFILE" ] && . "$CFGFILE"
-
-start()
-{
-	printf "Starting $DESC: "
-	start-stop-daemon -S -q -p "$PIDFILE" -x "$DAEMON" -- $DAEMON_ARGS &&
-			echo "done" || echo "failed"
-}
-
-stop()
-{
-	printf "Stopping $DESC: "
-	if start-stop-daemon -K -q -R TERM/30/KILL/5 -p "$PIDFILE" -n "$NAME"; then
-		# This daemon does not remove its PID file when it exits.
-		rm -f "$PIDFILE"
-		echo "done"
-	else
-		echo "failed"
-	fi
-}
-
-case "$1" in
-	start)
-		start
-		;;
-	stop)
-		stop
-		;;
-	restart|reload)
-		stop
-		start
-		;;
-	*)
-		echo "Usage: $0 {start|stop|restart|reload}" >&2
-		exit 1
-		;;
-esac
diff --git a/package/rpi-userland/rpi-userland.hash b/package/rpi-userland/rpi-userland.hash
index 2502a3f592..6d59f2aafc 100644
--- a/package/rpi-userland/rpi-userland.hash
+++ b/package/rpi-userland/rpi-userland.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 9424ffa45ef888fb61483c63fd66532c1c648e071fea72c93762efbb3c2a8669 rpi-userland-e5803f2c986cbf8c919c60278b3231dcdf4271a6.tar.gz
+sha256 d6231e9fa33c805cf7cbb559a0d6eb125605fc2ba862d9e5a3248778dd269859 rpi-userland-5070cb7fc150fc98f1ed64a7739c3356970d9f76.tar.gz
 sha256 bee6f1249175683d8610651706e1aa7dffcbfd3f9c4c05bc1e5ab34f313c2db5 LICENCE
diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
index 20ef2fca98..2b672b6c97 100644
--- a/package/rpi-userland/rpi-userland.mk
+++ b/package/rpi-userland/rpi-userland.mk
@@ -4,31 +4,15 @@
 #
 ################################################################################

-RPI_USERLAND_VERSION = e5803f2c986cbf8c919c60278b3231dcdf4271a6
+RPI_USERLAND_VERSION = 5070cb7fc150fc98f1ed64a7739c3356970d9f76
 RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
 RPI_USERLAND_LICENSE = BSD-3-Clause
 RPI_USERLAND_LICENSE_FILES = LICENCE
 RPI_USERLAND_INSTALL_STAGING = YES
-RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr \
-	-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) \
-		-DVCFILED_LOCKFILE=\\\"/var/run/vcfiled.pid\\\""
+RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr

 RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg

-ifeq ($(BR2_PACKAGE_RPI_USERLAND_START_VCFILED),y)
-define RPI_USERLAND_INSTALL_INIT_SYSV
-	$(INSTALL) -m 0755 -D package/rpi-userland/S94vcfiled \
-		$(TARGET_DIR)/etc/init.d/S94vcfiled
-endef
-define RPI_USERLAND_INSTALL_INIT_SYSTEMD
-	$(INSTALL) -D -m 644 package/rpi-userland/vcfiled.service \
-		$(TARGET_DIR)/usr/lib/systemd/system/vcfiled.service
-	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-	ln -sf ../../../../usr/lib/systemd/system/vcfiled.service \
-		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/vcfiled.service
-endef
-endif
-
 ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)

 RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON
@@ -54,9 +38,6 @@ RPI_USERLAND_CONF_OPTS += -DALL_APPS=OFF
 endif # BR2_PACKAGE_RPI_USERLAND_HELLO

 define RPI_USERLAND_POST_TARGET_CLEANUP
-	rm -f $(TARGET_DIR)/etc/init.d/vcfiled
-	rm -f $(TARGET_DIR)/usr/share/install/vcfiled
-	rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share/install
 	rm -Rf $(TARGET_DIR)/usr/src
 endef
 RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP
diff --git a/package/rpi-userland/vcfiled.service b/package/rpi-userland/vcfiled.service
deleted file mode 100644
index b09aa62774..0000000000
--- a/package/rpi-userland/vcfiled.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=VideoCore file server daemon
-
-[Service]
-ExecStart=/usr/sbin/vcfiled --foreground
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
--
2.23.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 4/5] configs/raspberrypi3_64_defconfig: enable device tree overlay support
  2019-11-07 20:23 [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Peter Seiderer
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 2/5] package/rpi-firmware: bump " Peter Seiderer
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 3/5] package/rpi-userland: bump version to 5070cb7f Peter Seiderer
@ 2019-11-07 20:23 ` Peter Seiderer
  2019-11-07 21:46   ` Thomas Petazzoni
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 5/5] configs/raspberrypi3_64_defconfig: use pi3-miniuart-bt device tree overlay Peter Seiderer
  2019-11-07 21:45 ` [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Thomas Petazzoni
  4 siblings, 1 reply; 11+ messages in thread
From: Peter Seiderer @ 2019-11-07 20:23 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
 - no changes

Notes:

Only the 64bit RPi compile seems to need the extra enabling
of device tree overlay support (the 32bit ones seem to do
it automatically). But for symmetry all RPi defconfigs should
set BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT?
---
 configs/raspberrypi3_64_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig
index de1cd10c22..f9a6f5fe1f 100644
--- a/configs/raspberrypi3_64_defconfig
+++ b/configs/raspberrypi3_64_defconfig
@@ -17,6 +17,7 @@ BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
 # Build the DTB from the kernel sources
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2837-rpi-3-b"
+BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT=y

 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y

--
2.23.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 5/5] configs/raspberrypi3_64_defconfig: use pi3-miniuart-bt device tree overlay
  2019-11-07 20:23 [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Peter Seiderer
                   ` (2 preceding siblings ...)
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 4/5] configs/raspberrypi3_64_defconfig: enable device tree overlay support Peter Seiderer
@ 2019-11-07 20:23 ` Peter Seiderer
  2019-11-07 21:45 ` [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Thomas Petazzoni
  4 siblings, 0 replies; 11+ messages in thread
From: Peter Seiderer @ 2019-11-07 20:23 UTC (permalink / raw)
  To: buildroot

Use the pi3-miniuart-bt device tree overlay (as the 32bit raspberrypi3
defconfig) instead of the enable_uart option.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
 - no changes
---
 board/raspberrypi/post-image.sh   | 9 ---------
 configs/raspberrypi3_64_defconfig | 3 +--
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/board/raspberrypi/post-image.sh b/board/raspberrypi/post-image.sh
index bf9af5dc60..bbeb0bc721 100755
--- a/board/raspberrypi/post-image.sh
+++ b/board/raspberrypi/post-image.sh
@@ -28,15 +28,6 @@ __EOF__

 # enable 64bits support
 arm_64bit=1
-__EOF__
-		fi
-
-		# Enable uart console
-		if ! grep -qE '^enable_uart=1' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
-			cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
-
-# enable rpi3 ttyS0 serial console
-enable_uart=1
 __EOF__
 		fi
 		;;
diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig
index f9a6f5fe1f..27141f364e 100644
--- a/configs/raspberrypi3_64_defconfig
+++ b/configs/raspberrypi3_64_defconfig
@@ -22,7 +22,6 @@ BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT=y
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y

 BR2_PACKAGE_RPI_FIRMWARE=y
-# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set

 # Required tools to create the SD image
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
@@ -36,4 +35,4 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="--aarch64"
+BR2_ROOTFS_POST_SCRIPT_ARGS="--aarch64 --add-pi3-miniuart-bt-overlay"
--
2.23.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1
  2019-11-07 20:23 [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Peter Seiderer
                   ` (3 preceding siblings ...)
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 5/5] configs/raspberrypi3_64_defconfig: use pi3-miniuart-bt device tree overlay Peter Seiderer
@ 2019-11-07 21:45 ` Thomas Petazzoni
  4 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2019-11-07 21:45 UTC (permalink / raw)
  To: buildroot

On Thu,  7 Nov 2019 21:23:35 +0100
Peter Seiderer <ps.report@gmx.net> wrote:

> Now based on 4.19.75 (from 4.19.66).
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
> Changes v1 -> v2:
>  - revert of accidantal remove of rpi-userland vcfiled files
>    (suggested by Baruch Siach)
> ---
>  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_defconfig       | 2 +-
>  configs/raspberrypi_defconfig        | 2 +-
>  8 files changed, 8 insertions(+), 8 deletions(-)

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 2/5] package/rpi-firmware: bump version to 1.20190925-1
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 2/5] package/rpi-firmware: bump " Peter Seiderer
@ 2019-11-07 21:45   ` Thomas Petazzoni
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2019-11-07 21:45 UTC (permalink / raw)
  To: buildroot

On Thu,  7 Nov 2019 21:23:36 +0100
Peter Seiderer <ps.report@gmx.net> wrote:

> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
> Changes v1 -> v2:
>  - no changes
> ---
>  package/rpi-firmware/rpi-firmware.hash | 2 +-
>  package/rpi-firmware/rpi-firmware.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/5] package/rpi-userland: bump version to 5070cb7f
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 3/5] package/rpi-userland: bump version to 5070cb7f Peter Seiderer
@ 2019-11-07 21:46   ` Thomas Petazzoni
  2019-11-08 22:17     ` Peter Seiderer
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2019-11-07 21:46 UTC (permalink / raw)
  To: buildroot

On Thu,  7 Nov 2019 21:23:37 +0100
Peter Seiderer <ps.report@gmx.net> wrote:

> - rebased 0003-Disable-Werror-everywhere.patch
> - remove vcfiled support (upstream removed, see [1])
> 
> [1] https://github.com/raspberrypi/userland/commit/f00a1189b9f8246dc24c45985de599c50b8c62a5
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>

This patch doesn't apply properly here:

$ git pwam 1191416
Applying patch #1191416 using "git am -s"
Description: [v2,3/5] package/rpi-userland: bump version to 5070cb7f
Applying: package/rpi-userland: bump version to 5070cb7f
error: patch failed: package/rpi-userland/0003-Disable-Werror-everywhere.patch:55
error: package/rpi-userland/0003-Disable-Werror-everywhere.patch: patch does not apply
Patch failed at 0001 package/rpi-userland: bump version to 5070cb7f
hint: Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
'git am' failed with exit status 128

I have not investigated why.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 4/5] configs/raspberrypi3_64_defconfig: enable device tree overlay support
  2019-11-07 20:23 ` [Buildroot] [PATCH v2 4/5] configs/raspberrypi3_64_defconfig: enable device tree overlay support Peter Seiderer
@ 2019-11-07 21:46   ` Thomas Petazzoni
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2019-11-07 21:46 UTC (permalink / raw)
  To: buildroot

On Thu,  7 Nov 2019 21:23:38 +0100
Peter Seiderer <ps.report@gmx.net> wrote:

> Signed-off-by: Peter Seiderer <ps.report@gmx.net>

An empty commit log is too empty. We need some explanations as to why
you're doing this.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/5] package/rpi-userland: bump version to 5070cb7f
  2019-11-07 21:46   ` Thomas Petazzoni
@ 2019-11-08 22:17     ` Peter Seiderer
  2019-11-09  9:44       ` Peter Seiderer
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Seiderer @ 2019-11-08 22:17 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On Thu, 7 Nov 2019 22:46:04 +0100, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> On Thu,  7 Nov 2019 21:23:37 +0100
> Peter Seiderer <ps.report@gmx.net> wrote:
>
> > - rebased 0003-Disable-Werror-everywhere.patch
> > - remove vcfiled support (upstream removed, see [1])
> >
> > [1] https://github.com/raspberrypi/userland/commit/f00a1189b9f8246dc24c45985de599c50b8c62a5
> >
> > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
>
> This patch doesn't apply properly here:
>
> $ git pwam 1191416
> Applying patch #1191416 using "git am -s"
> Description: [v2,3/5] package/rpi-userland: bump version to 5070cb7f
> Applying: package/rpi-userland: bump version to 5070cb7f
> error: patch failed: package/rpi-userland/0003-Disable-Werror-everywhere.patch:55
> error: package/rpi-userland/0003-Disable-Werror-everywhere.patch: patch does not apply
> Patch failed at 0001 package/rpi-userland: bump version to 5070cb7f
> hint: Use 'git am --show-current-patch' to see the failed patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
> 'git am' failed with exit status 128
>
> I have not investigated why.

Mhhh, strange (and once again, I think it happened already before)...

Diff of the original 'git format-patch' version and the Patchwork download
version:

	$ diff -u v2-0003-package-rpi-userland-bump-version-to-5070cb7f.patch v2-3-5-package-rpi-userland-bump-version-to-5070cb7f.patch
[...]
 diff --git a/Config.in.legacy b/Config.in.legacy
 index fcb10b1291..7167b1d60c 100644
 --- a/Config.in.legacy
 +++ b/Config.in.legacy
 @@ -146,6 +146,12 @@ endif
-
+
  comment "Legacy options removed in 2019.11"
-
+
[...]

With '-<space><newline>' against '+<newline>'..., same against
the saved copy returned from the buildroot mailing list...,
seems someone is eating up my spaces...

Will re-try/re-send the patches...

Regards,
Peter

>
> Thomas

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/5] package/rpi-userland: bump version to 5070cb7f
  2019-11-08 22:17     ` Peter Seiderer
@ 2019-11-09  9:44       ` Peter Seiderer
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Seiderer @ 2019-11-09  9:44 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On Fri, 8 Nov 2019 23:17:35 +0100, Peter Seiderer <ps.report@gmx.net> wrote:

> Hello Thomas,
>
> On Thu, 7 Nov 2019 22:46:04 +0100, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:
>
> > On Thu,  7 Nov 2019 21:23:37 +0100
> > Peter Seiderer <ps.report@gmx.net> wrote:
> >
> > > - rebased 0003-Disable-Werror-everywhere.patch
> > > - remove vcfiled support (upstream removed, see [1])
> > >
> > > [1] https://github.com/raspberrypi/userland/commit/f00a1189b9f8246dc24c45985de599c50b8c62a5
> > >
> > > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> >
> > This patch doesn't apply properly here:
> > 10d39ce2be063488dd4820cf3b9901a134d18329
> > $ git pwam 1191416
> > Applying patch #1191416 using "git am -s"
> > Description: [v2,3/5] package/rpi-userland: bump version to 5070cb7f
> > Applying: package/rpi-userland: bump version to 5070cb7f
> > error: patch failed: package/rpi-userland/0003-Disable-Werror-everywhere.patch:55
> > error: package/rpi-userland/0003-Disable-Werror-everywhere.patch: patch does not apply
> > Patch failed at 0001 package/rpi-userland: bump version to 5070cb7f
> > hint: Use 'git am --show-current-patch' to see the failed patch
> > When you have resolved this problem, run "git am --continue".
> > If you prefer to skip this patch, run "git am --skip" instead.
> > To restore the original branch and stop patching, run "git am --abort".
> > 'git am' failed with exit status 128
> >
> > I have not investigated why.
>
> Mhhh, strange (and once again, I think it happened already before)...
>
> Diff of the original 'git format-patch' version and the Patchwork download
> version:
>
> 	$ diff -u v2-0003-package-rpi-userland-bump-version-to-5070cb7f.patch v2-3-5-package-rpi-userland-bump-version-to-5070cb7f.patch
> [...]
>  diff --git a/Config.in.legacy b/Config.in.legacy
>  index fcb10b1291..7167b1d60c 100644
>  --- a/Config.in.legacy
>  +++ b/Config.in.legacy
>  @@ -146,6 +146,12 @@ endif
> -
> +
>   comment "Legacy options removed in 2019.11"
> -
> +
> [...]
>
> With '-<space><newline>' against '+<newline>'..., same against
> the saved copy returned from the buildroot mailing list...,
> seems someone is eating up my spaces...
>
> Will re-try/re-send the patches...

Checked the v3 version, seems to suffer the same space-damage, will send
a v4 version with git 'sendemail.transferEncoding = base64' enabled
(instead of auto which will use 8bit encoding as default)...

Regards,
Peter

>
> Regards,
> Peter
>
> >
> > Thomas
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-11-09  9:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 20:23 [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Peter Seiderer
2019-11-07 20:23 ` [Buildroot] [PATCH v2 2/5] package/rpi-firmware: bump " Peter Seiderer
2019-11-07 21:45   ` Thomas Petazzoni
2019-11-07 20:23 ` [Buildroot] [PATCH v2 3/5] package/rpi-userland: bump version to 5070cb7f Peter Seiderer
2019-11-07 21:46   ` Thomas Petazzoni
2019-11-08 22:17     ` Peter Seiderer
2019-11-09  9:44       ` Peter Seiderer
2019-11-07 20:23 ` [Buildroot] [PATCH v2 4/5] configs/raspberrypi3_64_defconfig: enable device tree overlay support Peter Seiderer
2019-11-07 21:46   ` Thomas Petazzoni
2019-11-07 20:23 ` [Buildroot] [PATCH v2 5/5] configs/raspberrypi3_64_defconfig: use pi3-miniuart-bt device tree overlay Peter Seiderer
2019-11-07 21:45 ` [Buildroot] [PATCH v2 1/5] configs/raspberrypi*: bump kernel version to 1.20190925-1 Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.