[no subject]

2021-01-08 Thread Gagan Sidhu via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- hi, using the latest stuff from y

[PATCH 2/3] build/json: factor initramfs json data into profiles.json

2021-01-08 Thread Moritz Warning
The initramfs json data does not contain all fields. E.g. no default_packages. As such, the python scripts need to properly merge the json data of the images. Signed-off-by: Moritz Warning --- scripts/json_add_image_info.py | 28 -- scripts/json_overview_image_info.py | 44 +

[PATCH 3/3] build/json: preserve existing profiles.json data

2021-01-08 Thread Moritz Warning
The OpenWrt Image Builder only builds images for one device per call. This causes the profiles.json files to only contain the data of the last device that was build. Signed-off-by: Moritz Warning --- scripts/json_overview_image_info.py | 4 1 file changed, 4 insertions(+) diff --git a/scri

[PATCH 1/3] build/json: generate json file for initramfs images

2021-01-08 Thread Moritz Warning
The initramfs images are missing from the profiles.json files. Signed-off-by: Moritz Warning --- include/image.mk | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index 8f46c75ffe..fc73658a9a 100644 --- a/include/image.mk +

RE: [PATCH v5 2/2] realtek: add support for ZyXEL GS1900-8HP v1 and v2

2021-01-08 Thread Adrian Schmutzler
Hi, > -Original Message- > From: Stijn Segers [mailto:f...@volatilesystems.org] > Sent: Freitag, 8. Januar 2021 16:33 > To: Sander Vanheule > Cc: openwrt-devel@lists.openwrt.org; Adrian Schmutzler > > Subject: Re: [PATCH v5 2/2] realtek: add support for ZyXEL GS1900-8HP v1 > and v2 I've

Re: [PATCHv3 3/3] busybox: remove useless busybox patches

2021-01-08 Thread Andrey Jr. Melnikov
Rosen Penev wrote: > The first two are useless as /bin/sh can execute those scripts just > fine. Shellcheck reports no problems. > Telnet patch is useless as telnet is no longer used in OpenWrt. telnetd .. ^^ and here? ___ openwr

[PATCH v2] octeon: rename erlite to ubnt,edgerouter-lite

2021-01-08 Thread Stijn Segers
Rename EdgeRouter Lite board_name value and prefix it with vendor abbreviation UBNT, as done for other Ubiquiti devices in the tree. Ensure backward sysupgrade compatibility as well. Signed-off-by: Stijn Segers --- .../octeon/base-files/lib/preinit/01_sysinfo | 2 +- .../octeon/base-files/l

Re: [PATCHv3 2/3] busybox: update to 1.33

2021-01-08 Thread Hannu Nyman
Rosen Penev kirjoitti 8.1.2021 klo 5.30: ... Refresh config and patches. Signed-off-by: Rosen Penev --- v3: more complete config refresh. v2: refreshed config and slight rewording. I have applied and tested the v3 patch series in my builds for ath79/WNDR3700v2, ipq806x/R7800 and mvebu/

RE: [PATCH v5 2/2] realtek: add support for ZyXEL GS1900-8HP v1 and v2

2021-01-08 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Stijn Segers > Sent: Freitag, 8. Januar 2021 16:33 > To: Sander Vanheule > Cc: openwrt-devel@lists.openwrt.org; Adrian Schmutzler > > Subject: Re: [PATCH v5 2/2] realtek: add support

Re: [PATCH 1/2] octeon: rename erlite to ubnt,erlite

