Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
@ 2022-09-08 17:32 tsjk
  2022-09-08 18:23 ` [PR PATCH] [Updated] " tsjk
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tsjk @ 2022-09-08 17:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

There is a new pull request by tsjk against master on the void-packages repository

https://github.com/tsjk/void-packages master
https://github.com/void-linux/void-packages/pull/39173

rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
#### Testing the changes
- I tested the changes in this PR: **YES** (on my Raspberry PI 1 Model Rev 2)

#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l (cross-built)


A patch file from https://github.com/void-linux/void-packages/pull/39173.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-39173.patch --]
[-- Type: text/x-diff, Size: 1262 bytes --]

From fd9d6db3db2d4413cae924b406aae816dc38f2f9 Mon Sep 17 00:00:00 2001
From: Tamas Jantvik <tsjk@hotmail.com>
Date: Thu, 8 Sep 2022 19:21:06 +0200
Subject: [PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129)

---
 srcpkgs/rpi-kernel/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/rpi-kernel/template b/srcpkgs/rpi-kernel/template
index 3183183b6a4e..1e3f7856fb9f 100644
--- a/srcpkgs/rpi-kernel/template
+++ b/srcpkgs/rpi-kernel/template
@@ -12,11 +12,11 @@
 #
 # WARNING: keep all rpi*-kernel packages in sync
 
-_githash="64ad74084fa44abe8689564071df5729ded4c589"
+_githash="cbb47398aebff7605bc23c4727c27d16a566982e"
 _gitshort="${_githash:0:7}"
 
 pkgname=rpi-kernel
-version=5.15.61
+version=5.15.65
 revision=1
 archs="armv6l*"
 wrksrc="linux-${_githash}"
@@ -27,7 +27,7 @@ homepage="http://www.kernel.org"
 license="GPL-2.0-only"
 short_desc="Linux kernel for Raspberry Pi zero/1 (${version%.*} series [git ${_gitshort}])"
 distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
-checksum=8257604cc47792007284cc2640d7dd9f70fab062a7c596e92903e99718434244
+checksum=efcfe8c0fddbe2b86a405cca3b79ba8af83d81870ac2ac350cefd3c6387a8e3d
 python_version=3
 
 _kernver="${version}_${revision}"

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

* Re: [PR PATCH] [Updated] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
  2022-09-08 17:32 [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip] tsjk
@ 2022-09-08 18:23 ` tsjk
  2022-09-08 18:25 ` [PR REVIEW] " classabbyamp
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tsjk @ 2022-09-08 18:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by tsjk against master on the void-packages repository

https://github.com/tsjk/void-packages master
https://github.com/void-linux/void-packages/pull/39173

rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
#### Testing the changes
- I tested the changes in this PR: **YES** (on my Raspberry Pi 1 Rev 2)

#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l (cross-built)


A patch file from https://github.com/void-linux/void-packages/pull/39173.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-39173.patch --]
[-- Type: text/x-diff, Size: 6195 bytes --]

From fd9d6db3db2d4413cae924b406aae816dc38f2f9 Mon Sep 17 00:00:00 2001
From: Tamas Jantvik <tsjk@hotmail.com>
Date: Thu, 8 Sep 2022 19:21:06 +0200
Subject: [PATCH 1/3] rpi-kernel: update to 5.15.65 (fixes issue #39129)

---
 srcpkgs/rpi-kernel/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/rpi-kernel/template b/srcpkgs/rpi-kernel/template
index 3183183b6a4e..1e3f7856fb9f 100644
--- a/srcpkgs/rpi-kernel/template
+++ b/srcpkgs/rpi-kernel/template
@@ -12,11 +12,11 @@
 #
 # WARNING: keep all rpi*-kernel packages in sync
 
-_githash="64ad74084fa44abe8689564071df5729ded4c589"
+_githash="cbb47398aebff7605bc23c4727c27d16a566982e"
 _gitshort="${_githash:0:7}"
 
 pkgname=rpi-kernel
-version=5.15.61
+version=5.15.65
 revision=1
 archs="armv6l*"
 wrksrc="linux-${_githash}"
@@ -27,7 +27,7 @@ homepage="http://www.kernel.org"
 license="GPL-2.0-only"
 short_desc="Linux kernel for Raspberry Pi zero/1 (${version%.*} series [git ${_gitshort}])"
 distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
-checksum=8257604cc47792007284cc2640d7dd9f70fab062a7c596e92903e99718434244
+checksum=efcfe8c0fddbe2b86a405cca3b79ba8af83d81870ac2ac350cefd3c6387a8e3d
 python_version=3
 
 _kernver="${version}_${revision}"

From a894a6ea7cffc906ff750262e807084d49dc0174 Mon Sep 17 00:00:00 2001
From: Tamas Jantvik <tsjk@hotmail.com>
Date: Thu, 8 Sep 2022 20:21:30 +0200
Subject: [PATCH 2/3] New package: 8812au-dkms-20210629
 (a8450b030a187b71d6be147d004715e6858e0ef9) [WIP]

---
 ...0001-void-arch-generic-plumbing-bits.patch | 30 +++++++++++++
 srcpkgs/8812au-dkms/template                  | 45 +++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 srcpkgs/8812au-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
 create mode 100644 srcpkgs/8812au-dkms/template

diff --git a/srcpkgs/8812au-dkms/patches/0001-void-arch-generic-plumbing-bits.patch b/srcpkgs/8812au-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
new file mode 100644
index 000000000000..f94f354b73cd
--- /dev/null
+++ b/srcpkgs/8812au-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
@@ -0,0 +1,30 @@
+--- a/Makefile	2022-09-05 21:05:32.000000000 +0200
++++ b/Makefile	2022-09-08 17:36:50.454771601 +0200
+@@ -144,7 +144,8 @@
+ #bit0: ROAM_ON_EXPIRED, #bit1: ROAM_ON_RESUME, #bit2: ROAM_ACTIVE
+ CONFIG_ROAMING_FLAG = 0x3
+ ###################### Platform Related #######################
+-CONFIG_PLATFORM_I386_PC = y
++CONFIG_PLATFORM_VOID_NATIVE = y
++CONFIG_PLATFORM_I386_PC = n
+ CONFIG_PLATFORM_ARM_RPI = n
+ CONFIG_PLATFORM_ARM64_RPI = n
+ CONFIG_PLATFORM_ANDROID_X86 = n
+@@ -1352,6 +1353,17 @@
+ EXTRA_CFLAGS += -DCONFIG_RTW_80211R
+ endif
+ 
++ifeq ($(CONFIG_PLATFORM_VOID_NATIVE), y)
++EXTRA_CFLAGS += -DCONFIG_@@VOID_ENDIAN@@_ENDIAN
++EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
++ARCH := @@VOID_ARCH@@
++KVER ?= $(shell uname -r)
++KSRC ?= /usr/lib/modules/$(KVER)/build
++MODDESTDIR := /usr/lib/modules/$(KVER)/kernel/drivers/net/wireless/
++INSTALL_PREFIX :=
++STAGINGMODDIR := /usr/lib/modules/$(KVER)/kernel/drivers/staging
++endif
++
+ ifeq ($(CONFIG_PLATFORM_I386_PC), y)
+ ifeq ($(CONFIG_CONCURRENT_MODE), y)
+ EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
diff --git a/srcpkgs/8812au-dkms/template b/srcpkgs/8812au-dkms/template
new file mode 100644
index 000000000000..f2f1cb5d189e
--- /dev/null
+++ b/srcpkgs/8812au-dkms/template
@@ -0,0 +1,45 @@
+# Template file for '8812au-dkms'
+pkgname=8812au-dkms
+version=20210629
+revision=1
+_gitrev=a8450b030a187b71d6be147d004715e6858e0ef9
+wrksrc="8812au-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Linux Driver for USB WiFi Adapters that are based on the RTL8812AU Chipset (DKMS)"
+maintainer="Tamas Jantvik <tsjk@hotmail.com>"
+license="GPL-2.0-only"
+homepage="http://www.alfa.com.tw"
+distfiles="https://github.com/morrownr/8812au-${version}/archive/${_gitrev}.tar.gz"
+checksum=a4ebed285b4315284c2ccdeaec1ba12aa6a66d9772b7416c81f055d3ab6f9bb8
+dkms_modules="8812au ${version}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+post_patch() {
+	if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
+		vsed -i 's,@@VOID_ENDIAN@@,BIG,g' Makefile
+	else
+		vsed -i 's,@@VOID_ENDIAN@@,LITTLE,g' Makefile
+	fi
+	vsed -i "s,@@VOID_ARCH@@,${_karch},g" Makefile
+}
+
+do_install() {
+	local dest=/usr/src/8812au-${version}
+
+	vmkdir ${dest}
+	cp -r dkms.conf Kconfig Makefile platform core hal include os_dep ${DESTDIR}/${dest}
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8812au" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+	chmod 644 ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

From 7a4170c9621accc05e520494ce95cc15972ab643 Mon Sep 17 00:00:00 2001
From: Tamas Jantvik <tsjk@hotmail.com>
Date: Thu, 8 Sep 2022 20:23:17 +0200
Subject: [PATCH 3/3] rpi-kernel: Addition of more include dirs, needed for
 building 8812au (and rtl8812au) modules - for instance

---
 srcpkgs/rpi-kernel/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/rpi-kernel/template b/srcpkgs/rpi-kernel/template
index 1e3f7856fb9f..4507cf2f9e4c 100644
--- a/srcpkgs/rpi-kernel/template
+++ b/srcpkgs/rpi-kernel/template
@@ -17,7 +17,7 @@ _gitshort="${_githash:0:7}"
 
 pkgname=rpi-kernel
 version=5.15.65
-revision=1
+revision=2
 archs="armv6l*"
 wrksrc="linux-${_githash}"
 hostmakedepends="perl kmod uboot-mkimage openssl-devel bc bison flex xz"
@@ -157,8 +157,9 @@ do_install() {
 	# Remove firmware stuff provided by the "linux-firmware" pkg.
 	rm -rf ${DESTDIR}/usr/lib/firmware
 
-	for i in acpi asm-generic clocksource config crypto drm generated linux \
-		math-emu media net pcmcia scsi sound trace uapi vdso video xen; do
+	for i in acpi asm-generic clocksource config crypto drm dt-bindings \
+		generated keys kunit kvm linux math-emu media memory misc net \
+		pcmcia ras rdma scsi soc sound target trace uapi vdso video xen; do
 		[ -d include/$i ] && cp -a include/$i ${hdrdest}/include
 	done
 

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

* Re: [PR REVIEW] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
  2022-09-08 17:32 [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip] tsjk
  2022-09-08 18:23 ` [PR PATCH] [Updated] " tsjk
