[PATCH 1/2] ipq806x: chromium: Disable kernel's CONFIG_QCOM_SPM

2023-08-11 Thread Brian Norris
] [RFC] qcom_scm: IPQ4019 firmware does not support atomic API? https://lore.kernel.org/linux-arm-kernel/20200913201608.GA3162100@bDebian/ Signed-off-by: Brian Norris --- target/linux/ipq806x/chromium/config-default | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ipq806x/chromiu

[PATCH 2/2] ipq806x: onhub: Enable adm_dma node

2023-08-11 Thread Brian Norris
One of our SPI devices references this node, but we never enabled it. This clutters up probe deferral logs. (NB: this SPI device still doesn't have a real driver, so it's just here for documentation and/or tinkering.) Signed-off-by: Brian Norris --- .../ipq806x/files/arch/arm/boot/dts/qcom

Re: [PATCH] ipq40xx: google (gale) add LED aliases

2023-03-29 Thread Brian Norris
nows how to configure multi-color LEDs yet. I guess the choices you made here are better than the "nothing" that is currently here, so: Reviewed-by: Brian Norris One more note below: > --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts > +++ b

Re: [PATCH v2] ipq40xx: google (gale) add reset button

2023-03-29 Thread Brian Norris
On Sun, Mar 26, 2023 at 10:50:42PM +0200, open...@aiyionpri.me wrote: > From: Jan-Niklas Burfeind > > add the external button (GPIO 57) as reset button > > Co-authored-by: Brian Norris > Signed-off-by: Jan-Niklas Burfeind > --- > > I added the phandle for f

Re: [PATCH] ipq40xx: google (gale) add reset button

2023-03-26 Thread Brian Norris
Hey, On Sun, Mar 26, 2023 at 6:29 AM wrote: > > From: Jan-Niklas Burfeind > > add the external button (GPIO 57) as reset button > > Signed-off-by: Jan-Niklas Burfeind > --- > > Good afternoon everyone. > This is just a minor addition to the google wifi router > OpenWrt supports. > > I hope I

[PATCH] ipq806x: Add buttons to OnHub

2023-02-25 Thread Brian Norris
nd TP-Link; use existing pinmux definitions; add keycode for dev button] Signed-off-by: Brian Norris --- .../arch/arm/boot/dts/qcom-ipq8064-onhub.dtsi | 28 +++ 1 file changed, 28 insertions(+) diff --git a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-onhub.dtsi

Re: [PATCH] octeontx: kernel: add USB storage boot support

2023-02-24 Thread Brian Norris
On Fri, Feb 24, 2023 at 12:18 AM Rafał Miłecki wrote: > > 24 lut 2023 o 00:28 Tim Harvey napisał(a): > > Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass > > Storage device. > > > > This increases the kernel Image by 66KiB > > Do we have any device that has firmware

[PATCH 2/3] ipq806x: chromium: Enable kmod-ramoops by default

2023-02-04 Thread Brian Norris
Chromium devices (like OnHub) have ramoops memory reserved by the bootloader. Let's enable the ramoops kernel module by default, so we get better crash logging. Signed-off-by: Brian Norris --- target/linux/ipq806x/image/chromium.mk | 6 +- 1 file changed, 5 insertions(+), 1 deletion

[PATCH 3/3] ipq40xx: chromium: Enable kmod-ramoops by default

2023-02-04 Thread Brian Norris
Chromium devices (like Google WiFi) have ramoops memory reserved by the bootloader. Let's enable the ramoops kernel module by default, so we get better crash logging. Signed-off-by: Brian Norris --- target/linux/ipq40xx/image/chromium.mk | 6 +- 1 file changed, 5 insertions(+), 1 deletion

[PATCH 1/3] kernel: kmod-ramoops: Include pstore console support

2023-02-04 Thread Brian Norris
d to doing this. The new console files will show up as: /sys/fs/pstore/console-ramoops-N Cc: Hannu Nyman Signed-off-by: Brian Norris --- package/kernel/linux/modules/other.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/ke

Re: [PATCH fstools v2] partname: Correct fstools_partname_fallback_scan comparison

2023-02-03 Thread Brian Norris
Hi Ansuel (or others), On Wed, Jan 25, 2023 at 10:18 PM Brian Norris wrote: > > Commit 1ea5855e980c ("partname: Introduce fstools_partname_fallback_scan > option") had two problems: > > 1. The strcmp() aborted when the param *matched* 1; we wanted the >invers

[PATCH] kernel: modules: add lkdtm module

2023-01-27 Thread Brian Norris
Useful for debugging panic/error handling, crash logging, and more. Signed-off-by: Brian Norris --- package/kernel/linux/modules/other.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index

[PATCH fstools v2] partname: Correct fstools_partname_fallback_scan comparison

2023-01-25 Thread Brian Norris
they would always attempt the fallback scan. Fix both of those. Fixes: 1ea5855e980c ("partname: Introduce fstools_partname_fallback_scan option") Signed-off-by: Brian Norris --- Changes in v2: * Also restore the pre-1ea5855e980c fallback behavior when no root= is provided libfst

[PATCH] ipq806x: onhub: Enable fstools_partname_fallback_scan

