From patchwork Tue Jul 23 21:20:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABl_PORTAY?= X-Patchwork-Id: 1964063 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WT96Z4vpWz1ybY for ; Wed, 24 Jul 2024 07:20:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 21117600B9; Tue, 23 Jul 2024 21:20:37 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id qCo6pxs_kntx; Tue, 23 Jul 2024 21:20:36 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org D61F36079D Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id D61F36079D; Tue, 23 Jul 2024 21:20:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6B9D61BF2F9 for ; Tue, 23 Jul 2024 21:20:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6647180A00 for ; Tue, 23 Jul 2024 21:20:30 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Jjnp7QHj270q for ; Tue, 23 Jul 2024 21:20:29 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::335; helo=mail-wm1-x335.google.com; envelope-from=gael.portay@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 3255A809E8 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3255A809E8 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3255A809E8 for ; Tue, 23 Jul 2024 21:20:29 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4279c10a40eso43885585e9.3 for ; Tue, 23 Jul 2024 14:20:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721769626; x=1722374426; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HPlPAVM+gvA5o+7g0BXsjcHc6I/qTAKLCluWFphHdyA=; b=k+FKhweL3M54yQa2pPoGWfHpIeJJPL3rXATsR+FqZviminzx799QLCDaKfdB807Rd2 G4bfxkUvsF0AS8bfVgCJ+y58DHdvoWsNfD1CAWQ4XBhiKjurZLF5MlEWC08L4HDmH+AQ Rr32H0qmUH22QE2MhxQNJKB0isFGenJtj5QCCyrRnorRkAxPBn8zBz4K32Vl2ZOf3PQ8 XwFKKZ0oSLuJnx4j/XWRJEqA5spwDnBJDWtTIOgjTOv+BUJuPZJleo4xcLAZ68tJ7V+K NSYXHt3o7Y5uno1Dowep9n7bUtICQXsq9AnVI3ZCWDcibHlbDzIKOTqyi+XpEeSkx+e8 UaXw== X-Gm-Message-State: AOJu0YxQACZhYZeQ7vZBqmIhwPpvykJ0TI/uF2lrRnauKNNufUw4Hm8A 7nidenoR56KmRbZR3PT3UAntxJLUMHNHXUw5B0EB4FZXkFCI+PywJSljDFRocYM= X-Google-Smtp-Source: AGHT+IF3HJlRWt8pr3Rn0SjCGv4XuQS5wzRQ6aYF831NBqdqNDmzGzfAgHcBhYwJavm0wsy0+SbjBw== X-Received: by 2002:a05:600c:5246:b0:426:686f:cb4c with SMTP id 5b1f17b1804b1-427f7a93768mr5510115e9.32.1721769626232; Tue, 23 Jul 2024 14:20:26 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:ce:f2f0:2a6b:35ff:feb8:77d9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427f937348bsm1575705e9.18.2024.07.23.14.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 14:20:25 -0700 (PDT) From: " =?utf-8?q?Ga=C3=ABl_PORTAY?= " X-Google-Original-From: =?utf-8?q?Ga=C3=ABl_PORTAY?= To: buildroot@buildroot.org Date: Tue, 23 Jul 2024 23:20:10 +0200 Message-ID: <20240723212011.23048-2-gael.portay@rtone.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240723212011.23048-1-gael.portay@rtone.fr> References: <20240723212011.23048-1-gael.portay@rtone.fr> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721769626; x=1722374426; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HPlPAVM+gvA5o+7g0BXsjcHc6I/qTAKLCluWFphHdyA=; b=eV0hYgk/u9tqlND7n0zdnwfPzxKCI6XyLzncHe+VuJEyVa8fPGiRunTQJqtcBFtDJG H6MS6ZzKpOIExOcDZ0sIOCCDGeILSQfIw3kyKD0ek6s6IvCHkE5tkC6U4MdF0w3NvGPr u1pZEDnjxSBa8Oy+d9k5Lp2ayScOjJHCbN5MThBenSWdoGQSfcW0ogT55bEhUR4uG9h9 eMev5Jf3E4Wp/4nxvpPJeUPHGJD5Rk2qL29kp/4jHdslEA9tk3ItmNGGhUNM0aqYAkFw rok8w0KyCxfxA8Kf2H2khg4mcE57JLBk9UzovG9WQX/o/vGbqNBzTLN7M38MephuLs6X 92mQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=eV0hYgk/ Subject: [Buildroot] [PATCH 1/2] package/rpi-utils: new package X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Ga=C3=ABl_PORTAY?= , Samuel Martin , Mahyar Koshkouei Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The package rpi-userland has been marked as ancient and deprecated[1]. The useful tools (dtoverlay, dtmerge, vcmailbox, vcgencmd) were moved to the repository rpi-utils since then. This adds the new package rpi-utils at latest commit as there is no tagged commit. [1]: https://github.com/raspberrypi/userland/commit/96a7334ae9d5fc9db7ac92e59852377df63f1848 Signed-off-by: Gaël PORTAY --- package/rpi-utils/Config.in | 9 +++++++++ package/rpi-utils/rpi-utils.hash | 3 +++ package/rpi-utils/rpi-utils.mk | 16 ++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/rpi-utils/Config.in create mode 100644 package/rpi-utils/rpi-utils.hash create mode 100644 package/rpi-utils/rpi-utils.mk diff --git a/package/rpi-utils/Config.in b/package/rpi-utils/Config.in new file mode 100644 index 0000000000..4ae82257a0 --- /dev/null +++ b/package/rpi-utils/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_RPI_UTILS + bool "rpi-utils" + depends on !BR2_STATIC_LIBS # dtc + select BR2_PACKAGE_DTC + help + A collection of scripts and simple applications for the + Raspberry Pi. + + https://github.com/raspberrypi/utils/ diff --git a/package/rpi-utils/rpi-utils.hash b/package/rpi-utils/rpi-utils.hash new file mode 100644 index 0000000000..a6612373b0 --- /dev/null +++ b/package/rpi-utils/rpi-utils.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 c35932e501b43e5fb48cfc488aadc4a8bbceb0e9e6dafdf6c7cd2066b58acd61 rpi-utils-a1d522f0f1b50858a44fac80523a2bd80098e789.tar.gz +sha256 731da956431d1a7c5073e7ee5ebe01f54e359c5339310b32f0893c6fe6507d5a LICENCE diff --git a/package/rpi-utils/rpi-utils.mk b/package/rpi-utils/rpi-utils.mk new file mode 100644 index 0000000000..1c74951e4a --- /dev/null +++ b/package/rpi-utils/rpi-utils.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# rpi-utils +# +################################################################################ + +RPI_UTILS_VERSION = a1d522f0f1b50858a44fac80523a2bd80098e789 +RPI_UTILS_SITE = $(call github,raspberrypi,utils,$(RPI_UTILS_VERSION)) +RPI_UTILS_LICENSE = BSD-3-Clause +RPI_UTILS_LICENSE_FILES = LICENCE +RPI_UTILS_INSTALL_STAGING = YES +RPI_UTILS_DEPENDENCIES = dtc + +RPI_UTILS_CONF_OPTS = -DSTATIC=STATIC + +$(eval $(cmake-package)) From patchwork Tue Jul 23 21:20:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABl_PORTAY?= X-Patchwork-Id: 1964064 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WT96f2cCWz1ybY for ; Wed, 24 Jul 2024 07:20:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7F8CC6089F; Tue, 23 Jul 2024 21:20:40 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 8WCsrNYfIB_1; Tue, 23 Jul 2024 21:20:39 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 92DF86088C Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 92DF86088C; Tue, 23 Jul 2024 21:20:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 061341BF2F9 for ; Tue, 23 Jul 2024 21:20:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E818D80A00 for ; Tue, 23 Jul 2024 21:20:31 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 6PkXvAan3IfQ for ; Tue, 23 Jul 2024 21:20:31 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::330; helo=mail-wm1-x330.google.com; envelope-from=gael.portay@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org CFCE1809E8 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org CFCE1809E8 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by smtp1.osuosl.org (Postfix) with ESMTPS id CFCE1809E8 for ; Tue, 23 Jul 2024 21:20:30 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4272738eb9eso45080135e9.3 for ; Tue, 23 Jul 2024 14:20:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721769628; x=1722374428; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DSLd2LA53sG6osCnOCjhFWcAcF3eUUI7YO2yUQGBM74=; b=JeeZVJRZSlToKEjAm2cZoe2HeOk7qSzHjZwWbDLjjyyAjZ8reUwA+FhsP8Xiaer72y fim7aKav8ETtR06LVgsK9Q0AksBCjbivhoGK770XSDZSjCOz3lhqo6y+lo9PV7h35pAY SMPCKiMfYW1BkA/WBcw3TS+hcE0Xj8TegEUI25rZd1dnhHigZsavcCXTLnpZ6fi3zwLX SpPYMPH+KKYVG93knX5JbSkRRDp48EaRDD9RPdYNTS+N9suqgBrT1oMh8HrgDL1fdNhF dcmzFnwokIz6aSZ6xl2ksRBcBGR7N1X2LOuGLEYCWh2Xx8l2gCWty2Dnc9vgjTeofU7v LbZw== X-Gm-Message-State: AOJu0YzJaDAoPeDVaCUpxC/AQurDMw2l+/F4xW7L/4kXkJl5bMECEMnO OAYfCec6rcrI08IHsPwkcn9pbHWnbqV/nZWyswJ9O9HEufZF9ZlZO5sXb1iNJHo= X-Google-Smtp-Source: AGHT+IEzxztt1Z8tQZdTdaK/etHVRPOz3dqxmpV5YTZxUPsiYrkWXsUuBQma2tYMH+amufumJQNXDA== X-Received: by 2002:a05:600c:1ca3:b0:426:61e8:fb3b with SMTP id 5b1f17b1804b1-427f95af0f8mr447375e9.27.1721769627969; Tue, 23 Jul 2024 14:20:27 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:ce:f2f0:2a6b:35ff:feb8:77d9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427f937348bsm1575705e9.18.2024.07.23.14.20.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 14:20:26 -0700 (PDT) From: " =?utf-8?q?Ga=C3=ABl_PORTAY?= " X-Google-Original-From: =?utf-8?q?Ga=C3=ABl_PORTAY?= To: buildroot@buildroot.org Date: Tue, 23 Jul 2024 23:20:11 +0200 Message-ID: <20240723212011.23048-3-gael.portay@rtone.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240723212011.23048-1-gael.portay@rtone.fr> References: <20240723212011.23048-1-gael.portay@rtone.fr> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721769628; x=1722374428; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DSLd2LA53sG6osCnOCjhFWcAcF3eUUI7YO2yUQGBM74=; b=Mf5aFiXNDzGA8zTvDYn0cXgwlEUyzadTnc30/1IAhhEaWHZQnXeAn/rKQJd1t8/b2o 9tJr69NkZTyVJMhn71h65CFtV/REhwm4Rn0KWbSoFxqYG1Y6NARegxB3fZcOynj2EEP2 EV5qZA9+ADuJT1xswTF7F9aTTD4bPO4t/GFAy3OzD0bJkjk5202/7jtmQJYG9V1seVl8 fjhYWyg2bJpPWXMe92rH4zqotmz4PgL+sFOMUQqeiHBSqhIXCgJTFuQ9BfVipxBrOHTR 4x7etB9U83KaxT2WzYDrUFD9BBZEf5tkQ0GDqrWR8BbKdfI6TpYu+HJQqro2QKY64KUJ OC5A== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Mf5aFiXN Subject: [Buildroot] [PATCH 2/2] package/rpi-userland: package is deprecated X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Ga=C3=ABl_PORTAY?= , Samuel Martin , Mahyar Koshkouei Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The package rpi-userland has been marked as ancient and deprecated[1]. This adds the message in its help. [1]: https://github.com/raspberrypi/userland/commit/96a7334ae9d5fc9db7ac92e59852377df63f1848 Signed-off-by: Gaël PORTAY --- package/rpi-userland/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in index 4219bdb9c4..c39eb4598f 100644 --- a/package/rpi-userland/Config.in +++ b/package/rpi-userland/Config.in @@ -16,6 +16,17 @@ config BR2_PACKAGE_RPI_USERLAND mmal, GLESv2, vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG. + Important: The package is ancient and deprecated. + + It largely contains code using proprietary APIs to interface + to the VideoCore firmware. It has since moved to standard + linux APIs. + + V4L2, DRM/KMS and Mesa are the APIs you should be using. + + The few useful tools from here (dtoverlay, dtmerge, + vcmailbox, vcgencmd) have been moved to the package rpi-utils. + https://github.com/raspberrypi/userland/ if BR2_PACKAGE_RPI_USERLAND && BR2_arm