Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pinebookpro-firmware: include clm_blob
@ 2020-11-15  4:48 CameronNemo
  2020-11-19  4:19 ` ericonr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: CameronNemo @ 2020-11-15  4:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/CameronNemo/void-packages pbp-firmware
https://github.com/void-linux/void-packages/pull/26390

pinebookpro-firmware: include clm_blob
Ship the clm_blob so that the correct frequencies are used for the
relevant wireless jurisdiction. Otherwise, only limited frequences are
supported.

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

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

From b2551607baf0fb34efcb93735fc020ec9f8087dd Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sat, 14 Nov 2020 20:46:45 -0800
Subject: [PATCH] pinebookpro-firmware: include clm_blob

Ship the clm_blob so that the correct frequencies are used for the
relevant wireless jurisdiction. Otherwise, only limited frequences are
supported.
---
 srcpkgs/pinebookpro-firmware/template | 28 +++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/pinebookpro-firmware/template b/srcpkgs/pinebookpro-firmware/template
index 8fd4fbf5f30..b9fd13b1f37 100644
--- a/srcpkgs/pinebookpro-firmware/template
+++ b/srcpkgs/pinebookpro-firmware/template
@@ -1,20 +1,36 @@
 # Template file for 'pinebookpro-firmware'
 pkgname=pinebookpro-firmware
 reverts=20200215_1
-version=0.0.20200215
+version=0.0.20201114
 revision=1
-_commit=58820c428d2ecae6aaf5e4f00997652b9479853a
+_rockchip_commit=72c91aa297a10140781e3f83419c077d4bf8890c
+_manjaro_commit=7074a2e21dd804e229eab1c031bc00246e9173e0
+create_wrksrc=yes
 archs="aarch64*"
-wrksrc="rkwifibt-${_commit}"
 short_desc="Firmware files for the Pinebook Pro"
 maintainer="Renato Aguiar <renato@renatoaguiar.net>"
 license="Apache-2.0"
 homepage="https://github.com/rockchip-linux/rkwifibt"
-distfiles="https://github.com/rockchip-linux/rkwifibt/archive/${_commit}.tar.gz"
-checksum=20161cf3011f57dc9912db7270be1a83e543a61ea8757c23eaf983542fb021e0
+distfiles="
+ https://github.com/rockchip-linux/rkwifibt/archive/${_rockchip_commit}.tar.gz
+ https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware/-/archive/${_manjaro_commit}/ap6256-firmware-${_manjaro_commit}.tar.gz"
+checksum="
+ f73a89b09cccb283b92911e978188987859c97cb78957ab1dbc2f169a0a5ec05
+ 190653595f0dbf564bf726bc0de3d3f06aa9a6fcd7743a9b3fdd5b3b233b6c6b"
 
 do_install() {
+	cd "${wrksrc}"
+	cd "ap6256-firmware-${_manjaro_commit}"
+	vinstall brcmfmac43456-sdio.clm_blob 644 usr/lib/firmware/brcm
+	cd ..
+	cd "rkwifibt-${_rockchip_commit}"
 	vinstall firmware/broadcom/AP6256/bt/BCM4345C5.hcd 644 usr/lib/firmware/brcm
 	vinstall firmware/broadcom/AP6256/wifi/fw_bcm43456c5_ag.bin 644 usr/lib/firmware/brcm brcmfmac43456-sdio.bin
-	vinstall firmware/broadcom/AP6256/wifi/nvram_ap6256.txt 644 usr/lib/firmware/brcm brcmfmac43456-sdio.pine64,pinebook-pro.txt
+	cp -f firmware/broadcom/AP6256/wifi/nvram_ap6256.txt .
+	vsed -i 's/ccode=DE/ccode=all/' nvram_ap6256.txt
+	vinstall nvram_ap6256.txt 644 usr/lib/firmware/brcm brcmfmac43456-sdio.txt
+	cd ..
+	for dev in pine64,pinebook-pro radxa,rockpi4b radxa,rockpi4c rockpro64-v2.1 rk3399-orangepi; do
+		ln -sf brcmfmac43456-sdio.txt "${DESTDIR}/usr/lib/firmware/brcm/brcmfmac43456-sdio.${dev}.txt"
+	done
 }

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

* Re: pinebookpro-firmware: include clm_blob
  2020-11-15  4:48 [PR PATCH] pinebookpro-firmware: include clm_blob CameronNemo
@ 2020-11-19  4:19 ` ericonr
  2020-11-21 17:23 ` [PR PATCH] [Updated] " CameronNemo
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2020-11-19  4:19 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26390#issuecomment-730119197

Comment:
Please fix the xlint :)

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

* Re: [PR PATCH] [Updated] pinebookpro-firmware: include clm_blob
  2020-11-15  4:48 [PR PATCH] pinebookpro-firmware: include clm_blob CameronNemo
  2020-11-19  4:19 ` ericonr
