Re: [PATCH 2/2] ramips: add support for Wavlink WS-WN572HP3 4G

2022-11-29 Thread Arınç ÜNAL
On 30.11.2022 01:12, Jan-Niklas Burfeind wrote: Wavlink WS-WN572HP3 4G is an 802.11ac dual-band outdoor router with LTE support. Specifications; * Soc: MT7621DAT * RAM: 128MiB * Flash: NOR 16MiB GD-25Q128ESIG3 * Wi-Fi: * MT7613BEN: 5GHz * MT7603EN: 2.4GHz * Ethernet: 2x 1GbE * USB: None -

[PATCH 2/2] ramips: add support for Wavlink WS-WN572HP3 4G

2022-11-29 Thread Jan-Niklas Burfeind
Wavlink WS-WN572HP3 4G is an 802.11ac dual-band outdoor router with LTE support. Specifications; * Soc: MT7621DAT * RAM: 128MiB * Flash: NOR 16MiB GD-25Q128ESIG3 * Wi-Fi: * MT7613BEN: 5GHz * MT7603EN: 2.4GHz * Ethernet: 2x 1GbE * USB: None - only used internally * LTE Modem: Quectel EC200T-EU

[PATCH 1/2] comgt-ncm: add support for quectel modem EC200T-EU

2022-11-29 Thread Jan-Niklas Burfeind
context_type is an integer mapping of pdptype: 1: IPV4 2: IPV6 3: IPV4V6 Signed-off-by: Jan-Niklas Burfeind --- package/network/utils/comgt/files/ncm.json | 16 package/network/utils/comgt/files/ncm.sh | 6 ++ 2 files changed, 22 insertions(+) diff --git

[PATCH v3 3/3] bcm63xx: add support for Tp-Link Archer VR400 v1

2022-11-29 Thread Daniel González Cabanelas
The Archer VR400 v1 is an EOL xDSL router with 802.11bgn/802.11ac wifi. Hardware: - SoC: Broadcom BCM63167 - CPU: dual core BMIPS4350 V8.0 @400MHz - RAM: 128 MB DDR2 - Flash: 16 MB SPI NOR - Ethernet LAN: 3x 100Mbit - Ethernet WAN: 1x GbE - Wifi 2.4 GHz: SoC integrated BCM435F 802.11b/g/n

[PATCH v3 2/3] bcm63xx: build tplink images