2023-01-24 Thread Brian Norris
-vboot subtargets here are using the same rootwait (to support both eMMC and USB boot) and root/partition args. Signed-off-by: Brian Norris --- This patch is only useful once we commit this (and pull in new fstools): https://patchwork.ozlabs.org/project/openwrt/patch/20230125062814.251

Re: [PATCH fstools] partname: Correct fstools_partname_fallback_scan comparison

2023-01-24 Thread Brian Norris
On Tue, Jan 24, 2023 at 10:28:14PM -0800, Brian Norris wrote: > We want to return NULL if the param does *not* match 1 -- i.e., a > non-zero strcmp(). > > Fixes: 1ea5855e980c ("partname: Introduce fstools_partname_fallback_scan > option") Hmm, sorry for the quick self-r

[PATCH fstools] partname: Correct fstools_partname_fallback_scan comparison

2023-01-24 Thread Brian Norris
We want to return NULL if the param does *not* match 1 -- i.e., a non-zero strcmp(). Fixes: 1ea5855e980c ("partname: Introduce fstools_partname_fallback_scan option") Signed-off-by: Brian Norris --- libfstools/partname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v4 7/7] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-20 Thread Brian Norris
On Sat, Jan 21, 2023 at 02:23:08AM +0100, Christian Marangi wrote: > On Fri, Jan 20, 2023 at 05:17:43PM -0800, Brian Norris wrote: > > On Fri, Jan 20, 2023 at 6:11 AM Christian Marangi > > wrote: > > > added the changed to my staging repo and testing them here > >

Re: [PATCH v4 7/7] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-20 Thread Brian Norris
On Fri, Jan 20, 2023 at 6:11 AM Christian Marangi wrote: > added the changed to my staging repo and testing them here > https://github.com/openwrt/openwrt/pull/11843. > > Merged the fstools requirement. If CI tests doesn't have problems, i > will merge this in master. I see you've merged them to

Re: [PATCH v3 7/7] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-13 Thread Brian Norris
On Fri, Jan 13, 2023 at 5:40 AM Linus Walleij wrote: > > Hi Brian! > > I have this device, so as soon as I manage to find time for opening it up > and mounting a UART I will test your patch set! Hi Linus! Glad to see you're interested. > On Wed, Jan 11, 2023 at 8:13 AM Bri

[PATCH v4 4/7] ipq806x: ASoC: qcom: lpass-cpu: Fix fallback SD line index handling