2021-01-08 Thread Stijn Segers
Hi Roman, Op vrijdag 8 januari 2021 om 19:31 schreef Roman Kuzmitskii : there is no good way to differentiate between devices in runtime if they use the same platform. custom dts would be a better solution in case of edgerouter lite since upstream (kernel) already have one for e100 (edger

RE: ramips: add support for Xiaomi Mi Router 4AC (100M Edition)

2021-01-08 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Alexander 'lynxis' Couzens > Sent: Freitag, 8. Januar 2021 17:36 > To: Sorin Pop > Cc: openwrt-devel@lists.openwrt.org; Adrian Schmutzler > > Subject: Re: ramips: add support for Xia

RE: [PATCH] ramips: fix partition layout of xiaomi mi router 4a 100mbit

2021-01-08 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Alexander Couzens > Sent: Freitag, 8. Januar 2021 13:43 > To: openwrt-devel@lists.openwrt.org > Cc: Alexander Couzens > Subject: [PATCH] ramips: fix partition layout of xiaomi mi

RE: [PATCH] bcm4908: initial work on the Broadcom BCM4908 target

2021-01-08 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Rafal Milecki > Sent: Freitag, 8. Januar 2021 14:53 > To: openwrt-devel@lists.openwrt.org > Cc: Rafał Miłecki > Subject: [PATCH] bcm4908: initial work on the Broadcom BCM4908 tar

[PATCH] wireless: add comments to functions

2021-01-08 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- wireless.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/wireless.c b/wireless.c index 818f7c994da8..4422656065b0 100644 --- a/wireless.c +++ b/wireless.c @@ -11,6 +11,21 @@ * MERCHANTABILITY or FITNESS FOR A

Re: ramips: add support for Xiaomi Mi Router 4AC (100M Edition)

2021-01-08 Thread Alexander 'lynxis' Couzens
Hi Sorin, do you know if the Xiaomi Mi Router 4A is the same? I've a router 4a (100m) around which boots from bc26. Most likely a EU variant. Best, lynxis > It seems that the difference is not that it's 4AC because even the > one > in OpenWrt ATM is a 4AC (defined as 4A) but what I found ou

RE: [PATCH 2/2] octeon: add EdgeRouter Lite specific network config

2021-01-08 Thread Stijn Segers
Hi Adrian, Op vrijdag 8 januari 2021 om 13u30 schreef Adrian Schmutzler : Hi, -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Stijn Segers Sent: Freitag, 8. Januar 2021 11:28 To: openwrt-devel@lists.openwrt.org Subject: [PATCH

RE: [PATCH 1/2] octeon: rename erlite to ubnt,erlite

2021-01-08 Thread Stijn Segers
Hi, Op vrijdag 8 januari 2021 om 13u29 schreef Adrian Schmutzler : Hi, -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Stijn Segers Sent: Freitag, 8. Januar 2021 11:28 To: openwrt-devel@lists.openwrt.org Subject: [PATCH 1/2] o

Re: [PATCH v5 2/2] realtek: add support for ZyXEL GS1900-8HP v1 and v2

2021-01-08 Thread Stijn Segers
Hi, Op vrijdag 8 januari 2021 om 16u19 schreef Sander Vanheule : Hi Stijn, On Fri, 2021-01-08 at 14:32 +0100, Stijn Segers wrote: diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile index 765e516a0a..39b28b6c67 100644 --- a/target/linux/realtek/image/Mak

Re: [PATCH v5 2/2] realtek: add support for ZyXEL GS1900-8HP v1 and v2

2021-01-08 Thread Sander Vanheule
Hi Stijn, On Fri, 2021-01-08 at 14:32 +0100, Stijn Segers wrote: > diff --git a/target/linux/realtek/image/Makefile > b/target/linux/realtek/image/Makefile > index 765e516a0a..39b28b6c67 100644 > --- a/target/linux/realtek/image/Makefile > +++ b/target/linux/realtek/image/Makefile > @@ -65,11 +65,

[PATCH] bcm4908: initial work on the Broadcom BCM4908 target

2021-01-08 Thread Rafał Miłecki
From: Rafał Miłecki BCM4906, BCM4908 and BCM49408 are SoCs with 64 bit ARMv8 B53 CPUs. Upstream Linux is slowly getting support for that SoCs family so it makes sense to add target for it. It isn't usable yet (it only produces a bootable kernel) so "source-only" is used. Signed-off-by: Rafał Mi

Re: [PATCH] ramips: fix partition layout of xiaomi mi router 4a 100mbit

2021-01-08 Thread Rafał Miłecki
On 08.01.2021 13:42, Alexander Couzens wrote: The partition layout doesn't match the partition layout read out by OEM version. It's unclear to me if different firmware version have different partition layouts. Missing Signed-off-by --- target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-

Re: [PATCH] wireguard-tools: allow generating private_key

2021-01-08 Thread Leonardo Mörlein
Hi Jo, I see your point. I will solve this downstream, so this can be closed. Kind regards, Leo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH v5 2/2] realtek: add support for ZyXEL GS1900-8HP v1 and v2

2021-01-08 Thread Stijn Segers
The ZyXEL GS1900-8HP is an 8 port gigabit switch with PoE+ support. There are two versions on the market (v1 & v2) which share similar specs (same flash size and flash layout, same RAM size, same PoE+ power envelope) but have a different case and board layout that they each share with other GS1900

[PATCH v5 0/2] Add GS1900-8HP v1/v2 support and GS1900 DTSI

2021-01-08 Thread Stijn Segers
Hi Adrian, This should be the final round. Run-tested on a GS1900-10HP. It's still alive :-). Thank you! Stijn Stijn Segers (2): realtek: introduce shared DTSI for GS1900 series realtek: add support for ZyXEL GS1900-8HP v1 and v2 .../realtek/base-files/etc/board.d/02_network | 6 + ...

[PATCH v5 1/2] realtek: introduce shared DTSI for GS1900 series

2021-01-08 Thread Stijn Segers
The ZyXEL GS1900-8HP v1, v2 and GS1900-10HP are all built on a similar Realtek RTL8380M platform. Create a common DTSI in preparation for GS1900-8HP support, and switch to the macros defined in rtl838x.dtsi. Signed-off-by: Stijn Segers --- .../realtek/dts/rtl8380_zyxel_gs1900-10hp.dts | 233 +---

Re: [PATCH] wireguard-tools: allow generating private_key

2021-01-08 Thread Jo-Philipp Wich
Hi, I'm afraid this approach is not really acceptable. Automatically calling `uci commit` outside of the early-boot / uci-defaults context is not safe. There could be arbitrary user defined, intentionally uncommitted changes stashed when the ifup sequence is running which you would inadvertently

[PATCH] ramips: fix partition layout of xiaomi mi router 4a 100mbit

2021-01-08 Thread Alexander Couzens
The partition layout doesn't match the partition layout read out by OEM version. It's unclear to me if different firmware version have different partition layouts. --- target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi

RE: [PATCH 2/2] octeon: add EdgeRouter Lite specific network config

2021-01-08 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Stijn Segers > Sent: Freitag, 8. Januar 2021 11:28 > To: openwrt-devel@lists.openwrt.org > Subject: [PATCH 2/2] octeon: add EdgeRouter Lite specific network config > > The Ubiqui

RE: [PATCH 1/2] octeon: rename erlite to ubnt,erlite

2021-01-08 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Stijn Segers > Sent: Freitag, 8. Januar 2021 11:28 > To: openwrt-devel@lists.openwrt.org > Subject: [PATCH 1/2] octeon: rename erlite to ubnt,erlite > > Prefix EdgeRouter Lite bo

RE: [PATCH] wireguard-tools: allow generating private_key

2021-01-08 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Leonardo Mörlein > Sent: Freitag, 8. Januar 2021 02:25 > To: openwrt-devel@lists.openwrt.org > Cc: Leonardo Mörlein > Subject: [PATCH] wireguard-tools: allow generating private_k

[PATCH 1/2] octeon: rename erlite to ubnt,erlite

2021-01-08 Thread Stijn Segers
Prefix EdgeRouter Lite board_name value with vendor abbreviation UBNT, as other Ubiquiti devices do, and use full name "Ubiquiti EdgeRouter Lite" as model value. Signed-off-by: Stijn Segers --- .../octeon/base-files/lib/preinit/01_sysinfo | 10 -- .../octeon/base-files/lib/preinit/7

[RFC] Octeon: EdgeRouter Lite fixes

2021-01-08 Thread Stijn Segers
These patches align the EdgeRouter Lite device with modern OpenWrt practices: - Use vendor prefix for board_name: ubnt,erlite instead of erlite. - Set the model to "Ubiquiti EdgeRouter Lite". - Add an EdgeRouter Lite match in /etc/board.d/01_network so all network interfaces get configured: eth0

[PATCH 2/2] octeon: add EdgeRouter Lite specific network config

2021-01-08 Thread Stijn Segers
The Ubiquiti EdgeRouter Lite has three network interfaces. Add a specific match in /etc/board.d/01_network so they all get set up. Default to eth0 for WAN and an eth1 + eth2 bridge for LAN. Signed-off-by: Stijn Segers --- target/linux/octeon/base-files/etc/board.d/01_network | 3 +++ 1 file chan