2022-11-29 Thread Daniel González Cabanelas
Add macros and a python script to build images compatible with tplink CFE bootloaders. Signed-off-by: Daniel González Cabanelas --- Changes in v2: - factory image fixed. (cfe-tplink-crcfix.py doesn't work if CFE already prepended) Changes in v3: - name in temp files for prepending CFE fixed

[PATCH v3 1/3] bcm63xx: kernel: enable the tplink image parser

2022-11-29 Thread Daniel González Cabanelas
Enable the tplink mtd firmware splitter to allow booting images with tplink headers. Since known devices with these headers are dual core, only enable this driver in the SMP subtarget. Signed-off-by: Daniel González Cabanelas --- Changes in v2: no changes Changes in v3: cosmetic

Re: [PATCH] realtek: fix dell typo

2022-11-29 Thread Philippe Mathieu-Daudé
On 28/11/22 17:58, Jan-Niklas Burfeind wrote: should be add/delete or abbreviated add/del Signed-off-by: Jan-Niklas Burfeind --- .../realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Peter Naulls
On 11/29/22 12:37, Daniel Golle wrote: I thought you are on a device with actual block storage. For your case I also can't come up with anything better which works out-of-the-box for NOR flash. Supporting fscrypt in JFFS2 would be more elegant, but that's a bit more demanding than just using

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 12:05:51PM -0500, Peter Naulls wrote: > On 11/29/22 11:50, Daniel Golle wrote: > > > > > There is nothing wrong with that use-case, and it can even be > > interesting for other downstream users. Encrypted rootfs_data is > > generally a good idea, especially when

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Peter Naulls
On 11/29/22 11:50, Daniel Golle wrote: There is nothing wrong with that use-case, and it can even be interesting for other downstream users. Encrypted rootfs_data is generally a good idea, especially when rootfs_data is used to store private key material (think: VPN keys) or other kind of

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 11:28:29AM -0500, Peter Naulls wrote: > On 11/29/22 10:32, Daniel Golle wrote: > > On Tue, Nov 29, 2022 at 10:23:48AM -0500, Peter Naulls wrote: > > > > > > This backports the upstream label feature in block2mtd to the 5.10.x > > > kernel > > > in 22.03: > > > > > >

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Peter Naulls
On 11/29/22 10:32, Daniel Golle wrote: On Tue, Nov 29, 2022 at 10:23:48AM -0500, Peter Naulls wrote: This backports the upstream label feature in block2mtd to the 5.10.x kernel in 22.03: https://github.com/torvalds/linux/blob/master/drivers/mtd/devices/block2mtd.c Where are we using

Re: [PATCH] ramips: use ARTIFACTS for initramfs-factory of I-O DATA WN-AX1167GR

2022-11-29 Thread INAGAKI Hiroshi
On 2022/11/30 0:30, Daniel Golle wrote: On Tue, Nov 29, 2022 at 11:10:22PM +0900, INAGAKI Hiroshi wrote: [...] This seems to be caused by "image" directory in staging_dir/target-mipsel_24kc_musl/ not existing, and when I created that folder manually the build succeeded. ---

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 10:23:48AM -0500, Peter Naulls wrote: > > This backports the upstream label feature in block2mtd to the 5.10.x kernel > in 22.03: > > https://github.com/torvalds/linux/blob/master/drivers/mtd/devices/block2mtd.c Where are we using block2mtd and why? I'm not against

Re: [PATCH] ramips: use ARTIFACTS for initramfs-factory of I-O DATA WN-AX1167GR

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 11:10:22PM +0900, INAGAKI Hiroshi wrote: > [...] > This seems to be caused by "image" directory in > staging_dir/target-mipsel_24kc_musl/ not existing, and when I created that > folder manually the build succeeded. > > --- >

[PATCH] build: make sure that $(STAGING_DIR_IMAGE) exists

2022-11-29 Thread Daniel Golle
Call 'mkdir -p $(STAGING_DIR_IMAGE)' before trying to store files in this potentially non-existing folder. Signed-off-by: Daniel Golle --- include/image-commands.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/image-commands.mk b/include/image-commands.mk index

[PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Peter Naulls
This backports the upstream label feature in block2mtd to the 5.10.x kernel in 22.03: https://github.com/torvalds/linux/blob/master/drivers/mtd/devices/block2mtd.c --- a/drivers/mtd/devices/block2mtd.c 2022-11-29 07:35:32.382695321 -0500 +++ b/drivers/mtd/devices/block2mtd.c 2022-11-29

Re: [PATCH] ramips: use ARTIFACTS for initramfs-factory of I-O DATA WN-AX1167GR

2022-11-29 Thread INAGAKI Hiroshi
On 2022/11/29 22:04, Daniel Golle wrote: On Tue, Nov 29, 2022 at 09:30:25PM +0900, INAGAKI Hiroshi wrote: Hi Daniel, thank you for your review. On 2022/11/29 11:07, Daniel Golle wrote: On Wed, Nov 23, 2022 at 12:24:09PM +0900, INAGAKI Hiroshi wrote: ... @@ -972,10 +955,13 @@ define

Re: [PATCH] ramips: use ARTIFACTS for initramfs-factory of I-O DATA WN-AX1167GR

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 09:30:25PM +0900, INAGAKI Hiroshi wrote: > Hi Daniel, > > thank you for your review. > > On 2022/11/29 11:07, Daniel Golle wrote: > > On Wed, Nov 23, 2022 at 12:24:09PM +0900, INAGAKI Hiroshi wrote: > ... > > > @@ -972,10 +955,13 @@ define Device/iodata_wn-ax1167gr > > >

Re: [PATCH] ramips: use ARTIFACTS for initramfs-factory of I-O DATA WN-AX1167GR

2022-11-29 Thread INAGAKI Hiroshi
Hi Daniel, thank you for your review. On 2022/11/29 11:07, Daniel Golle wrote: On Wed, Nov 23, 2022 at 12:24:09PM +0900, INAGAKI Hiroshi wrote: ... @@ -972,10 +955,13 @@ define Device/iodata_wn-ax1167gr $(Device/dsa-migration) $(Device/uimage-lzma-loader) IMAGE_SIZE := 15552k -

Re: [PATCH] ramips: mt7621-dts: change DSA port labels to generic naming

2022-11-29 Thread Arınç ÜNAL
On 29.11.2022 14:35, Bjørn Mork wrote: Arınç ÜNAL writes: Change the labels of the DSA ports to generic naming for switch ports. Probably stupid question, but why? Not stupid at all. The labels aren't required. Just drop them if no one depends on the current default. I wouldn't

Re: [PATCH] ramips: mt7621-dts: change DSA port labels to generic naming

2022-11-29 Thread Bjørn Mork
Arınç ÜNAL writes: > Change the labels of the DSA ports to generic naming for switch ports. Probably stupid question, but why? The labels aren't required. Just drop them if no one depends on the current default. Bjørn ___ openwrt-devel mailing

[PATCH] ramips: mt7621-dts: change DSA port labels to generic naming

2022-11-29 Thread Arınç ÜNAL
Change the labels of the DSA ports to generic naming for switch ports. Signed-off-by: Arınç ÜNAL --- I've made sure every devicetree which includes mt7621.dtsi has got its own label property. This won't break anything. Arınç --- target/linux/ramips/dts/mt7621.dtsi | 10 +- 1 file