@ 2022-09-08 18:25 ` classabbyamp
  2022-09-08 18:50 ` tsjk
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-09-08 18:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39173#discussion_r966287221

Comment:
also update `rpi{2,3,4}-kernel`

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

* Re: rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
  2022-09-08 17:32 [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip] tsjk
  2022-09-08 18:23 ` [PR PATCH] [Updated] " tsjk
  2022-09-08 18:25 ` [PR REVIEW] " classabbyamp
@ 2022-09-08 18:50 ` tsjk
  2022-09-08 18:53 ` [PR REVIEW] " tsjk
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tsjk @ 2022-09-08 18:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

New comment by tsjk on void-packages repository

https://github.com/void-linux/void-packages/pull/39173#issuecomment-1241099897

Comment:
> don't forget to squash your commits and [follow the commit naming guidelines](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes)

Yeah, sorry. Forgot to squash...

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

* Re: [PR REVIEW] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
  2022-09-08 17:32 [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip] tsjk
                   ` (2 preceding siblings ...)
  2022-09-08 18:50 ` tsjk
@ 2022-09-08 18:53 ` tsjk
  2022-09-08 18:57 ` tsjk
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tsjk @ 2022-09-08 18:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

New review comment by tsjk on void-packages repository

https://github.com/void-linux/void-packages/pull/39173#discussion_r966317490