2023-01-12 Thread Brian Norris
This fixes device tree registration for 'qcom,lpass-cpu' as used by qcom-ipq8064 SoCs, and allows speaker audio to function. This patch has been submitted (and merged, for -next; likely v6.3) upstream. Signed-off-by: Brian Norris --- (no changes since v2) Changes in v2: * Add upstream (-next

[PATCH v4 6/7] ucode: update to latest Git HEAD

2023-01-12 Thread Brian Norris
To bring in isatty() support. Includes new commits: be30472bfdbb fs: add `isatty()` function 98637e08dba5 Merge pull request #136 from blogic/master 0a58d510529e nl80211: add support for NL80211_ATTR_MPATH_INFO Signed-off-by: Brian Norris --- Changes in v4: * Clean up commit message Changes

[PATCH v4 7/7] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-12 Thread Brian Norris
u boot. [1] https://openwrt.org/toh/google/wifi [2] https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_mode.md Signed-off-by: Brian Norris --- * There might be better ways to handle the multi-color LED support, but for now, each color is a separate LED * A variety of people have been

[PATCH v4 2/7] ipq806x: Point to externally compiled dtbs in recipes

2023-01-12 Thread Brian Norris
e rebuilds of the kernel though, which slows down device development iteration. Buildroot also compiles DTBs on its own, to $(KDIR)/image-$(DEVICE_DTS).dtb. With small adjustments, we can leverage this, and stop patching DTS files into the kernel Makefile at the same time. Signed-off-by: Brian Norris --- (

[PATCH v4 1/7] base-files: Remove nand.sh dependency from emmc upgrade

2023-01-12 Thread Brian Norris
(and not, say *_word()). Signed-off-by: Brian Norris --- (no changes since v1) .../base-files/files/lib/upgrade/common.sh| 27 package/base-files/files/lib/upgrade/emmc.sh | 2 +- package/base-files/files/lib/upgrade/nand.sh | 32 ++- 3 files changed, 30

[PATCH v4 5/7] ipq806x: Add kmod-sound-soc-ipq8064-storm

2023-01-12 Thread Brian Norris
For IPQ8064 systems based off the "Google Storm" reference platform, such as the TP-Link OnHub. Signed-off-by: Brian Norris --- (no changes since v2) Changes in v2: * Drop CONFIG_IPQ_LCC_806X=y, and merge CONFIG_IPQ_LCC_806X=m into this package * Move package to the ipq806x targ

[PATCH v4 3/7] ipq806x: config-5.15: Normalize

2023-01-12 Thread Brian Norris
Refresh target config with `make kernel_menuconfig`, then save the result. This drops missing symbols or otherwise accounts for defaults. It should not change any functionality. Signed-off-by: Brian Norris --- (no changes since v2) Changes in v2: * Improve description target/linux/ipq806x

Re: [PATCH v3 7/7] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-12 Thread Brian Norris
Hi Christian, On Thu, Jan 12, 2023 at 6:34 AM Christian Marangi wrote: > On Tue, Jan 10, 2023 at 11:06:52PM -0800, Brian Norris wrote: > > diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds > > b/target/linux/ipq806x/base-files/etc/board.d/01_leds > &g

Re: [PATCH v3 7/7] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-12 Thread Brian Norris
On Thu, Jan 12, 2023 at 9:48 AM Christian Marangi wrote: > On Thu, Jan 12, 2023 at 09:35:03AM -0800, Brian Norris wrote: > > On Thu, Jan 12, 2023 at 6:34 AM Christian Marangi > > wrote: > > Downside: IIUC, this will no longer reflect in the UCI configuration, > > a

[PATCH v3 7/7] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-10 Thread Brian Norris
u boot. [1] https://openwrt.org/toh/google/wifi [2] https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_mode.md Signed-off-by: Brian Norris --- * There might be better ways to handle the multi-color LED support, but for now, each color is a separate LED * A variety of people have been

[PATCH v3 5/7] ipq806x: Add kmod-sound-soc-ipq8064-storm

2023-01-10 Thread Brian Norris
For IPQ8064 systems based off the "Google Storm" reference platform, such as the TP-Link OnHub. Signed-off-by: Brian Norris --- (no changes since v2) Changes in v2: * Drop CONFIG_IPQ_LCC_806X=y, and merge CONFIG_IPQ_LCC_806X=m into this package * Move package to the ipq806x targ

[PATCH v3 6/7] ucode: Update to latest

2023-01-10 Thread Brian Norris
To bring in isatty() support. Includes new commits: dad974baa46 Merge pull request #137 from ynezz/ynezz/isatty be30472bfdbb fs: add `isatty()` function 98637e08dba5 Merge pull request #136 from blogic/master 0a58d510529e nl80211: add support for NL80211_ATTR_MPATH_INFO Signed-off-by: Brian

[PATCH v3 4/7] ipq806x: ASoC: qcom: lpass-cpu: Fix fallback SD line index handling

2023-01-10 Thread Brian Norris
This fixes device tree registration for 'qcom,lpass-cpu' as used by qcom-ipq8064 SoCs, and allows speaker audio to function. This patch has been submitted (and merged, for -next; likely v6.3) upstream. Signed-off-by: Brian Norris --- (no changes since v2) Changes in v2: * Add upstream (-next

[PATCH v3 1/7] base-files: Remove nand.sh dependency from emmc upgrade

2023-01-10 Thread Brian Norris
(and not, say *_word()). Signed-off-by: Brian Norris --- (no changes since v1) .../base-files/files/lib/upgrade/common.sh| 27 package/base-files/files/lib/upgrade/emmc.sh | 2 +- package/base-files/files/lib/upgrade/nand.sh | 32 ++- 3 files changed, 30

[PATCH v3 2/7] ipq806x: Point to externally compiled dtbs in recipes

2023-01-10 Thread Brian Norris
e rebuilds of the kernel though, which slows down device development iteration. Buildroot also compiles DTBs on its own, to $(KDIR)/image-$(DEVICE_DTS).dtb. With small adjustments, we can leverage this, and stop patching DTS files into the kernel Makefile at the same time. Signed-off-by: Brian Norris --- (

[PATCH v3 3/7] ipq806x: config-5.15: Normalize

2023-01-10 Thread Brian Norris
Refresh target config with `make kernel_menuconfig`, then save the result. This drops missing symbols or otherwise accounts for defaults. It should not change any functionality. Signed-off-by: Brian Norris --- (no changes since v2) Changes in v2: * Improve description target/linux/ipq806x

Re: [PATCH fstools v2] partname: Ignore root=PARTUUID...

2023-01-09 Thread Brian Norris
On Mon, Jan 9, 2023 at 3:20 PM Christian Marangi wrote: > On Mon, Jan 09, 2023 at 02:34:48PM -0800, Brian Norris wrote: > > On Mon, Jan 9, 2023 at 1:53 PM Christian Marangi > > wrote: > > > > > > On Fri, Jan 06, 2023 at 06:04:22PM -0800, Brian Norris wrote

Re: [PATCH fstools v2] partname: Ignore root=PARTUUID...

2023-01-09 Thread Brian Norris
On Mon, Jan 9, 2023 at 1:53 PM Christian Marangi wrote: > > On Fri, Jan 06, 2023 at 06:04:22PM -0800, Brian Norris wrote: > > We're assuming all root= arguments are /dev/ paths, but many targets > > utilize root=PARTUUID= strategies. At least allow them to fall back > &g

Re: [PATCH v2 6/7] coreutils: Import from packages feed

2023-01-09 Thread Brian Norris
On Mon, Jan 9, 2023 at 11:56 AM Christian Marangi wrote: > On Mon, Jan 09, 2023 at 11:51:53AM -0800, Brian Norris wrote: > > For my use, it feels like a simplified form (which only needs to be a > > stdin/stdout pipeline) would be pretty easy to inline into the > > caldata/f

Re: [PATCH v2 6/7] coreutils: Import from packages feed

2023-01-09 Thread Brian Norris
On Mon, Jan 9, 2023 at 11:21 AM Christian Marangi wrote: > > On Mon, Jan 09, 2023 at 03:35:56PM +0100, Petr Štetiar wrote: > > Petr Štetiar [2023-01-09 11:50:37]: > > > > Hi, > > > > > BTW ucode has `b64dec()`[1] so perhaps another viable option. > > > > > > 1.

Re: [PATCH v2 6/7] coreutils: Import from packages feed

2023-01-08 Thread Brian Norris
On Sun, Jan 8, 2023 at 1:37 PM Thibaut wrote: > > Le 8 janv. 2023 à 21:53, Christian Marangi a écrit : > > > > On Sun, Jan 08, 2023 at 09:00:58PM +0100, Petr Štetiar wrote: > >> Brian Norris [2023-01-06 23:49:44]: > >> > >> Hi Brian, > &g

[PATCH v2 7/7] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-07 Thread Brian Norris
edge" developer mode (and skip the beep) by using a USB keyboard to press CTRL+D every time you boot. [1] https://openwrt.org/toh/google/wifi [2] https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_mode.md Signed-off-by: Brian Norris --- * There might be better ways to ha

[PATCH v2 6/7] coreutils: Import from packages feed

2023-01-07 Thread Brian Norris
I need to express a per-target dependency on the 'base64' utility, and that's seemingly impossible to do for busybox. Pull in coreutils to make that easier. Signed-off-by: Brian Norris --- * New in v2 (no changes since v1) package/utils/coreutils/Makefile | 153

[PATCH v2 5/7] ipq806x: Add kmod-sound-soc-ipq8064-storm

2023-01-07 Thread Brian Norris
For IPQ8064 systems based off the "Google Storm" reference platform, such as the TP-Link OnHub. Signed-off-by: Brian Norris --- Changes in v2: * Drop CONFIG_IPQ_LCC_806X=y, and merge CONFIG_IPQ_LCC_806X=m into this package * Move package to the ipq806x target * Slim AutoLoad li

[PATCH v2 4/7] ipq806x: ASoC: qcom: lpass-cpu: Fix fallback SD line index handling

2023-01-07 Thread Brian Norris
This fixes device tree registration for 'qcom,lpass-cpu' as used by qcom-ipq8064 SoCs, and allows speaker audio to function. This patch has been submitted (and merged, for -next; likely v6.3) upstream. Signed-off-by: Brian Norris --- Changes in v2: * Add upstream (-next) notes * Renumber

[PATCH v2 3/7] ipq806x: config-5.15: Normalize

2023-01-07 Thread Brian Norris
Refresh target config with `make kernel_menuconfig`, then save the result. This drops missing symbols or otherwise accounts for defaults. It should not change any functionality. Signed-off-by: Brian Norris --- Changes in v2: * Improve description target/linux/ipq806x/config-5.15 | 20

[PATCH v2 2/7] ipq806x: Point to externally compiled dtbs in recipes

2023-01-07 Thread Brian Norris
e rebuilds of the kernel though, which slows down device development iteration. Buildroot also compiles DTBs on its own, to $(KDIR)/image-$(DEVICE_DTS).dtb. With small adjustments, we can leverage this, and stop patching DTS files into the kernel Makefile at the same time. Signed-off-by: Brian Norris --

[PATCH v2 1/7] base-files: Remove nand.sh dependency from emmc upgrade

2023-01-07 Thread Brian Norris
(and not, say *_word()). Signed-off-by: Brian Norris --- (no changes since v1) .../base-files/files/lib/upgrade/common.sh| 27 package/base-files/files/lib/upgrade/emmc.sh | 2 +- package/base-files/files/lib/upgrade/nand.sh | 32 ++- 3 files changed, 30

[PATCH fsutils] partname: Ignore root=PARTUUID...

2023-01-06 Thread Brian Norris
We're assuming all root= arguments are /dev/ paths, but many targets utilize root=PARTUUID= strategies. At least allow them to fall back to scanning all block devices. Signed-off-by: Brian Norris --- libfstools/partname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH fstools v2] partname: Ignore root=PARTUUID...

2023-01-06 Thread Brian Norris
We're assuming all root= arguments are /dev/ paths, but many targets utilize root=PARTUUID= strategies. At least allow them to fall back to scanning all block devices. Signed-off-by: Brian Norris --- Changes in v2: * fstools, not fsutils (sorry for the noise) libfstools/partname.c | 4

Re: [PATCH 7/8] ath10k-ct: Support qcom,ath10k-calibration-data-base64

2023-01-06 Thread Brian Norris
On Fri, Jan 6, 2023 at 12:39 AM Thibaut wrote: > > Le 6 janv. 2023 à 04:48, Brian Norris a écrit > > : > Indeed. Coreutils seems like a better choice here. OK. So I guess I just copy/paste it back into the openwrt tree from the packages feed, and then later clean it out

Re: [PATCH 7/8] ath10k-ct: Support qcom,ath10k-calibration-data-base64

2023-01-05 Thread Brian Norris
On Thu, Jan 5, 2023 at 7:12 PM Stefan Lippers-Hollmann wrote: > On 2023-01-06, Christian Marangi wrote: > > On Thu, Jan 05, 2023 at 02:03:24PM -0800, Brian Norris wrote: > > > On Thu, Jan 5, 2023 at 11:59 AM Brian Norris > [...] > > > Do I need to create some

Re: [PATCH 7/8] ath10k-ct: Support qcom,ath10k-calibration-data-base64

2023-01-05 Thread Brian Norris
In case you are open to giving more helpful tips to a relative newcomer to openwrt development: On Thu, Jan 5, 2023 at 11:59 AM Brian Norris wrote: > I'll just need to > force a 'base64' utility into these images This is turning out to be nontrivial. The only in-tree base64 tool is a b

Re: [PATCH 7/8] ath10k-ct: Support qcom,ath10k-calibration-data-base64

2023-01-05 Thread Brian Norris
On Thu, Jan 5, 2023 at 11:02 AM Robert Marko wrote: > On Thu, 5 Jan 2023 at 19:47, Brian Norris wrote: > > On Wed, Jan 04, 2023 at 01:58:01PM +0100, Christian Marangi wrote: > > > Also on top of that the besto solution for these special case is to > > > parse t

Re: [PATCH 5/8] ipq8064: ASoC: qcom: lpass-cpu: Fix fallback SD line index handling

2023-01-05 Thread Brian Norris
Hi Christian, Robert, On Wed, Jan 04, 2023 at 02:30:23PM +0100, Robert Marko wrote: > On Wed, 4 Jan 2023 at 14:04, Christian Marangi wrote: > > > > On Mon, Jan 02, 2023 at 03:25:31PM -0800, Brian Norris wrote: > > > This fixes device tree registration for 'qcom,lpass-cp

Re: [PATCH 7/8] ath10k-ct: Support qcom,ath10k-calibration-data-base64

2023-01-05 Thread Brian Norris
Hi Christian, On Wed, Jan 04, 2023 at 01:58:01PM +0100, Christian Marangi wrote: > On Mon, Jan 02, 2023 at 03:25:33PM -0800, Brian Norris wrote: > > See the patch notes about the stock firmware for TP-Link Onhub and > > https://chromium-review.googlesource.com/243115. &g

Re: [PATCH 2/8] ipq806x: Point to externally compiled dtbs in recipes

2023-01-05 Thread Brian Norris
On Wed, Jan 04, 2023 at 01:50:17PM +0100, Christian Marangi wrote: > On Mon, Jan 02, 2023 at 03:25:28PM -0800, Brian Norris wrote: > > See also: > > > > commit 4d8b42d8a7774070ac0439915f8de1430db9a8e3 > > Author: Tomasz Maciej Nowak > > Date: Thu Aug 25 20:26:1

Re: [PATCH 1/8] base-files: Remove nand.sh dependency from emmc upgrade

2023-01-05 Thread Brian Norris
Hi Christian, On Wed, Jan 04, 2023 at 01:40:57PM +0100, Christian Marangi wrote: > On Mon, Jan 02, 2023 at 03:25:27PM -0800, Brian Norris wrote: > > --- a/package/base-files/files/lib/upgrade/common.sh > > +++ b/package/base-files/files/lib/upgrade/common.sh > &

[PATCH 8/8] ipq806x: Initial TP-Link and ASUS OnHub support

2023-01-02 Thread Brian Norris
edge" developer mode (and skip the beep) by using a USB keyboard to press CTRL+D every time you boot. [1] https://openwrt.org/toh/google/wifi [2] https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_mode.md Signed-off-by: Brian Norris --- * We could perhaps factor out some of

[PATCH 4/8] ipq806x: Enable CONFIG_IPQ_LCC_806X

2023-01-02 Thread Brian Norris
Clock controller used by some IP blocks (e.g., LPASS / audio) on IPQ8064. Signed-off-by: Brian Norris --- target/linux/ipq806x/config-5.15 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ipq806x/config-5.15 b/target/linux/ipq806x/config-5.15 index 5082bc840be3

[PATCH 2/8] ipq806x: Point to externally compiled dtbs in recipes

2023-01-02 Thread Brian Norris
fashion, we can drop the DTS patch. Signed-off-by: Brian Norris --- target/linux/ipq806x/image/Makefile | 5 +-- .../0069-arm-boot-add-dts-files.patch | 43 --- .../0069-arm-boot-add-dts-files.patch | 43 --- 3 files changed, 2

[PATCH 1/8] base-files: Remove nand.sh dependency from emmc upgrade

2023-01-02 Thread Brian Norris
emmc_do_upgrade() relies on identify() from the nand.sh upgrade helper. This only works because FEATURES=emmc targets also tend to include FEATURES=nand. Signed-off-by: Brian Norris --- .../base-files/files/lib/upgrade/common.sh| 27 package/base-files/files/lib/upgrade

[PATCH 6/8] kernel: Add kmod-sound-soc-ipq8064-storm

2023-01-02 Thread Brian Norris
For IPQ8064 systems based off the "Google Storm" reference platform, such as the TP-Link OnHub. Signed-off-by: Brian Norris --- package/kernel/linux/modules/sound.mk | 24 target/linux/generic/config-5.10 | 3 +++ target/linux/generic/config-5.15 |

[PATCH 7/8] ath10k-ct: Support qcom,ath10k-calibration-data-base64

2023-01-02 Thread Brian Norris
how to parse/convert this property. I haven't submitted this patch upstream. However, it applies relatively cleanly to the tree even after almost 8 years, so it doesn't seem too hard to maintain. Signed-off-by: Brian Norris --- .../970-ath10k-calibration-base64.patch | 249

[PATCH 3/8] ipq806x: config-5.15: Normalize

2023-01-02 Thread Brian Norris
Normalize = `make kernel_menuconfig`, save. Signed-off-by: Brian Norris --- target/linux/ipq806x/config-5.15 | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/target/linux/ipq806x/config-5.15 b/target/linux/ipq806x/config-5.15 index 7ea97ff89ec3

[PATCH 5/8] ipq8064: ASoC: qcom: lpass-cpu: Fix fallback SD line index handling

2023-01-02 Thread Brian Norris
This fixes device tree registration for 'qcom,lpass-cpu' as used by qcom-ipq8064 SoCs, and allows speaker audio to function. This patch has been submitted (and merged, for -next) upstream. Signed-off-by: Brian Norris --- ...cpu-Fix-fallback-SD-line-index-handl.patch | 39

[PATCH] base-files: Remove nand.sh dependency from emmc upgrade

2022-12-20 Thread Brian Norris
emmc_do_upgrade() relies on identify() from the nand.sh upgrade helper. This only works because FEATURES=emmc targets also tend to include FEATURES=nand. Signed-off-by: Brian Norris --- .../base-files/files/lib/upgrade/common.sh| 27 package/base-files/files/lib/upgrade

[PATCH] base-files: upgrade: Fix export_partdevice() quoting

2022-12-20 Thread Brian Norris
d argument. Signed-off-by: Brian Norris --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 53b8865a5788..af1182cb16a3 100644 ---

[PATCH] ipq40xx: Convert Google Wifi to DSA, reenable

2022-10-22 Thread Brian Norris
address back in via 05_set_iface_mac_ipq40xx.sh, since the 'local-mac-address' property is no longer in the correct node. Cc: David Bauer Cc: Robert Marko Signed-off-by: Brian Norris --- .../ipq40xx/base-files/etc/board.d/02_network | 5 +++ .../arch/arm/boot/dts/qcom-ipq4019-wifi.dts | 42

Re: [PATCH] octeon: fix unstable eMMC on ER-8

2022-09-02 Thread Brian Norris
Hi Yu, On Fri, Sep 02, 2022 at 05:34:21PM -0600, Yu Zhao wrote: > On Thu, Sep 1, 2022 at 12:54 AM Brian Norris > wrote: > > On Mon, Aug 01, 2022 at 01:50:36AM -0600, Yu Zhao via openwrt-devel wrote: > > > This patch adds the DTS [8] from the stock firmware [2], and

Re: [PATCH] octeon: fix unstable eMMC on ER-8

2022-09-01 Thread Brian Norris
Hi Yu, On Mon, Aug 01, 2022 at 01:50:36AM -0600, Yu Zhao via openwrt-devel wrote: > This patch adds the DTS [8] from the stock firmware [2], and makes > ER-8 use it. Interestingly, the only change in the device tree after > this patch is the eMMC clock speed [9]. This usually means it'd be a

Re: [PATCH firmware-utils 1/2] ptgen: add Chromium OS kernel partition support

2022-01-31 Thread Brian Norris
On Fri, Jan 28, 2022 at 12:53:04PM +, Daniel Golle wrote: > I'll apply your patches as-is. > > > Thank you! Thanks for reviewing and merging! Now to get the rest of the Google WiFi stuff [1] in good enough shape to merge. (Maybe it is already? Although I'm unsure if there are side effects

Re: [PATCH firmware-utils 1/2] ptgen: add Chromium OS kernel partition support

2022-01-27 Thread Brian Norris
On Thu, Jan 27, 2022 at 5:34 AM Daniel Golle wrote: > > Hi Brian, Hi Daniel, > thank you for taking care of liberating the Google devices ;) ;) > Please see my comments inline below: > > On Sat, Jan 15, 2022 at 09:48:30PM -0800, Brian Norris wrote: > > Chrom{ium,e

[PATCH firmware-utils 1/2] ptgen: add Chromium OS kernel partition support

2022-01-15 Thread Brian Norris
https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs The GUID is also recognized in fdisk, and likely other utilities, but creation/manipulation is typically done via the 'cgpt' utility, provided as part of the Chromium vboot_reference project. Signed-off-by: Brian

[PATCH firmware-utils 2/2] cros-vbutil: add Chrome OS vboot kernel-signing utility

2022-01-15 Thread Brian Norris
e original license text as well as a GPL-2 notice for my modifications (essentially just borrowing the data structures and rewriting everything else). Signed-off-by: Brian Norris --- CMakeLists.txt| 1 + src/cros-vbutil.c | 608 ++ 2 files ch

Re: Support for Google Onhub devices

2022-01-12 Thread Brian Norris
On Wed, Jan 12, 2022 at 8:43 AM Thomas Deselaers wrote: > > Hey folks, Hi! > I have an Onhub router and some Google Wifi repeaters. Google recently > announced that they are going to shut down the support for Onhub > (effectively bricking them) by end of 2022. > > I have done a bit of research

Re: Patchwork and DMARC emails.

2021-02-18 Thread Brian Norris
On Thu, Feb 18, 2021 at 2:50 AM Bjørn Mork wrote: > Brian Norris writes: > > I've necromanced that thread to bug the infradead admin -- maybe he > > can be convinced to try that patch: > > http://lists.openwrt.org/pipermail/openwrt-devel/2021-February/033849.html >

Re: missing email header

2021-02-18 Thread Brian Norris
On Thu, Feb 18, 2021 at 1:57 AM David Woodhouse wrote: > On Wed, 2021-02-17 at 21:52 -0800, Brian Norris wrote: > > It turns out a bug report was filed, and fixed: > > > > https://mail.python.org/archives/list/mailman-us...@python.org/thread/ZVM6I4UTDKHY4EKNLIBIWE

Re: Patchwork and DMARC emails.

2021-02-17 Thread Brian Norris
On Wed, Feb 17, 2021 at 8:11 PM Sam Kuper wrote: > > On Wed, Feb 17, 2021 at 02:47:57PM +0100, Etan Kissling wrote: > > On 08.02.21, 10:33, Rosen Penev wrote: > >>> My patches don't end up in Patchwork for some reason. > >> It's because of DMARC. [..] ... > > For other mailing lists that do not

Re: missing email header

2021-02-17 Thread Brian Norris
(CC a few) On Tue, Aug 11, 2020 at 6:59 AM David Woodhouse wrote: > On Mon, 2020-08-10 at 10:13 -0300, Henrique de Moraes Holschuh wrote: > > Agreed. HOWEVER, anything that is being relayed due to too-strict SPF > > is being relayed with an *EMPTY* subject, and *THAT* is extremely annoying. > >

Re: Installation error for libncursesw6

2021-02-15 Thread Brian Norris
On Sun, Feb 14, 2021 at 4:07 PM Ansuel Smith wrote: > > > Collected errors: > > * pkg_hash_fetch_best_installation_candidate: Packages for > > libreadline8 found, but incompatible with the architectures configured > > * opkg_install_cmd: Cannot install package libreadline8. > > *

[PATCH] base-files: mount pstore if present

2021-01-23 Thread Brian Norris
Pstore (persistent store) can be used to stash debug information (kernel console, panics, ftrace) across reboots or crashes. If the filesystem is present, mount it. Signed-off-by: Brian Norris --- package/base-files/files/etc/init.d/boot | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2 3/4] image-commands: support Chromium OS image-type creation

2021-01-17 Thread Brian Norris
Hi Paul, On Sun, Jan 17, 2021 at 2:43 AM Paul Spooren wrote: > On Sat Jan 16, 2021 at 5:07 PM HST, Brian Norris wrote: > > See the previous patches, which implemented the cros-vbutil > > verified-boot payload-packing tool, and extended ptgen for the CrOS > >

[PATCH] base-file: remove unused 'bootdisk' variable

2021-01-16 Thread Brian Norris
This was left obsolete in: 4a0688ed7153 base-files: remove block2mtd checks from sysupgrade Signed-off-by: Brian Norris --- package/base-files/files/lib/upgrade/common.sh | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b

[PATCH v2 4/4] ipq40xx: add target for Google WiFi (Gale)

2021-01-16 Thread Brian Norris
-r--r--1 root root 12064 Jul 15 19:11 /sys/firmware/devicetree/base/soc/wifi@a00/qcom,ath10k-pre-calibration-data -r--r--r--1 root root 12064 Jul 15 19:11 /sys/firmware/devicetree/base/soc/wifi@a80/qcom,ath10k-pre-calibration-data Ethernet MAC addresses

[PATCH v2 2/4] firmware-utils/cros-vbutil: add Chrome OS vboot kernel-signing utility

2021-01-16 Thread Brian Norris
e original license text as well as a GPL-2 notice for my modifications (essentially just borrowing the data structures and rewriting everything else). Signed-off-by: Brian Norris --- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/cros-vbutil.c | 609 ++

[PATCH v2 3/4] image-commands: support Chromium OS image-type creation

2021-01-16 Thread Brian Norris
a few AP models). gen_image_vboot.sh borrows a bit of structure from gen_image_generic.sh, but I didn't feel it fit well to try and add new flags to the latter, given the difference in its FAT kernel packaging and our raw kernel partition packing. Signed-off-by: Brian Norris --- include/image

[PATCH v2 0/4] Add support for Chromium OS and Google WiFi

2021-01-16 Thread Brian Norris
ttps://chromium.googlesource.com/chromiumos/platform/vboot_reference Brian Norris (4): firmware-utils/ptgen: add Chromium OS kernel partition support firmware-utils/cros-vbutil: add Chrome OS vboot kernel-signing utility image-commands: support Chromium OS image-type creation ipq40xx: add ta

[PATCH v2 1/4] firmware-utils/ptgen: add Chromium OS kernel partition support

2021-01-16 Thread Brian Norris
other utilities, but creation/manipulation is typically done via the 'cgpt' utility, provided as part of the vboot_reference project. Signed-off-by: Brian Norris --- tools/firmware-utils/src/ptgen.c | 39 +--- 1 file changed, 36 insertions(+), 3 deletions(-) diff --

Re: missing email header

2020-08-08 Thread Brian Norris
Hi, On Wed, Aug 5, 2020 at 2:21 AM Moritz Warning wrote: > somehow the titles of the emails from openwrt-devel@ do not contain a title > prefix anymore. > They appear to address me personally at first glance, which is a bit > unsettling. FWIW, I see very few other mailing lists mangle the

Re: [RFC PATCH 5/5] ipq40xx: add target for Google WiFi (Gale)

2020-07-21 Thread Brian Norris
rst ~3 patches) before doing that. > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Brian Norris > > Sent: Samstag, 18. Juli 2020 22:52 > > To: openwrt-devel@lists.openwrt.org > > Cc: Br

