update kernel -> 6.6.1

This commit is contained in:
Christian Zimmermann 2023-11-13 02:26:39 +01:00
parent 16791e7f7a
commit d400579e2a
5 changed files with 10331 additions and 2 deletions

View file

@ -6,7 +6,7 @@ pkgbase=linux-armv7
_srcname=linux
_kernelname=${pkgbase#linux}
_desc="ARMv7 banana-pi-r2"
pkgver=6.5.3
pkgver=6.6.1
pkgrel=1
#rcnver=5.8.5
#rcnrel=armv7-x11
@ -111,7 +111,8 @@ _package() {
install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modules/${_extramodules}/version"
# remove build and source links
rm "${pkgdir}"/usr/lib/modules/${_kernver}/{source,build}
#rm "${pkgdir}"/usr/lib/modules/${_kernver}/{source,build}
rm "${pkgdir}"/usr/lib/modules/${_kernver}/build
# now we call depmod...
depmod -b "${pkgdir}/usr" -F System.map "${_kernver}"

1
kernel/config-6.6.1 Symbolic link
View file

@ -0,0 +1 @@
linux-8afabe2118a9fccaa19a51ef7a1d18e941b712b0.config

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,66 @@
diff --git a/arch/arm/boot/dts/mediatek/mt7623.dtsi b/arch/arm/boot/dts/mediatek/mt7623.dtsi
index f0b4a09004b3..6f36c8967f9a 100644
--- a/arch/arm/boot/dts/mediatek/mt7623.dtsi
+++ b/arch/arm/boot/dts/mediatek/mt7623.dtsi
@@ -1101,7 +1101,13 @@ led_pins_a: leds-alt {
pins-leds {
pinmux = <MT7623_PIN_239_EXT_SDIO0_FUNC_GPIO239>,
<MT7623_PIN_240_EXT_XCS_FUNC_GPIO240>,
- <MT7623_PIN_241_EXT_SCK_FUNC_GPIO241>;
+ <MT7623_PIN_241_EXT_SCK_FUNC_GPIO241>,
+ <MT7623_PIN_18_PCM_CLK_FUNC_GPIO18>,
+ <MT7623_PIN_19_PCM_SYNC_FUNC_GPIO19>,
+ <MT7623_PIN_21_PCM_TX_FUNC_GPIO21>,
+ <MT7623_PIN_22_EINT0_FUNC_GPIO22>,
+ <MT7623_PIN_24_EINT2_FUNC_GPIO24>,
+ <MT7623_PIN_25_EINT3_FUNC_GPIO25>;
};
};
diff --git a/arch/arm/boot/dts/mediatek/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mediatek/mt7623n-bananapi-bpi-r2.dts
index a37f3fa223c7..65bbe6c16ec1 100644
--- a/arch/arm/boot/dts/mediatek/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/boot/dts/mediatek/mt7623n-bananapi-bpi-r2.dts
@@ -126,6 +126,42 @@ red {
gpios = <&pio 239 GPIO_ACTIVE_LOW>;
default-state = "off";
};
+
+ cust-0 {
+ label = "bpi-r2:pio:cust0";
+ gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+
+ cust-1 {
+ label = "bpi-r2:pio:cust1";
+ gpios = <&pio 19 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+
+ cust-2 {
+ label = "bpi-r2:pio:cust2";
+ gpios = <&pio 21 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+
+ cust-3 {
+ label = "bpi-r2:pio:cust3";
+ gpios = <&pio 22 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+
+ cust-4 {
+ label = "bpi-r2:pio:cust4";
+ gpios = <&pio 24 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+
+ cust-5 {
+ label = "bpi-r2:pio:cust5";
+ gpios = <&pio 25 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
};
memory@80000000 {

21
upload-new-kernel.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
test ${#} -eq 4 || { echo "usage: ${0} <version> <build> <user> <passwd>"; exit 1; }
newver=${1}
nbuild=${2}
user=${3}
pw=${4}
newverx=${newver}-${nbuild}
oldver=$(grep "pkgver" kernel-pkgs/PKGBUILD | head -n1)
oldver=${oldver##*=}
echo "old version: ${oldver}"
echo "new version: ${newver}"
cd kernel-pkgs
curl --user "${user}:${pw}" --upload-file linux-armv7-${newverx}-armv7h.pkg.tar.xz "https://git.f3l.de/api/packages/chizeta/generic/linux-banana-r2/${newver}/linux-armv7-${newverx}-armv7h.pkg.tar.xz"
curl --user "${user}:${pw}" --upload-file linux-armv7-headers-${newverx}-armv7h.pkg.tar.xz "https://git.f3l.de/api/packages/chizeta/generic/linux-banana-r2/${newver}/linux-armv7-headers-${newverx}-armv7h.pkg.tar.xz"
#curl --header "PRIVATE-TOKEN: ${token}" --upload-file linux-armv7-${newverx}-armv7h.pkg.tar.xz "https://git.f3l.de/api/v4/projects/149/packages/generic/linux-banana-r2/${newver}/linux-armv7-${newverx}-armv7h.pkg.tar.xz"
#curl --header "PRIVATE-TOKEN: ${token}" --upload-file linux-armv7-headers-${newverx}-armv7h.pkg.tar.xz "https://git.f3l.de/api/v4/projects/149/packages/generic/linux-banana-r2/${newver}/linux-armv7-headers-${newverx}-armv7h.pkg.tar.xz"
cd -