Comment:
I don't have those devices, so I refrained from doing that. Perhaps divergence is not a bad idea, considering that the previous update broke, these often headless and remote, systems quite severely.

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

* Re: rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
  2022-09-08 17:32 [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip] tsjk
                   ` (3 preceding siblings ...)
  2022-09-08 18:53 ` [PR REVIEW] " tsjk
@ 2022-09-08 18:57 ` tsjk
  2022-09-08 19:04 ` [PR REVIEW] " classabbyamp
  2022-09-08 19:18 ` [PR PATCH] [Closed]: " tsjk
  6 siblings, 0 replies; 8+ messages in thread
From: tsjk @ 2022-09-08 18:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

New comment by tsjk on void-packages repository

https://github.com/void-linux/void-packages/pull/39173#issuecomment-1241099897

Comment:
> don't forget to squash your commits and [follow the commit naming guidelines](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes)

Yeah, sorry. Forgot to squash... And, I forgot how gh prs work. I'll fix.

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

* Re: [PR REVIEW] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
  2022-09-08 17:32 [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip] tsjk
                   ` (4 preceding siblings ...)
  2022-09-08 18:57 ` tsjk
@ 2022-09-08 19:04 ` classabbyamp
  2022-09-08 19:18 ` [PR PATCH] [Closed]: " tsjk
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-09-08 19:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39173#discussion_r966325993

Comment:
no, they need to be kept in sync

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

* Re: [PR PATCH] [Closed]: rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
  2022-09-08 17:32 [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip] tsjk
                   ` (5 preceding siblings ...)
  2022-09-08 19:04 ` [PR REVIEW] " classabbyamp
@ 2022-09-08 19:18 ` tsjk
  6 siblings, 0 replies; 8+ messages in thread
From: tsjk @ 2022-09-08 19:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

There's a closed pull request on the void-packages repository

rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip]
https://github.com/void-linux/void-packages/pull/39173

Description:
#### Testing the changes
- I tested the changes in this PR: **YES** (on my Raspberry Pi 1 Rev 2)

#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l (cross-built)


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

end of thread, other threads:[~2022-09-08 19:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 17:32 [PR PATCH] rpi-kernel: update to 5.15.65 (fixes issue #39129) [ci skip] tsjk
2022-09-08 18:23 ` [PR PATCH] [Updated] " tsjk
2022-09-08 18:25 ` [PR REVIEW] " classabbyamp
2022-09-08 18:50 ` tsjk
2022-09-08 18:53 ` [PR REVIEW] " tsjk
2022-09-08 18:57 ` tsjk
2022-09-08 19:04 ` [PR REVIEW] " classabbyamp
2022-09-08 19:18 ` [PR PATCH] [Closed]: " tsjk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).