Re: [RFC PATCH 3/5] image-commands: support Chromium OS image-type creation

2020-07-18 Thread Brian Norris
Hi Adrian, On Sat, Jul 18, 2020 at 2:14 PM wrote: > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Brian Norris > > Sent: Samstag, 18. Juli 2020 22:52 > > To: openwrt-devel@lists.openwrt.org >

[RFC PATCH 2/5] firmware-utils/cros-vbutil: add Chrome OS vboot kernel-signing utility

2020-07-18 Thread Brian Norris
e original license text as well as a GPL-2 notice for my modifications (essentially just borrowing the data structures and rewriting everything else). Signed-off-by: Brian Norris --- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/cros-vbutil.c | 609 ++

[RFC PATCH 5/5] ipq40xx: add target for Google WiFi (Gale)

2020-07-18 Thread Brian Norris
12064 Jul 15 19:11 /sys/firmware/devicetree/base/soc/wifi@a00/qcom,ath10k-pre-calibration-data -r--r--r--1 root root 12064 Jul 15 19:11 /sys/firmware/devicetree/base/soc/wifi@a80/qcom,ath10k-pre-calibration-data Ethernet MAC addresses are similarly patche

[RFC PATCH 1/5] firmware-utils/ptgen: add Chromium OS kernel partition support

