RE: [PATCH] hostapd: add a hostapd-basic-wolfssl variant

2020-11-03 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Rui Salvaterra > Sent: Dienstag, 3. November 2020 21:08 > To: openwrt-devel@lists.openwrt.org > Cc: Rui Salvaterra > Subject: [PATCH] hostapd: add a hostapd-basic-wolfssl variant > >

[PATCH] hostapd: add a hostapd-basic-wolfssl variant

2020-11-03 Thread Rui Salvaterra
If only AP mode is needed, this is currently the most space-efficient way to provide support for WPA{2,3}-PSK, 802.11w and 802.11r. openwrt-ath79-generic-ubnt_nanostation-loco-m-squashfs-sysupgrade.bin sizes: 4719426 bytes (with wpad-basic-wolfssl) 4457282 bytes (with hostapd-basic-wolfssl) Sign

[PATCH 1016/1016] Fix Netgear D7800 eth0 WAN Port not working with 100Mbit

2020-11-03 Thread peter
From: Peter Cardoe Signed-off-by: Peter Cardoe --- .../ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files

RE: [PATCH] base-files: add board.d support for bridge device

2020-11-03 Thread Adrian Schmutzler
Hi John, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of John Crispin > Sent: Dienstag, 3. November 2020 17:43 > To: openwrt-devel@lists.openwrt.org > Cc: John Crispin > Subject: [PATCH] base-files: add board.d support for bridge

Re: [PATCH] base-files: add board.d support for bridge device

2020-11-03 Thread John Crispin
thanks for the quick review     John On 03.11.20 18:24, Adrian Schmutzler wrote: Hi John, -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of John Crispin Sent: Dienstag, 3. November 2020 17:43 To: openwrt-devel@lists.openwrt.org Cc: Jo

[PATCH] base-files: add board.d support for bridge device

2020-11-03 Thread John Crispin
Latest netifd allows us to setup network bridges with implicit vlan tagging. For this to work, we need to setup several additional uci sections. This feature is particularly usefull for DSA tupe devices. Add board.d and uci-defaults support for generating the sections. Signed-off-by: John Crispin

RE: [PATCH 01/10] base-files: upgrade: log with prefix

2020-11-03 Thread Adrian Schmutzler
Hi, > -Original Message- > From: Yousong Zhou [mailto:yszhou4t...@gmail.com] > Sent: Dienstag, 3. November 2020 16:05 > To: Adrian Schmutzler > Cc: Philip Prindeville ; OpenWrt > Development List > Subject: Re: [PATCH 01/10] base-files: upgrade: log with prefix > > On Tue, 3 Nov 2020 at

Re: [PATCH 01/10] base-files: upgrade: log with prefix

2020-11-03 Thread Yousong Zhou
On Tue, 3 Nov 2020 at 21:02, Adrian Schmutzler wrote: > > Hi, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Yousong Zhou > > Sent: Dienstag, 3. November 2020 13:21 > > To: Philip Prindeville > > Cc: Yousong Zhou ; openwr

RE: [PATCH 01/10] base-files: upgrade: log with prefix

2020-11-03 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Yousong Zhou > Sent: Dienstag, 3. November 2020 13:21 > To: Philip Prindeville > Cc: Yousong Zhou ; openwrt- > de...@lists.openwrt.org > Subject: [PATCH 01/10] base-files: upgrad

[PATCH 01/10] base-files: upgrade: log with prefix

2020-11-03 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- 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 2eb26ba44b..56daabd778 100644 --- a/package/bas

[PATCH 06/10] base-files: upgrade: stage2: rework log lines

2020-11-03 Thread Yousong Zhou
- Use common v function when possible - Write log lines to stderr when using echo Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/stage2 | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/base-files/files/lib/upgrade/stage2 b/package/ba

[PATCH 00/10] sysupgrade: reword and organize log lines

2020-11-03 Thread Yousong Zhou
The series mainly aims to make sysupgrade log output more organized and less disturbing, in the following aspects - Hide "write error: Broken pipe" from cat command and its friends. - Make log lines from sysupgrade command itself more distinguishable more other commands by using common.sh fun

[PATCH 10/10] x86: upgrade: make code comment appear as log lines

2020-11-03 Thread Yousong Zhou
This is mainly to make it clear records in/out in the following lines are for extracting boot sectors Before == upgrade: Reading partition table from bootdisk... 37+26 records in 37+26 records out == upgrade: Reading partition table from image... After == upgrade: Reading partition ta

[PATCH 09/10] x86: upgrade: use get_image_dd

2020-11-03 Thread Yousong Zhou
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3140 Reported-by: Philip Prindeville Signed-off-by: Yousong Zhou --- target/linux/x86/base-files/lib/upgrade/platform.sh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/x86/base-files/lib/upgra

[PATCH 08/10] x86: upgrade: use v function for writting logs

2020-11-03 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- .../linux/x86/base-files/lib/upgrade/platform.sh | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index 1bcd492dd7..617b26

[PATCH 05/10] base-files: upgrade: fwtool.sh: rewording logs

2020-11-03 Thread Yousong Zhou
The intent is to make it sound more like info level message, not some error like "404 not found". x86 target at the moment makes image with only signature but no metadata (ref commit f8141216 "x86: append metadata to combined images"). Signed-off-by: Yousong Zhou --- package/base-files/files/li

[PATCH 03/10] base-files: upgrade: add get_image_dd()

2020-11-03 Thread Yousong Zhou
This is mainly to handle error message "Broken pipe" by common pattern "xcat | dd .." Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3140 Reported-by: Philip Prindeville Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/common.sh | 6 ++ 1 file changed, 6 inse

[PATCH 04/10] base-files: upgrade: fwtool.sh: use v for log lines

2020-11-03 Thread Yousong Zhou
This will have at least the following effects - Log lines will have common prefix - They will be output to stderr instead of stdout Signed-off-by: Yousong Zhou --- .../base-files/files/lib/upgrade/fwtool.sh| 24 +-- 1 file changed, 12 insertions(+), 12 deletions(-) diff -

[PATCH 07/10] base-files: bump PKG_RELEASE

2020-11-03 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/base-files/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index c139ea313b..f63c4db533 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -12,

[PATCH 02/10] base-files: upgrade: use stdin redirection to replace cat command

2020-11-03 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- 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 56daabd778..808fad178b 100644 --- a/package/bas