@ 2020-11-21 17:23 ` CameronNemo
  2020-11-21 18:14 ` CameronNemo
  2020-11-21 20:03 ` [PR PATCH] [Merged]: " the-maldridge
  3 siblings, 0 replies; 5+ messages in thread
From: CameronNemo @ 2020-11-21 17:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/CameronNemo/void-packages pbp-firmware
https://github.com/void-linux/void-packages/pull/26390

pinebookpro-firmware: include clm_blob
Ship the clm_blob so that the correct frequencies are used for the
relevant wireless jurisdiction. Otherwise, only limited frequences are
supported.

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

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

From 556e9c1bed7b7056ca041df688fe14ab980b0ff3 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sat, 14 Nov 2020 20:46:45 -0800
Subject: [PATCH] pinebookpro-firmware: include clm_blob

Ship the clm_blob so that the correct frequencies are used for the
relevant wireless jurisdiction. Otherwise, only limited frequences are
supported.
---
 srcpkgs/pinebookpro-firmware/template | 28 +++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/pinebookpro-firmware/template b/srcpkgs/pinebookpro-firmware/template
index 8fd4fbf5f30..4d29df0915b 100644
--- a/srcpkgs/pinebookpro-firmware/template
+++ b/srcpkgs/pinebookpro-firmware/template
@@ -1,20 +1,36 @@
 # Template file for 'pinebookpro-firmware'
 pkgname=pinebookpro-firmware
 reverts=20200215_1
-version=0.0.20200215
+version=0.0.20201114
 revision=1
-_commit=58820c428d2ecae6aaf5e4f00997652b9479853a
+_rockchip_commit=72c91aa297a10140781e3f83419c077d4bf8890c
+_manjaro_commit=7074a2e21dd804e229eab1c031bc00246e9173e0
 archs="aarch64*"
-wrksrc="rkwifibt-${_commit}"
+create_wrksrc=yes
 short_desc="Firmware files for the Pinebook Pro"
 maintainer="Renato Aguiar <renato@renatoaguiar.net>"
 license="Apache-2.0"
 homepage="https://github.com/rockchip-linux/rkwifibt"
-distfiles="https://github.com/rockchip-linux/rkwifibt/archive/${_commit}.tar.gz"
-checksum=20161cf3011f57dc9912db7270be1a83e543a61ea8757c23eaf983542fb021e0
+distfiles="
+ https://github.com/rockchip-linux/rkwifibt/archive/${_rockchip_commit}.tar.gz
+ https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware/-/archive/${_manjaro_commit}/ap6256-firmware-${_manjaro_commit}.tar.gz"
+checksum="
+ f73a89b09cccb283b92911e978188987859c97cb78957ab1dbc2f169a0a5ec05
+ 190653595f0dbf564bf726bc0de3d3f06aa9a6fcd7743a9b3fdd5b3b233b6c6b"
 
 do_install() {
+	cd "${wrksrc}"
+	cd "ap6256-firmware-${_manjaro_commit}"
+	vinstall brcmfmac43456-sdio.clm_blob 644 usr/lib/firmware/brcm
+	cd ..
+	cd "rkwifibt-${_rockchip_commit}"
 	vinstall firmware/broadcom/AP6256/bt/BCM4345C5.hcd 644 usr/lib/firmware/brcm
 	vinstall firmware/broadcom/AP6256/wifi/fw_bcm43456c5_ag.bin 644 usr/lib/firmware/brcm brcmfmac43456-sdio.bin
-	vinstall firmware/broadcom/AP6256/wifi/nvram_ap6256.txt 644 usr/lib/firmware/brcm brcmfmac43456-sdio.pine64,pinebook-pro.txt
+	cp -f firmware/broadcom/AP6256/wifi/nvram_ap6256.txt .
+	vsed -i 's/ccode=DE/ccode=all/' nvram_ap6256.txt
+	vinstall nvram_ap6256.txt 644 usr/lib/firmware/brcm brcmfmac43456-sdio.txt
+	cd ..
+	for dev in pine64,pinebook-pro radxa,rockpi4b radxa,rockpi4c rockpro64-v2.1 rk3399-orangepi; do
+		ln -sf brcmfmac43456-sdio.txt "${DESTDIR}/usr/lib/firmware/brcm/brcmfmac43456-sdio.${dev}.txt"
+	done
 }

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

* Re: pinebookpro-firmware: include clm_blob
  2020-11-15  4:48 [PR PATCH] pinebookpro-firmware: include clm_blob CameronNemo
  2020-11-19  4:19 ` ericonr
  2020-11-21 17:23 ` [PR PATCH] [Updated] " CameronNemo
@ 2020-11-21 18:14 ` CameronNemo
  2020-11-21 20:03 ` [PR PATCH] [Merged]: " the-maldridge
  3 siblings, 0 replies; 5+ messages in thread
From: CameronNemo @ 2020-11-21 18:14 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/26390#issuecomment-731615612

Comment:
@ericonr fixed lint

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

* Re: [PR PATCH] [Merged]: pinebookpro-firmware: include clm_blob
  2020-11-15  4:48 [PR PATCH] pinebookpro-firmware: include clm_blob CameronNemo
                   ` (2 preceding siblings ...)
  2020-11-21 18:14 ` CameronNemo
@ 2020-11-21 20:03 ` the-maldridge
  3 siblings, 0 replies; 5+ messages in thread
From: the-maldridge @ 2020-11-21 20:03 UTC (permalink / raw)
  To: ml

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

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

pinebookpro-firmware: include clm_blob
https://github.com/void-linux/void-packages/pull/26390

Description:
Ship the clm_blob so that the correct frequencies are used for the
relevant wireless jurisdiction. Otherwise, only limited frequences are
supported.

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

end of thread, other threads:[~2020-11-21 20:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-15  4:48 [PR PATCH] pinebookpro-firmware: include clm_blob CameronNemo
2020-11-19  4:19 ` ericonr
2020-11-21 17:23 ` [PR PATCH] [Updated] " CameronNemo
2020-11-21 18:14 ` CameronNemo
2020-11-21 20:03 ` [PR PATCH] [Merged]: " the-maldridge

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git