2020-07-18 Thread Brian Norris
other utilities, but creation/manipulation is typically done via the 'cgpt' utility, provided as part of the vboot_reference project. Signed-off-by: Brian Norris --- tools/firmware-utils/src/ptgen.c | 39 +--- 1 file changed, 36 insertions(+), 3 deletions(-) diff --

[RFC PATCH 0/5] Add support for Chromium OS and Google WiFi

2020-07-18 Thread Brian Norris
tfs-part Is this reason for a new subtarget? Anyway, this is a working device port as-is, so feel free to take a look even if you don't have opinions on any of my "RFC" questions! Regards, Brian [1] https://chromium.googlesource.com/chromiumos/platform/vboot_reference Brian Norris (5): f

[RFC PATCH 4/5] ipq40xx: add open-drain support to pinctrl-msm

2020-07-18 Thread Brian Norris
=13355ca35cd16f5024655ac06e228b3c199e52a9 Signed-off-by: Brian Norris --- .../090-pinctrl-msm-open-drain.patch | 90 +++ 1 file changed, 90 insertions(+) create mode 100644 target/linux/ipq40xx/patches-5.4/090-pinctrl-msm-open-drain.patch diff --git a/target/linux/ipq40xx

[RFC PATCH 3/5] image-commands: support Chromium OS image-type creation

