mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-23 00:09:52 +00:00
Merge Rpi5 SOC support to Lakka
Signed-off-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
This commit is contained in:
commit
4099f48153
@ -11,7 +11,7 @@
|
||||
fi
|
||||
|
||||
# TARGET_CPU:
|
||||
# generic cortex-a35 cortex-a53 cortex-a57 cortex-a72
|
||||
# generic cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a76
|
||||
# exynos-m1 qdf24xx thunderx xgene1 cortex-a57.cortex-a53
|
||||
# cortex-a72.cortex-a53
|
||||
|
||||
@ -21,6 +21,10 @@
|
||||
TARGET_SUBARCH=aarch64
|
||||
TARGET_VARIANT=armv8-a
|
||||
;;
|
||||
cortex-a76)
|
||||
TARGET_SUBARCH=aarch64
|
||||
TARGET_VARIANT=armv8.2-a
|
||||
;;
|
||||
esac
|
||||
|
||||
TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
|
||||
|
@ -66,7 +66,7 @@ fi
|
||||
|
||||
# create bootloader configuration
|
||||
echo "creating bootloader configuration..."
|
||||
echo "boot=$id1 disk=$id2 quiet" > $MOUNTPOINT/cmdline.txt
|
||||
echo "boot=$id1 disk=$id2 quiet @EXTRA_CMDLINE@" > $MOUNTPOINT/cmdline.txt
|
||||
|
||||
# cleanup mountpoint
|
||||
umount $MOUNTPOINT
|
||||
|
32
licenses/FLIRC.txt
Normal file
32
licenses/FLIRC.txt
Normal file
@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2023 Flirc Inc. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the following
|
||||
* disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FLIRC INC. \`\`AS IS'' AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ${AUTHOR_UPPER} OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
||||
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
* DAMAGE.
|
||||
*
|
||||
* The views and conclusions contained in the software and documentation
|
||||
* are those of the authors and should not be interpreted as representing
|
||||
* official policies, either expressed or implied, of Flirc Inc.
|
||||
*/
|
9
licenses/HIDAPI-orig.txt
Normal file
9
licenses/HIDAPI-orig.txt
Normal file
@ -0,0 +1,9 @@
|
||||
HIDAPI - Multi-Platform library for
|
||||
communication with HID devices.
|
||||
|
||||
Copyright 2009, Alan Ott, Signal 11 Software.
|
||||
All Rights Reserved.
|
||||
|
||||
This software may be used by anyone for any reason so
|
||||
long as the copyright notice in the source files
|
||||
remains intact.
|
@ -2,7 +2,7 @@
|
||||
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="aspnet6-runtime"
|
||||
PKG_VERSION="6.0.20"
|
||||
PKG_VERSION="6.0.24"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://dotnet.microsoft.com/"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
@ -11,16 +11,16 @@ PKG_TOOLCHAIN="manual"
|
||||
|
||||
case "${ARCH}" in
|
||||
"aarch64")
|
||||
PKG_SHA256="dd1898babdba27c57338b17afd4513a53025dec0985047d030336aab65532e26"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/a8a1a993-ddd9-4bcd-8386-d9defcf0fd29/4b471f72c8253fa1462ea923d0fe39a2/aspnetcore-runtime-6.0.20-linux-arm64.tar.gz"
|
||||
PKG_SHA256="ee6b660b3c8b3fb88eb64690ac78a47752dae68c21647fccdc5f810bc68829ab"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/d562ba2b-8e2c-48e5-9853-f8616a9cb4e4/f4e251ba67b718083c28017e3b0c6349/aspnetcore-runtime-6.0.24-linux-arm64.tar.gz"
|
||||
;;
|
||||
"arm")
|
||||
PKG_SHA256="f26a0f36339056d65522254c4bf333c940abc3dee907d4219a64cc1456b63fe3"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/872ccb13-fbc4-4d75-9d8f-be3fec5581ef/add2199206c438835b7b48a6d061b023/aspnetcore-runtime-6.0.20-linux-arm.tar.gz"
|
||||
PKG_SHA256="634b0ecd7312e8a46adedcbff6e1b23e514fa153f7135a6b9f6aefb5851f9d88"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/9c00fe25-e1e0-4390-9061-77d07e95356f/09886ffeaed522c3fa8803e879ce070c/aspnetcore-runtime-6.0.24-linux-arm.tar.gz"
|
||||
;;
|
||||
"x86_64")
|
||||
PKG_SHA256="88afcf5b6434c6a4ee12488d8bc13f84c15191712d12eb9646cf3642b9c01e86"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/972dc929-4c16-4456-a7c8-64014f80678d/a3b62252f98a0d7e0c0a9a01ede18776/aspnetcore-runtime-6.0.20-linux-x64.tar.gz"
|
||||
PKG_SHA256="022dc914af7490bcd2d885edeb5d4c1faa4b771b503b8059d5181f130191cf2c"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/8f5a65c0-9bc8-497d-9ce2-4658c461dc55/b6c01c3cd060552d987501ba6bbde09f/aspnetcore-runtime-6.0.24-linux-x64.tar.gz"
|
||||
;;
|
||||
esac
|
||||
PKG_SOURCE_NAME="aspnetcore-runtime_${PKG_VERSION}_${ARCH}.tar.gz"
|
||||
|
12
packages/addons/addon-depends/hidapi/package.mk
Normal file
12
packages/addons/addon-depends/hidapi/package.mk
Normal file
@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="hidapi"
|
||||
PKG_VERSION="0.14.0"
|
||||
PKG_SHA256="a5714234abe6e1f53647dd8cba7d69f65f71c558b7896ed218864ffcf405bcbd"
|
||||
PKG_LICENSE="HIDAPI-orig"
|
||||
PKG_SITE="http://libusb.info/"
|
||||
PKG_URL="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libusb"
|
||||
PKG_LONGDESC="HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices."
|
||||
PKG_TOOLCHAIN="cmake"
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libzip"
|
||||
PKG_VERSION="1.9.2"
|
||||
PKG_SHA256="c93e9852b7b2dc931197831438fee5295976ee0ba24f8524a8907be5c2ba5937"
|
||||
PKG_VERSION="1.10.1"
|
||||
PKG_SHA256="dc3c8d5b4c8bbd09626864f6bcf93de701540f761d76b85d7c7d710f4bd90318"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://libzip.org/"
|
||||
PKG_URL="https://libzip.org/download/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
@ -16,6 +16,7 @@ PKG_CMAKE_OPTS_TARGET="-DENABLE_COMMONCRYPTO=OFF \
|
||||
-DENABLE_MBEDTLS=OFF \
|
||||
-DENABLE_OPENSSL=OFF \
|
||||
-DENABLE_WINDOWS_CRYPTO=OFF \
|
||||
-DENABLE_ZSTD=OFF \
|
||||
-DBUILD_TOOLS=OFF \
|
||||
-DBUILD_REGRESS=OFF \
|
||||
-DBUILD_EXAMPLES=OFF \
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libmediainfo"
|
||||
PKG_VERSION="22.12"
|
||||
PKG_SHA256="0fc6d32f06d6ce5e144074d2e57e0db8dfa4e38e752d3123ada27ccaf89634bc"
|
||||
PKG_VERSION="23.07"
|
||||
PKG_SHA256="60456c8b2ab8769a6081d96fd7be86db4fe32520e4a022397cb22cacf47ce820"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://mediaarea.net/en/MediaInfo/Download/Source"
|
||||
PKG_URL="https://mediaarea.net/download/source/libmediainfo/${PKG_VERSION}/libmediainfo_${PKG_VERSION}.tar.xz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libzen"
|
||||
PKG_VERSION="0.4.40"
|
||||
PKG_SHA256="0c2e1c7302b3ee260d34b52e4b16ab655bdf021db8c14653e418aced46eb24a7"
|
||||
PKG_VERSION="0.4.41"
|
||||
PKG_SHA256="933bad3b7ecd29dc6bdc88a83645c83dfd098c15b0b90d6177a37fa1536704e8"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://mediaarea.net/en/MediaInfo/"
|
||||
PKG_URL="https://mediaarea.net/download/source/libzen/${PKG_VERSION}/libzen_${PKG_VERSION}.tar.xz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="mediainfo"
|
||||
PKG_VERSION="22.12"
|
||||
PKG_SHA256="932b82739f738e7db603cf5bb170720731a9e7c61d145c2a54aabb3cd0b753bc"
|
||||
PKG_VERSION="23.07"
|
||||
PKG_SHA256="b6d7da9e29995fd34a22100825b843e74c32c7bc67adb01166b1beedea49f5d0"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://mediaarea.net/en/MediaInfo/Download/Source"
|
||||
PKG_URL="https://mediaarea.net/download/source/mediainfo/${PKG_VERSION}/mediainfo_${PKG_VERSION}.tar.xz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="mpv-drmprime"
|
||||
PKG_VERSION="0.35.1"
|
||||
PKG_SHA256="41df981b7b84e33a2ef4478aaf81d6f4f5c8b9cd2c0d337ac142fc20b387d1a9"
|
||||
PKG_VERSION="0.36.0"
|
||||
PKG_SHA256="29abc44f8ebee013bb2f9fe14d80b30db19b534c679056e4851ceadf5a5e8bf6"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://mpv.io/"
|
||||
PKG_URL="https://github.com/mpv-player/mpv/archive/v${PKG_VERSION}.tar.gz"
|
||||
|
@ -2,11 +2,11 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="opus"
|
||||
PKG_VERSION="1.3.1"
|
||||
PKG_SHA256="65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d"
|
||||
PKG_VERSION="1.4"
|
||||
PKG_SHA256="c9b32b4253be5ae63d1ff16eea06b94b5f0f2951b7a02aceef58e3a3ce49c51f"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.opus-codec.org"
|
||||
PKG_URL="https://archive.mozilla.org/pub/opus/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_URL="https://github.com/xiph/opus/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Codec designed for interactive speech and audio transmission over the Internet."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pngquant"
|
||||
PKG_VERSION="2.17.0"
|
||||
PKG_SHA256="a27cf0e64db499ccb3ddae9b36036e881f78293e46ec27a9e7a86a3802fcda66"
|
||||
PKG_VERSION="2.18.0"
|
||||
PKG_SHA256="e72194b52b36f040deaec49a1ddd5dcd8d4feecc3a5fe6c5e9589a9707b233d4"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://pngquant.org"
|
||||
PKG_URL="https://pngquant.org/pngquant-${PKG_VERSION}-src.tar.gz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libfastjson"
|
||||
PKG_VERSION="0.99.9"
|
||||
PKG_SHA256="a330e1bdef3096b7ead53b4bad1a6158f19ba9c9ec7c36eda57de7729d84aaee"
|
||||
PKG_VERSION="1.2304.0"
|
||||
PKG_SHA256="ef30d1e57a18ec770f90056aaac77300270c6203bbe476f4181cc83a2d5dc80c"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://www.rsyslog.com/tag/libfastjson"
|
||||
PKG_URL="https://download.rsyslog.com/libfastjson/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="bottom"
|
||||
PKG_VERSION="0.9.3"
|
||||
PKG_SHA256="53a1466c3d2ed8f38401e8929cf2da796e703e4d70339d215f855b2304c07f72"
|
||||
PKG_VERSION="0.9.4"
|
||||
PKG_SHA256="199123ef354bcabaa8a2e3b7b477b324f5b647d503a2599d08296733846eea6e"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/ClementTsang/bottom"
|
||||
PKG_URL="https://github.com/ClementTsang/bottom/archive/${PKG_VERSION}.tar.gz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libmtp"
|
||||
PKG_VERSION="1.1.20"
|
||||
PKG_SHA256="c9191dac2f5744cf402e08641610b271f73ac21a3c802734ec2cedb2c6bc56d0"
|
||||
PKG_VERSION="1.1.21"
|
||||
PKG_SHA256="c4ffa5ab8c8f48c91b0047f2e253c101c418d5696a5ed65c839922a4280872a7"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://libmtp.sourceforge.net/"
|
||||
PKG_URL="${SOURCEFORGE_SRC}/project/${PKG_NAME}/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="mc"
|
||||
PKG_VERSION="4.8.29"
|
||||
PKG_SHA256="01d8a3b94f58180cca5bf17257b5078d1fd6fd27a9b5c0e970ec767549540ad4"
|
||||
PKG_VERSION="4.8.30"
|
||||
PKG_SHA256="5ebc3cb2144b970c5149fda556c4ad50b78780494696cdf2d14a53204c95c7df"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.midnight-commander.org"
|
||||
PKG_URL="http://ftp.midnight-commander.org/mc-${PKG_VERSION}.tar.xz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="screen"
|
||||
PKG_VERSION="4.9.0"
|
||||
PKG_SHA256="f9335281bb4d1538ed078df78a20c2f39d3af9a4e91c57d084271e0289c730f4"
|
||||
PKG_VERSION="4.9.1"
|
||||
PKG_SHA256="26cef3e3c42571c0d484ad6faf110c5c15091fbf872b06fa7aa4766c7405ac69"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/screen/"
|
||||
PKG_URL="http://ftpmirror.gnu.org/screen/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="smartmontools"
|
||||
PKG_VERSION="7.3"
|
||||
PKG_SHA256="a544f8808d0c58cfb0e7424ca1841cb858a974922b035d505d4e4c248be3a22b"
|
||||
PKG_VERSION="7.4"
|
||||
PKG_SHA256="e9a61f641ff96ca95319edfb17948cd297d0cd3342736b2c49c99d4716fb993d"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://www.smartmontools.org"
|
||||
PKG_URL="https://downloads.sourceforge.net/sourceforge/smartmontools/smartmontools-${PKG_VERSION}.tar.gz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="stress-ng"
|
||||
PKG_VERSION="0.16.02"
|
||||
PKG_SHA256="71ac375826cc58dcbcf5f1609959ed1a5afd71192c52025b5cb273baa3df2317"
|
||||
PKG_VERSION="0.16.04"
|
||||
PKG_SHA256="3453719508e9e02c57a736c154408538372d078be7dcf8e0165d37a821cdba45"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/ColinIanKing/stress-ng"
|
||||
PKG_URL="https://github.com/ColinIanKing/stress-ng/archive/refs/tags/V${PKG_VERSION}.tar.gz"
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/Makefile.config 2023-07-13 07:58:21.000000000 +0000
|
||||
+++ b/Makefile.config 2023-07-16 05:05:35.766646855 +0000
|
||||
@@ -311,7 +311,7 @@
|
||||
compiler: configdir
|
||||
@echo "checking compiler ..."
|
||||
@$(CC) test/test-compiler.c -o test/test-compiler
|
||||
- @echo "" > $(CONFIGS)/$$(./test/test-compiler)
|
||||
+ @echo "" > $(CONFIGS)/HAVE_COMPILER_GCC
|
||||
@rm -f test/test-compiler
|
||||
$(call check,test-glibc,HAVE_GLIBC,using glibc)
|
||||
|
@ -2,3 +2,5 @@
|
||||
- update librespot to githash 03b547d (2023-04-16)
|
||||
2
|
||||
- update librespot to githash c964102 (2023-05-14)
|
||||
3
|
||||
- update librespot to githash f037e46 (2023-07-19)
|
||||
|
@ -3,10 +3,10 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="librespot"
|
||||
PKG_VERSION="c964102a349589d644baef5f43a566d6d1e151f1"
|
||||
PKG_VERSION_DATE="2023-05-14"
|
||||
PKG_SHA256="3bc6782d8796253040d995043fba4e6f6c71ff902da110b50398071e082b1930"
|
||||
PKG_REV="2"
|
||||
PKG_VERSION="f037e46aee631837a0553ccfdbc7866752fd0f5d"
|
||||
PKG_VERSION_DATE="2023-07-19"
|
||||
PKG_SHA256="72ec541fda77ea6a2132dd67f68a89437bfc13513481d5abbdde535976fc60c3"
|
||||
PKG_REV="3"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/librespot-org/librespot/"
|
||||
|
@ -1,3 +1,6 @@
|
||||
2
|
||||
- mariadb: update to 10.11.5
|
||||
|
||||
1
|
||||
- include mariadb-upgrade and mariadb-check
|
||||
copy mariadb* binaries and make symbolic links to mysql*
|
||||
|
@ -2,9 +2,9 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="mariadb"
|
||||
PKG_VERSION="10.11.2"
|
||||
PKG_REV="1"
|
||||
PKG_SHA256="1c89dee0caed0f68bc2a1d203eb98a123150e6a179f6ee0f1fc0ba3f08dc71dc"
|
||||
PKG_VERSION="10.11.5"
|
||||
PKG_REV="2"
|
||||
PKG_SHA256="4c9484048d4d0c71dd076ab33fc2a9ce8510bdf762886de0d63fe52496f3dbbb"
|
||||
PKG_LICENSE="GPL2"
|
||||
PKG_SITE="https://mariadb.org"
|
||||
PKG_URL="https://downloads.mariadb.com/MariaDB/${PKG_NAME}-${PKG_VERSION}/source/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
|
@ -11,7 +11,7 @@ diff --git a/cmake/build_configurations/mysql_release.cmake b/cmake/build_config
|
||||
index 37a6c45..e2a4ba8 100644
|
||||
--- a/cmake/build_configurations/mysql_release.cmake
|
||||
+++ b/cmake/build_configurations/mysql_release.cmake
|
||||
@@ -124,7 +124,7 @@ ENDIF()
|
||||
@@ -147,7 +147,7 @@ ENDIF()
|
||||
|
||||
IF(UNIX)
|
||||
SET(WITH_EXTRA_CHARSETS all CACHE STRING "")
|
||||
@ -19,7 +19,7 @@ index 37a6c45..e2a4ba8 100644
|
||||
+ SET(PLUGIN_AUTH_PAM NO CACHE BOOL "")
|
||||
|
||||
IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
IF(NOT IGNORE_AIO_CHECK)
|
||||
FIND_PACKAGE(URING)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
initial release
|
||||
1
|
||||
- net-snmp: update to 5.9.4
|
||||
|
@ -2,9 +2,9 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="net-snmp"
|
||||
PKG_VERSION="5.9.3"
|
||||
PKG_SHA256="2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a"
|
||||
PKG_REV="0"
|
||||
PKG_VERSION="5.9.4"
|
||||
PKG_SHA256="8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.net-snmp.org"
|
||||
|
@ -1,14 +1,14 @@
|
||||
--- net-snmp-5.9/net-snmp-create-v3-user.in 2020-08-14 21:41:47.000000000 +0000
|
||||
+++ net-snmp-5.9/net-snmp-create-v3-user.in 2021-01-14 07:04:26.196982169 +0000
|
||||
@@ -5,10 +5,8 @@
|
||||
@@ -3,10 +3,8 @@
|
||||
# this shell script is designed to add new SNMPv3 users
|
||||
# to Net-SNMP config file.
|
||||
|
||||
-if @PSCMD@ | egrep ' snmpd *$' > /dev/null 2>&1 ; then
|
||||
- echo "Apparently at least one snmpd demon is already running."
|
||||
-if @PSCMD@ | @EGREP@ ' snmpd *$' > /dev/null 2>&1 ; then
|
||||
- echo "Apparently at least one snmpd daemon is already running."
|
||||
- echo "You must stop them in order to use this command."
|
||||
- exit 1
|
||||
+if @PSCMD@ | egrep 'snmpd'> /dev/null 2>&1 ; then
|
||||
+if @PSCMD@ | @EGREP@ 'snmpd' > /dev/null 2>&1 ; then
|
||||
+ systemctl stop service.net-snmp.service
|
||||
fi
|
||||
|
||||
|
@ -1,34 +0,0 @@
|
||||
diff -ur net-snmp-5.7.3/config.sub net-snmp-5.7.3.new/config.sub
|
||||
--- net-snmp-5.7.3/config.sub 2014-12-08 21:23:22.000000000 +0100
|
||||
+++ net-snmp-5.7.3.new/config.sub 2017-11-09 18:39:31.638689732 +0100
|
||||
@@ -247,10 +247,11 @@ case $basic_machine in
|
||||
# Some are omitted here because they have special meanings below.
|
||||
1750a | 580 \
|
||||
| a29k \
|
||||
+ | aarch64 | aarch64_be \
|
||||
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||
| am33_2.0 \
|
||||
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
||||
| bfin \
|
||||
| c4x | clipper \
|
||||
| d10v | d30v | dlx | dsp16xx \
|
||||
@@ -339,6 +340,7 @@ case $basic_machine in
|
||||
# Recognize the basic CPU types with company name.
|
||||
580-* \
|
||||
| a29k-* \
|
||||
+ | aarch64-* | aarch64_be-* \
|
||||
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
||||
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||
@@ -1171,6 +1173,9 @@ case $basic_machine in
|
||||
basic_machine=hppa1.1-winbond
|
||||
os=-proelf
|
||||
;;
|
||||
+ x64)
|
||||
+ basic_machine=x86_64-pc
|
||||
+ ;;
|
||||
xbox)
|
||||
basic_machine=i686-pc
|
||||
os=-mingw32
|
@ -1,3 +1,6 @@
|
||||
5
|
||||
- download NextPVR 6.1.5
|
||||
|
||||
4
|
||||
- download NextPVR 6.1.4
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="nextpvr"
|
||||
PKG_VERSION="6.1.4~Nexus"
|
||||
PKG_ADDON_VERSION="6.1.4~4"
|
||||
PKG_VERSION="6.1.5~Nexus"
|
||||
PKG_ADDON_VERSION="6.1.5~5"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="NextPVR"
|
||||
|
@ -1 +1,3 @@
|
||||
initial release
|
||||
1
|
||||
- libfastjson: update to 1.2304.0
|
||||
- rsyslog: update to 8.2308.0
|
||||
|
@ -2,9 +2,9 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="rsyslog"
|
||||
PKG_VERSION="8.2302.0"
|
||||
PKG_SHA256="25415f85b662615ce3c83077d53758029e8743cb5929044bfd3564e3d626a3b9"
|
||||
PKG_REV="0"
|
||||
PKG_VERSION="8.2308.0"
|
||||
PKG_SHA256="02086b9121e872cea69e5d0f6c8e2d8ebff33234b3cad5503665378d3af2e3c9"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/rsyslog"
|
||||
|
@ -1,2 +1,5 @@
|
||||
2
|
||||
- btrfs-progs: update to 6.3.3
|
||||
|
||||
1
|
||||
- btrfs-progs: update to 6.2.2
|
||||
|
@ -2,9 +2,9 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="btrfs-progs"
|
||||
PKG_VERSION="6.2.2"
|
||||
PKG_SHA256="140d3d98f2cba4c7f05c16aec3038f044e11555a40c27a5006185c99a10c7ca2"
|
||||
PKG_REV="1"
|
||||
PKG_VERSION="6.3.3"
|
||||
PKG_SHA256="0e55374e448ad4d8876db9c676669bedc16cb763e2493b14c245df8c5d00064b"
|
||||
PKG_REV="2"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://btrfs.wiki.kernel.org/index.php/Main_Page"
|
||||
|
@ -1,3 +1,9 @@
|
||||
7
|
||||
- aspnet6-runtime: update to 6.0.24
|
||||
|
||||
6
|
||||
- aspnet6-runtime: update to 6.0.21
|
||||
|
||||
5
|
||||
- aspnet6-runtime: update to 6.0.20
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dotnet-runtime"
|
||||
PKG_REV="5"
|
||||
PKG_REV="7"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://dotnet.microsoft.com/"
|
||||
|
1
packages/addons/tools/flirc_util/changelog.txt
Normal file
1
packages/addons/tools/flirc_util/changelog.txt
Normal file
@ -0,0 +1 @@
|
||||
initial release
|
BIN
packages/addons/tools/flirc_util/icon/icon.png
Normal file
BIN
packages/addons/tools/flirc_util/icon/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
36
packages/addons/tools/flirc_util/package.mk
Normal file
36
packages/addons/tools/flirc_util/package.mk
Normal file
@ -0,0 +1,36 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="flirc_util"
|
||||
PKG_VERSION="8d3c86e8bb419ad44297c1b186f0cdc7dfcac915" # 30/10/2023
|
||||
PKG_SHA256="fc460e6ce5477cb6b83c90a5f8b2ebb9876ed23cdd813a6a4a0fdc3730052a2b"
|
||||
PKG_LICENSE="FLIRC"
|
||||
PKG_SITE="http://www.flirc.tv"
|
||||
PKG_URL="https://github.com/flirc/sdk/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain hidapi libusb"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="CLI utility for flirc IR receivers"
|
||||
PKG_LONGDESC="Command-Line utility for configuring flirc IR receivers"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="flirc_util"
|
||||
PKG_ADDON_TYPE="xbmc.python.script"
|
||||
|
||||
make_target() {
|
||||
cd cli
|
||||
make VERBOSE="1" \
|
||||
CONFIG="release" \
|
||||
HOSTOS="LIBREELEC" \
|
||||
MACHINE="Linux_${TARGET_ARCH}" \
|
||||
BUILDDIR_ROOT="${PKG_BUILD}/build" \
|
||||
BUILDDIR="${PKG_BUILD}/build" \
|
||||
LSEARCH+=" -L../libs/Linux_${TARGET_ARCH}" \
|
||||
flirc_util
|
||||
}
|
||||
|
||||
addon() {
|
||||
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/{bin,lib}
|
||||
cp -P ${PKG_BUILD}/build/flirc_util ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/
|
||||
cp -P $(get_install_dir hidapi)/usr/lib/libhidapi-hidraw.so* ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
||||
}
|
8
packages/addons/tools/flirc_util/source/default.py
Normal file
8
packages/addons/tools/flirc_util/source/default.py
Normal file
@ -0,0 +1,8 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
import xbmcgui
|
||||
import subprocess
|
||||
|
||||
xbmcgui.Dialog().ok('', 'This is a console-only addon')
|
||||
|
@ -1,3 +1,9 @@
|
||||
2
|
||||
- libmediainfo: update to 23.07
|
||||
- libzen: update to 0.4.41
|
||||
- mediainfo: update to 23.07
|
||||
- mpv-drmprime: update to 0.36.0
|
||||
|
||||
1
|
||||
- mpg123: update to 1.31.3
|
||||
- mpv-drmprime: update to 0.35.1
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PKG_NAME="multimedia-tools"
|
||||
PKG_VERSION="1.0"
|
||||
PKG_REV="1"
|
||||
PKG_REV="2"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://libreelec.tv"
|
||||
|
@ -1,3 +1,11 @@
|
||||
4
|
||||
- bottom: update to 0.9.4
|
||||
- libmtp: update to 1.1.21
|
||||
- mc: update to 4.8.30
|
||||
- screen: update to 4.9.1
|
||||
- smartmontools: update to 7.4
|
||||
- stress-ng: update to 0.16.04
|
||||
|
||||
3
|
||||
- file: update to 5.45
|
||||
- libssh2: dont build shared library
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PKG_NAME="system-tools"
|
||||
PKG_VERSION="1.0"
|
||||
PKG_REV="3"
|
||||
PKG_REV="4"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://libreelec.tv"
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="bcm2835-driver"
|
||||
PKG_VERSION="543692d23dff7075915bc9c7e34abb3fe28e1c46"
|
||||
PKG_SHA256="838aa79b842fc10030c6a8b8d7f8dc6b6b08ed7ac762a5488d3d64f1bc51a4ec"
|
||||
PKG_VERSION="fdb9eafae4b83e553593937eae8e77b0193903c3"
|
||||
PKG_SHA256="ae590baa29a507fa50b5beae46643519a2d2e012945668cfc7393f9275793c78"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://www.broadcom.com"
|
||||
PKG_URL="${DISTRO_SRC}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="mesa"
|
||||
PKG_VERSION="23.1.7"
|
||||
PKG_SHA256="409641eadf0ed1c7794797a6f5a0b0195b5580b282166e5ec5629c6bcda6acd3"
|
||||
PKG_VERSION="23.2.1"
|
||||
PKG_SHA256="64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.mesa3d.org/"
|
||||
PKG_URL="https://mesa.freedesktop.org/archive/mesa-${PKG_VERSION}.tar.xz"
|
||||
@ -31,6 +31,12 @@ PKG_MESON_OPTS_TARGET="-Dgallium-drivers=${GALLIUM_DRIVERS// /,} \
|
||||
-Dselinux=false \
|
||||
-Dosmesa=false"
|
||||
|
||||
if [ "${DEVICE}" = "RPi5" ]; then
|
||||
PKG_MESON_OPTS_TARGET+=" -Ddraw-use-llvm=false"
|
||||
else
|
||||
PKG_MESON_OPTS_TARGET+=" -Ddri-drivers="
|
||||
fi
|
||||
|
||||
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||
PKG_DEPENDS_TARGET+=" xorgproto libXext libXdamage libXfixes libXxf86vm libxcb libX11 libxshmfence libXrandr"
|
||||
export X11_INCLUDES=
|
||||
|
@ -23,8 +23,8 @@ case "${LINUX}" in
|
||||
PKG_PATCH_DIRS="default"
|
||||
;;
|
||||
raspberrypi)
|
||||
PKG_VERSION="431319d91b8584c9f28b195ab9a97d7e78905aeb" # 6.1.42
|
||||
PKG_SHA256="1608f0741e02416e9af9cd0232e21a60c33db94dd0681d8f26909c2a7216038c"
|
||||
PKG_VERSION="3fdb0eb8be5803a16fc308b8441cdcdeafbb944e" # 6.1.62
|
||||
PKG_SHA256="a44b7d642fc2d80a8cfd05d0b461ecbff019680932754b3f9190bb22be9b8fe2"
|
||||
PKG_URL="https://github.com/raspberrypi/linux/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_SOURCE_NAME="linux-${LINUX}-${PKG_VERSION}.tar.gz"
|
||||
;;
|
||||
@ -45,8 +45,8 @@ case "${LINUX}" in
|
||||
PKG_GIT_CLONE_BRANCH="sdm845-5.19.16"
|
||||
;;
|
||||
*)
|
||||
PKG_VERSION="6.1.42"
|
||||
PKG_SHA256="aaf8261b551c8b76b81eab8780b446e88cea4d551ae517ac3a9b2dbdbd381ed3"
|
||||
PKG_VERSION="6.1.58"
|
||||
PKG_SHA256="ce987ed3d2f640b3a2a62a0a8573d538a36dfd3cc31e2d7a239ce5a16c1c21ad"
|
||||
PKG_URL="https://www.kernel.org/pub/linux/kernel/v${PKG_VERSION/.*/}.x/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_PATCH_DIRS="default"
|
||||
;;
|
||||
|
@ -0,0 +1,57 @@
|
||||
From 5e4400b24fc1f8ad41bccb6a6bdb54b961526556 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Reichl <hias@horus.com>
|
||||
Date: Thu, 7 Sep 2023 20:33:25 +0200
|
||||
Subject: [PATCH] ASoC: hdmi-codec: Fix broken channel map reporting
|
||||
|
||||
Commit 4e0871333661 ("ASoC: hdmi-codec: fix channel info for
|
||||
compressed formats") accidentally changed hcp->chmap_idx from
|
||||
ca_id, the CEA channel allocation ID, to idx, the index to
|
||||
the table of channel mappings ordered by preference.
|
||||
|
||||
This resulted in wrong channel maps being reported to userspace,
|
||||
eg for 5.1 "FL,FR,LFE,FC" was reported instead of the expected
|
||||
"FL,FR,LFE,FC,RL,RR":
|
||||
|
||||
~ # speaker-test -c 6 -t sine
|
||||
...
|
||||
0 - Front Left
|
||||
3 - Front Center
|
||||
1 - Front Right
|
||||
2 - LFE
|
||||
4 - Unknown
|
||||
5 - Unknown
|
||||
|
||||
~ # amixer cget iface=PCM,name='Playback Channel Map' | grep ': values'
|
||||
: values=3,4,8,7,0,0,0,0
|
||||
|
||||
Switch this back to ca_id in case of PCM audio so the correct channel
|
||||
map is reported again and set it to HDMI_CODEC_CHMAP_IDX_UNKNOWN in
|
||||
case of non-PCM audio so the PCM channel map control returns "Unknown"
|
||||
channels (value 0).
|
||||
|
||||
Fixes: 4e0871333661 ("ASoC: hdmi-codec: fix channel info for compressed formats")
|
||||
Cc: stable@vger.kernel.org
|
||||
Signed-off-by: Matthias Reichl <hias@horus.com>
|
||||
---
|
||||
sound/soc/codecs/hdmi-codec.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
|
||||
index 13689e718d36f..09eef6042aad6 100644
|
||||
--- a/sound/soc/codecs/hdmi-codec.c
|
||||
+++ b/sound/soc/codecs/hdmi-codec.c
|
||||
@@ -531,7 +531,10 @@ static int hdmi_codec_fill_codec_params(struct snd_soc_dai *dai,
|
||||
hp->sample_rate = sample_rate;
|
||||
hp->channels = channels;
|
||||
|
||||
- hcp->chmap_idx = idx;
|
||||
+ if (pcm_audio)
|
||||
+ hcp->chmap_idx = ca_id;
|
||||
+ else
|
||||
+ hcp->chmap_idx = HDMI_CODEC_CHMAP_IDX_UNKNOWN;
|
||||
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
2.39.2
|
||||
|
@ -1,21 +0,0 @@
|
||||
diff -Naur linux-3.16.1/drivers/media/rc/imon.c linux-3.16.1.patch/drivers/media/rc/imon.c
|
||||
--- linux-3.16.1/drivers/media/rc/imon.c 2014-08-14 04:36:35.000000000 +0200
|
||||
+++ linux-3.16.1.patch/drivers/media/rc/imon.c 2014-08-15 13:57:16.587620642 +0200
|
||||
@@ -1344,6 +1344,17 @@
|
||||
}
|
||||
} else {
|
||||
/*
|
||||
+ * For users without stabilized, just ignore any value getting
|
||||
+ * to close to the diagonal.
|
||||
+ */
|
||||
+ if ((abs(rel_y) < 2 && abs(rel_x) < 2) ||
|
||||
+ abs(abs(rel_y) - abs(rel_x)) < 2 ) {
|
||||
+ spin_lock_irqsave(&ictx->kc_lock, flags);
|
||||
+ ictx->kc = KEY_UNKNOWN;
|
||||
+ spin_unlock_irqrestore(&ictx->kc_lock, flags);
|
||||
+ return;
|
||||
+ }
|
||||
+ /*
|
||||
* Hack alert: instead of using keycodes, we have
|
||||
* to use hard-coded scancodes here...
|
||||
*/
|
@ -1,25 +0,0 @@
|
||||
From c314d9af9d774c052bea324e1a140ccdba0ca070 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Saraev <stefan@saraev.ca>
|
||||
Date: Tue, 8 Apr 2014 14:02:53 +0300
|
||||
Subject: [PATCH] pm: disable async suspend/resume by default
|
||||
|
||||
---
|
||||
kernel/power/main.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/kernel/power/main.c b/kernel/power/main.c
|
||||
index 1d1bf63..361db93 100644
|
||||
--- a/kernel/power/main.c
|
||||
+++ b/kernel/power/main.c
|
||||
@@ -46,7 +46,7 @@ int pm_notifier_call_chain(unsigned long val)
|
||||
}
|
||||
|
||||
/* If set, devices may be suspended and resumed asynchronously. */
|
||||
-int pm_async_enabled = 1;
|
||||
+int pm_async_enabled = 0;
|
||||
|
||||
static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr,
|
||||
char *buf)
|
||||
--
|
||||
1.7.2.5
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="LibreELEC-settings"
|
||||
PKG_VERSION="9a334c0857fe5ccf84af272f42dc6f6cd5c72e4b"
|
||||
PKG_SHA256="71be076033ae4bcb9012a12c2fc47b0805b0e40db2e812e19613643bbcba978c"
|
||||
PKG_VERSION="b920d5d83a8a7445d121d2f920169444111bf93c"
|
||||
PKG_SHA256="d8147068b6172250d98d41fafd7d6dbaa286074932b537214bf0dab95fe9e99a"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://libreelec.tv"
|
||||
PKG_URL="https://github.com/LibreELEC/service.libreelec.settings/archive/${PKG_VERSION}.tar.gz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="inputstream.adaptive"
|
||||
PKG_VERSION="20.3.11-Nexus"
|
||||
PKG_SHA256="ed266d2a51efcd0952cfacc8549350282dce07f7c0e885eeb41d662f123e12a6"
|
||||
PKG_VERSION="20.3.14-Nexus"
|
||||
PKG_SHA256="59573a0d97bb665e0ada35b44f77e9bf9232adc669d0d44beccf727145d36aff"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="peripheral.joystick"
|
||||
PKG_VERSION="20.1.10-Nexus"
|
||||
PKG_SHA256="b72277358df77ed79a0e7f3ae7e9799d02692fb30408cf6e5325ce7e5a34f597"
|
||||
PKG_VERSION="20.1.13-Nexus"
|
||||
PKG_SHA256="9fabd0cbb54f6f4acfa16a5fa2c13e37d121bb0774e0b62ad3604a72c99b95e5"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pvr.hts"
|
||||
PKG_VERSION="20.6.2-Nexus"
|
||||
PKG_SHA256="e77bd87f1f4d1abc06e32d0347a0bb635bc129bec43a07864cb8a9e6b0e4d374"
|
||||
PKG_VERSION="20.6.5-Nexus"
|
||||
PKG_SHA256="bd58fc85543447f918ee567192c87a3beb3f6e2c3fc116abe1f584514d202ada"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pvr.iptvsimple"
|
||||
PKG_VERSION="20.11.0-Nexus"
|
||||
PKG_SHA256="c2014b11dd928a1d4789279d7f3ce25af8af4047194e8406f9dfd99d16fe2ee2"
|
||||
PKG_VERSION="20.13.0-Nexus"
|
||||
PKG_SHA256="9edf800d7d5e755c92e9e8f6d3771a74cf3fec23b3aaec5b8535f1a579941a5b"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -3,9 +3,9 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pvr.mythtv"
|
||||
PKG_VERSION="20.3.2-Nexus"
|
||||
PKG_SHA256="b1ad428bec882d3e852240cbef2378803635b530545a08421ff3baf0611a29e7"
|
||||
PKG_REV="2"
|
||||
PKG_VERSION="20.5.6-Nexus"
|
||||
PKG_SHA256="321559f9f46a2588bdcfe9be6d6e7439911e548a92e7820dedde6cabccbe72fd"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/janbar/pvr.mythtv"
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pvr.nextpvr"
|
||||
PKG_VERSION="20.4.2-Nexus"
|
||||
PKG_SHA256="1ce85447426ddf6d443a5e3444145a2d3af65ce73d9fb583e42cd8afc9d599a5"
|
||||
PKG_VERSION="20.4.3-Nexus"
|
||||
PKG_SHA256="752dff532a277797f3fefc1ced7fea6efb8d92982d9040c4080c1e6dbab203a0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -2,9 +2,9 @@
|
||||
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pvr.plutotv"
|
||||
PKG_VERSION="20.3.0-Nexus"
|
||||
PKG_SHA256="d38a6bf4debc442849d01faedadcccb1b07debe850cd3c9a5789508233d22256"
|
||||
PKG_REV="5"
|
||||
PKG_VERSION="20.3.1a-Nexus"
|
||||
PKG_SHA256="11505556200029a48a293e97f94e0469a5f78580d0e56d5d0a1da05d61f0f5b5"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/kodi-pvr/pvr.plutotv"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pvr.waipu"
|
||||
PKG_VERSION="20.9.0-Nexus"
|
||||
PKG_SHA256="3a0a1dffe1bb8711dd6747b02a51aee6a0bce40ca6822cc2ab7f04b4b5acb82f"
|
||||
PKG_VERSION="20.10.2-Nexus"
|
||||
PKG_SHA256="2326c3ed0e57ef8020c1041ea6f25fa325c619588c24c71b5963d8dda1c97604"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Ignore power button input devices in libinput so logind can handle them
|
||||
ACTION=="remove", GOTO="end"
|
||||
SUBSYSTEM!="input", GOTO="end"
|
||||
KERNEL!="event*", GOTO="end"
|
||||
|
||||
IMPORT{parent}="KEY"
|
||||
|
||||
# match devices that only generate KEY_POWER (code 116) events
|
||||
ENV{KEY}=="10000000000000 0", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
|
||||
# 32bit systems report the bitmap in 32bit chunks
|
||||
ENV{KEY}=="100000 0 0 0", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
|
||||
LABEL="end"
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="kodi"
|
||||
PKG_VERSION="20.2-Nexus"
|
||||
PKG_SHA256="4e81abf81172812bc8891f69a7a80a2b846298cecaae7b5009725e28a3040c23"
|
||||
PKG_VERSION="618d1e35d89f1c49c2a37f5d233319f3f3bbe01b"
|
||||
PKG_SHA256="2831ca6c004dde11105c14337b58e89b24cd735596510f1ab85d15f6234a835c"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.kodi.tv"
|
||||
PKG_URL="https://github.com/xbmc/xbmc/archive/${PKG_VERSION}.tar.gz"
|
||||
@ -408,6 +408,12 @@ post_makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/cache/libreelec
|
||||
cp ${PKG_DIR}/config/network_wait ${INSTALL}/usr/cache/libreelec
|
||||
|
||||
# GBM: install udev rule to ignore the power button in libinput/kodi so logind can handle it
|
||||
if [ "${DISPLAYSERVER}" = "no" ]; then
|
||||
mkdir -p ${INSTALL}/usr/lib/udev/rules.d/
|
||||
cp ${PKG_DIR}/config/70-libinput-ignore-power-button.rules ${INSTALL}/usr/lib/udev/rules.d/
|
||||
fi
|
||||
|
||||
# update addon manifest
|
||||
ADDON_MANIFEST=${INSTALL}/usr/share/kodi/system/addon-manifest.xml
|
||||
xmlstarlet ed -L -d "/addons/addon[text()='service.xbmc.versioncheck']" ${ADDON_MANIFEST}
|
||||
|
@ -0,0 +1,26 @@
|
||||
From 5604be6a6701e0bd68cb36fadb05cecba57f7887 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Reichl <hias@horus.com>
|
||||
Date: Fri, 22 Sep 2023 23:41:51 +0200
|
||||
Subject: [PATCH] keymaps: change remote poweroff action to show shutdown menu
|
||||
|
||||
Signed-off-by: Matthias Reichl <hias@horus.com>
|
||||
---
|
||||
system/keymaps/remote.xml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/system/keymaps/remote.xml b/system/keymaps/remote.xml
|
||||
index c122b99188..baebf679c0 100644
|
||||
--- a/system/keymaps/remote.xml
|
||||
+++ b/system/keymaps/remote.xml
|
||||
@@ -50,7 +50,7 @@
|
||||
<volumeplus>VolumeUp</volumeplus>
|
||||
<volumeminus>VolumeDown</volumeminus>
|
||||
<mute>Mute</mute>
|
||||
- <power>ShutDown()</power>
|
||||
+ <power>ActivateWindow(ShutdownMenu)</power>
|
||||
<myvideo>ActivateWindow(Videos)</myvideo>
|
||||
<mymusic>ActivateWindow(Music)</mymusic>
|
||||
<mypictures>ActivateWindow(Pictures)</mypictures>
|
||||
--
|
||||
2.39.2
|
||||
|
@ -64,6 +64,12 @@ if [ "${V4L2_SUPPORT}" = "yes" -a ! "${DEVICE}" = "Switch" ]; then
|
||||
|
||||
if [ "${PROJECT}" = "Allwinner" -o "${PROJECT}" = "Rockchip" -o "${DEVICE}" = "iMX8" -o "${DEVICE}" = "RPi4" ]; then
|
||||
PKG_V4L2_REQUEST="yes"
|
||||
elif [ "${PROJECT}" = "RPi" ] && [ "${DEVICE}" = "RPi4" -o "${DEVICE}" = "RPi5" ]; then
|
||||
PKG_V4L2_REQUEST="yes"
|
||||
PKG_FFMPEG_HWACCEL="--disable-hwaccel=h264_v4l2request \
|
||||
--disable-hwaccel=mpeg2_v4l2request \
|
||||
--disable-hwaccel=vp8_v4l2request \
|
||||
--disable-hwaccel=vp9_v4l2request"
|
||||
else
|
||||
PKG_V4L2_REQUEST="no"
|
||||
fi
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="samba"
|
||||
PKG_VERSION="4.17.10"
|
||||
PKG_SHA256="00dbb0aac9f4cfee800f708f4e9098964a43a7646e618230706d532c9bb6c350"
|
||||
PKG_VERSION="4.17.12"
|
||||
PKG_SHA256="6129a7f967b822b308c57152326e7302711c2d0b9830a82d0c21832b648741f4"
|
||||
PKG_LICENSE="GPLv3+"
|
||||
PKG_SITE="https://www.samba.org"
|
||||
PKG_URL="https://download.samba.org/pub/samba/stable/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
@ -173,7 +173,6 @@ post_makeinstall_target() {
|
||||
|
||||
mkdir -p ${INSTALL}/usr/lib/samba
|
||||
cp ${PKG_DIR}/scripts/samba-config ${INSTALL}/usr/lib/samba
|
||||
cp ${PKG_DIR}/scripts/smbd-config ${INSTALL}/usr/lib/samba
|
||||
cp ${PKG_DIR}/scripts/samba-autoshare ${INSTALL}/usr/lib/samba
|
||||
|
||||
if find_file_path config/smb.conf; then
|
||||
|
@ -2,40 +2,120 @@
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2017 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
SMB_USERCONF="/storage/.config/samba.conf"
|
||||
SMB_DEFCONF="/etc/samba/smb.conf"
|
||||
SMB_CONF="/run/samba/smb.conf"
|
||||
|
||||
SMB_DIR=$(dirname ${SMB_CONF})
|
||||
mkdir -p ${SMB_DIR}
|
||||
|
||||
# exclusive access
|
||||
SMB_LOCK="${SMB_DIR}/samba-config.lock"
|
||||
exec 200>"${SMB_LOCK}"
|
||||
flock 200
|
||||
|
||||
SMB_TMP=$(mktemp -p ${SMB_DIR})
|
||||
|
||||
SMB_USERCONF_IS_VALID=no
|
||||
SMB_CONFIG_VERSION=4
|
||||
|
||||
# If user config is based on legacy OpenELEC, or old version (or no version)
|
||||
# then don't use it, and log a warning.
|
||||
if [ -f $SMB_USERCONF ]; then
|
||||
SMB_IS_LEGACY="$(awk 'NR <= 2 && /This file is part of OpenELEC/{ print }' $SMB_USERCONF)"
|
||||
SMB_THIS_VER="$(awk '/^# samba.conf v[0-9\.]*/{ print substr($3,2); exit }' $SMB_USERCONF)"
|
||||
if [ -f ${SMB_USERCONF} ]; then
|
||||
SMB_IS_LEGACY="$(awk 'NR <= 2 && /This file is part of OpenELEC/{ print }' ${SMB_USERCONF})"
|
||||
SMB_THIS_VER="$(awk '/^# samba.conf v[0-9\.]*/{ print substr($3,2); exit }' ${SMB_USERCONF})"
|
||||
if [ -n "${SMB_IS_LEGACY}" ]; then
|
||||
echo "WARNING: Ignoring user config $SMB_USERCONF due to incompatibility [Old style OpenELEC]"
|
||||
echo "WARNING: Ignoring user config ${SMB_USERCONF} due to incompatibility [Old style OpenELEC]"
|
||||
elif [ -z "${SMB_THIS_VER}" ]; then
|
||||
echo "WARNING: Ignoring user config $SMB_USERCONF due to incompatibility [version is unknown or invalid]"
|
||||
echo "WARNING: Ignoring user config ${SMB_USERCONF} due to incompatibility [version is unknown or invalid]"
|
||||
elif [ ${SMB_THIS_VER} != ${SMB_CONFIG_VERSION} ]; then
|
||||
echo "WARNING: Ignoring user config $SMB_USERCONF due to incompatibility [version ${SMB_THIS_VER} is not the required version $SMB_CONFIG_VERSION]"
|
||||
echo "WARNING: Ignoring user config ${SMB_USERCONF} due to incompatibility [version ${SMB_THIS_VER} is not the required version ${SMB_CONFIG_VERSION}]"
|
||||
else
|
||||
SMB_USERCONF_IS_VALID=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir -p $(dirname $SMB_CONF)
|
||||
if [ $SMB_USERCONF_IS_VALID = yes ]; then
|
||||
cp $SMB_USERCONF $SMB_CONF
|
||||
else
|
||||
cp $SMB_DEFCONF $SMB_CONF
|
||||
fi
|
||||
|
||||
# Generate smb.conf, unless disabled
|
||||
if [ ! -f /storage/.cache/services/samba.disabled ]; then
|
||||
/usr/lib/samba/smbd-config
|
||||
if [ ${SMB_USERCONF_IS_VALID} = yes ]; then
|
||||
cp ${SMB_USERCONF} ${SMB_TMP}
|
||||
else
|
||||
cp ${SMB_DEFCONF} ${SMB_TMP}
|
||||
fi
|
||||
|
||||
echo >>${SMB_TMP}
|
||||
|
||||
if [ ! -f /storage/.cache/services/samba.disabled ]; then
|
||||
|
||||
### Generate smb.conf
|
||||
|
||||
if [ ! -f /storage/.cache/services/samba.conf ]; then
|
||||
cp /usr/share/services/samba.conf /storage/.cache/services
|
||||
fi
|
||||
|
||||
# Specify defaults here, in case these new properties not yet added in .cache
|
||||
SAMBA_WORKGROUP=WORKGROUP
|
||||
SAMBA_MINPROTOCOL=SMB2
|
||||
SAMBA_MAXPROTOCOL=SMB3
|
||||
|
||||
. /storage/.cache/services/samba.conf
|
||||
|
||||
# fixup synonyms
|
||||
sed -i 's/browsable/browseable/g; s/writable/writeable/g' ${SMB_TMP}
|
||||
|
||||
# handle external drives
|
||||
if [ "${SAMBA_AUTOSHARE}" = "true" ] ; then
|
||||
for dir in /media/* ; do
|
||||
if [ -d "$dir" ] ; then
|
||||
name=$(basename "$dir")
|
||||
echo -e "[$name]\n path = $dir\n available = yes\n browseable = yes\n public = yes\n writeable = yes\n" >> ${SMB_TMP}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# Allow access to a "failed" (safe mode) Kodi installation
|
||||
if [ -d /storage/.kodi.FAILED ]; then
|
||||
echo -e "[Kodi-Failed]\n path = /storage/.kodi.FAILED\n available = yes\n browseable = yes\n public = yes\n writeable = yes\n" >> ${SMB_TMP}
|
||||
fi
|
||||
|
||||
ADD_CONFIG=
|
||||
|
||||
# If workgroup is not set, don't set it - who knows, user may know better.
|
||||
if [ -n "$SAMBA_WORKGROUP" ]; then
|
||||
# Remove any existing workgroup setting
|
||||
sed -E '/^[[:space:]]*workgroup[[:space:]]*=/d' -i ${SMB_TMP}
|
||||
ADD_CONFIG="${ADD_CONFIG} workgroup = ${SAMBA_WORKGROUP:-WORKGROUP}\n"
|
||||
fi
|
||||
|
||||
ADD_CONFIG="${ADD_CONFIG} server min protocol = ${SAMBA_MINPROTOCOL/SMB1/NT1}\n"
|
||||
ADD_CONFIG="${ADD_CONFIG} server max protocol = ${SAMBA_MAXPROTOCOL/SMB1/NT1}\n"
|
||||
|
||||
# Add extra config after [global], escaping spaces so that all are retained by sed
|
||||
sed -e "/\[global\]/ a ${ADD_CONFIG// /\\ }" -i ${SMB_TMP}
|
||||
|
||||
if [ "${SAMBA_SECURE}" = "true" -a -n "${SAMBA_USERNAME}" -a -n "${SAMBA_PASSWORD}" ] ; then
|
||||
# username map: first line makes sure plain root does not work all the time
|
||||
# processing continues, so if user chooses root as username, second line overrides the first
|
||||
# this is done always in case user uses passwords in userconf.
|
||||
# many thanks to viljoviitanen for this
|
||||
sed -e 's|^.[ \t]*.public.=.*| public = no |' \
|
||||
-e 's|^.[ \t]*.username map.=.*||' \
|
||||
-e 's|^.[ \t]*.security.=.*| security = user\n username map = /run/samba/samba.map|' \
|
||||
-e 's|^.[ \t]*.map.to.guest.=.*| map to guest = Never|' \
|
||||
-i ${SMB_TMP}
|
||||
|
||||
printf "%s\n%s" "${SAMBA_PASSWORD}" "${SAMBA_PASSWORD}" | smbpasswd -c ${SMB_TMP} -s -a root
|
||||
printf 'nobody = root\nroot = "%s"\n' "${SAMBA_USERNAME}" > /run/samba/samba.map
|
||||
|
||||
else
|
||||
sed -e 's|^.[ \t]*.public.=.*| public = yes |' \
|
||||
-e 's|^.[ \t]*.username map.=.*||' \
|
||||
-e 's|^.[ \t]*.security.=.*| security = user|' \
|
||||
-e 's|^.[ \t]*.map.to.guest.=.*| map to guest = Bad User|' \
|
||||
-i ${SMB_TMP}
|
||||
fi
|
||||
fi
|
||||
|
||||
mv -f ${SMB_TMP} ${SMB_CONF}
|
||||
|
||||
exit 0
|
||||
|
@ -1,77 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2017 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
SMB_CONF="/run/samba/smb.conf"
|
||||
SMB_TMP="$(mktemp -p /run/samba)"
|
||||
|
||||
cp -f $SMB_CONF $SMB_TMP
|
||||
|
||||
if [ ! -f /storage/.cache/services/samba.conf ]; then
|
||||
cp /usr/share/services/samba.conf /storage/.cache/services
|
||||
fi
|
||||
|
||||
# Specify defaults here, in case these new properties not yet added in .cache
|
||||
SAMBA_WORKGROUP=WORKGROUP
|
||||
SAMBA_MINPROTOCOL=SMB2
|
||||
SAMBA_MAXPROTOCOL=SMB3
|
||||
|
||||
. /storage/.cache/services/samba.conf
|
||||
|
||||
# fixup synonyms
|
||||
sed -i 's/browsable/browseable/g; s/writable/writeable/g' $SMB_TMP
|
||||
|
||||
# handle external drives
|
||||
if [ "$SAMBA_AUTOSHARE" == "true" ] ; then
|
||||
for dir in /media/* ; do
|
||||
if [ -d "$dir" ] ; then
|
||||
name=$(basename "$dir")
|
||||
echo -e "[$name]\n path = $dir\n available = yes\n browseable = yes\n public = yes\n writeable = yes\n" >> $SMB_TMP
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# Allow access to a "failed" (safe mode) Kodi installation
|
||||
if [ -d /storage/.kodi.FAILED ]; then
|
||||
echo -e "[Kodi-Failed]\n path = /storage/.kodi.FAILED\n available = yes\n browseable = yes\n public = yes\n writeable = yes\n" >> $SMB_TMP
|
||||
fi
|
||||
|
||||
ADD_CONFIG=
|
||||
|
||||
# If workgroup is not set, don't set it - who knows, user may know better.
|
||||
if [ -n "$SAMBA_WORKGROUP" ]; then
|
||||
# Remove any existing workgroup setting
|
||||
sed -E '/^[[:space:]]*workgroup[[:space:]]*=/d' -i $SMB_TMP
|
||||
ADD_CONFIG="${ADD_CONFIG} workgroup = ${SAMBA_WORKGROUP:-WORKGROUP}\n"
|
||||
fi
|
||||
|
||||
ADD_CONFIG="${ADD_CONFIG} server min protocol = ${SAMBA_MINPROTOCOL/SMB1/NT1}\n"
|
||||
ADD_CONFIG="${ADD_CONFIG} server max protocol = ${SAMBA_MAXPROTOCOL/SMB1/NT1}\n"
|
||||
|
||||
# Add extra config after [global], escaping spaces so that all are retained by sed
|
||||
sed -e "/\[global\]/ a ${ADD_CONFIG// /\\ }" -i $SMB_TMP
|
||||
|
||||
if [ "$SAMBA_SECURE" == "true" -a ! "$SAMBA_USERNAME" == "" -a ! "$SAMBA_PASSWORD" == "" ] ; then
|
||||
# username map: first line makes sure plain root does not work all the time
|
||||
# processing continues, so if user chooses root as username, second line overrides the first
|
||||
# this is done always in case user uses passwords in userconf.
|
||||
# many thanks to viljoviitanen for this
|
||||
printf "%s\n%s" "$SAMBA_PASSWORD" "$SAMBA_PASSWORD" | smbpasswd -s -a root >/dev/null 2>&1
|
||||
printf "nobody = root\nroot = %s" "$SAMBA_USERNAME" > /run/samba/samba.map
|
||||
|
||||
sed -e 's|^.[ \t]*.public.=.*| public = no |' \
|
||||
-e 's|^.[ \t]*.username map.=.*||' \
|
||||
-e 's|^.[ \t]*.security.=.*| security = user\n username map = /run/samba/samba.map|' \
|
||||
-e 's|^.[ \t]*.map.to.guest.=.*| map to guest = Never|' \
|
||||
-i $SMB_TMP
|
||||
else
|
||||
sed -e 's|^.[ \t]*.public.=.*| public = yes |' \
|
||||
-e 's|^.[ \t]*.username map.=.*||' \
|
||||
-e 's|^.[ \t]*.security.=.*| security = user|' \
|
||||
-e 's|^.[ \t]*.map.to.guest.=.*| map to guest = Bad User|' \
|
||||
-i $SMB_TMP
|
||||
fi
|
||||
|
||||
mv -f $SMB_TMP $SMB_CONF
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="wireless-regdb"
|
||||
PKG_VERSION="2023.05.03"
|
||||
PKG_SHA256="f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12"
|
||||
PKG_VERSION="2023.09.01"
|
||||
PKG_SHA256="26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
|
||||
PKG_URL="https://www.kernel.org/pub/software/network/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
|
@ -1,7 +1,7 @@
|
||||
##
|
||||
## Bundle of CA Root Certificates
|
||||
##
|
||||
## Certificate data from Mozilla as of: Fri Jul 21 14:36:19 2023 GMT
|
||||
## Certificate data from Mozilla as of: Sat Nov 18 22:59:13 2023 GMT
|
||||
##
|
||||
## This is a bundle of X.509 certificates of public Certificate Authorities
|
||||
## (CA). These were automatically extracted from Mozilla's root certificates
|
||||
@ -14,7 +14,7 @@
|
||||
## Just configure this file as the SSLCACertificateFile.
|
||||
##
|
||||
## Conversion done with mk-ca-bundle.pl version 1.29.
|
||||
## SHA256: 0ff137babc6a5561a9cfbe9f29558972e5b528202681b7d3803d03a3e82922bd
|
||||
## SHA256: 1970dd65858925d68498d2356aea6d03f764422523c5887deca8ce3ba9e1f845
|
||||
##
|
||||
|
||||
|
||||
@ -200,27 +200,6 @@ vGJHvOB0K7Lrfb5BG7XARsWhIstfTsEokt4YutUqKLsRixeTmJlglFwjz1onl14LBQaTNx47aTbr
|
||||
qZ5hHY8y2o4M1nQ+ewkk2gF3R8Q7zTSMmfXK4SVhM7JZG+Ju1zdXtg2pEto=
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
Security Communication Root CA
|
||||
==============================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDWjCCAkKgAwIBAgIBADANBgkqhkiG9w0BAQUFADBQMQswCQYDVQQGEwJKUDEYMBYGA1UEChMP
|
||||
U0VDT00gVHJ1c3QubmV0MScwJQYDVQQLEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTEw
|
||||
HhcNMDMwOTMwMDQyMDQ5WhcNMjMwOTMwMDQyMDQ5WjBQMQswCQYDVQQGEwJKUDEYMBYGA1UEChMP
|
||||
U0VDT00gVHJ1c3QubmV0MScwJQYDVQQLEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTEw
|
||||
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCzs/5/022x7xZ8V6UMbXaKL0u/ZPtM7orw
|
||||
8yl89f/uKuDp6bpbZCKamm8sOiZpUQWZJtzVHGpxxpp9Hp3dfGzGjGdnSj74cbAZJ6kJDKaVv0uM
|
||||
DPpVmDvY6CKhS3E4eayXkmmziX7qIWgGmBSWh9JhNrxtJ1aeV+7AwFb9Ms+k2Y7CI9eNqPPYJayX
|
||||
5HA49LY6tJ07lyZDo6G8SVlyTCMwhwFY9k6+HGhWZq/NQV3Is00qVUarH9oe4kA92819uZKAnDfd
|
||||
DJZkndwi92SL32HeFZRSFaB9UslLqCHJxrHty8OVYNEP8Ktw+N/LTX7s1vqr2b1/VPKl6Xn62dZ2
|
||||
JChzAgMBAAGjPzA9MB0GA1UdDgQWBBSgc0mZaNyFW2XjmygvV5+9M7wHSDALBgNVHQ8EBAMCAQYw
|
||||
DwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAaECpqLvkT115swW1F7NgE+vGkl3g
|
||||
0dNq/vu+m22/xwVtWSDEHPC32oRYAmP6SBbvT6UL90qY8j+eG61Ha2POCEfrUj94nK9NrvjVT8+a
|
||||
mCoQQTlSxN3Zmw7vkwGusi7KaEIkQmywszo+zenaSMQVy+n5Bw+SUEmK3TGXX8npN6o7WWWXlDLJ
|
||||
s58+OmJYxUmtYg5xpTKqL8aJdkNAExNnPaJUJRDL8Try2frbSVa7pv6nQTXD4IhhyYjH3zYQIphZ
|
||||
6rBK+1YWc26sTfcioU+tHXotRSflMMFe8toTyyVCUZVHA4xsIcx0Qu1T/zOLjw9XARYvz6buyXAi
|
||||
FL39vmwLAw==
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
XRamp Global CA Root
|
||||
====================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
@ -669,39 +648,6 @@ YIvDQVETI53O9zJrlAGomecsMx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7r
|
||||
kpeDMdmztcpHWD9f
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
Autoridad de Certificacion Firmaprofesional CIF A62634068
|
||||
=========================================================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIGFDCCA/ygAwIBAgIIU+w77vuySF8wDQYJKoZIhvcNAQEFBQAwUTELMAkGA1UEBhMCRVMxQjBA
|
||||
BgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2
|
||||
MjYzNDA2ODAeFw0wOTA1MjAwODM4MTVaFw0zMDEyMzEwODM4MTVaMFExCzAJBgNVBAYTAkVTMUIw
|
||||
QAYDVQQDDDlBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBB
|
||||
NjI2MzQwNjgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDD
|
||||
Utd9thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQMcas9UX4P
|
||||
B99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefGL9ItWY16Ck6WaVICqjaY
|
||||
7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15iNA9wBj4gGFrO93IbJWyTdBSTo3OxDqqH
|
||||
ECNZXyAFGUftaI6SEspd/NYrspI8IM/hX68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyI
|
||||
plD9amML9ZMWGxmPsu2bm8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctX
|
||||
MbScyJCyZ/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirjaEbsX
|
||||
LZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJBCtLxTa/y2aRnFHvkLfuwHb9H/TKI8xWVvTyQKmtFLK
|
||||
bpf7Q8UIJm+K9Lv9nyiqDdVF8xM6HdjAeI9BZzwelGSuewvF6NkBiDkal4ZkQdU7hwxu+g/GvUgU
|
||||
vzlN1J5Bto+WHWOWk9mVBngxaJ43BjuAiUVhOSPHG0SjFeUc+JIwuwIDAQABo4HvMIHsMBIGA1Ud
|
||||
EwEB/wQIMAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRlzeurNR4APn7VdMActHNH
|
||||
DhpkLzCBpgYDVR0gBIGeMIGbMIGYBgRVHSAAMIGPMC8GCCsGAQUFBwIBFiNodHRwOi8vd3d3LmZp
|
||||
cm1hcHJvZmVzaW9uYWwuY29tL2NwczBcBggrBgEFBQcCAjBQHk4AUABhAHMAZQBvACAAZABlACAA
|
||||
bABhACAAQgBvAG4AYQBuAG8AdgBhACAANAA3ACAAQgBhAHIAYwBlAGwAbwBuAGEAIAAwADgAMAAx
|
||||
ADcwDQYJKoZIhvcNAQEFBQADggIBABd9oPm03cXF661LJLWhAqvdpYhKsg9VSytXjDvlMd3+xDLx
|
||||
51tkljYyGOylMnfX40S2wBEqgLk9am58m9Ot/MPWo+ZkKXzR4Tgegiv/J2Wv+xYVxC5xhOW1//qk
|
||||
R71kMrv2JYSiJ0L1ILDCExARzRAVukKQKtJE4ZYm6zFIEv0q2skGz3QeqUvVhyj5eTSSPi5E6PaP
|
||||
T481PyWzOdxjKpBrIF/EUhJOlywqrJ2X3kjyo2bbwtKDlaZmp54lD+kLM5FlClrD2VQS3a/DTg4f
|
||||
Jl4N3LON7NWBcN7STyQF82xO9UxJZo3R/9ILJUFI/lGExkKvgATP0H5kSeTy36LssUzAKh3ntLFl
|
||||
osS88Zj0qnAHY7S42jtM+kAiMFsRpvAFDsYCA0irhpuF3dvd6qJ2gHN99ZwExEWN57kci57q13XR
|
||||
crHedUTnQn3iV2t93Jm8PYMo6oCTjcVMZcFwgbg4/EMxsvYDNEeyrPsiBsse3RdHHF9mudMaotoR
|
||||
saS8I8nkvof/uZS2+F0gStRf571oe2XyFR7SOqkt6dhrJKyXWERHrVkY8SFlcN7ONGCoQPHzPKTD
|
||||
KCOM/iczQ0CgFzzr6juwcqajuUpLXhZI9LK8yIySxZ2frHI2vDSANGupi5LAuBft7HZT9SQBjLMi
|
||||
6Et8Vcad+qMUu2WFbm5PEn4KPJ2V
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
Izenpe.com
|
||||
==========
|
||||
-----BEGIN CERTIFICATE-----
|
||||
@ -3449,3 +3395,140 @@ TFsR0PXNor6uzFFcw9VUewyu1rkGd4Di7wcaaMxZUa1+XGdrudviB0JbuAEFWDlN5LuYo7Ey7Nmj
|
||||
PqYO5Wue/9vsL3SD3460s6neFE3/MaNFcyT6lSnMEpcEoji2jbDwN/zIIX8/syQbPYtuzE2wFg2W
|
||||
HYMfRsCbvUOZ58SWLs5fyQ==
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
TrustAsia Global Root CA G3
|
||||
===========================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFpTCCA42gAwIBAgIUZPYOZXdhaqs7tOqFhLuxibhxkw8wDQYJKoZIhvcNAQEMBQAwWjELMAkG
|
||||
A1UEBhMCQ04xJTAjBgNVBAoMHFRydXN0QXNpYSBUZWNobm9sb2dpZXMsIEluYy4xJDAiBgNVBAMM
|
||||
G1RydXN0QXNpYSBHbG9iYWwgUm9vdCBDQSBHMzAeFw0yMTA1MjAwMjEwMTlaFw00NjA1MTkwMjEw
|
||||
MTlaMFoxCzAJBgNVBAYTAkNOMSUwIwYDVQQKDBxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMu
|
||||
MSQwIgYDVQQDDBtUcnVzdEFzaWEgR2xvYmFsIFJvb3QgQ0EgRzMwggIiMA0GCSqGSIb3DQEBAQUA
|
||||
A4ICDwAwggIKAoICAQDAMYJhkuSUGwoqZdC+BqmHO1ES6nBBruL7dOoKjbmzTNyPtxNST1QY4Sxz
|
||||
lZHFZjtqz6xjbYdT8PfxObegQ2OwxANdV6nnRM7EoYNl9lA+sX4WuDqKAtCWHwDNBSHvBm3dIZwZ
|
||||
Q0WhxeiAysKtQGIXBsaqvPPW5vxQfmZCHzyLpnl5hkA1nyDvP+uLRx+PjsXUjrYsyUQE49RDdT/V
|
||||
P68czH5GX6zfZBCK70bwkPAPLfSIC7Epqq+FqklYqL9joDiR5rPmd2jE+SoZhLsO4fWvieylL1Ag
|
||||
dB4SQXMeJNnKziyhWTXAyB1GJ2Faj/lN03J5Zh6fFZAhLf3ti1ZwA0pJPn9pMRJpxx5cynoTi+jm
|
||||
9WAPzJMshH/x/Gr8m0ed262IPfN2dTPXS6TIi/n1Q1hPy8gDVI+lhXgEGvNz8teHHUGf59gXzhqc
|
||||
D0r83ERoVGjiQTz+LISGNzzNPy+i2+f3VANfWdP3kXjHi3dqFuVJhZBFcnAvkV34PmVACxmZySYg
|
||||
WmjBNb9Pp1Hx2BErW+Canig7CjoKH8GB5S7wprlppYiU5msTf9FkPz2ccEblooV7WIQn3MSAPmea
|
||||
mseaMQ4w7OYXQJXZRe0Blqq/DPNL0WP3E1jAuPP6Z92bfW1K/zJMtSU7/xxnD4UiWQWRkUF3gdCF
|
||||
TIcQcf+eQxuulXUtgQIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFEDk5PIj
|
||||
7zjKsK5Xf/IhMBY027ySMB0GA1UdDgQWBBRA5OTyI+84yrCuV3/yITAWNNu8kjAOBgNVHQ8BAf8E
|
||||
BAMCAQYwDQYJKoZIhvcNAQEMBQADggIBACY7UeFNOPMyGLS0XuFlXsSUT9SnYaP4wM8zAQLpw6o1
|
||||
D/GUE3d3NZ4tVlFEbuHGLige/9rsR82XRBf34EzC4Xx8MnpmyFq2XFNFV1pF1AWZLy4jVe5jaN/T
|
||||
G3inEpQGAHUNcoTpLrxaatXeL1nHo+zSh2bbt1S1JKv0Q3jbSwTEb93mPmY+KfJLaHEih6D4sTNj
|
||||
duMNhXJEIlU/HHzp/LgV6FL6qj6jITk1dImmasI5+njPtqzn59ZW/yOSLlALqbUHM/Q4X6RJpstl
|
||||
cHboCoWASzY9M/eVVHUl2qzEc4Jl6VL1XP04lQJqaTDFHApXB64ipCz5xUG3uOyfT0gA+QEEVcys
|
||||
+TIxxHWVBqB/0Y0n3bOppHKH/lmLmnp0Ft0WpWIp6zqW3IunaFnT63eROfjXy9mPX1onAX1daBli
|
||||
2MjN9LdyR75bl87yraKZk62Uy5P2EgmVtqvXO9A/EcswFi55gORngS1d7XB4tmBZrOFdRWOPyN9y
|
||||
aFvqHbgB8X7754qz41SgOAngPN5C8sLtLpvzHzW2NtjjgKGLzZlkD8Kqq7HK9W+eQ42EVJmzbsAS
|
||||
ZthwEPEGNTNDqJwuuhQxzhB/HIbjj9LV+Hfsm6vxL2PZQl/gZ4FkkfGXL/xuJvYz+NO1+MRiqzFR
|
||||
JQJ6+N1rZdVtTTDIZbpoFGWsJwt0ivKH
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
TrustAsia Global Root CA G4
|
||||
===========================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICVTCCAdygAwIBAgIUTyNkuI6XY57GU4HBdk7LKnQV1tcwCgYIKoZIzj0EAwMwWjELMAkGA1UE
|
||||
BhMCQ04xJTAjBgNVBAoMHFRydXN0QXNpYSBUZWNobm9sb2dpZXMsIEluYy4xJDAiBgNVBAMMG1Ry
|
||||
dXN0QXNpYSBHbG9iYWwgUm9vdCBDQSBHNDAeFw0yMTA1MjAwMjEwMjJaFw00NjA1MTkwMjEwMjJa
|
||||
MFoxCzAJBgNVBAYTAkNOMSUwIwYDVQQKDBxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMuMSQw
|
||||
IgYDVQQDDBtUcnVzdEFzaWEgR2xvYmFsIFJvb3QgQ0EgRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNi
|
||||
AATxs8045CVD5d4ZCbuBeaIVXxVjAd7Cq92zphtnS4CDr5nLrBfbK5bKfFJV4hrhPVbwLxYI+hW8
|
||||
m7tH5j/uqOFMjPXTNvk4XatwmkcN4oFBButJ+bAp3TPsUKV/eSm4IJijYzBhMA8GA1UdEwEB/wQF
|
||||
MAMBAf8wHwYDVR0jBBgwFoAUpbtKl86zK3+kMd6Xg1mDpm9xy94wHQYDVR0OBBYEFKW7SpfOsyt/
|
||||
pDHel4NZg6ZvccveMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNnADBkAjBe8usGzEkxn0AA
|
||||
bbd+NvBNEU/zy4k6LHiRUKNbwMp1JvK/kF0LgoxgKJ/GcJpo5PECMFxYDlZ2z1jD1xCMuo6u47xk
|
||||
dUfFVZDj/bpV6wfEU6s3qe4hsiFbYI89MvHVI5TWWA==
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
CommScope Public Trust ECC Root-01
|
||||
==================================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICHTCCAaOgAwIBAgIUQ3CCd89NXTTxyq4yLzf39H91oJ4wCgYIKoZIzj0EAwMwTjELMAkGA1UE
|
||||
BhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwiQ29tbVNjb3BlIFB1YmxpYyBUcnVz
|
||||
dCBFQ0MgUm9vdC0wMTAeFw0yMTA0MjgxNzM1NDNaFw00NjA0MjgxNzM1NDJaME4xCzAJBgNVBAYT
|
||||
AlVTMRIwEAYDVQQKDAlDb21tU2NvcGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3Qg
|
||||
RUNDIFJvb3QtMDEwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARLNumuV16ocNfQj3Rid8NeeqrltqLx
|
||||
eP0CflfdkXmcbLlSiFS8LwS+uM32ENEp7LXQoMPwiXAZu1FlxUOcw5tjnSCDPgYLpkJEhRGnSjot
|
||||
6dZoL0hOUysHP029uax3OVejQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0G
|
||||
A1UdDgQWBBSOB2LAUN3GGQYARnQE9/OufXVNMDAKBggqhkjOPQQDAwNoADBlAjEAnDPfQeMjqEI2
|
||||
Jpc1XHvr20v4qotzVRVcrHgpD7oh2MSg2NED3W3ROT3Ek2DS43KyAjB8xX6I01D1HiXo+k515liW
|
||||
pDVfG2XqYZpwI7UNo5uSUm9poIyNStDuiw7LR47QjRE=
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
CommScope Public Trust ECC Root-02
|
||||
==================================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICHDCCAaOgAwIBAgIUKP2ZYEFHpgE6yhR7H+/5aAiDXX0wCgYIKoZIzj0EAwMwTjELMAkGA1UE
|
||||
BhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwiQ29tbVNjb3BlIFB1YmxpYyBUcnVz
|
||||
dCBFQ0MgUm9vdC0wMjAeFw0yMTA0MjgxNzQ0NTRaFw00NjA0MjgxNzQ0NTNaME4xCzAJBgNVBAYT
|
||||
AlVTMRIwEAYDVQQKDAlDb21tU2NvcGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3Qg
|
||||
RUNDIFJvb3QtMDIwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAR4MIHoYx7l63FRD/cHB8o5mXxO1Q/M
|
||||
MDALj2aTPs+9xYa9+bG3tD60B8jzljHz7aRP+KNOjSkVWLjVb3/ubCK1sK9IRQq9qEmUv4RDsNuE
|
||||
SgMjGWdqb8FuvAY5N9GIIvejQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0G
|
||||
A1UdDgQWBBTmGHX/72DehKT1RsfeSlXjMjZ59TAKBggqhkjOPQQDAwNnADBkAjAmc0l6tqvmSfR9
|
||||
Uj/UQQSugEODZXW5hYA4O9Zv5JOGq4/nich/m35rChJVYaoR4HkCMHfoMXGsPHED1oQmHhS48zs7
|
||||
3u1Z/GtMMH9ZzkXpc2AVmkzw5l4lIhVtwodZ0LKOag==
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
CommScope Public Trust RSA Root-01
|
||||
==================================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFbDCCA1SgAwIBAgIUPgNJgXUWdDGOTKvVxZAplsU5EN0wDQYJKoZIhvcNAQELBQAwTjELMAkG
|
||||
A1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwiQ29tbVNjb3BlIFB1YmxpYyBU
|
||||
cnVzdCBSU0EgUm9vdC0wMTAeFw0yMTA0MjgxNjQ1NTRaFw00NjA0MjgxNjQ1NTNaME4xCzAJBgNV
|
||||
BAYTAlVTMRIwEAYDVQQKDAlDb21tU2NvcGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1
|
||||
c3QgUlNBIFJvb3QtMDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCwSGWjDR1C45Ft
|
||||
nYSkYZYSwu3D2iM0GXb26v1VWvZVAVMP8syMl0+5UMuzAURWlv2bKOx7dAvnQmtVzslhsuitQDy6
|
||||
uUEKBU8bJoWPQ7VAtYXR1HHcg0Hz9kXHgKKEUJdGzqAMxGBWBB0HW0alDrJLpA6lfO741GIDuZNq
|
||||
ihS4cPgugkY4Iw50x2tBt9Apo52AsH53k2NC+zSDO3OjWiE260f6GBfZumbCk6SP/F2krfxQapWs
|
||||
vCQz0b2If4b19bJzKo98rwjyGpg/qYFlP8GMicWWMJoKz/TUyDTtnS+8jTiGU+6Xn6myY5QXjQ/c
|
||||
Zip8UlF1y5mO6D1cv547KI2DAg+pn3LiLCuz3GaXAEDQpFSOm117RTYm1nJD68/A6g3czhLmfTif
|
||||
BSeolz7pUcZsBSjBAg/pGG3svZwG1KdJ9FQFa2ww8esD1eo9anbCyxooSU1/ZOD6K9pzg4H/kQO9
|
||||
lLvkuI6cMmPNn7togbGEW682v3fuHX/3SZtS7NJ3Wn2RnU3COS3kuoL4b/JOHg9O5j9ZpSPcPYeo
|
||||
KFgo0fEbNttPxP/hjFtyjMcmAyejOQoBqsCyMWCDIqFPEgkBEa801M/XrmLTBQe0MXXgDW1XT2mH
|
||||
+VepuhX2yFJtocucH+X8eKg1mp9BFM6ltM6UCBwJrVbl2rZJmkrqYxhTnCwuwwIDAQABo0IwQDAP
|
||||
BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUN12mmnQywsL5x6YVEFm4
|
||||
5P3luG0wDQYJKoZIhvcNAQELBQADggIBAK+nz97/4L1CjU3lIpbfaOp9TSp90K09FlxD533Ahuh6
|
||||
NWPxzIHIxgvoLlI1pKZJkGNRrDSsBTtXAOnTYtPZKdVUvhwQkZyybf5Z/Xn36lbQnmhUQo8mUuJM
|
||||
3y+Xpi/SB5io82BdS5pYV4jvguX6r2yBS5KPQJqTRlnLX3gWsWc+QgvfKNmwrZggvkN80V4aCRck
|
||||
jXtdlemrwWCrWxhkgPut4AZ9HcpZuPN4KWfGVh2vtrV0KnahP/t1MJ+UXjulYPPLXAziDslg+Mkf
|
||||
Foom3ecnf+slpoq9uC02EJqxWE2aaE9gVOX2RhOOiKy8IUISrcZKiX2bwdgt6ZYD9KJ0DLwAHb/W
|
||||
NyVntHKLr4W96ioDj8z7PEQkguIBpQtZtjSNMgsSDesnwv1B10A8ckYpwIzqug/xBpMu95yo9GA+
|
||||
o/E4Xo4TwbM6l4c/ksp4qRyv0LAbJh6+cOx69TOY6lz/KwsETkPdY34Op054A5U+1C0wlREQKC6/
|
||||
oAI+/15Z0wUOlV9TRe9rh9VIzRamloPh37MG88EU26fsHItdkJANclHnYfkUyq+Dj7+vsQpZXdxc
|
||||
1+SWrVtgHdqul7I52Qb1dgAT+GhMIbA1xNxVssnBQVocicCMb3SgazNNtQEo/a2tiRc7ppqEvOuM
|
||||
6sRxJKi6KfkIsidWNTJf6jn7MZrVGczw
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
CommScope Public Trust RSA Root-02
|
||||
==================================
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFbDCCA1SgAwIBAgIUVBa/O345lXGN0aoApYYNK496BU4wDQYJKoZIhvcNAQELBQAwTjELMAkG
|
||||
A1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwiQ29tbVNjb3BlIFB1YmxpYyBU
|
||||
cnVzdCBSU0EgUm9vdC0wMjAeFw0yMTA0MjgxNzE2NDNaFw00NjA0MjgxNzE2NDJaME4xCzAJBgNV
|
||||
BAYTAlVTMRIwEAYDVQQKDAlDb21tU2NvcGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1
|
||||
c3QgUlNBIFJvb3QtMDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDh+g77aAASyE3V
|
||||
rCLENQE7xVTlWXZjpX/rwcRqmL0yjReA61260WI9JSMZNRTpf4mnG2I81lDnNJUDMrG0kyI9p+Kx
|
||||
7eZ7Ti6Hmw0zdQreqjXnfuU2mKKuJZ6VszKWpCtYHu8//mI0SFHRtI1CrWDaSWqVcN3SAOLMV2MC
|
||||
e5bdSZdbkk6V0/nLKR8YSvgBKtJjCW4k6YnS5cciTNxzhkcAqg2Ijq6FfUrpuzNPDlJwnZXjfG2W
|
||||
Wy09X6GDRl224yW4fKcZgBzqZUPckXk2LHR88mcGyYnJ27/aaL8j7dxrrSiDeS/sOKUNNwFnJ5rp
|
||||
M9kzXzehxfCrPfp4sOcsn/Y+n2Dg70jpkEUeBVF4GiwSLFworA2iI540jwXmojPOEXcT1A6kHkIf
|
||||
hs1w/tkuFT0du7jyU1fbzMZ0KZwYszZ1OC4PVKH4kh+Jlk+71O6d6Ts2QrUKOyrUZHk2EOH5kQMr
|
||||
eyBUzQ0ZGshBMjTRsJnhkB4BQDa1t/qp5Xd1pCKBXbCL5CcSD1SIxtuFdOa3wNemKfrb3vOTlycE
|
||||
VS8KbzfFPROvCgCpLIscgSjX74Yxqa7ybrjKaixUR9gqiC6vwQcQeKwRoi9C8DfF8rhW3Q5iLc4t
|
||||
Vn5V8qdE9isy9COoR+jUKgF4z2rDN6ieZdIs5fq6M8EGRPbmz6UNp2YINIos8wIDAQABo0IwQDAP
|
||||
BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUR9DnsSL/nSz12Vdgs7Gx
|
||||
cJXvYXowDQYJKoZIhvcNAQELBQADggIBAIZpsU0v6Z9PIpNojuQhmaPORVMbc0RTAIFhzTHjCLqB
|
||||
KCh6krm2qMhDnscTJk3C2OVVnJJdUNjCK9v+5qiXz1I6JMNlZFxHMaNlNRPDk7n3+VGXu6TwYofF
|
||||
1gbTl4MgqX67tiHCpQ2EAOHyJxCDut0DgdXdaMNmEMjRdrSzbymeAPnCKfWxkxlSaRosTKCL4BWa
|
||||
MS/TiJVZbuXEs1DIFAhKm4sTg7GkcrI7djNB3NyqpgdvHSQSn8h2vS/ZjvQs7rfSOBAkNlEv41xd
|
||||
gSGn2rtO/+YHqP65DSdsu3BaVXoT6fEqSWnHX4dXTEN5bTpl6TBcQe7rd6VzEojov32u5cSoHw2O
|
||||
HG1QAk8mGEPej1WFsQs3BWDJVTkSBKEqz3EWnzZRSb9wO55nnPt7eck5HHisd5FUmrh1CoFSl+Nm
|
||||
YWvtPjgelmFV4ZFUjO2MJB+ByRCac5krFk5yAD9UG/iNuovnFNa2RU9g7Jauwy8CTl2dlklyALKr
|
||||
dVwPaFsdZcJfMw8eD/A7hvWwTruc9+olBdytoptLFwG+Qt81IR2tq670v64fG9PiO/yzcnMcmyiQ
|
||||
iRM9HcEARwmWmjgb3bHPDcK0RPOWlc4yOo80nOAXx17Org3bhzjlP1v9mxnhMUF6cKojawHhRUzN
|
||||
lM47ni3niAIi9G7oyOzWPPO5std3eqx7
|
||||
-----END CERTIFICATE-----
|
||||
|
@ -202,7 +202,11 @@ post_makeinstall_target() {
|
||||
|
||||
# tune logind.conf
|
||||
sed -e "s,^.*HandleLidSwitch=.*$,HandleLidSwitch=ignore,g" -i ${INSTALL}/etc/systemd/logind.conf
|
||||
sed -e "s,^.*HandlePowerKey=.*$,HandlePowerKey=ignore,g" -i ${INSTALL}/etc/systemd/logind.conf
|
||||
if [ "${DISPLAYSERVER}" = "no" ]; then
|
||||
sed -e "s,^.*HandlePowerKey=.*$,HandlePowerKey=poweroff,g" -i ${INSTALL}/etc/systemd/logind.conf
|
||||
else
|
||||
sed -e "s,^.*HandlePowerKey=.*$,HandlePowerKey=ignore,g" -i ${INSTALL}/etc/systemd/logind.conf
|
||||
fi
|
||||
|
||||
if [ "${DISTRO}" = "Lakka" -a "${PROJECT}" = "RPi" ]; then
|
||||
sed -e "s,^.*HandlePowerKey=.*$,HandlePowerKey=poweroff,g" -i $INSTALL/etc/systemd/logind.conf
|
||||
|
@ -17,9 +17,11 @@ mount -o remount,rw $BOOT_ROOT
|
||||
|
||||
# update bootloader files
|
||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/LICENCE* $BOOT_ROOT
|
||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/bootcode.bin $BOOT_ROOT
|
||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/fixup.dat $BOOT_ROOT
|
||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/start.elf $BOOT_ROOT
|
||||
for f in bootcode.bin fixup.dat start.elf ; do
|
||||
if [ -f "${SYSTEM_ROOT}/usr/share/bootloader/$f" ]; then
|
||||
cp -p "${SYSTEM_ROOT}/usr/share/bootloader/$f" "${BOOT_ROOT}"
|
||||
fi
|
||||
done
|
||||
|
||||
rm -f $BOOT_ROOT/bcm283*.dtb # cleanup excess dtb's used by upstream kernels (ie. not LE)
|
||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/*.dtb $BOOT_ROOT
|
||||
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="bcm2835-bootloader"
|
||||
PKG_VERSION="543692d23dff7075915bc9c7e34abb3fe28e1c46"
|
||||
PKG_SHA256="718389513a36ce7073ee26666dfbdfeb259a7e88beaac603c3b7d1f5bde067a2"
|
||||
PKG_VERSION="fdb9eafae4b83e553593937eae8e77b0193903c3"
|
||||
PKG_SHA256="ce45b07afce3279f9d31fe12008c5250de4da5491bd9ced2de2f2ebb563aea80"
|
||||
PKG_ARCH="arm aarch64"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://www.broadcom.com"
|
||||
@ -16,14 +16,19 @@ PKG_TOOLCHAIN="manual"
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/share/bootloader
|
||||
cp -PRv LICENCE* ${INSTALL}/usr/share/bootloader
|
||||
cp -PRv bootcode.bin ${INSTALL}/usr/share/bootloader
|
||||
if [ "${DEVICE:0:4}" = "RPi4" ]; then
|
||||
cp -PRv fixup4x.dat ${INSTALL}/usr/share/bootloader/fixup.dat
|
||||
cp -PRv start4x.elf ${INSTALL}/usr/share/bootloader/start.elf
|
||||
else
|
||||
cp -PRv fixup_x.dat ${INSTALL}/usr/share/bootloader/fixup.dat
|
||||
cp -PRv start_x.elf ${INSTALL}/usr/share/bootloader/start.elf
|
||||
fi
|
||||
case "${DEVICE}" in
|
||||
RPi4)
|
||||
cp -PRv fixup4x.dat ${INSTALL}/usr/share/bootloader/fixup.dat
|
||||
cp -PRv start4x.elf ${INSTALL}/usr/share/bootloader/start.elf
|
||||
;;
|
||||
RPi5)
|
||||
;;
|
||||
*)
|
||||
cp -PRv bootcode.bin ${INSTALL}/usr/share/bootloader
|
||||
cp -PRv fixup_x.dat ${INSTALL}/usr/share/bootloader/fixup.dat
|
||||
cp -PRv start_x.elf ${INSTALL}/usr/share/bootloader/start.elf
|
||||
;;
|
||||
esac
|
||||
|
||||
find_file_path bootloader/update.sh ${PKG_DIR}/files/update.sh && cp -PRv ${FOUND_PATH} ${INSTALL}/usr/share/bootloader
|
||||
find_file_path bootloader/canupdate.sh && cp -PRv ${FOUND_PATH} ${INSTALL}/usr/share/bootloader
|
||||
|
@ -6,9 +6,11 @@
|
||||
|
||||
mkdir -p $RELEASE_DIR/3rdparty/bootloader
|
||||
cp -PR $INSTALL/usr/share/bootloader/LICENCE* $RELEASE_DIR/3rdparty/bootloader/
|
||||
cp -PR $INSTALL/usr/share/bootloader/bootcode.bin $RELEASE_DIR/3rdparty/bootloader/
|
||||
cp -PR $INSTALL/usr/share/bootloader/fixup.dat $RELEASE_DIR/3rdparty/bootloader/
|
||||
cp -PR $INSTALL/usr/share/bootloader/start.elf $RELEASE_DIR/3rdparty/bootloader/
|
||||
for f in bootcode.bin fixup.dat start.elf ; do
|
||||
if [ -f "${INSTALL}/usr/share/bootloader/$f" ]; then
|
||||
cp -PR "${INSTALL}/usr/share/bootloader/$f" "${RELEASE_DIR}/3rdparty/bootloader/"
|
||||
fi
|
||||
done
|
||||
cp -PR $INSTALL/usr/share/bootloader/*.dtb $RELEASE_DIR/3rdparty/bootloader/
|
||||
cp -PR $INSTALL/usr/share/bootloader/overlays $RELEASE_DIR/3rdparty/bootloader/
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="rpi-eeprom"
|
||||
PKG_VERSION="75d3a760469130cb537e5d8d504f892336abd62b"
|
||||
PKG_SHA256="a71573a80149b1c2c4b6d5ec1527ef011611c6883a0cf06c02961fe518384307"
|
||||
PKG_VERSION="6b14e84a2fb2e1f7220a404f65e7e0985f07c9e5"
|
||||
PKG_SHA256="3907711bb2ff78a0e9120709b72b04d6d010f93f79d525af0454d3d27a772aca"
|
||||
PKG_LICENSE="BSD-3/custom"
|
||||
PKG_SITE="https://github.com/raspberrypi/rpi-eeprom"
|
||||
PKG_URL="https://github.com/raspberrypi/rpi-eeprom/archive/${PKG_VERSION}.tar.gz"
|
||||
@ -12,14 +12,20 @@ PKG_LONGDESC="rpi-eeprom: firmware, config and scripts to update RPi4 SPI bootlo
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
makeinstall_target() {
|
||||
DESTDIR=${INSTALL}/$(get_kernel_overlay_dir)/lib/firmware/raspberrypi/bootloader
|
||||
|
||||
if [ "${DEVICE}" = "RPi4" ]; then
|
||||
_variant="2711"
|
||||
else
|
||||
_variant="2712"
|
||||
fi
|
||||
|
||||
DESTDIR=${INSTALL}/$(get_kernel_overlay_dir)/lib/firmware/raspberrypi/bootloader-${_variant}
|
||||
|
||||
mkdir -p ${DESTDIR}
|
||||
_dirs="critical stable"
|
||||
[ "${LIBREELEC_VERSION}" = "devel" ] && _dirs+=" beta"
|
||||
_dirs="default latest"
|
||||
|
||||
for _maindir in ${_dirs}; do
|
||||
for _dir in ${PKG_BUILD}/firmware/${_maindir} ${PKG_BUILD}/firmware/{_maindir}-*; do
|
||||
for _dir in ${PKG_BUILD}/firmware-${_variant}/${_maindir} ${PKG_BUILD}/firmware-${_variant}/${_maindir}-*; do
|
||||
[ -d "${_dir}" ] || continue
|
||||
|
||||
_basedir="$(basename "${_dir}")"
|
||||
@ -31,14 +37,17 @@ makeinstall_target() {
|
||||
PKG_FW_FILE="$(ls -1 /${_dir}/pieeprom-* 2>/dev/null | tail -1)"
|
||||
[ -n "${PKG_FW_FILE}" ] && cp -PRv "${PKG_FW_FILE}" ${DESTDIR}/${_basedir}
|
||||
|
||||
# VIA USB3
|
||||
PKG_FW_FILE="$(ls -1 ${_dir}/vl805-*.bin 2>/dev/null | tail -1)"
|
||||
[ -n "${PKG_FW_FILE}" ] && cp -PRv "${PKG_FW_FILE}" ${DESTDIR}/${_basedir}
|
||||
if [ "${DEVICE}" = "RPi4" ]; then
|
||||
# VIA USB3
|
||||
PKG_FW_FILE="$(ls -1 ${_dir}/vl805-*.bin 2>/dev/null | tail -1)"
|
||||
[ -n "${PKG_FW_FILE}" ] && cp -PRv "${PKG_FW_FILE}" ${DESTDIR}/${_basedir}
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
# also copy default and latest symlinks
|
||||
cp -Prv ${PKG_BUILD}/firmware/{default,latest} ${DESTDIR}
|
||||
# also create legacy naming symlinks
|
||||
ln -s default ${DESTDIR}/critical
|
||||
ln -s latest ${DESTDIR}/stable
|
||||
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -PRv ${PKG_DIR}/source/rpi-eeprom-update ${INSTALL}/usr/bin
|
||||
|
@ -2,3 +2,4 @@
|
||||
BCM43430A1.def
|
||||
BCM43430A1.vim
|
||||
*.txt
|
||||
brcmfmac43456-sdio.bin
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm64 6.1.0-rc6 Kernel Configuration
|
||||
# Linux/arm64 6.1.57 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="aarch64-none-elf-gcc-12.2.0 (GCC) 12.2.0"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
@ -338,6 +338,7 @@ CONFIG_ARCH_SUNXI=y
|
||||
#
|
||||
# ARM errata workarounds via the alternatives framework
|
||||
#
|
||||
# CONFIG_AMPERE_ERRATUM_AC03_CPU_38 is not set
|
||||
CONFIG_ARM64_WORKAROUND_CLEAN_CACHE=y
|
||||
CONFIG_ARM64_ERRATUM_826319=y
|
||||
CONFIG_ARM64_ERRATUM_827319=y
|
||||
@ -364,6 +365,7 @@ CONFIG_ARM64_LD_HAS_FIX_ERRATUM_843419=y
|
||||
# CONFIG_ARM64_ERRATUM_2054223 is not set
|
||||
# CONFIG_ARM64_ERRATUM_2067961 is not set
|
||||
# CONFIG_ARM64_ERRATUM_2441009 is not set
|
||||
# CONFIG_ARM64_ERRATUM_2966298 is not set
|
||||
# CONFIG_CAVIUM_ERRATUM_22375 is not set
|
||||
# CONFIG_CAVIUM_ERRATUM_23154 is not set
|
||||
# CONFIG_CAVIUM_ERRATUM_27456 is not set
|
||||
@ -853,6 +855,7 @@ CONFIG_SECRETMEM=y
|
||||
# CONFIG_ANON_VMA_NAME is not set
|
||||
# CONFIG_USERFAULTFD is not set
|
||||
# CONFIG_LRU_GEN is not set
|
||||
CONFIG_LOCK_MM_AND_FIND_VMA=y
|
||||
|
||||
#
|
||||
# Data Access Monitoring
|
||||
@ -1709,7 +1712,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
CONFIG_SCSI_CONSTANTS=y
|
||||
@ -3660,10 +3663,7 @@ CONFIG_MEDIA_ATTACH=y
|
||||
# IR I2C driver auto-selected by 'Autoselect ancillary drivers'
|
||||
#
|
||||
CONFIG_VIDEO_IR_I2C=y
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
CONFIG_VIDEO_CAMERA_SENSOR=y
|
||||
# CONFIG_VIDEO_AR0521 is not set
|
||||
# CONFIG_VIDEO_HI556 is not set
|
||||
# CONFIG_VIDEO_HI846 is not set
|
||||
@ -3730,7 +3730,6 @@ CONFIG_VIDEO_OV7640=m
|
||||
# CONFIG_VIDEO_CCS is not set
|
||||
# CONFIG_VIDEO_ET8EK8 is not set
|
||||
# CONFIG_VIDEO_M5MOLS is not set
|
||||
# end of Camera sensor devices
|
||||
|
||||
#
|
||||
# Lens drivers
|
||||
@ -6460,7 +6459,7 @@ CONFIG_CIFS_DEBUG=y
|
||||
# CONFIG_CIFS_SWN_UPCALL is not set
|
||||
# CONFIG_CIFS_ROOT is not set
|
||||
# CONFIG_SMB_SERVER is not set
|
||||
CONFIG_SMBFS_COMMON=y
|
||||
CONFIG_SMBFS=y
|
||||
# CONFIG_CODA_FS is not set
|
||||
# CONFIG_AFS_FS is not set
|
||||
CONFIG_NLS=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 6.1.0-rc6 Kernel Configuration
|
||||
# Linux/arm 6.1.57 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="armv7ve-libreelec-linux-gnueabihf-gcc-12.2.0 (GCC) 12.2.0"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
@ -611,6 +611,7 @@ CONFIG_GENERIC_IDLE_POLL_SETUP=y
|
||||
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
|
||||
CONFIG_ARCH_HAS_KEEPINITRD=y
|
||||
CONFIG_ARCH_HAS_SET_MEMORY=y
|
||||
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
|
||||
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
|
||||
CONFIG_ARCH_32BIT_OFF_T=y
|
||||
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
|
||||
@ -821,6 +822,7 @@ CONFIG_KMAP_LOCAL_NON_LINEAR_PTE_ARRAY=y
|
||||
# CONFIG_ANON_VMA_NAME is not set
|
||||
# CONFIG_USERFAULTFD is not set
|
||||
# CONFIG_LRU_GEN is not set
|
||||
CONFIG_LOCK_MM_AND_FIND_VMA=y
|
||||
|
||||
#
|
||||
# Data Access Monitoring
|
||||
@ -1574,7 +1576,7 @@ CONFIG_SCSI_PROC_FS=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
CONFIG_SCSI_CONSTANTS=y
|
||||
@ -3398,9 +3400,7 @@ CONFIG_MEDIA_ATTACH=y
|
||||
#
|
||||
CONFIG_VIDEO_IR_I2C=y
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
CONFIG_VIDEO_CAMERA_SENSOR=y
|
||||
# CONFIG_VIDEO_AR0521 is not set
|
||||
# CONFIG_VIDEO_HI556 is not set
|
||||
# CONFIG_VIDEO_HI846 is not set
|
||||
@ -3467,7 +3467,6 @@ CONFIG_VIDEO_OV7640=m
|
||||
# CONFIG_VIDEO_CCS is not set
|
||||
# CONFIG_VIDEO_ET8EK8 is not set
|
||||
# CONFIG_VIDEO_M5MOLS is not set
|
||||
# end of Camera sensor devices
|
||||
|
||||
#
|
||||
# Lens drivers
|
||||
@ -6060,7 +6059,7 @@ CONFIG_CIFS_DEBUG=y
|
||||
# CONFIG_CIFS_SWN_UPCALL is not set
|
||||
# CONFIG_CIFS_ROOT is not set
|
||||
# CONFIG_SMB_SERVER is not set
|
||||
CONFIG_SMBFS_COMMON=y
|
||||
CONFIG_SMBFS=y
|
||||
# CONFIG_CODA_FS is not set
|
||||
# CONFIG_AFS_FS is not set
|
||||
CONFIG_NLS=y
|
||||
|
@ -0,0 +1,61 @@
|
||||
Subject: [PATCH] drm: Call drm_atomic_helper_shutdown() at shutdown time for misc drivers
|
||||
From: Douglas Anderson <dianders@chromium.org>
|
||||
Date: Fri, 01 Sep 2023 16:39:53 -0700
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
Content-Transfer-Encoding: 7bit
|
||||
|
||||
Based on grepping through the source code these drivers appear to be
|
||||
missing a call to drm_atomic_helper_shutdown() at system shutdown
|
||||
time. Among other things, this means that if a panel is in use that it
|
||||
won't be cleanly powered off at system shutdown time.
|
||||
|
||||
The fact that we should call drm_atomic_helper_shutdown() in the case
|
||||
of OS shutdown/restart comes straight out of the kernel doc "driver
|
||||
instance overview" in drm_drv.c.
|
||||
|
||||
All of the drivers in this patch were fairly straightforward to fix
|
||||
since they already had a call to drm_atomic_helper_shutdown() at
|
||||
remove/unbind time but were just lacking one at system shutdown. The
|
||||
only hitch is that some of these drivers use the component model to
|
||||
register/unregister their DRM devices. The shutdown callback is part
|
||||
of the original device. The typical solution here, based on how other
|
||||
DRM drivers do this, is to keep track of whether the device is bound
|
||||
based on drvdata. In most cases the drvdata is the drm_device, so we
|
||||
can just make sure it is NULL when the device is not bound. In some
|
||||
drivers, this required minor code changes. To make things simpler,
|
||||
drm_atomic_helper_shutdown() has been modified to consider a NULL
|
||||
drm_device as a noop in the patch ("drm/atomic-helper:
|
||||
drm_atomic_helper_shutdown(NULL) should be a noop").
|
||||
|
||||
Suggested-by: Maxime Ripard <mripard@kernel.org>
|
||||
Signed-off-by: Douglas Anderson <dianders@chromium.org>
|
||||
Acked-by: Maxime Ripard <mripard@kernel.org>
|
||||
Link: https://lore.kernel.org/r/20230901163944.RFT.2.I9115e5d094a43e687978b0699cc1fe9f2a3452ea@changeid
|
||||
---
|
||||
<snip>
|
||||
diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c
|
||||
index 6a8dfc022d3c..35d7a7ffd208 100644
|
||||
--- a/drivers/gpu/drm/sun4i/sun4i_drv.c
|
||||
+++ b/drivers/gpu/drm/sun4i/sun4i_drv.c
|
||||
@@ -413,6 +413,11 @@ static void sun4i_drv_remove(struct platform_device *pdev)
|
||||
component_master_del(&pdev->dev, &sun4i_drv_master_ops);
|
||||
}
|
||||
|
||||
+static void sun4i_drv_shutdown(struct platform_device *pdev)
|
||||
+{
|
||||
+ drm_atomic_helper_shutdown(platform_get_drvdata(pdev));
|
||||
+}
|
||||
+
|
||||
static const struct of_device_id sun4i_drv_of_table[] = {
|
||||
{ .compatible = "allwinner,sun4i-a10-display-engine" },
|
||||
{ .compatible = "allwinner,sun5i-a10s-display-engine" },
|
||||
@@ -437,6 +442,7 @@ MODULE_DEVICE_TABLE(of, sun4i_drv_of_table);
|
||||
static struct platform_driver sun4i_drv_platform_driver = {
|
||||
.probe = sun4i_drv_probe,
|
||||
.remove = sun4i_drv_remove,
|
||||
+ .shutdown = sun4i_drv_shutdown,
|
||||
.driver = {
|
||||
.name = "sun4i-drm",
|
||||
.of_match_table = sun4i_drv_of_table,
|
||||
<snip>
|
@ -1770,7 +1770,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
# CONFIG_SCSI_CONSTANTS is not set
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/x86 6.1.30 Kernel Configuration
|
||||
# Linux/x86 6.1.57 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="x86_64-libreelec-linux-gnu-gcc-12.2.0 (GCC) 12.2.0"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
@ -472,7 +472,9 @@ CONFIG_RETHUNK=y
|
||||
CONFIG_CPU_UNRET_ENTRY=y
|
||||
CONFIG_CPU_IBPB_ENTRY=y
|
||||
CONFIG_CPU_IBRS_ENTRY=y
|
||||
CONFIG_CPU_SRSO=y
|
||||
# CONFIG_SLS is not set
|
||||
# CONFIG_GDS_FORCE_MITIGATION is not set
|
||||
CONFIG_ARCH_HAS_ADD_PAGES=y
|
||||
CONFIG_ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE=y
|
||||
|
||||
@ -666,6 +668,7 @@ CONFIG_GENERIC_SMP_IDLE_THREAD=y
|
||||
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
|
||||
CONFIG_ARCH_HAS_SET_MEMORY=y
|
||||
CONFIG_ARCH_HAS_SET_DIRECT_MAP=y
|
||||
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
|
||||
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
|
||||
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
|
||||
CONFIG_ARCH_WANTS_NO_INSTR=y
|
||||
@ -969,6 +972,7 @@ CONFIG_SECRETMEM=y
|
||||
# CONFIG_ANON_VMA_NAME is not set
|
||||
# CONFIG_USERFAULTFD is not set
|
||||
# CONFIG_LRU_GEN is not set
|
||||
CONFIG_LOCK_MM_AND_FIND_VMA=y
|
||||
|
||||
#
|
||||
# Data Access Monitoring
|
||||
@ -1853,7 +1857,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
# CONFIG_SCSI_CONSTANTS is not set
|
||||
@ -4066,9 +4070,7 @@ CONFIG_MEDIA_ATTACH=y
|
||||
#
|
||||
CONFIG_VIDEO_IR_I2C=m
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
CONFIG_VIDEO_CAMERA_SENSOR=y
|
||||
# CONFIG_VIDEO_AR0521 is not set
|
||||
# CONFIG_VIDEO_HI556 is not set
|
||||
# CONFIG_VIDEO_HI846 is not set
|
||||
@ -4130,7 +4132,6 @@ CONFIG_VIDEO_IR_I2C=m
|
||||
# CONFIG_VIDEO_CCS is not set
|
||||
# CONFIG_VIDEO_ET8EK8 is not set
|
||||
# CONFIG_VIDEO_M5MOLS is not set
|
||||
# end of Camera sensor devices
|
||||
|
||||
#
|
||||
# Lens drivers
|
||||
@ -6402,7 +6403,7 @@ CONFIG_CIFS_DEBUG=y
|
||||
CONFIG_CIFS_FSCACHE=y
|
||||
# CONFIG_CIFS_ROOT is not set
|
||||
# CONFIG_SMB_SERVER is not set
|
||||
CONFIG_SMBFS_COMMON=y
|
||||
CONFIG_SMBFS=y
|
||||
# CONFIG_CODA_FS is not set
|
||||
# CONFIG_AFS_FS is not set
|
||||
CONFIG_NLS=y
|
||||
|
@ -1818,7 +1818,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
# CONFIG_BLK_DEV_SR is not set
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
CONFIG_SCSI_CONSTANTS=y
|
||||
|
@ -1775,7 +1775,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
# CONFIG_SCSI_CONSTANTS is not set
|
||||
|
@ -1933,7 +1933,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
# CONFIG_BLK_DEV_SR is not set
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
# CONFIG_SCSI_CONSTANTS is not set
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 6.1.38 Kernel Configuration
|
||||
# Linux/arm 6.1.57 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="arm-linux-gnueabihf-gcc (GCC) 13.0.0 20220604 (experimental) [master revision aec868578d8515763d75693c1fdfbc30ff0a1e68]"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
@ -496,6 +496,7 @@ CONFIG_GENERIC_IDLE_POLL_SETUP=y
|
||||
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
|
||||
CONFIG_ARCH_HAS_KEEPINITRD=y
|
||||
CONFIG_ARCH_HAS_SET_MEMORY=y
|
||||
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
|
||||
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
|
||||
CONFIG_ARCH_32BIT_OFF_T=y
|
||||
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
|
||||
@ -1065,8 +1066,6 @@ CONFIG_NET_SCH_FQ_CODEL=y
|
||||
# CONFIG_NET_CLS_ROUTE4 is not set
|
||||
# CONFIG_NET_CLS_FW is not set
|
||||
# CONFIG_NET_CLS_U32 is not set
|
||||
# CONFIG_NET_CLS_RSVP is not set
|
||||
# CONFIG_NET_CLS_RSVP6 is not set
|
||||
# CONFIG_NET_CLS_FLOW is not set
|
||||
# CONFIG_NET_CLS_CGROUP is not set
|
||||
# CONFIG_NET_CLS_BPF is not set
|
||||
@ -1396,7 +1395,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
# CONFIG_SCSI_CONSTANTS is not set
|
||||
@ -1943,6 +1942,7 @@ CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
|
||||
# CONFIG_INPUT_DRV260X_HAPTICS is not set
|
||||
# CONFIG_INPUT_DRV2665_HAPTICS is not set
|
||||
# CONFIG_INPUT_DRV2667_HAPTICS is not set
|
||||
# CONFIG_INPUT_RASPBERRYPI_BUTTON is not set
|
||||
CONFIG_RMI4_CORE=y
|
||||
# CONFIG_RMI4_I2C is not set
|
||||
# CONFIG_RMI4_SPI is not set
|
||||
@ -1981,7 +1981,6 @@ CONFIG_SERIO_SERPORT=y
|
||||
CONFIG_BRCM_CHAR_DRIVERS=y
|
||||
CONFIG_BCM2708_VCMEM=y
|
||||
CONFIG_BCM_VCIO=y
|
||||
CONFIG_BCM2835_DEVGPIOMEM=m
|
||||
CONFIG_BCM2835_SMI_DEV=m
|
||||
# CONFIG_RPIVID_MEM is not set
|
||||
CONFIG_TTY=y
|
||||
@ -2066,6 +2065,7 @@ CONFIG_DEVMEM=y
|
||||
# CONFIG_XILLYUSB is not set
|
||||
CONFIG_RANDOM_TRUST_CPU=y
|
||||
CONFIG_RANDOM_TRUST_BOOTLOADER=y
|
||||
CONFIG_RASPBERRYPI_GPIOMEM=y
|
||||
# end of Character devices
|
||||
|
||||
#
|
||||
@ -2214,6 +2214,8 @@ CONFIG_GENERIC_PINCONF=y
|
||||
# CONFIG_PINCTRL_SINGLE is not set
|
||||
# CONFIG_PINCTRL_STMFX is not set
|
||||
# CONFIG_PINCTRL_SX150X is not set
|
||||
# CONFIG_PINCTRL_RP1 is not set
|
||||
# CONFIG_PINCTRL_BCM2712 is not set
|
||||
CONFIG_PINCTRL_BCM2835=y
|
||||
|
||||
#
|
||||
@ -2238,6 +2240,7 @@ CONFIG_GPIO_CDEV_V1=y
|
||||
# CONFIG_GPIO_ALTERA is not set
|
||||
CONFIG_GPIO_RASPBERRYPI_EXP=y
|
||||
CONFIG_GPIO_BCM_VIRT=y
|
||||
# CONFIG_GPIO_BRCMSTB is not set
|
||||
# CONFIG_GPIO_CADENCE is not set
|
||||
# CONFIG_GPIO_DWAPB is not set
|
||||
# CONFIG_GPIO_FTGPIO010 is not set
|
||||
@ -2881,11 +2884,14 @@ CONFIG_DVB_CORE=m
|
||||
# Video4Linux options
|
||||
#
|
||||
CONFIG_VIDEO_V4L2_I2C=y
|
||||
CONFIG_VIDEO_V4L2_SUBDEV_API=y
|
||||
# CONFIG_VIDEO_ADV_DEBUG is not set
|
||||
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
|
||||
CONFIG_VIDEO_TUNER=m
|
||||
CONFIG_V4L2_MEM2MEM_DEV=m
|
||||
# CONFIG_V4L2_FLASH_LED_CLASS is not set
|
||||
CONFIG_V4L2_FWNODE=m
|
||||
CONFIG_V4L2_ASYNC=m
|
||||
# end of Video4Linux options
|
||||
|
||||
#
|
||||
@ -3074,6 +3080,12 @@ CONFIG_MEDIA_PLATFORM_DRIVERS=y
|
||||
# Qualcomm media platform drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Raspberry Pi media platform drivers
|
||||
#
|
||||
# CONFIG_VIDEO_RASPBERRYPI_PISP_BE is not set
|
||||
# CONFIG_VIDEO_RP1_CFE is not set
|
||||
|
||||
#
|
||||
# Renesas media platform drivers
|
||||
#
|
||||
@ -3145,10 +3157,7 @@ CONFIG_MEDIA_ATTACH=y
|
||||
# IR I2C driver auto-selected by 'Autoselect ancillary drivers'
|
||||
#
|
||||
CONFIG_VIDEO_IR_I2C=m
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
CONFIG_VIDEO_CAMERA_SENSOR=y
|
||||
# CONFIG_VIDEO_AR0521 is not set
|
||||
# CONFIG_VIDEO_ARDUCAM_64MP is not set
|
||||
# CONFIG_VIDEO_ARDUCAM_PIVARIETY is not set
|
||||
@ -3167,6 +3176,7 @@ CONFIG_VIDEO_IR_I2C=m
|
||||
# CONFIG_VIDEO_IMX335 is not set
|
||||
# CONFIG_VIDEO_IMX355 is not set
|
||||
# CONFIG_VIDEO_IMX412 is not set
|
||||
# CONFIG_VIDEO_IMX477 is not set
|
||||
# CONFIG_VIDEO_IMX519 is not set
|
||||
# CONFIG_VIDEO_IMX708 is not set
|
||||
# CONFIG_VIDEO_MT9M001 is not set
|
||||
@ -3221,7 +3231,6 @@ CONFIG_VIDEO_IR_I2C=m
|
||||
# CONFIG_VIDEO_CCS is not set
|
||||
# CONFIG_VIDEO_ET8EK8 is not set
|
||||
# CONFIG_VIDEO_M5MOLS is not set
|
||||
# end of Camera sensor devices
|
||||
|
||||
#
|
||||
# Lens drivers
|
||||
@ -3258,7 +3267,6 @@ CONFIG_VIDEO_MSP3400=m
|
||||
# CONFIG_VIDEO_TLV320AIC23B is not set
|
||||
# CONFIG_VIDEO_TVAUDIO is not set
|
||||
# CONFIG_VIDEO_UDA1342 is not set
|
||||
# CONFIG_VIDEO_IMX477 is not set
|
||||
# CONFIG_VIDEO_VP27SMPX is not set
|
||||
# CONFIG_VIDEO_WM8739 is not set
|
||||
CONFIG_VIDEO_WM8775=m
|
||||
@ -3749,6 +3757,9 @@ CONFIG_DRM_TOSHIBA_TC358762=y
|
||||
# CONFIG_DRM_V3D is not set
|
||||
CONFIG_DRM_VC4=y
|
||||
CONFIG_DRM_VC4_HDMI_CEC=y
|
||||
# CONFIG_DRM_RP1_DSI is not set
|
||||
# CONFIG_DRM_RP1_DPI is not set
|
||||
# CONFIG_DRM_RP1_VEC is not set
|
||||
# CONFIG_DRM_ETNAVIV is not set
|
||||
# CONFIG_DRM_LOGICVC is not set
|
||||
# CONFIG_DRM_ARCPGU is not set
|
||||
@ -5024,6 +5035,7 @@ CONFIG_PWM_BCM2835=m
|
||||
# CONFIG_PWM_FSL_FTM is not set
|
||||
# CONFIG_PWM_PCA9685 is not set
|
||||
CONFIG_PWM_RASPBERRYPI_POE=m
|
||||
# CONFIG_PWM_RP1 is not set
|
||||
# CONFIG_PWM_XILINX is not set
|
||||
|
||||
#
|
||||
@ -5037,6 +5049,7 @@ CONFIG_BRCMSTB_L2_IRQ=y
|
||||
|
||||
# CONFIG_IPACK_BUS is not set
|
||||
CONFIG_RESET_CONTROLLER=y
|
||||
# CONFIG_RESET_BRCMSTB is not set
|
||||
# CONFIG_RESET_RASPBERRYPI is not set
|
||||
# CONFIG_RESET_SIMPLE is not set
|
||||
# CONFIG_RESET_TI_SYSCON is not set
|
||||
@ -5052,6 +5065,7 @@ CONFIG_RESET_CONTROLLER=y
|
||||
# PHY drivers for Broadcom platforms
|
||||
#
|
||||
# CONFIG_BCM_KONA_USB2_PHY is not set
|
||||
# CONFIG_PHY_BRCM_USB is not set
|
||||
# end of PHY drivers for Broadcom platforms
|
||||
|
||||
# CONFIG_PHY_CADENCE_TORRENT is not set
|
||||
@ -5169,7 +5183,7 @@ CONFIG_DNOTIFY=y
|
||||
CONFIG_INOTIFY_USER=y
|
||||
CONFIG_FANOTIFY=y
|
||||
# CONFIG_QUOTA is not set
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
# CONFIG_AUTOFS4_FS is not set
|
||||
CONFIG_AUTOFS_FS=y
|
||||
CONFIG_FUSE_FS=m
|
||||
# CONFIG_CUSE is not set
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 6.1.38 Kernel Configuration
|
||||
# Linux/arm 6.1.57 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="arm-linux-gnueabihf-gcc (GCC) 13.0.0 20220604 (experimental) [master revision aec868578d8515763d75693c1fdfbc30ff0a1e68]"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
@ -608,6 +608,7 @@ CONFIG_GENERIC_IDLE_POLL_SETUP=y
|
||||
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
|
||||
CONFIG_ARCH_HAS_KEEPINITRD=y
|
||||
CONFIG_ARCH_HAS_SET_MEMORY=y
|
||||
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
|
||||
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
|
||||
CONFIG_ARCH_32BIT_OFF_T=y
|
||||
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
|
||||
@ -1247,8 +1248,6 @@ CONFIG_NET_CLS=y
|
||||
# CONFIG_NET_CLS_ROUTE4 is not set
|
||||
# CONFIG_NET_CLS_FW is not set
|
||||
# CONFIG_NET_CLS_U32 is not set
|
||||
# CONFIG_NET_CLS_RSVP is not set
|
||||
# CONFIG_NET_CLS_RSVP6 is not set
|
||||
# CONFIG_NET_CLS_FLOW is not set
|
||||
CONFIG_NET_CLS_CGROUP=m
|
||||
# CONFIG_NET_CLS_BPF is not set
|
||||
@ -1588,7 +1587,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
# CONFIG_SCSI_CONSTANTS is not set
|
||||
@ -2168,6 +2167,7 @@ CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
|
||||
# CONFIG_INPUT_DRV260X_HAPTICS is not set
|
||||
# CONFIG_INPUT_DRV2665_HAPTICS is not set
|
||||
# CONFIG_INPUT_DRV2667_HAPTICS is not set
|
||||
# CONFIG_INPUT_RASPBERRYPI_BUTTON is not set
|
||||
CONFIG_RMI4_CORE=y
|
||||
# CONFIG_RMI4_I2C is not set
|
||||
# CONFIG_RMI4_SPI is not set
|
||||
@ -2206,7 +2206,6 @@ CONFIG_SERIO_SERPORT=y
|
||||
CONFIG_BRCM_CHAR_DRIVERS=y
|
||||
CONFIG_BCM2708_VCMEM=y
|
||||
CONFIG_BCM_VCIO=y
|
||||
CONFIG_BCM2835_DEVGPIOMEM=m
|
||||
CONFIG_BCM2835_SMI_DEV=m
|
||||
# CONFIG_RPIVID_MEM is not set
|
||||
CONFIG_TTY=y
|
||||
@ -2291,6 +2290,7 @@ CONFIG_DEVMEM=y
|
||||
# CONFIG_XILLYUSB is not set
|
||||
CONFIG_RANDOM_TRUST_CPU=y
|
||||
CONFIG_RANDOM_TRUST_BOOTLOADER=y
|
||||
CONFIG_RASPBERRYPI_GPIOMEM=y
|
||||
# end of Character devices
|
||||
|
||||
#
|
||||
@ -2439,6 +2439,8 @@ CONFIG_GENERIC_PINCONF=y
|
||||
# CONFIG_PINCTRL_SINGLE is not set
|
||||
# CONFIG_PINCTRL_STMFX is not set
|
||||
# CONFIG_PINCTRL_SX150X is not set
|
||||
# CONFIG_PINCTRL_RP1 is not set
|
||||
# CONFIG_PINCTRL_BCM2712 is not set
|
||||
CONFIG_PINCTRL_BCM2835=y
|
||||
|
||||
#
|
||||
@ -2463,6 +2465,7 @@ CONFIG_GPIO_CDEV_V1=y
|
||||
# CONFIG_GPIO_ALTERA is not set
|
||||
CONFIG_GPIO_RASPBERRYPI_EXP=y
|
||||
CONFIG_GPIO_BCM_VIRT=y
|
||||
# CONFIG_GPIO_BRCMSTB is not set
|
||||
# CONFIG_GPIO_CADENCE is not set
|
||||
# CONFIG_GPIO_DWAPB is not set
|
||||
# CONFIG_GPIO_FTGPIO010 is not set
|
||||
@ -3113,11 +3116,14 @@ CONFIG_DVB_CORE=m
|
||||
# Video4Linux options
|
||||
#
|
||||
CONFIG_VIDEO_V4L2_I2C=y
|
||||
CONFIG_VIDEO_V4L2_SUBDEV_API=y
|
||||
# CONFIG_VIDEO_ADV_DEBUG is not set
|
||||
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
|
||||
CONFIG_VIDEO_TUNER=m
|
||||
CONFIG_V4L2_MEM2MEM_DEV=m
|
||||
# CONFIG_V4L2_FLASH_LED_CLASS is not set
|
||||
CONFIG_V4L2_FWNODE=m
|
||||
CONFIG_V4L2_ASYNC=m
|
||||
# end of Video4Linux options
|
||||
|
||||
#
|
||||
@ -3306,6 +3312,12 @@ CONFIG_MEDIA_PLATFORM_DRIVERS=y
|
||||
# Qualcomm media platform drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Raspberry Pi media platform drivers
|
||||
#
|
||||
# CONFIG_VIDEO_RASPBERRYPI_PISP_BE is not set
|
||||
# CONFIG_VIDEO_RP1_CFE is not set
|
||||
|
||||
#
|
||||
# Renesas media platform drivers
|
||||
#
|
||||
@ -3377,10 +3389,7 @@ CONFIG_MEDIA_ATTACH=y
|
||||
# IR I2C driver auto-selected by 'Autoselect ancillary drivers'
|
||||
#
|
||||
CONFIG_VIDEO_IR_I2C=m
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
CONFIG_VIDEO_CAMERA_SENSOR=y
|
||||
# CONFIG_VIDEO_AR0521 is not set
|
||||
# CONFIG_VIDEO_ARDUCAM_64MP is not set
|
||||
# CONFIG_VIDEO_ARDUCAM_PIVARIETY is not set
|
||||
@ -3399,6 +3408,7 @@ CONFIG_VIDEO_IR_I2C=m
|
||||
# CONFIG_VIDEO_IMX335 is not set
|
||||
# CONFIG_VIDEO_IMX355 is not set
|
||||
# CONFIG_VIDEO_IMX412 is not set
|
||||
# CONFIG_VIDEO_IMX477 is not set
|
||||
# CONFIG_VIDEO_IMX519 is not set
|
||||
# CONFIG_VIDEO_IMX708 is not set
|
||||
# CONFIG_VIDEO_MT9M001 is not set
|
||||
@ -3453,7 +3463,6 @@ CONFIG_VIDEO_IR_I2C=m
|
||||
# CONFIG_VIDEO_CCS is not set
|
||||
# CONFIG_VIDEO_ET8EK8 is not set
|
||||
# CONFIG_VIDEO_M5MOLS is not set
|
||||
# end of Camera sensor devices
|
||||
|
||||
#
|
||||
# Lens drivers
|
||||
@ -3490,7 +3499,6 @@ CONFIG_VIDEO_MSP3400=m
|
||||
# CONFIG_VIDEO_TLV320AIC23B is not set
|
||||
# CONFIG_VIDEO_TVAUDIO is not set
|
||||
# CONFIG_VIDEO_UDA1342 is not set
|
||||
# CONFIG_VIDEO_IMX477 is not set
|
||||
# CONFIG_VIDEO_VP27SMPX is not set
|
||||
# CONFIG_VIDEO_WM8739 is not set
|
||||
CONFIG_VIDEO_WM8775=m
|
||||
@ -3982,6 +3990,9 @@ CONFIG_DRM_TOSHIBA_TC358762=y
|
||||
# CONFIG_DRM_V3D is not set
|
||||
CONFIG_DRM_VC4=y
|
||||
CONFIG_DRM_VC4_HDMI_CEC=y
|
||||
# CONFIG_DRM_RP1_DSI is not set
|
||||
# CONFIG_DRM_RP1_DPI is not set
|
||||
# CONFIG_DRM_RP1_VEC is not set
|
||||
# CONFIG_DRM_ETNAVIV is not set
|
||||
# CONFIG_DRM_LOGICVC is not set
|
||||
# CONFIG_DRM_ARCPGU is not set
|
||||
@ -5260,6 +5271,7 @@ CONFIG_PWM_BCM2835=m
|
||||
# CONFIG_PWM_FSL_FTM is not set
|
||||
# CONFIG_PWM_PCA9685 is not set
|
||||
CONFIG_PWM_RASPBERRYPI_POE=m
|
||||
# CONFIG_PWM_RP1 is not set
|
||||
# CONFIG_PWM_XILINX is not set
|
||||
|
||||
#
|
||||
@ -5269,12 +5281,14 @@ CONFIG_IRQCHIP=y
|
||||
CONFIG_ARM_GIC=y
|
||||
CONFIG_ARM_GIC_MAX_NR=1
|
||||
# CONFIG_AL_FIC is not set
|
||||
# CONFIG_BCM2712_MIP is not set
|
||||
CONFIG_BRCMSTB_L2_IRQ=y
|
||||
# CONFIG_XILINX_INTC is not set
|
||||
# end of IRQ chip support
|
||||
|
||||
# CONFIG_IPACK_BUS is not set
|
||||
CONFIG_RESET_CONTROLLER=y
|
||||
# CONFIG_RESET_BRCMSTB is not set
|
||||
# CONFIG_RESET_RASPBERRYPI is not set
|
||||
# CONFIG_RESET_SIMPLE is not set
|
||||
# CONFIG_RESET_TI_SYSCON is not set
|
||||
@ -5290,6 +5304,7 @@ CONFIG_RESET_CONTROLLER=y
|
||||
# PHY drivers for Broadcom platforms
|
||||
#
|
||||
# CONFIG_BCM_KONA_USB2_PHY is not set
|
||||
# CONFIG_PHY_BRCM_USB is not set
|
||||
# end of PHY drivers for Broadcom platforms
|
||||
|
||||
# CONFIG_PHY_CADENCE_TORRENT is not set
|
||||
@ -5411,7 +5426,7 @@ CONFIG_DNOTIFY=y
|
||||
CONFIG_INOTIFY_USER=y
|
||||
CONFIG_FANOTIFY=y
|
||||
# CONFIG_QUOTA is not set
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
# CONFIG_AUTOFS4_FS is not set
|
||||
CONFIG_AUTOFS_FS=y
|
||||
CONFIG_FUSE_FS=m
|
||||
# CONFIG_CUSE is not set
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm64 6.1.38 Kernel Configuration
|
||||
# Linux/arm64 6.1.57 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (GCC) 13.0.0 20220604 (experimental) [master revision aec868578d8515763d75693c1fdfbc30ff0a1e68]"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
@ -327,6 +327,7 @@ CONFIG_ARCH_BCM2835=y
|
||||
#
|
||||
# ARM errata workarounds via the alternatives framework
|
||||
#
|
||||
CONFIG_AMPERE_ERRATUM_AC03_CPU_38=y
|
||||
CONFIG_ARM64_WORKAROUND_CLEAN_CACHE=y
|
||||
CONFIG_ARM64_ERRATUM_826319=y
|
||||
CONFIG_ARM64_ERRATUM_827319=y
|
||||
@ -357,6 +358,7 @@ CONFIG_ARM64_ERRATUM_2054223=y
|
||||
CONFIG_ARM64_ERRATUM_2067961=y
|
||||
CONFIG_ARM64_ERRATUM_2441009=y
|
||||
CONFIG_ARM64_ERRATUM_2457168=y
|
||||
CONFIG_ARM64_ERRATUM_2966298=y
|
||||
CONFIG_CAVIUM_ERRATUM_22375=y
|
||||
CONFIG_CAVIUM_ERRATUM_23154=y
|
||||
CONFIG_CAVIUM_ERRATUM_27456=y
|
||||
@ -1329,8 +1331,6 @@ CONFIG_NET_CLS=y
|
||||
# CONFIG_NET_CLS_ROUTE4 is not set
|
||||
# CONFIG_NET_CLS_FW is not set
|
||||
# CONFIG_NET_CLS_U32 is not set
|
||||
# CONFIG_NET_CLS_RSVP is not set
|
||||
# CONFIG_NET_CLS_RSVP6 is not set
|
||||
# CONFIG_NET_CLS_FLOW is not set
|
||||
CONFIG_NET_CLS_CGROUP=m
|
||||
# CONFIG_NET_CLS_BPF is not set
|
||||
@ -1798,7 +1798,7 @@ CONFIG_SCSI_DMA=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_CHR_DEV_ST is not set
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
# CONFIG_CHR_DEV_SG is not set
|
||||
CONFIG_CHR_DEV_SG=m
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
# CONFIG_CHR_DEV_SCH is not set
|
||||
# CONFIG_SCSI_CONSTANTS is not set
|
||||
@ -2693,6 +2693,7 @@ CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
|
||||
# CONFIG_INPUT_DRV260X_HAPTICS is not set
|
||||
# CONFIG_INPUT_DRV2665_HAPTICS is not set
|
||||
# CONFIG_INPUT_DRV2667_HAPTICS is not set
|
||||
# CONFIG_INPUT_RASPBERRYPI_BUTTON is not set
|
||||
CONFIG_RMI4_CORE=y
|
||||
# CONFIG_RMI4_I2C is not set
|
||||
# CONFIG_RMI4_SPI is not set
|
||||
@ -2732,7 +2733,6 @@ CONFIG_SERIO_SERPORT=y
|
||||
CONFIG_BRCM_CHAR_DRIVERS=y
|
||||
CONFIG_BCM2708_VCMEM=y
|
||||
CONFIG_BCM_VCIO=y
|
||||
CONFIG_BCM2835_DEVGPIOMEM=m
|
||||
CONFIG_BCM2835_SMI_DEV=m
|
||||
# CONFIG_RPIVID_MEM is not set
|
||||
CONFIG_TTY=y
|
||||
@ -2826,6 +2826,7 @@ CONFIG_DEVPORT=y
|
||||
# CONFIG_XILLYUSB is not set
|
||||
CONFIG_RANDOM_TRUST_CPU=y
|
||||
CONFIG_RANDOM_TRUST_BOOTLOADER=y
|
||||
CONFIG_RASPBERRYPI_GPIOMEM=y
|
||||
# end of Character devices
|
||||
|
||||
#
|
||||
@ -2999,6 +3000,8 @@ CONFIG_GENERIC_PINCONF=y
|
||||
# CONFIG_PINCTRL_SINGLE is not set
|
||||
# CONFIG_PINCTRL_STMFX is not set
|
||||
# CONFIG_PINCTRL_SX150X is not set
|
||||
# CONFIG_PINCTRL_RP1 is not set
|
||||
# CONFIG_PINCTRL_BCM2712 is not set
|
||||
CONFIG_PINCTRL_BCM2835=y
|
||||
|
||||
#
|
||||
@ -3022,6 +3025,7 @@ CONFIG_GPIO_CDEV_V1=y
|
||||
# CONFIG_GPIO_ALTERA is not set
|
||||
CONFIG_GPIO_RASPBERRYPI_EXP=y
|
||||
CONFIG_GPIO_BCM_VIRT=y
|
||||
# CONFIG_GPIO_BRCMSTB is not set
|
||||
# CONFIG_GPIO_CADENCE is not set
|
||||
# CONFIG_GPIO_DWAPB is not set
|
||||
# CONFIG_GPIO_EXAR is not set
|
||||
@ -3561,6 +3565,7 @@ CONFIG_MFD_WM5102=y
|
||||
# CONFIG_MFD_QCOM_PM8008 is not set
|
||||
# CONFIG_RAVE_SP_CORE is not set
|
||||
# CONFIG_MFD_INTEL_M10_BMC is not set
|
||||
# CONFIG_MFD_RP1 is not set
|
||||
# CONFIG_MFD_RSMU_I2C is not set
|
||||
# CONFIG_MFD_RSMU_SPI is not set
|
||||
# end of Multifunction device drivers
|
||||
@ -3703,11 +3708,14 @@ CONFIG_DVB_CORE=m
|
||||
# Video4Linux options
|
||||
#
|
||||
CONFIG_VIDEO_V4L2_I2C=y
|
||||
CONFIG_VIDEO_V4L2_SUBDEV_API=y
|
||||
# CONFIG_VIDEO_ADV_DEBUG is not set
|
||||
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
|
||||
CONFIG_VIDEO_TUNER=m
|
||||
CONFIG_V4L2_MEM2MEM_DEV=m
|
||||
# CONFIG_V4L2_FLASH_LED_CLASS is not set
|
||||
CONFIG_V4L2_FWNODE=m
|
||||
CONFIG_V4L2_ASYNC=m
|
||||
# end of Video4Linux options
|
||||
|
||||
#
|
||||
@ -3900,6 +3908,12 @@ CONFIG_MEDIA_PLATFORM_DRIVERS=y
|
||||
# Qualcomm media platform drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Raspberry Pi media platform drivers
|
||||
#
|
||||
# CONFIG_VIDEO_RASPBERRYPI_PISP_BE is not set
|
||||
# CONFIG_VIDEO_RP1_CFE is not set
|
||||
|
||||
#
|
||||
# Renesas media platform drivers
|
||||
#
|
||||
@ -3971,10 +3985,7 @@ CONFIG_MEDIA_ATTACH=y
|
||||
# IR I2C driver auto-selected by 'Autoselect ancillary drivers'
|
||||
#
|
||||
CONFIG_VIDEO_IR_I2C=m
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
CONFIG_VIDEO_CAMERA_SENSOR=y
|
||||
# CONFIG_VIDEO_AR0521 is not set
|
||||
# CONFIG_VIDEO_ARDUCAM_64MP is not set
|
||||
# CONFIG_VIDEO_ARDUCAM_PIVARIETY is not set
|
||||
@ -3993,6 +4004,7 @@ CONFIG_VIDEO_IR_I2C=m
|
||||
# CONFIG_VIDEO_IMX335 is not set
|
||||
# CONFIG_VIDEO_IMX355 is not set
|
||||
# CONFIG_VIDEO_IMX412 is not set
|
||||
# CONFIG_VIDEO_IMX477 is not set
|
||||
# CONFIG_VIDEO_IMX519 is not set
|
||||
# CONFIG_VIDEO_IMX708 is not set
|
||||
# CONFIG_VIDEO_MT9M001 is not set
|
||||
@ -4047,7 +4059,6 @@ CONFIG_VIDEO_IR_I2C=m
|
||||
# CONFIG_VIDEO_CCS is not set
|
||||
# CONFIG_VIDEO_ET8EK8 is not set
|
||||
# CONFIG_VIDEO_M5MOLS is not set
|
||||
# end of Camera sensor devices
|
||||
|
||||
#
|
||||
# Lens drivers
|
||||
@ -4084,7 +4095,6 @@ CONFIG_VIDEO_MSP3400=m
|
||||
# CONFIG_VIDEO_TLV320AIC23B is not set
|
||||
# CONFIG_VIDEO_TVAUDIO is not set
|
||||
# CONFIG_VIDEO_UDA1342 is not set
|
||||
# CONFIG_VIDEO_IMX477 is not set
|
||||
# CONFIG_VIDEO_VP27SMPX is not set
|
||||
# CONFIG_VIDEO_WM8739 is not set
|
||||
CONFIG_VIDEO_WM8775=m
|
||||
@ -4577,6 +4587,9 @@ CONFIG_DRM_TOSHIBA_TC358762=y
|
||||
CONFIG_DRM_V3D=y
|
||||
CONFIG_DRM_VC4=y
|
||||
CONFIG_DRM_VC4_HDMI_CEC=y
|
||||
# CONFIG_DRM_RP1_DSI is not set
|
||||
# CONFIG_DRM_RP1_DPI is not set
|
||||
# CONFIG_DRM_RP1_VEC is not set
|
||||
# CONFIG_DRM_ETNAVIV is not set
|
||||
# CONFIG_DRM_HISI_HIBMC is not set
|
||||
# CONFIG_DRM_HISI_KIRIN is not set
|
||||
@ -5837,6 +5850,7 @@ CONFIG_COMMON_CLK=y
|
||||
|
||||
# CONFIG_LMK04832 is not set
|
||||
# CONFIG_COMMON_CLK_MAX9485 is not set
|
||||
# CONFIG_COMMON_CLK_RP1 is not set
|
||||
CONFIG_COMMON_CLK_HIFIBERRY_DACPLUSHD=m
|
||||
CONFIG_COMMON_CLK_HIFIBERRY_DACPRO=m
|
||||
# CONFIG_COMMON_CLK_SI5341 is not set
|
||||
@ -5980,6 +5994,7 @@ CONFIG_PWM_BCM2835=m
|
||||
# CONFIG_PWM_FSL_FTM is not set
|
||||
# CONFIG_PWM_PCA9685 is not set
|
||||
CONFIG_PWM_RASPBERRYPI_POE=m
|
||||
# CONFIG_PWM_RP1 is not set
|
||||
# CONFIG_PWM_XILINX is not set
|
||||
|
||||
#
|
||||
@ -5993,6 +6008,7 @@ CONFIG_ARM_GIC_V3=y
|
||||
CONFIG_ARM_GIC_V3_ITS=y
|
||||
CONFIG_ARM_GIC_V3_ITS_PCI=y
|
||||
# CONFIG_AL_FIC is not set
|
||||
# CONFIG_BCM2712_MIP is not set
|
||||
CONFIG_BRCMSTB_L2_IRQ=y
|
||||
# CONFIG_XILINX_INTC is not set
|
||||
CONFIG_PARTITION_PERCPU=y
|
||||
@ -6000,6 +6016,7 @@ CONFIG_PARTITION_PERCPU=y
|
||||
|
||||
# CONFIG_IPACK_BUS is not set
|
||||
CONFIG_RESET_CONTROLLER=y
|
||||
# CONFIG_RESET_BRCMSTB is not set
|
||||
CONFIG_RESET_RASPBERRYPI=y
|
||||
CONFIG_RESET_SIMPLE=y
|
||||
# CONFIG_RESET_TI_SYSCON is not set
|
||||
@ -6016,6 +6033,7 @@ CONFIG_RESET_SIMPLE=y
|
||||
# PHY drivers for Broadcom platforms
|
||||
#
|
||||
# CONFIG_BCM_KONA_USB2_PHY is not set
|
||||
# CONFIG_PHY_BRCM_USB is not set
|
||||
# end of PHY drivers for Broadcom platforms
|
||||
|
||||
# CONFIG_PHY_CADENCE_TORRENT is not set
|
||||
@ -6145,7 +6163,7 @@ CONFIG_DNOTIFY=y
|
||||
CONFIG_INOTIFY_USER=y
|
||||
CONFIG_FANOTIFY=y
|
||||
# CONFIG_QUOTA is not set
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
# CONFIG_AUTOFS4_FS is not set
|
||||
CONFIG_AUTOFS_FS=y
|
||||
CONFIG_FUSE_FS=m
|
||||
# CONFIG_CUSE is not set
|
||||
|
30
projects/RPi/devices/RPi5/config/config.txt
Normal file
30
projects/RPi/devices/RPi5/config/config.txt
Normal file
@ -0,0 +1,30 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
################################################################################
|
||||
# Bootloader configuration
|
||||
# config.txt version v1 (do not remove or change this line!)
|
||||
################################################################################
|
||||
# For more options and information see
|
||||
# http://rpf.io/configtxt
|
||||
################################################################################
|
||||
|
||||
# Don't send initial active source message.
|
||||
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
|
||||
# rebooting.
|
||||
hdmi_ignore_cec_init=1
|
||||
|
||||
[all]
|
||||
################################################################################
|
||||
# Use distroconfig-composite.txt instead of distroconfig.txt to enable
|
||||
# composite video output.
|
||||
# The composite video mode needs to be configured in cmdline.txt:
|
||||
# For PAL add: video=Composite-1:720x576@50ie
|
||||
# For NTSC add: video=Composite-1:720x480@60ie
|
||||
################################################################################
|
||||
include distroconfig.txt
|
||||
#include distroconfig-composite.txt
|
||||
|
||||
# uncomment to enable infrared remote receiver connected to GPIO 18
|
||||
#dtoverlay=gpio-ir,gpio_pin=18
|
||||
|
14
projects/RPi/devices/RPi5/config/distroconfig-composite.txt
Normal file
14
projects/RPi/devices/RPi5/config/distroconfig-composite.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
# WARNING: DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN WHEN UPGRADING!
|
||||
arm_boost=1
|
||||
arm_64bit=1
|
||||
kernel=kernel.img
|
||||
display_auto_detect=1
|
||||
enable_tvout=1
|
||||
dtoverlay=vc4-kms-v3d,cma-512,composite=1
|
||||
dtoverlay=
|
||||
disable_overscan=1
|
||||
disable_fw_kms_setup=1
|
||||
max_framebuffers=0
|
13
projects/RPi/devices/RPi5/config/distroconfig.txt
Normal file
13
projects/RPi/devices/RPi5/config/distroconfig.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
# WARNING: DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN WHEN UPGRADING!
|
||||
arm_boost=1
|
||||
arm_64bit=1
|
||||
kernel=kernel.img
|
||||
display_auto_detect=1
|
||||
dtoverlay=vc4-kms-v3d,cma-512
|
||||
dtoverlay=
|
||||
disable_overscan=1
|
||||
disable_fw_kms_setup=1
|
||||
max_framebuffers=0
|
14
projects/RPi/devices/RPi5/kodi/appliance.xml
Normal file
14
projects/RPi/devices/RPi5/kodi/appliance.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<settings version="1">
|
||||
|
||||
<section id="system">
|
||||
<category id="audio">
|
||||
<group id="1">
|
||||
<setting id="audiooutput.audiodevice">
|
||||
<default>ALSA:hdmi:CARD=vc4hdmi0,DEV=0</default>
|
||||
</setting>
|
||||
</group>
|
||||
</category>
|
||||
</section>
|
||||
|
||||
</settings>
|
7144
projects/RPi/devices/RPi5/linux/linux.aarch64.conf
Normal file
7144
projects/RPi/devices/RPi5/linux/linux.aarch64.conf
Normal file
File diff suppressed because it is too large
Load Diff
43
projects/RPi/devices/RPi5/options
Normal file
43
projects/RPi/devices/RPi5/options
Normal file
@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# Device defaults
|
||||
################################################################################
|
||||
|
||||
# NOOBS supported hex versions (legacy) is not relevant for RPi4
|
||||
unset NOOBS_HEX
|
||||
|
||||
# NOOBS supported model versions
|
||||
NOOBS_SUPPORTED_MODELS='"Pi 5"'
|
||||
|
||||
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
||||
FIRMWARE="${FIRMWARE} rpi-eeprom flashrom"
|
||||
|
||||
# set the addon project
|
||||
ADDON_PROJECT="ARMv8"
|
||||
|
||||
# The TARGET_CPU variable controls which processor should be targeted for
|
||||
# generated code.
|
||||
case $TARGET_ARCH in
|
||||
aarch64)
|
||||
TARGET_CPU="cortex-a76"
|
||||
TARGET_CPU_FLAGS="+crc+crypto"
|
||||
;;
|
||||
arm)
|
||||
TARGET_KERNEL_ARCH="arm64"
|
||||
TARGET_KERNEL_PATCH_ARCH="aarch64"
|
||||
TARGET_FLOAT="hard"
|
||||
# cortex-a72 caused issues in the past, so use a53
|
||||
TARGET_CPU="cortex-a53"
|
||||
TARGET_CPU_FLAGS="+crc+crypto"
|
||||
TARGET_FPU="neon-fp-armv8"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Kernel target
|
||||
KERNEL_TARGET="Image"
|
||||
|
||||
# debug tty path
|
||||
DEBUG_TTY="/dev/ttyAMA10"
|
||||
|
||||
# serial console
|
||||
EXTRA_CMDLINE="console=ttyAMA10,115200 console=tty0"
|
||||
|
@ -0,0 +1,332 @@
|
||||
From f62aa2640f92796ff5216da0a5d3c8f46a2855b4 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= <apinheiro@igalia.com>
|
||||
Date: Mon, 26 Apr 2021 00:02:21 +0200
|
||||
Subject: [PATCH 001/142] broadcom(cle,clif,common,simulator): add 7.1 version
|
||||
on the list of versions to build
|
||||
|
||||
This adds 7.1 to the list of available V3D_VERSION, and first changes
|
||||
on the simulator needed to get it working.
|
||||
|
||||
Note that we needed to touch all those 4 codebases because it is
|
||||
needed if we want to use V3D_DEBUG=clif with the simulator, that it is
|
||||
the easier way to see which packets a vulkan program is using.
|
||||
|
||||
About the simulator, this commit only handle the rename of some
|
||||
registers. Any additional changes needed to get a proper support for
|
||||
v71 will be handled them on following commits.
|
||||
---
|
||||
src/broadcom/cle/meson.build | 3 +-
|
||||
src/broadcom/cle/v3dx_pack.h | 2 +
|
||||
src/broadcom/clif/clif_private.h | 2 +
|
||||
src/broadcom/common/v3d_device_info.c | 1 +
|
||||
src/broadcom/common/v3d_macros.h | 3 +
|
||||
src/broadcom/meson.build | 2 +-
|
||||
src/broadcom/simulator/v3d_simulator.c | 81 +++++++++++++++++++------
|
||||
src/broadcom/simulator/v3d_simulator.h | 5 ++
|
||||
src/broadcom/simulator/v3dx_simulator.c | 31 ++++++++--
|
||||
9 files changed, 106 insertions(+), 24 deletions(-)
|
||||
|
||||
diff --git a/src/broadcom/cle/meson.build b/src/broadcom/cle/meson.build
|
||||
index 31a0d5bfa94..8ac32b313e4 100644
|
||||
--- a/src/broadcom/cle/meson.build
|
||||
+++ b/src/broadcom/cle/meson.build
|
||||
@@ -23,7 +23,8 @@ v3d_versions = [
|
||||
[21, 21],
|
||||
[33, 33],
|
||||
[41, 33],
|
||||
- [42, 33]
|
||||
+ [42, 33],
|
||||
+ [71, 33]
|
||||
]
|
||||
|
||||
v3d_xml_files = []
|
||||
diff --git a/src/broadcom/cle/v3dx_pack.h b/src/broadcom/cle/v3dx_pack.h
|
||||
index 5762e5aaa70..e5a1eb26698 100644
|
||||
--- a/src/broadcom/cle/v3dx_pack.h
|
||||
+++ b/src/broadcom/cle/v3dx_pack.h
|
||||
@@ -37,6 +37,8 @@
|
||||
# include "cle/v3d_packet_v41_pack.h"
|
||||
#elif (V3D_VERSION == 42)
|
||||
# include "cle/v3d_packet_v42_pack.h"
|
||||
+#elif (V3D_VERSION == 71)
|
||||
+# include "cle/v3d_packet_v71_pack.h"
|
||||
#else
|
||||
# error "Need to add a pack header include for this v3d version"
|
||||
#endif
|
||||
diff --git a/src/broadcom/clif/clif_private.h b/src/broadcom/clif/clif_private.h
|
||||
index 6ace62b0310..cda407a00bf 100644
|
||||
--- a/src/broadcom/clif/clif_private.h
|
||||
+++ b/src/broadcom/clif/clif_private.h
|
||||
@@ -101,6 +101,8 @@ bool v3d41_clif_dump_packet(struct clif_dump *clif, uint32_t offset,
|
||||
const uint8_t *cl, uint32_t *size, bool reloc_mode);
|
||||
bool v3d42_clif_dump_packet(struct clif_dump *clif, uint32_t offset,
|
||||
const uint8_t *cl, uint32_t *size, bool reloc_mode);
|
||||
+bool v3d71_clif_dump_packet(struct clif_dump *clif, uint32_t offset,
|
||||
+ const uint8_t *cl, uint32_t *size, bool reloc_mode);
|
||||
|
||||
static inline void
|
||||
out(struct clif_dump *clif, const char *fmt, ...)
|
||||
diff --git a/src/broadcom/common/v3d_device_info.c b/src/broadcom/common/v3d_device_info.c
|
||||
index 272190eb2e5..7e0862f1f02 100644
|
||||
--- a/src/broadcom/common/v3d_device_info.c
|
||||
+++ b/src/broadcom/common/v3d_device_info.c
|
||||
@@ -66,6 +66,7 @@ v3d_get_device_info(int fd, struct v3d_device_info* devinfo, v3d_ioctl_fun drm_i
|
||||
case 33:
|
||||
case 41:
|
||||
case 42:
|
||||
+ case 71:
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr,
|
||||
diff --git a/src/broadcom/common/v3d_macros.h b/src/broadcom/common/v3d_macros.h
|
||||
index fe89398208a..b4291fb5350 100644
|
||||
--- a/src/broadcom/common/v3d_macros.h
|
||||
+++ b/src/broadcom/common/v3d_macros.h
|
||||
@@ -41,6 +41,9 @@
|
||||
#elif (V3D_VERSION == 42)
|
||||
# define V3DX(x) V3D42_##x
|
||||
# define v3dX(x) v3d42_##x
|
||||
+#elif (V3D_VERSION == 71)
|
||||
+# define V3DX(x) V3D71_##x
|
||||
+# define v3dX(x) v3d71_##x
|
||||
#else
|
||||
# error "Need to add prefixing macros for this v3d version"
|
||||
#endif
|
||||
diff --git a/src/broadcom/meson.build b/src/broadcom/meson.build
|
||||
index 2c10e46b188..73cb7aa0575 100644
|
||||
--- a/src/broadcom/meson.build
|
||||
+++ b/src/broadcom/meson.build
|
||||
@@ -22,7 +22,7 @@ inc_broadcom = include_directories('.', 'cle')
|
||||
|
||||
subdir('cle')
|
||||
|
||||
-v3d_versions = ['33', '41', '42']
|
||||
+v3d_versions = ['33', '41', '42', '71']
|
||||
v3d_libs = []
|
||||
|
||||
if with_gallium_v3d or with_broadcom_vk
|
||||
diff --git a/src/broadcom/simulator/v3d_simulator.c b/src/broadcom/simulator/v3d_simulator.c
|
||||
index eea5d3f050e..5cceb1a82cc 100644
|
||||
--- a/src/broadcom/simulator/v3d_simulator.c
|
||||
+++ b/src/broadcom/simulator/v3d_simulator.c
|
||||
@@ -490,10 +490,20 @@ v3d_simulator_submit_cl_ioctl(int fd, struct drm_v3d_submit_cl *submit)
|
||||
|
||||
v3d_simulator_perfmon_switch(fd, submit->perfmon_id);
|
||||
|
||||
- if (sim_state.ver >= 41)
|
||||
- v3d41_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs);
|
||||
- else
|
||||
- v3d33_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs);
|
||||
+ switch(sim_state.ver) {
|
||||
+ case 33:
|
||||
+ v3d33_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs);
|
||||
+ break;
|
||||
+ case 41:
|
||||
+ case 42:
|
||||
+ v3d41_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs);
|
||||
+ break;
|
||||
+ case 71:
|
||||
+ v3d71_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs);
|
||||
+ break;
|
||||
+ default:
|
||||
+ unreachable("Unsupported V3D version\n");
|
||||
+ }
|
||||
|
||||
util_dynarray_foreach(&sim_state.bin_oom, struct v3d_simulator_bo *,
|
||||
sim_bo) {
|
||||
@@ -635,10 +645,17 @@ v3d_simulator_gem_close_ioctl(int fd, struct drm_gem_close *args)
|
||||
static int
|
||||
v3d_simulator_get_param_ioctl(int fd, struct drm_v3d_get_param *args)
|
||||
{
|
||||
- if (sim_state.ver >= 41)
|
||||
- return v3d41_simulator_get_param_ioctl(sim_state.v3d, args);
|
||||
- else
|
||||
+ switch(sim_state.ver) {
|
||||
+ case 33:
|
||||
return v3d33_simulator_get_param_ioctl(sim_state.v3d, args);
|
||||
+ case 41:
|
||||
+ case 42:
|
||||
+ return v3d41_simulator_get_param_ioctl(sim_state.v3d, args);
|
||||
+ case 71:
|
||||
+ return v3d71_simulator_get_param_ioctl(sim_state.v3d, args);
|
||||
+ default:
|
||||
+ unreachable("Unsupported V3D version\n");
|
||||
+ }
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -652,10 +669,20 @@ v3d_simulator_submit_tfu_ioctl(int fd, struct drm_v3d_submit_tfu *args)
|
||||
v3d_simulator_copy_in_handle(file, args->bo_handles[2]);
|
||||
v3d_simulator_copy_in_handle(file, args->bo_handles[3]);
|
||||
|
||||
- if (sim_state.ver >= 41)
|
||||
- ret = v3d41_simulator_submit_tfu_ioctl(sim_state.v3d, args);
|
||||
- else
|
||||
+ switch(sim_state.ver) {
|
||||
+ case 33:
|
||||
ret = v3d33_simulator_submit_tfu_ioctl(sim_state.v3d, args);
|
||||
+ break;
|
||||
+ case 41:
|
||||
+ case 42:
|
||||
+ ret = v3d41_simulator_submit_tfu_ioctl(sim_state.v3d, args);
|
||||
+ break;
|
||||
+ case 71:
|
||||
+ ret = v3d71_simulator_submit_tfu_ioctl(sim_state.v3d, args);
|
||||
+ break;
|
||||
+ default:
|
||||
+ unreachable("Unsupported V3D version\n");
|
||||
+ }
|
||||
|
||||
v3d_simulator_copy_out_handle(file, args->bo_handles[0]);
|
||||
|
||||
@@ -682,11 +709,19 @@ v3d_simulator_submit_csd_ioctl(int fd, struct drm_v3d_submit_csd *args)
|
||||
|
||||
v3d_simulator_perfmon_switch(fd, args->perfmon_id);
|
||||
|
||||
- if (sim_state.ver >= 41)
|
||||
- ret = v3d41_simulator_submit_csd_ioctl(sim_state.v3d, args,
|
||||
- file->gmp->ofs);
|
||||
- else
|
||||
- ret = -1;
|
||||
+ switch(sim_state.ver) {
|
||||
+ case 41:
|
||||
+ case 42:
|
||||
+ ret = v3d41_simulator_submit_csd_ioctl(sim_state.v3d, args,
|
||||
+ file->gmp->ofs);
|
||||
+ break;
|
||||
+ case 71:
|
||||
+ ret = v3d71_simulator_submit_csd_ioctl(sim_state.v3d, args,
|
||||
+ file->gmp->ofs);
|
||||
+ break;
|
||||
+ default:
|
||||
+ ret = -1;
|
||||
+ }
|
||||
|
||||
for (int i = 0; i < args->bo_handle_count; i++)
|
||||
v3d_simulator_copy_out_handle(file, bo_handles[i]);
|
||||
@@ -880,10 +915,20 @@ v3d_simulator_init_global()
|
||||
|
||||
util_dynarray_init(&sim_state.bin_oom, NULL);
|
||||
|
||||
- if (sim_state.ver >= 41)
|
||||
- v3d41_simulator_init_regs(sim_state.v3d);
|
||||
- else
|
||||
+ switch(sim_state.ver) {
|
||||
+ case 33:
|
||||
v3d33_simulator_init_regs(sim_state.v3d);
|
||||
+ break;
|
||||
+ case 41:
|
||||
+ case 42:
|
||||
+ v3d41_simulator_init_regs(sim_state.v3d);
|
||||
+ break;
|
||||
+ case 71:
|
||||
+ v3d71_simulator_init_regs(sim_state.v3d);
|
||||
+ break;
|
||||
+ default:
|
||||
+ unreachable("Not supported V3D version\n");
|
||||
+ }
|
||||
}
|
||||
|
||||
struct v3d_simulator_file *
|
||||
diff --git a/src/broadcom/simulator/v3d_simulator.h b/src/broadcom/simulator/v3d_simulator.h
|
||||
index ddb079c1455..1472c313a03 100644
|
||||
--- a/src/broadcom/simulator/v3d_simulator.h
|
||||
+++ b/src/broadcom/simulator/v3d_simulator.h
|
||||
@@ -52,6 +52,11 @@ uint32_t v3d_simulator_get_mem_free(void);
|
||||
# define v3dX(x) v3d41_##x
|
||||
# include "v3dx_simulator.h"
|
||||
# undef v3dX
|
||||
+
|
||||
+# define v3dX(x) v3d71_##x
|
||||
+# include "v3dx_simulator.h"
|
||||
+# undef v3dX
|
||||
+
|
||||
#endif
|
||||
|
||||
#endif
|
||||
diff --git a/src/broadcom/simulator/v3dx_simulator.c b/src/broadcom/simulator/v3dx_simulator.c
|
||||
index c9322f0397b..723796b16c9 100644
|
||||
--- a/src/broadcom/simulator/v3dx_simulator.c
|
||||
+++ b/src/broadcom/simulator/v3dx_simulator.c
|
||||
@@ -46,11 +46,15 @@
|
||||
|
||||
#define HW_REGISTER_RO(x) (x)
|
||||
#define HW_REGISTER_RW(x) (x)
|
||||
-#if V3D_VERSION >= 41
|
||||
+#if V3D_VERSION == 71
|
||||
+#include "libs/core/v3d/registers/7.1.5.1/v3d.h"
|
||||
+#else
|
||||
+#if V3D_VERSION == 41 || V3D_VERSION == 42
|
||||
#include "libs/core/v3d/registers/4.1.35.0/v3d.h"
|
||||
#else
|
||||
#include "libs/core/v3d/registers/3.3.0.0/v3d.h"
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#define V3D_WRITE(reg, val) v3d_hw_write_reg(v3d, reg, val)
|
||||
#define V3D_READ(reg) v3d_hw_read_reg(v3d, reg)
|
||||
@@ -310,16 +314,17 @@ v3d_isr_core(struct v3d_hw *v3d,
|
||||
return;
|
||||
}
|
||||
|
||||
+#if V3D_VERSION <= 42
|
||||
if (core_status & V3D_CTL_0_INT_STS_INT_GMPV_SET) {
|
||||
fprintf(stderr, "GMP violation at 0x%08x\n",
|
||||
V3D_READ(V3D_GMP_VIO_ADDR));
|
||||
- abort();
|
||||
} else {
|
||||
fprintf(stderr,
|
||||
"Unexpected ISR with core status 0x%08x\n",
|
||||
core_status);
|
||||
}
|
||||
abort();
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -396,6 +401,18 @@ v3d_isr_hub(struct v3d_hw *v3d)
|
||||
}
|
||||
|
||||
handle_mmu_interruptions(v3d, hub_status);
|
||||
+
|
||||
+#if V3D_VERSION == 71
|
||||
+ if (hub_status & V3D_HUB_CTL_INT_STS_INT_GMPV_SET) {
|
||||
+ fprintf(stderr, "GMP violation at 0x%08x\n",
|
||||
+ V3D_READ(V3D_GMP_VIO_ADDR));
|
||||
+ } else {
|
||||
+ fprintf(stderr,
|
||||
+ "Unexpected ISR with status 0x%08x\n",
|
||||
+ hub_status);
|
||||
+ }
|
||||
+ abort();
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -436,8 +453,11 @@ v3dX(simulator_init_regs)(struct v3d_hw *v3d)
|
||||
* for tracing. Perhaps we should evaluate to do the same here and add
|
||||
* some debug options.
|
||||
*/
|
||||
- uint32_t core_interrupts = (V3D_CTL_0_INT_STS_INT_GMPV_SET |
|
||||
- V3D_CTL_0_INT_STS_INT_OUTOMEM_SET);
|
||||
+ uint32_t core_interrupts = V3D_CTL_0_INT_STS_INT_OUTOMEM_SET;
|
||||
+#if V3D_VERSION <= 42
|
||||
+ core_interrupts |= V3D_CTL_0_INT_STS_INT_GMPV_SET;
|
||||
+#endif
|
||||
+
|
||||
V3D_WRITE(V3D_CTL_0_INT_MSK_SET, ~core_interrupts);
|
||||
V3D_WRITE(V3D_CTL_0_INT_MSK_CLR, core_interrupts);
|
||||
|
||||
@@ -447,6 +467,9 @@ v3dX(simulator_init_regs)(struct v3d_hw *v3d)
|
||||
V3D_HUB_CTL_INT_STS_INT_MMU_CAP_SET | /* CAP exceeded */
|
||||
V3D_HUB_CTL_INT_STS_INT_TFUC_SET); /* TFU conversion */
|
||||
|
||||
+#if V3D_VERSION == 71
|
||||
+ hub_interrupts |= V3D_HUB_CTL_INT_STS_INT_GMPV_SET;
|
||||
+#endif
|
||||
V3D_WRITE(V3D_HUB_CTL_INT_MSK_SET, ~hub_interrupts);
|
||||
V3D_WRITE(V3D_HUB_CTL_INT_MSK_CLR, hub_interrupts);
|
||||
|
||||
--
|
||||
2.39.2
|
||||
|
@ -0,0 +1,30 @@
|
||||
From 9e85edd1b347b0e779b393f463f42044a720bcff Mon Sep 17 00:00:00 2001
|
||||
From: Iago Toral Quiroga <itoral@igalia.com>
|
||||
Date: Tue, 28 Sep 2021 13:16:49 +0200
|
||||
Subject: [PATCH 002/142] broadcom/simulator: reset CFG7 for compute dispatch
|
||||
in v71
|
||||
|
||||
This register is new in 7.x, it doesn't seem that we need to
|
||||
do anything specific for now, but let's make sure it is reset
|
||||
every time.
|
||||
---
|
||||
src/broadcom/simulator/v3dx_simulator.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/src/broadcom/simulator/v3dx_simulator.c b/src/broadcom/simulator/v3dx_simulator.c
|
||||
index 723796b16c9..f23b0538de3 100644
|
||||
--- a/src/broadcom/simulator/v3dx_simulator.c
|
||||
+++ b/src/broadcom/simulator/v3dx_simulator.c
|
||||
@@ -227,6 +227,9 @@ v3dX(simulator_submit_csd_ioctl)(struct v3d_hw *v3d,
|
||||
V3D_WRITE(V3D_CSD_0_QUEUED_CFG4, args->cfg[4]);
|
||||
V3D_WRITE(V3D_CSD_0_QUEUED_CFG5, args->cfg[5]);
|
||||
V3D_WRITE(V3D_CSD_0_QUEUED_CFG6, args->cfg[6]);
|
||||
+#if V3D_VERSION >= 71
|
||||
+ V3D_WRITE(V3D_CSD_0_QUEUED_CFG7, 0);
|
||||
+#endif
|
||||
/* CFG0 kicks off the job */
|
||||
V3D_WRITE(V3D_CSD_0_QUEUED_CFG0, args->cfg[0]);
|
||||
|
||||
--
|
||||
2.39.2
|
||||
|
@ -0,0 +1,712 @@
|
||||
From 6f744bc4bec98f9769486d427e8e2d4e314ae056 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= <apinheiro@igalia.com>
|
||||
Date: Tue, 29 Jun 2021 12:03:24 +0200
|
||||
Subject: [PATCH 003/142] broadcom/cle: update the packet definitions for new
|
||||
generation v71
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Using as reference the spec for 7.1.5. This include totally new
|
||||
packets, and redefine some that already existed on v42.
|
||||
|
||||
Full list:
|
||||
* Add Depth Bounds Test Limits
|
||||
* Redefine Tile Binning Mode Cfg
|
||||
* Redefine Cfg Bits. There are some changes on the fields:
|
||||
* Line Rasterization is now 1 bit size
|
||||
* Depth Bounds Enable (that takes one of the bits of Line Rasterization)
|
||||
* Early-Z/Early-Z updates enable bits (16-17) figure now as reserved.
|
||||
* New Z-Clipping mode field
|
||||
* Redefine Tile Rendering Mode Cfg (Common). Changes with respect to v42:
|
||||
* New log2 tile height/width fields starting at bit 52/55
|
||||
* Due those two news, end pad is smaller
|
||||
* sub-id has now a size of 3. Bit 4 is reserved.
|
||||
* Number of render targets: this field max value is now 7 (not
|
||||
reflected on the xml).
|
||||
* Maximum BPP is removed on v71 (now bits 40-41 are reserved)
|
||||
* Depth Buffer disable: on bit 44
|
||||
* Update Store Tile Buffer General
|
||||
* Adding Cfg Render Target Part1/2/3 packets: they replace v4X "Tile
|
||||
Rendering Mode Cfg (Color)" (real name "Rendering Configuration
|
||||
(Render Targets Config)"), "Tile Rendering Mode Cfg (Clear Colors
|
||||
Part1)", "Tile Rendering Mode Cfg (Clear Colors Part2)", and "Tile
|
||||
Rendering Mode Cfg (Clear Colors Part3)". On those old versions,
|
||||
the first packet is used to configure 4 render targets. Now that 8
|
||||
are supported, invididual per-render-target are used.
|
||||
* Update ZS clear values packet.
|
||||
* Add new v71 output formats
|
||||
* Define Clear Render Targets (Replaces Clear Tile Buffers from v42)
|
||||
* Redefine GL Shader State Record. Changes copared with v42:
|
||||
* Fields removed:
|
||||
* "Coordinate shader has separate input and output VPM blocks"
|
||||
(reserved bit now)
|
||||
* "Vertex shader has separate input and output VPM blocks"
|
||||
(reserved bit now)
|
||||
* "Address of table of default attribute Values." (we needed to
|
||||
change the start position for all the following fields)
|
||||
* New field:
|
||||
* "Never defer FEP depth writes to fragment shader auto Z writes
|
||||
on scoreboard conflict"
|
||||
* Redefine clipper xy scaling: Now it uses 1/64ths of pixels, instead
|
||||
of 1/256ths
|
||||
* Update texture shader state.
|
||||
* Notice we don't use an address type for these fields in the XML
|
||||
description. This is because the addresses are 64-bit aligned
|
||||
(even though the PRM doesn't say it) which means the 6 LSB bits
|
||||
are implicitly 0, but the fields are encoded before the 6th bit
|
||||
of their starting byte, so we can't use the usual trick we do
|
||||
with address types where the first 6 bits in the byte are
|
||||
implicitly overwritten by other fields and we have to encode this
|
||||
manually as a uint field. This would mean that if we had an
|
||||
actual BO we would also need to add it manually to the job's
|
||||
list, but since we don't have one, we don't have to do anything
|
||||
about it.
|
||||
* Add new RB_Swap field for texture shader state
|
||||
* Document Cb/Cr addresses as uint fields in texture shader state
|
||||
* Fixup Blend Config description: we now support 8 RTs.
|
||||
* TMU config parameter 2 has new fields
|
||||
* Add new clipper Z without guardband packet in v71
|
||||
* Add enums for the Z clip modes accepted in v71
|
||||
* Fix texture state array stride packing for V3D 7.1.5
|
||||
|
||||
Signed-off-by: Iago Toral Quiroga <itoral@igalia.com>
|
||||
Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com>
|
||||
|
||||
broadcom/cle: rb_swap
|
||||
---
|
||||
src/broadcom/cle/v3d_packet_v33.xml | 386 ++++++++++++++++++++++++++--
|
||||
1 file changed, 368 insertions(+), 18 deletions(-)
|
||||
|
||||
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml
|
||||
index a0242b5f1c2..624353ca2bf 100644
|
||||
--- a/src/broadcom/cle/v3d_packet_v33.xml
|
||||
+++ b/src/broadcom/cle/v3d_packet_v33.xml
|
||||
@@ -1,4 +1,4 @@
|
||||
-<vcxml gen="3.3" min_ver="33" max_ver="42">
|
||||
+<vcxml gen="3.3" min_ver="33" max_ver="71">
|
||||
|
||||
<enum name="Compare Function" prefix="V3D_COMPARE_FUNC">
|
||||
<value name="NEVER" value="0"/>
|
||||
@@ -167,13 +167,36 @@
|
||||
<value name="depth_16" value="2"/>
|
||||
</enum>
|
||||
|
||||
- <enum name="Render Target Clamp" prefix="V3D_RENDER_TARGET_CLAMP" min_ver="41">
|
||||
+ <enum name="Render Target Clamp" prefix="V3D_RENDER_TARGET_CLAMP" min_ver="41" max_ver="42">
|
||||
<value name="none" value="0"/> <!-- no clamping -->
|
||||
<value name="norm" value="1"/> <!-- [0,1] for f16 -->
|
||||
<value name="pos" value="2"/> <!-- [0, for f16 -->
|
||||
<value name="int" value="3" min_ver="42"/> <!-- clamp to integer RT's range -->
|
||||
</enum>
|
||||
|
||||
+ <enum name="Render Target Type Clamp" prefix="V3D_RENDER_TARGET_TYPE_CLAMP" min_ver="71">
|
||||
+ <value name="8i" value="0"/> <!-- no clamping -->
|
||||
+ <value name="16i" value="1"/> <!-- no clamping -->
|
||||
+ <value name="32i" value="2"/> <!-- no clamping -->
|
||||
+ <value name="8ui" value="4"/> <!-- no clamping -->
|
||||
+ <value name="16ui" value="5"/> <!-- no clamping -->
|
||||
+ <value name="32ui" value="6"/> <!-- no clamping -->
|
||||
+ <value name="8" value="8"/> <!-- no clamping -->
|
||||
+ <value name="16f" value="9"/> <!-- no clamping -->
|
||||
+ <value name="32f" value="10"/> <!-- no clamping -->
|
||||
+ <value name="8i_clamped" value="16"/> <!-- clamp to integer RT's range -->
|
||||
+ <value name="16i_clamped" value="17"/> <!-- clamp to integer RT's range -->
|
||||
+ <value name="32i_clamped" value="18"/> <!-- clamp to integer RT's range -->
|
||||
+ <value name="8ui_clamped" value="20"/> <!-- clamp to integer RT's range -->
|
||||
+ <value name="16ui_clamped" value="21"/> <!-- clamp to integer RT's range -->
|
||||
+ <value name="32ui_clamped" value="22"/> <!-- clamp to integer RT's range -->
|
||||
+ <value name="16f_clamp_norm" value="24"/> <!-- [0,1] for f16 -->
|
||||
+ <value name="16f_clamp_pos" value="25"/> <!-- [0, for f16 -->
|
||||
+ <value name="16f_clamp_pq" value="26"/> <!-- PQ lin range, colour to [0, 125], alpha to [0, 1] for f16 -->
|
||||
+ <value name="16f_clamp_hlg" value="27"/> <!-- HLG lin range, colour to [0, 12], alpha to [0, 1] for f16 -->
|
||||
+ <value name="invalid" value="32"/>
|
||||
+ </enum>
|
||||
+
|
||||
<!---
|
||||
CL cache flush commands are not fully documented and subject to a
|
||||
number of hardware issues that make them unreliable. Specifically:
|
||||
@@ -263,13 +286,27 @@
|
||||
<value name="r8ui" value="36"/>
|
||||
<value name="srgbx8" value="37" max_ver="33"/>
|
||||
<value name="rgbx8" value="38" max_ver="33"/>
|
||||
- <value name="bstc" value="39" min_ver="41"/>
|
||||
+ <value name="bstc8" value="39" min_ver="41"/>
|
||||
<value name="d32f" value="40" min_ver="41"/>
|
||||
<value name="d24" value="41" min_ver="41"/>
|
||||
<value name="d16" value="42" min_ver="41"/>
|
||||
<value name="d24s8" value="43" min_ver="41"/>
|
||||
<value name="s8" value="44" min_ver="41"/>
|
||||
<value name="rgba5551" value="45" min_ver="41"/>
|
||||
+ <value name="bstc8_srgb" value="46" min_ver="71"/>
|
||||
+ <value name="bstc10" value="47" min_ver="71"/>
|
||||
+ <value name="bstc10_srgb" value="48" min_ver="71"/>
|
||||
+ <value name="bstc10_pq" value="49" min_ver="71"/>
|
||||
+ <value name="rgba10x6" value="50" min_ver="71"/>
|
||||
+ <value name="bstc10_hlg" value="55" min_ver="71"/>
|
||||
+ <value name="rgba10x6_hlg" value="56" min_ver="71"/>
|
||||
+ <value name="rgb10_a2_hlg" value="57" min_ver="71"/>
|
||||
+ <value name="bstc10_pq_bt1886" value="58" min_ver="71"/>
|
||||
+ <value name="rgba10x6_pq_bt1886" value="59" min_ver="71"/>
|
||||
+ <value name="rgb10_a2_pq_bt1886" value="60" min_ver="71"/>
|
||||
+ <value name="bstc10_hlg_bt1886" value="61" min_ver="71"/>
|
||||
+ <value name="rgba10x6_hlg_bt1886" value="62" min_ver="71"/>
|
||||
+ <value name="rgb10_a2_hlg_bt1886" value="63" min_ver="71"/>
|
||||
</enum>
|
||||
|
||||
<enum name="Z/S Output Image Format" prefix="V3D_OUTPUT_IMAGE_FORMAT_ZS" max_ver="33">
|
||||
@@ -314,6 +351,12 @@
|
||||
<value name="perp end caps" value="1"/>
|
||||
</enum>
|
||||
|
||||
+ <enum name="Z Clip Mode" prefix="V3D_Z_CLIP_MODE">
|
||||
+ <value name="NONE" value="0"/>
|
||||
+ <value name="MIN_ONE_TO_ONE" value="1"/>
|
||||
+ <value name="ZERO_TO_ONE" value="2"/>
|
||||
+ </enum>
|
||||
+
|
||||
<packet code="0" name="Halt"/>
|
||||
<packet code="1" name="NOP"/>
|
||||
<packet code="4" name="Flush"/>
|
||||
@@ -381,11 +424,13 @@
|
||||
<field name="Last Tile of Frame" size="1" start="0" type="bool"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="25" shortname="clear" name="Clear Tile Buffers" cl="R" min_ver="41">
|
||||
+ <packet code="25" shortname="clear" name="Clear Tile Buffers" cl="R" min_ver="41" max_ver="42">
|
||||
<field name="Clear Z/Stencil Buffer" size="1" start="1" type="bool"/>
|
||||
<field name="Clear all Render Targets" size="1" start="0" type="bool"/>
|
||||
</packet>
|
||||
|
||||
+ <packet code="25" shortname="clear_rt" name="Clear Render Targets" cl="R" min_ver="71"/>
|
||||
+
|
||||
<packet code="26" shortname="load" name="Reload Tile Color Buffer" cl="R" max_ver="33">
|
||||
<field name="Disable Color Buffer load" size="8" start="8" type="uint"/>
|
||||
<field name="Enable Z load" size="1" start="7" type="bool"/>
|
||||
@@ -443,6 +488,10 @@
|
||||
<value name="Render target 1" value="1"/>
|
||||
<value name="Render target 2" value="2"/>
|
||||
<value name="Render target 3" value="3"/>
|
||||
+ <value name="Render target 4" value="4" min_ver="71"/>
|
||||
+ <value name="Render target 5" value="5" min_ver="71"/>
|
||||
+ <value name="Render target 6" value="6" min_ver="71"/>
|
||||
+ <value name="Render target 7" value="7" min_ver="71"/>
|
||||
<value name="None" value="8"/>
|
||||
<value name="Z" value="9"/>
|
||||
<value name="Stencil" value="10"/>
|
||||
@@ -789,7 +838,7 @@
|
||||
<field name="Alpha blend mode" size="4" start="0" type="Blend Mode"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="84" name="Blend Cfg" min_ver="41">
|
||||
+ <packet code="84" name="Blend Cfg" min_ver="41" max_ver="42">
|
||||
<field name="Render Target Mask" size="4" start="24" type="uint"/>
|
||||
<field name="Color blend dst factor" size="4" start="20" type="Blend Factor"/>
|
||||
<field name="Color blend src factor" size="4" start="16" type="Blend Factor"/>
|
||||
@@ -799,6 +848,16 @@
|
||||
<field name="Alpha blend mode" size="4" start="0" type="Blend Mode"/>
|
||||
</packet>
|
||||
|
||||
+ <packet code="84" name="Blend Cfg" min_ver="71">
|
||||
+ <field name="Render Target Mask" size="8" start="24" type="uint"/>
|
||||
+ <field name="Color blend dst factor" size="4" start="20" type="Blend Factor"/>
|
||||
+ <field name="Color blend src factor" size="4" start="16" type="Blend Factor"/>
|
||||
+ <field name="Color blend mode" size="4" start="12" type="Blend Mode"/>
|
||||
+ <field name="Alpha blend dst factor" size="4" start="8" type="Blend Factor"/>
|
||||
+ <field name="Alpha blend src factor" size="4" start="4" type="Blend Factor"/>
|
||||
+ <field name="Alpha blend mode" size="4" start="0" type="Blend Mode"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet code="86" shortname="blend_ccolor" name="Blend Constant Color">
|
||||
<field name="Alpha (F16)" size="16" start="48" type="uint"/>
|
||||
<field name="Blue (F16)" size="16" start="32" type="uint"/>
|
||||
@@ -828,7 +887,12 @@
|
||||
<field name="address" size="32" start="0" type="address"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="96" name="Cfg Bits">
|
||||
+ <packet code="93" name="Depth Bounds Test Limits" min_ver="71">
|
||||
+ <field name="Lower Test Limit" size="32" start="0" type="float"/>
|
||||
+ <field name="Upper Test Limit" size="32" start="32" type="float"/>
|
||||
+ </packet>
|
||||
+
|
||||
+ <packet code="96" name="Cfg Bits" max_ver="42">
|
||||
<field name="Direct3D Provoking Vertex" size="1" start="21" type="bool"/>
|
||||
<field name="Direct3D 'Point-fill' mode" size="1" start="20" type="bool"/>
|
||||
<field name="Blend enable" size="1" start="19" type="bool"/>
|
||||
@@ -846,6 +910,25 @@
|
||||
<field name="Enable Forward Facing Primitive" size="1" start="0" type="bool"/>
|
||||
</packet>
|
||||
|
||||
+ <packet code="96" name="Cfg Bits" min_ver="71">
|
||||
+ <field name="Z Clipping mode" size="2" start="22" type="Z Clip Mode"/>
|
||||
+ <field name="Direct3D Provoking Vertex" size="1" start="21" type="bool"/>
|
||||
+ <field name="Direct3D 'Point-fill' mode" size="1" start="20" type="bool"/>
|
||||
+ <field name="Blend enable" size="1" start="19" type="bool"/>
|
||||
+ <field name="Stencil enable" size="1" start="18" type="bool"/>
|
||||
+ <field name="Z updates enable" size="1" start="15" type="bool"/>
|
||||
+ <field name="Depth-Test Function" size="3" start="12" type="Compare Function"/>
|
||||
+ <field name="Direct3D Wireframe triangles mode" size="1" start="11" type="bool"/>
|
||||
+ <field name="Z Clamp Mode" size="1" start="10" type="bool"/>
|
||||
+ <field name="Rasterizer Oversample Mode" size="2" start="6" type="uint"/>
|
||||
+ <field name="Depth Bounds Test Enable" size="1" start="5" type="bool"/>
|
||||
+ <field name="Line Rasterization" size="1" start="4" type="uint"/>
|
||||
+ <field name="Enable Depth Offset" size="1" start="3" type="bool"/>
|
||||
+ <field name="Clockwise Primitives" size="1" start="2" type="bool"/>
|
||||
+ <field name="Enable Reverse Facing Primitive" size="1" start="1" type="bool"/>
|
||||
+ <field name="Enable Forward Facing Primitive" size="1" start="0" type="bool"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet code="97" shortname="zero_all_flatshade_flags" name="Zero All Flat Shade Flags"/>
|
||||
|
||||
<packet code="98" shortname="flatshade_flags" name="Flat Shade Flags">
|
||||
@@ -907,16 +990,26 @@
|
||||
<field name="Minimum Zw" size="32" start="0" type="float"/>
|
||||
</packet>
|
||||
|
||||
- <packet shortname="clipper_xy" name="Clipper XY Scaling" code="110" cl="B">
|
||||
+ <packet shortname="clipper_xy" name="Clipper XY Scaling" code="110" cl="B" max_ver="42">
|
||||
<field name="Viewport Half-Height in 1/256th of pixel" size="32" start="32" type="float"/>
|
||||
<field name="Viewport Half-Width in 1/256th of pixel" size="32" start="0" type="float"/>
|
||||
</packet>
|
||||
|
||||
+ <packet shortname="clipper_xy" name="Clipper XY Scaling" code="110" cl="B" min_ver="71">
|
||||
+ <field name="Viewport Half-Height in 1/64th of pixel" size="32" start="32" type="float"/>
|
||||
+ <field name="Viewport Half-Width in 1/64th of pixel" size="32" start="0" type="float"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet shortname="clipper_z" name="Clipper Z Scale and Offset" code="111" cl="B">
|
||||
<field name="Viewport Z Offset (Zc to Zs)" size="32" start="32" type="float"/>
|
||||
<field name="Viewport Z Scale (Zc to Zs)" size="32" start="0" type="float"/>
|
||||
</packet>
|
||||
|
||||
+ <packet shortname="clipper_z_no_guardband" name="Clipper Z Scale and Offset no guardband" code="112" cl="B" min_ver="71">
|
||||
+ <field name="Viewport Z Offset (Zc to Zs)" size="32" start="32" type="float"/>
|
||||
+ <field name="Viewport Z Scale (Zc to Zs)" size="32" start="0" type="float"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet name="Number of Layers" code="119" min_ver="41">
|
||||
<field name="Number of Layers" size="8" start="0" type="uint" minus_one="true"/>
|
||||
</packet>
|
||||
@@ -947,7 +1040,7 @@
|
||||
<field name="sub-id" size="1" start="0" type="uint" default="0"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="120" name="Tile Binning Mode Cfg" min_ver="41">
|
||||
+ <packet code="120" name="Tile Binning Mode Cfg" min_ver="41" max_ver="42">
|
||||
|
||||
<field name="Height (in pixels)" size="16" start="48" type="uint" minus_one="true"/>
|
||||
<field name="Width (in pixels)" size="16" start="32" type="uint" minus_one="true"/>
|
||||
@@ -971,6 +1064,35 @@
|
||||
</field>
|
||||
</packet>
|
||||
|
||||
+ <packet code="120" name="Tile Binning Mode Cfg" min_ver="71">
|
||||
+ <field name="Height (in pixels)" size="16" start="48" type="uint" minus_one="true"/>
|
||||
+ <field name="Width (in pixels)" size="16" start="32" type="uint" minus_one="true"/>
|
||||
+
|
||||
+ <field name="Log2 Tile Height" size="3" start="11" type="uint">
|
||||
+ <value name="tile height 8 pixels" value="0"/>
|
||||
+ <value name="tile height 16 pixels" value="1"/>
|
||||
+ <value name="tile height 32 pixels" value="2"/>
|
||||
+ <value name="tile height 64 pixels" value="3"/>
|
||||
+ </field>
|
||||
+ <field name="Log2 Tile Width" size="3" start="8" type="uint">
|
||||
+ <value name="tile width 8 pixels" value="0"/>
|
||||
+ <value name="tile width 16 pixels" value="1"/>
|
||||
+ <value name="tile width 32 pixels" value="2"/>
|
||||
+ <value name="tile width 64 pixels" value="3"/>
|
||||
+ </field>
|
||||
+
|
||||
+ <field name="tile allocation block size" size="2" start="4" type="uint">
|
||||
+ <value name="tile allocation block size 64b" value="0"/>
|
||||
+ <value name="tile allocation block size 128b" value="1"/>
|
||||
+ <value name="tile allocation block size 256b" value="2"/>
|
||||
+ </field>
|
||||
+ <field name="tile allocation initial block size" size="2" start="2" type="uint">
|
||||
+ <value name="tile allocation initial block size 64b" value="0"/>
|
||||
+ <value name="tile allocation initial block size 128b" value="1"/>
|
||||
+ <value name="tile allocation initial block size 256b" value="2"/>
|
||||
+ </field>
|
||||
+ </packet>
|
||||
+
|
||||
<packet code="120" name="Tile Binning Mode Cfg (Part2)" cl="B" max_ver="33">
|
||||
<field name="Tile Allocation Memory Address" size="32" start="32" type="address"/>
|
||||
<field name="Tile Allocation Memory Size" size="32" start="0" type="uint"/>
|
||||
@@ -1002,7 +1124,7 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="0"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="121" name="Tile Rendering Mode Cfg (Common)" cl="R" min_ver="41">
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Common)" cl="R" min_ver="41" max_ver="42">
|
||||
<field name="Pad" size="12" start="52" type="uint"/>
|
||||
|
||||
<field name="Early Depth/Stencil Clear" size="1" start="51" type="bool"/>
|
||||
@@ -1018,7 +1140,11 @@
|
||||
<field name="Double-buffer in non-ms mode" size="1" start="43" type="bool"/>
|
||||
<field name="Multisample Mode (4x)" size="1" start="42" type="bool"/>
|
||||
|
||||
- <field name="Maximum BPP of all render targets" size="2" start="40" type="Internal BPP"/>
|
||||
+ <field name="Maximum BPP of all render targets" size="2" start="40" type="Internal BPP">
|
||||
+ <value name="Render target maximum 32bpp" value="0"/>
|
||||
+ <value name="Render target maximum 64bpp" value="1"/>
|
||||
+ <value name="Render target maximum 128bpp" value="2"/>
|
||||
+ </field>
|
||||
|
||||
<field name="Image Height (pixels)" size="16" start="24" type="uint"/>
|
||||
<field name="Image Width (pixels)" size="16" start="8" type="uint"/>
|
||||
@@ -1027,6 +1153,43 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="0"/>
|
||||
</packet>
|
||||
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Common)" cl="R" min_ver="71">
|
||||
+ <field name="Pad" size="6" start="58" type="uint"/>
|
||||
+
|
||||
+ <field name="Log2 Tile Height" size="3" start="55" type="uint">
|
||||
+ <value name="tile height 8 pixels" value="0"/>
|
||||
+ <value name="tile height 16 pixels" value="1"/>
|
||||
+ <value name="tile height 32 pixels" value="2"/>
|
||||
+ <value name="tile height 64 pixels" value="3"/>
|
||||
+ </field>
|
||||
+ <field name="Log2 Tile Width" size="3" start="52" type="uint">
|
||||
+ <value name="tile width 8 pixels" value="0"/>
|
||||
+ <value name="tile width 16 pixels" value="1"/>
|
||||
+ <value name="tile width 32 pixels" value="2"/>
|
||||
+ <value name="tile width 64 pixels" value="3"/>
|
||||
+ </field>
|
||||
+
|
||||
+ <field name="Early Depth/Stencil Clear" size="1" start="51" type="bool"/>
|
||||
+ <field name="Internal Depth Type" size="4" start="47" type="Internal Depth Type"/>
|
||||
+
|
||||
+ <field name="Early-Z disable" size="1" start="46" type="bool"/>
|
||||
+
|
||||
+ <field name="Early-Z Test and Update Direction" size="1" start="45" type="uint">
|
||||
+ <value name="Early-Z direction LT/LE" value="0"/>
|
||||
+ <value name="Early-Z direction GT/GE" value="1"/>
|
||||
+ </field>
|
||||
+
|
||||
+ <field name="Depth-buffer disable" size="1" start="44" type="bool"/>
|
||||
+ <field name="Double-buffer in non-ms mode" size="1" start="43" type="bool"/>
|
||||
+ <field name="Multisample Mode (4x)" size="1" start="42" type="bool"/>
|
||||
+
|
||||
+ <field name="Image Height (pixels)" size="16" start="24" type="uint"/>
|
||||
+ <field name="Image Width (pixels)" size="16" start="8" type="uint"/>
|
||||
+ <field name="Number of Render Targets" size="4" start="4" type="uint" minus_one="true"/>
|
||||
+
|
||||
+ <field name="sub-id" size="3" start="0" type="uint" default="0"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet code="121" name="Tile Rendering Mode Cfg (Color)" cl="R" max_ver="33">
|
||||
<field name="Address" size="32" start="32" type="address"/>
|
||||
|
||||
@@ -1048,7 +1211,8 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="2"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="121" name="Tile Rendering Mode Cfg (Color)" cl="R" min_ver="41">
|
||||
+ <!-- On 4.1 the real name would be "Tile Rendering Mode Cfg (Render Target Configs) -->
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Color)" cl="R" min_ver="41" max_ver="42">
|
||||
|
||||
<field name="Pad" size="28" start="36" type="uint"/>
|
||||
|
||||
@@ -1099,7 +1263,7 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="3"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="121" name="Tile Rendering Mode Cfg (ZS Clear Values)" cl="R" min_ver="41">
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (ZS Clear Values)" cl="R" min_ver="41" max_ver="42">
|
||||
<field name="unused" size="16" start="48" type="uint"/>
|
||||
|
||||
<field name="Z Clear Value" size="32" start="16" type="float"/>
|
||||
@@ -1108,6 +1272,15 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="2"/>
|
||||
</packet>
|
||||
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (ZS Clear Values)" cl="R" min_ver="71">
|
||||
+ <field name="unused" size="16" start="48" type="uint"/>
|
||||
+
|
||||
+ <field name="Z Clear Value" size="32" start="16" type="float"/>
|
||||
+
|
||||
+ <field name="Stencil Clear Value" size="8" start="8" type="uint"/>
|
||||
+ <field name="sub-id" size="4" start="0" type="uint" default="1"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part1)" cl="R" max_ver="33">
|
||||
<!-- Express this as a 56-bit field? -->
|
||||
<field name="Clear Color next 24 bits" size="24" start="40" type="uint"/>
|
||||
@@ -1117,7 +1290,7 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="4"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part1)" cl="R" min_ver="41">
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part1)" cl="R" min_ver="41" max_ver="42">
|
||||
<!-- Express this as a 56-bit field? -->
|
||||
<field name="Clear Color next 24 bits" size="24" start="40" type="uint"/>
|
||||
<field name="Clear Color low 32 bits" size="32" start="8" type="uint"/>
|
||||
@@ -1126,6 +1299,19 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="3"/>
|
||||
</packet>
|
||||
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Render Target Part1)" cl="R" min_ver="71">
|
||||
+
|
||||
+ <field name="Clear Color low bits" size="32" start="32" type="uint"/>
|
||||
+ <field name="Internal Type and Clamping" size="5" start="27" type="Render Target Type Clamp"/>
|
||||
+ <field name="Internal BPP" size="2" start="25" type="Internal BPP"/>
|
||||
+
|
||||
+ <field name="Stride" size="7" start="18" type="uint" minus_one="true"/>
|
||||
+ <!-- In multiples of 512 bits -->
|
||||
+ <field name="Base Address" size="11" start="7" type="uint"/>
|
||||
+ <field name="Render Target number" size="3" start="3" type="uint"/>
|
||||
+ <field name="sub-id" size="3" start="0" type="uint" default="2"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part2)" cl="R" max_ver="33">
|
||||
<!-- Express this as a 56-bit field? -->
|
||||
<field name="Clear Color mid-high 24 bits" size="24" start="40" type="uint"/>
|
||||
@@ -1135,7 +1321,7 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="5"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part2)" cl="R" min_ver="41">
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part2)" cl="R" min_ver="41" max_ver="42">
|
||||
<!-- Express this as a 56-bit field? -->
|
||||
<field name="Clear Color mid-high 24 bits" size="24" start="40" type="uint"/>
|
||||
<field name="Clear Color mid-low 32 bits" size="32" start="8" type="uint"/>
|
||||
@@ -1144,6 +1330,13 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="4"/>
|
||||
</packet>
|
||||
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Render Target Part2)" cl="R" min_ver="71">
|
||||
+ <field name="Clear Color mid bits" size="40" start="24" type="uint"/>
|
||||
+
|
||||
+ <field name="Render Target number" size="3" start="3" type="uint"/>
|
||||
+ <field name="sub-id" size="3" start="0" type="uint" default="3"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part3)" cl="R" max_ver="33">
|
||||
<field name="pad" size="11" start="53" type="uint"/>
|
||||
<field name="UIF padded height in UIF blocks" size="13" start="40" type="uint"/>
|
||||
@@ -1155,7 +1348,7 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="6"/>
|
||||
</packet>
|
||||
|
||||
- <packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part3)" cl="R" min_ver="41">
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Clear Colors Part3)" cl="R" min_ver="41" max_ver="42">
|
||||
<field name="pad" size="11" start="53" type="uint"/>
|
||||
<field name="UIF padded height in UIF blocks" size="13" start="40" type="uint"/>
|
||||
<!-- image height is for Y flipping -->
|
||||
@@ -1166,6 +1359,13 @@
|
||||
<field name="sub-id" size="4" start="0" type="uint" default="5"/>
|
||||
</packet>
|
||||
|
||||
+ <packet code="121" name="Tile Rendering Mode Cfg (Render Target Part3)" cl="R" min_ver="71">
|
||||
+ <field name="Clear Color top bits" size="56" start="8" type="uint"/>
|
||||
+
|
||||
+ <field name="Render Target number" size="3" start="3" type="uint"/>
|
||||
+ <field name="sub-id" size="3" start="0" type="uint" default="4"/>
|
||||
+ </packet>
|
||||
+
|
||||
<packet code="124" shortname="tile_coords" name="Tile Coordinates">
|
||||
<field name="tile row number" size="12" start="12" type="uint"/>
|
||||
<field name="tile column number" size="12" start="0" type="uint"/>
|
||||
@@ -1240,7 +1440,7 @@
|
||||
<field name="Coordinate Shader Uniforms Address" size="32" start="32b" type="address"/>
|
||||
</struct>
|
||||
|
||||
- <struct name="GL Shader State Record" min_ver="41">
|
||||
+ <struct name="GL Shader State Record" min_ver="41" max_ver="42">
|
||||
<field name="Point size in shaded vertex data" size="1" start="0" type="bool"/>
|
||||
<field name="Enable clipping" size="1" start="1" type="bool"/>
|
||||
|
||||
@@ -1299,6 +1499,63 @@
|
||||
<field name="Coordinate Shader Uniforms Address" size="32" start="32b" type="address"/>
|
||||
</struct>
|
||||
|
||||
+ <struct name="GL Shader State Record" min_ver="71">
|
||||
+ <field name="Point size in shaded vertex data" size="1" start="0" type="bool"/>
|
||||
+ <field name="Enable clipping" size="1" start="1" type="bool"/>
|
||||
+
|
||||
+ <field name="Vertex ID read by coordinate shader" size="1" start="2" type="bool"/>
|
||||
+ <field name="Instance ID read by coordinate shader" size="1" start="3" type="bool"/>
|
||||
+ <field name="Base Instance ID read by coordinate shader" size="1" start="4" type="bool"/>
|
||||
+ <field name="Vertex ID read by vertex shader" size="1" start="5" type="bool"/>
|
||||
+ <field name="Instance ID read by vertex shader" size="1" start="6" type="bool"/>
|
||||
+ <field name="Base Instance ID read by vertex shader" size="1" start="7" type="bool"/>
|
||||
+
|
||||
+ <field name="Fragment shader does Z writes" size="1" start="8" type="bool"/>
|
||||
+ <field name="Turn off early-z test" size="1" start="9" type="bool"/>
|
||||
+
|
||||
+ <field name="Fragment shader uses real pixel centre W in addition to centroid W2" size="1" start="12" type="bool"/>
|
||||
+ <field name="Enable Sample Rate Shading" size="1" start="13" type="bool"/>
|
||||
+ <field name="Any shader reads hardware-written Primitive ID" size="1" start="14" type="bool"/>
|
||||
+ <field name="Insert Primitive ID as first varying to fragment shader" size="1" start="15" type="bool"/>
|
||||
+ <field name="Turn off scoreboard" size="1" start="16" type="bool"/>
|
||||
+ <field name="Do scoreboard wait on first thread switch" size="1" start="17" type="bool"/>
|
||||
+ <field name="Disable implicit point/line varyings" size="1" start="18" type="bool"/>
|
||||
+ <field name="No prim pack" size="1" start="19" type="bool"/>
|
||||
+ <field name="Never defer FEP depth writes" size="1" start="20" type="bool"/>
|
||||
+
|
||||
+ <field name="Number of varyings in Fragment Shader" size="8" start="3b" type="uint"/>
|
||||
+
|
||||
+ <field name="Coordinate Shader output VPM segment size" size="4" start="4b" type="uint"/>
|
||||
+ <field name="Min Coord Shader output segments required in play in addition to VCM cache size" size="4" start="36" type="uint"/>
|
||||
+
|
||||
+ <field name="Coordinate Shader input VPM segment size" size="4" start="5b" type="uint"/>
|
||||
+ <field name="Min Coord Shader input segments required in play" size="4" start="44" type="uint" minus_one="true"/>
|
||||
+
|
||||
+ <field name="Vertex Shader output VPM segment size" size="4" start="6b" type="uint"/>
|
||||
+ <field name="Min Vertex Shader output segments required in play in addition to VCM cache size" size="4" start="52" type="uint"/>
|
||||
+
|
||||
+ <field name="Vertex Shader input VPM segment size" size="4" start="7b" type="uint"/>
|
||||
+ <field name="Min Vertex Shader input segments required in play" size="4" start="60" type="uint" minus_one="true"/>
|
||||
+
|
||||
+ <field name="Fragment Shader Code Address" size="29" start="67" type="address"/>
|
||||
+ <field name="Fragment Shader 4-way threadable" size="1" start="64" type="bool"/>
|
||||
+ <field name="Fragment Shader start in final thread section" size="1" start="65" type="bool"/>
|
||||
+ <field name="Fragment Shader Propagate NaNs" size="1" start="66" type="bool"/>
|
||||
+ <field name="Fragment Shader Uniforms Address" size="32" start="12b" type="address"/>
|
||||
+
|
||||
+ <field name="Vertex Shader Code Address" size="29" start="131" type="address"/>
|
||||
+ <field name="Vertex Shader 4-way threadable" size="1" start="128" type="bool"/>
|
||||
+ <field name="Vertex Shader start in final thread section" size="1" start="129" type="bool"/>
|
||||
+ <field name="Vertex Shader Propagate NaNs" size="1" start="130" type="bool"/>
|
||||
+ <field name="Vertex Shader Uniforms Address" size="32" start="20b" type="address"/>
|
||||
+
|
||||
+ <field name="Coordinate Shader Code Address" size="29" start="195" type="address"/>
|
||||
+ <field name="Coordinate Shader 4-way threadable" size="1" start="192" type="bool"/>
|
||||
+ <field name="Coordinate Shader start in final thread section" size="1" start="193" type="bool"/>
|
||||
+ <field name="Coordinate Shader Propagate NaNs" size="1" start="194" type="bool"/>
|
||||
+ <field name="Coordinate Shader Uniforms Address" size="32" start="28b" type="address"/>
|
||||
+ </struct>
|
||||
+
|
||||
<struct name="Geometry Shader State Record" min_ver="41">
|
||||
<field name="Geometry Bin Mode Shader Code Address" size="29" start="3" type="address"/>
|
||||
<field name="Geometry Bin Mode Shader 4-way threadable" size="1" start="0" type="bool"/>
|
||||
@@ -1543,7 +1800,7 @@
|
||||
<field name="Offset Format 8" size="1" start="0" type="bool"/>
|
||||
</struct>
|
||||
|
||||
- <struct name="TMU Config Parameter 2" min_ver="42">
|
||||
+ <struct name="TMU Config Parameter 2" min_ver="42" max_ver="42">
|
||||
<field name="Pad" size="7" start="25" type="uint"/>
|
||||
<field name="LOD Query" size="1" start="24" type="bool"/>
|
||||
<field name="Op" size="4" start="20" type="TMU Op"/>
|
||||
@@ -1558,6 +1815,23 @@
|
||||
<field name="Offset Format 8" size="1" start="0" type="bool"/>
|
||||
</struct>
|
||||
|
||||
+ <struct name="TMU Config Parameter 2" min_ver="71">
|
||||
+ <field name="Pad" size="5" start="27" type="uint"/>
|
||||
+ <field name="Write conversion" size="1" start="26" type="bool"/>
|
||||
+ <field name="DIM query" size="1" start="25" type="bool"/>
|
||||
+ <field name="LOD Query" size="1" start="24" type="bool"/>
|
||||
+ <field name="Op" size="4" start="20" type="TMU Op"/>
|
||||
+ <field name="Offset R" size="4" start="16" type="int"/>
|
||||
+ <field name="Offset T" size="4" start="12" type="int"/>
|
||||
+ <field name="Offset S" size="4" start="8" type="int"/>
|
||||
+ <field name="Gather Mode" size="1" start="7" type="bool"/>
|
||||
+ <field name="Gather Component" size="2" start="5" type="uint"/>
|
||||
+ <field name="Coefficient Mode" size="1" start="4" type="bool"/>
|
||||
+ <field name="Sample Number" size="2" start="2" type="uint"/>
|
||||
+ <field name="Disable AutoLOD" size="1" start="1" type="bool"/>
|
||||
+ <field name="Offset Format 8" size="1" start="0" type="bool"/>
|
||||
+ </struct>
|
||||
+
|
||||
<struct name="Texture Shader State" max_ver="33">
|
||||
<field name="UIF XOR disable" size="1" start="255" type="bool"/>
|
||||
<field name="Level 0 is strictly UIF" size="1" start="254" type="bool"/>
|
||||
@@ -1611,7 +1885,7 @@
|
||||
<field name="Filter" size="4" start="0" type="TMU Filter"/>
|
||||
</struct>
|
||||
|
||||
- <struct name="Texture Shader State" min_ver="41">
|
||||
+ <struct name="Texture Shader State" min_ver="41" max_ver="42">
|
||||
<field name="Pad" size="56" start="136" type="uint"/>
|
||||
<field name="UIF XOR disable" size="1" start="135" type="bool"/>
|
||||
<field name="Level 0 is strictly UIF" size="1" start="134" type="bool"/>
|
||||
@@ -1652,6 +1926,82 @@
|
||||
<field name="Flip texture X Axis" size="1" start="0" type="bool"/>
|
||||
</struct>
|
||||
|
||||
+ <struct name="Texture Shader State" min_ver="71">
|
||||
+ <field name="Pad" size="2" start="190" type="uint"/>
|
||||
+ <!-- When we use an address type, there is an implicit requirement
|
||||
+ that the address is a 32-bit that is encoded starting at a 32-bit
|
||||
+ aligned bit offset into the packet. If the address field has less than
|
||||
+ 32 bits, it is assumed that the address is aligned. For example, a
|
||||
+ 26-bit address field is expected to be 64-byte aligned (6 lsb bits
|
||||
+ are 0) and that this will be encoded into a packet starting at bit
|
||||
+ offset 6 into a 32-bit dword (since bits 0..5 of the address are
|
||||
+ implicitly 0 and don't need to be explicitly encoded).
|
||||
+
|
||||
+ Unfortunately, the CB address below doesn't match this requirement:
|
||||
+ it starts at bit 138, which is 10 bits into a 32-bit dword, but it
|
||||
+ represents a 64-bit aligned address (6 lsb bits are 0), so we cannot
|
||||
+ encode it as an address type. To fix this we encode these addresses
|
||||
+ as uint types which has two implications:
|
||||
+ 1. the driver is responsible for manually addinng the buffer objects
|
||||
+ for these addresses to the job BO list.
|
||||
+ 2. the driver needs to pass an actual 26-bit address value by manually
|
||||
+ shifting the 6 lsb bits (that are implicitly 0).
|
||||
+ -->
|
||||
+ <field name="texture_base pointer_Cr" size="26" start="164" type="uint"/>
|
||||
+ <field name="texture base pointer Cb" size="26" start="138" type="uint"/>
|
||||
+ <field name="Chroma offset y" size="1" start="137" type="uint"/>
|
||||
+ <field name="Chroma offset x" size="1" start="136" type="uint"/>
|
||||
+
|
||||
+ <field name="UIF XOR disable" size="1" start="135" type="bool"/>
|
||||
+ <field name="Level 0 is strictly UIF" size="1" start="134" type="bool"/>
|
||||
+ <field name="Level 0 XOR enable" size="1" start="132" type="bool"/>
|
||||
+ <field name="Level 0 UB_PAD" size="4" start="128" type="uint"/>
|
||||
+
|
||||
+ <field name="Base Level" size="4" start="124" type="uint"/>
|
||||
+ <field name="Max Level" size="4" start="120" type="uint"/>
|
||||
+
|
||||
+ <field name="Swizzle A" size="3" start="117" type="uint">
|
||||
+ <value name="Swizzle Zero" value="0"/>
|
||||
+ <value name="Swizzle One" value="1"/>
|
||||
+ <value name="Swizzle Red" value="2"/>
|
||||
+ <value name="Swizzle Green" value="3"/>
|
||||
+ <value name="Swizzle Blue" value="4"/>
|
||||
+ <value name="Swizzle Alpha" value="5"/>
|
||||
+ </field>
|
||||
+
|
||||
+ <field name="Swizzle B" size="3" start="114" type="uint"/>
|
||||
+ <field name="Swizzle G" size="3" start="111" type="uint"/>
|
||||
+ <field name="Swizzle R" size="3" start="108" type="uint"/>
|
||||
+ <field name="Extended" size="1" start="107" type="bool"/>
|
||||
+
|
||||
+ <field name="Texture type" size="7" start="100" type="uint"/>
|
||||
+ <field name="Image Depth" size="14" start="86" type="uint"/>
|
||||
+ <field name="Image Height" size="14" start="72" type="uint"/>
|
||||
+ <field name="Image Width" size="14" start="58" type="uint"/>
|
||||
+
|
||||
+ <!-- V3D 7.1.2 doesn't have the RB swap bit and has Array Stride starting
|
||||
+ at bit 32. However, 7.1.5 included the RB swap bit at bit 32 and has
|
||||
+ Array Stride starting at 33, which is backwards incompatible,
|
||||
+ We use the definition from 7.1.5.
|
||||
+ -->
|
||||
+ <field name="Array Stride (64-byte aligned)" size="24" start="33" type="uint"/>
|
||||
+ <field name="R/B swap" size="1" start="32" type="bool"/>
|
||||
+
|
||||
+ <field name="Texture base pointer" size="32" start="0" type="address"/>
|
||||
+
|
||||
+ <field name="Reverse" size="1" start="5" type="bool"/>
|
||||
+ <field name="Transfer func" size="3" start="2" type="uint">
|
||||
+ <value name="Transfer Func None" value="0"/>
|
||||
+ <value name="Transfer Func sRGB" value="1"/>
|
||||
+ <value name="Transfer Func PQ" value="2"/>
|
||||
+ <value name="Transfer Func HLG" value="3"/>
|
||||
+ <value name="Transfer Func PQ BT1886" value="4"/>
|
||||
+ <value name="Transfer Func HLG BT1886" value="5"/>
|
||||
+ </field>
|
||||
+ <field name="Flip texture Y Axis" size="1" start="1" type="bool"/>
|
||||
+ <field name="Flip texture X Axis" size="1" start="0" type="bool"/>
|
||||
+ </struct>
|
||||
+
|
||||
<struct name="Sampler State" min_ver="41">
|
||||
<field name="Border color word 3" size="32" start="160" type="uint"/>
|
||||
<field name="Border color word 2" size="32" start="128" type="uint"/>
|
||||
--
|
||||
2.39.2
|
||||
|
@ -0,0 +1,65 @@
|
||||
From 569cbe4229df737ce5915c4be2cad534707fb4f7 Mon Sep 17 00:00:00 2001
|
||||
From: Iago Toral Quiroga <itoral@igalia.com>
|
||||
Date: Tue, 9 Nov 2021 08:50:51 +0100
|
||||
Subject: [PATCH 004/142] broadcom/common: retrieve V3D revision number
|
||||
|
||||
The subrev field from the hub ident3 register is bumped with every
|
||||
hardware revision doing backwards incompatible changes so we want to
|
||||
keep track of this.
|
||||
|
||||
Instead of modifying the 'ver' field info to acommodate subrev info,
|
||||
which would require a lot of changes, simply add a new 'rev' field in
|
||||
devinfo that we can use when we need to make changes based on the
|
||||
revision number of a hardware release.
|
||||
---
|
||||
src/broadcom/common/v3d_device_info.c | 14 +++++++++++++-
|
||||
src/broadcom/common/v3d_device_info.h | 3 +++
|
||||
2 files changed, 16 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/broadcom/common/v3d_device_info.c b/src/broadcom/common/v3d_device_info.c
|
||||
index 7e0862f1f02..7512fe3a06b 100644
|
||||
--- a/src/broadcom/common/v3d_device_info.c
|
||||
+++ b/src/broadcom/common/v3d_device_info.c
|
||||
@@ -36,6 +36,9 @@ v3d_get_device_info(int fd, struct v3d_device_info* devinfo, v3d_ioctl_fun drm_i
|
||||
struct drm_v3d_get_param ident1 = {
|
||||
.param = DRM_V3D_PARAM_V3D_CORE0_IDENT1,
|
||||
};
|
||||
+ struct drm_v3d_get_param hub_ident3 = {
|
||||
+ .param = DRM_V3D_PARAM_V3D_HUB_IDENT3,
|
||||
+ };
|
||||
int ret;
|
||||
|
||||
ret = drm_ioctl(fd, DRM_IOCTL_V3D_GET_PARAM, &ident0);
|
||||
@@ -76,5 +79,14 @@ v3d_get_device_info(int fd, struct v3d_device_info* devinfo, v3d_ioctl_fun drm_i
|
||||
return false;
|
||||
}
|
||||
|
||||
- return true;
|
||||
+ ret = drm_ioctl(fd, DRM_IOCTL_V3D_GET_PARAM, &hub_ident3);
|
||||
+ if (ret != 0) {
|
||||
+ fprintf(stderr, "Couldn't get V3D core HUB IDENT3: %s\n",
|
||||
+ strerror(errno));
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ devinfo->rev = (hub_ident3.value >> 8) & 0xff;
|
||||
+
|
||||
+ return true;
|
||||
}
|
||||
diff --git a/src/broadcom/common/v3d_device_info.h b/src/broadcom/common/v3d_device_info.h
|
||||
index 97abd9b8d9f..32cb65cf81f 100644
|
||||
--- a/src/broadcom/common/v3d_device_info.h
|
||||
+++ b/src/broadcom/common/v3d_device_info.h
|
||||
@@ -34,6 +34,9 @@ struct v3d_device_info {
|
||||
/** Simple V3D version: major * 10 + minor */
|
||||
uint8_t ver;
|
||||
|
||||
+ /** V3D revision number */
|
||||
+ uint8_t rev;
|
||||
+
|
||||
/** Size of the VPM, in bytes. */
|
||||
int vpm_size;
|
||||
|
||||
--
|
||||
2.39.2
|
||||
|
@ -0,0 +1,91 @@
|
||||
From c260843c882d25bd31e308566b45d4517fda0fa2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= <apinheiro@igalia.com>
|
||||
Date: Wed, 17 Nov 2021 14:40:47 +0100
|
||||
Subject: [PATCH 005/142] broadcom/common: add some common v71 helpers
|
||||
|
||||
---
|
||||
src/broadcom/common/v3d_util.c | 27 +++++++++++++++++++++++++++
|
||||
src/broadcom/common/v3d_util.h | 27 +++++++++++++++++++++++++++
|
||||
2 files changed, 54 insertions(+)
|
||||
|
||||
diff --git a/src/broadcom/common/v3d_util.c b/src/broadcom/common/v3d_util.c
|
||||
index 57872a923d3..26f5c6b336f 100644
|
||||
--- a/src/broadcom/common/v3d_util.c
|
||||
+++ b/src/broadcom/common/v3d_util.c
|
||||
@@ -170,3 +170,30 @@ v3d_hw_prim_type(enum mesa_prim prim_type)
|
||||
unreachable("Unsupported primitive type");
|
||||
}
|
||||
}
|
||||
+
|
||||
+uint32_t
|
||||
+v3d_internal_bpp_words(uint32_t internal_bpp)
|
||||
+{
|
||||
+ switch (internal_bpp) {
|
||||
+ case 0 /* V3D_INTERNAL_BPP_32 */:
|
||||
+ return 1;
|
||||
+ case 1 /* V3D_INTERNAL_BPP_64 */:
|
||||
+ return 2;
|
||||
+ case 2 /* V3D_INTERNAL_BPP_128 */:
|
||||
+ return 4;
|
||||
+ default:
|
||||
+ unreachable("Unsupported internal BPP");
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+uint32_t
|
||||
+v3d_compute_rt_row_row_stride_128_bits(uint32_t tile_width,
|
||||
+ uint32_t bpp)
|
||||
+{
|
||||
+ /* stride in multiples of 128 bits, and covers 2 rows. This is the
|
||||
+ * reason we divide by 2 instead of 4, as we divide number of 32-bit
|
||||
+ * words per row by 2.
|
||||
+ */
|
||||
+
|
||||
+ return (tile_width * bpp) / 2;
|
||||
+}
|
||||
diff --git a/src/broadcom/common/v3d_util.h b/src/broadcom/common/v3d_util.h
|
||||
index eb802b77f67..864fc949ffa 100644
|
||||
--- a/src/broadcom/common/v3d_util.h
|
||||
+++ b/src/broadcom/common/v3d_util.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#ifndef V3D_UTIL_H
|
||||
#define V3D_UTIL_H
|
||||
|
||||
+#include "util/macros.h"
|
||||
#include "common/v3d_device_info.h"
|
||||
#include "pipe/p_defines.h"
|
||||
|
||||
@@ -46,4 +47,30 @@ v3d_translate_pipe_swizzle(enum pipe_swizzle swizzle);
|
||||
uint32_t
|
||||
v3d_hw_prim_type(enum mesa_prim prim_type);
|
||||
|
||||
+uint32_t
|
||||
+v3d_internal_bpp_words(uint32_t internal_bpp);
|
||||
+
|
||||
+/* Some configuration packets want the size on log2, but starting at 0 for
|
||||
+ * size 8.
|
||||
+ */
|
||||
+static inline uint8_t
|
||||
+log2_tile_size(uint32_t size)
|
||||
+{
|
||||
+ switch(size) {
|
||||
+ case 8:
|
||||
+ return 0;
|
||||
+ case 16:
|
||||
+ return 1;
|
||||
+ case 32:
|
||||
+ return 2;
|
||||
+ case 64:
|
||||
+ return 3;
|
||||
+ default:
|
||||
+ unreachable("Unsupported tile width/height");
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+uint32_t
|
||||
+v3d_compute_rt_row_row_stride_128_bits(uint32_t tile_width,
|
||||
+ uint32_t bpp);
|
||||
#endif
|
||||
--
|
||||
2.39.2
|
||||
|
@ -0,0 +1,53 @@
|
||||
From a5211a4d71acc53183d2a90eb1694d8cce6eb44f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= <apinheiro@igalia.com>
|
||||
Date: Thu, 5 Aug 2021 01:03:11 +0200
|
||||
Subject: [PATCH 006/142] broadcom/qpu: add comments on waddr not used on V3D
|
||||
7.x
|
||||
|
||||
---
|
||||
src/broadcom/qpu/qpu_instr.h | 22 +++++++++++-----------
|
||||
1 file changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/src/broadcom/qpu/qpu_instr.h b/src/broadcom/qpu/qpu_instr.h
|
||||
index 2e133472698..45a0cad9760 100644
|
||||
--- a/src/broadcom/qpu/qpu_instr.h
|
||||
+++ b/src/broadcom/qpu/qpu_instr.h
|
||||
@@ -88,11 +88,11 @@ enum v3d_qpu_uf {
|
||||
};
|
||||
|
||||
enum v3d_qpu_waddr {
|
||||
- V3D_QPU_WADDR_R0 = 0,
|
||||
- V3D_QPU_WADDR_R1 = 1,
|
||||
- V3D_QPU_WADDR_R2 = 2,
|
||||
- V3D_QPU_WADDR_R3 = 3,
|
||||
- V3D_QPU_WADDR_R4 = 4,
|
||||
+ V3D_QPU_WADDR_R0 = 0, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_R1 = 1, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_R2 = 2, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_R3 = 3, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_R4 = 4, /* Reserved on V3D 7.x */
|
||||
V3D_QPU_WADDR_R5 = 5,
|
||||
V3D_QPU_WADDR_NOP = 6,
|
||||
V3D_QPU_WADDR_TLB = 7,
|
||||
@@ -108,12 +108,12 @@ enum v3d_qpu_waddr {
|
||||
V3D_QPU_WADDR_SYNC = 16,
|
||||
V3D_QPU_WADDR_SYNCU = 17,
|
||||
V3D_QPU_WADDR_SYNCB = 18,
|
||||
- V3D_QPU_WADDR_RECIP = 19,
|
||||
- V3D_QPU_WADDR_RSQRT = 20,
|
||||
- V3D_QPU_WADDR_EXP = 21,
|
||||
- V3D_QPU_WADDR_LOG = 22,
|
||||
- V3D_QPU_WADDR_SIN = 23,
|
||||
- V3D_QPU_WADDR_RSQRT2 = 24,
|
||||
+ V3D_QPU_WADDR_RECIP = 19, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_RSQRT = 20, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_EXP = 21, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_LOG = 22, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_SIN = 23, /* Reserved on V3D 7.x */
|
||||
+ V3D_QPU_WADDR_RSQRT2 = 24, /* Reserved on V3D 7.x */
|
||||
V3D_QPU_WADDR_TMUC = 32,
|
||||
V3D_QPU_WADDR_TMUS = 33,
|
||||
V3D_QPU_WADDR_TMUT = 34,
|
||||
--
|
||||
2.39.2
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user