2020-07-18 Thread Brian Norris
a few AP models). gen_image_vboot.sh borrows a bit of structure from gen_image_generic.sh, but I didn't feel it fit well to try and add new flags to the latter, given the difference in its FAT kernel packaging and our raw kernel partition packing. Signed-off-by: Brian Norris --- include/image

Re: [PATCH] ipq40xx: add open-drain support to pinctrl-msm

2020-07-17 Thread Brian Norris
On Fri, Jul 17, 2020 at 1:59 AM Petr Štetiar wrote: > Or is there any other valid reason I'm missing right now? I put my main reason in the original email: "Submitting this separately, partly because the device-support patches are a bit bigger and likely will take a little work." Particularly,

[PATCH] ipq40xx: add open-drain support to pinctrl-msm

2020-07-17 Thread Brian Norris
=13355ca35cd16f5024655ac06e228b3c199e52a9 Signed-off-by: Brian Norris --- Submitting this separately, partly because the device-support patches are a bit bigger and likely will take a little work. .../090-pinctrl-msm-open-drain.patch | 90 +++ 1 file changed, 90 insertions

[PATCH] scripts/feeds: warn when skipping core package override

2020-07-03 Thread Brian Norris
Otherwise, a n00b like myself can get quite confused when moving a package from core to feeds, for example. (Hint: one *really* needs to clear out the tmp/info/.packageinfo... entries for the stale package, but '-f' works as well.) Signed-off-by: Brian Norris --- scripts/feeds | 5 - 1

  1   2   >