Re: [OpenWrt-Devel] [PATCH rpcd v2 6/6] main: exec_self: make clang analyzer happy

2019-10-21 Thread Yousong Zhou
On Tue, 22 Oct 2019 at 12:49, Petr Štetiar wrote: > > Petr Štetiar [2019-10-22 06:26:14]: > > > Yousong Zhou [2019-10-21 12:59:24]: > > > > almost happy: > > > > main.c:65:1: warning: Potential leak of memory pointed to by 'args' > > > > diff --git a/main.c b/main.c > > index 12cb4c5c720c..8b11

Re: [OpenWrt-Devel] [PATCH rpcd v2 6/6] main: exec_self: make clang analyzer happy

2019-10-21 Thread Petr Štetiar
Petr Štetiar [2019-10-22 06:26:14]: > Yousong Zhou [2019-10-21 12:59:24]: > > almost happy: > > main.c:65:1: warning: Potential leak of memory pointed to by 'args' > > diff --git a/main.c b/main.c > index 12cb4c5c720c..8b11418f1c09 100644 > --- a/main.c > +++ b/main.c > @@ -62,6 +62,7 @@ exe

Re: [OpenWrt-Devel] [PATCH uqmi] nas: add --get-plmn

2019-10-21 Thread Martin Schiller
Ping. I still want to fix the existing problems in the qmi protohandler. Therefore, this feature needs to be integrated into uqmi. Martin On 2019-08-29 10:35, Bjørn Mork wrote: Martin Schiller writes: On 2019-08-26 21:12, Sami Olmari wrote: I think the ideology behind proto handler there

Re: [OpenWrt-Devel] [PATCH rpcd v2 6/6] main: exec_self: make clang analyzer happy

2019-10-21 Thread Petr Štetiar
Yousong Zhou [2019-10-21 12:59:24]: almost happy: main.c:65:1: warning: Potential leak of memory pointed to by 'args' diff --git a/main.c b/main.c index 12cb4c5c720c..8b11418f1c09 100644 --- a/main.c +++ b/main.c @@ -62,6 +62,7 @@ exec_self(int argc, char **argv) setenv("RPC_HANGUP",

[OpenWrt-Devel] [PATCH] toolchain: gcc: allow sanitizers when USE_GLIBC

2019-10-21 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/libs/toolchain/Makefile | 172 toolchain/gcc/final/Makefile| 5 +- 2 files changed, 176 insertions(+), 1 deletion(-) diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile index a63746c448..c13

[OpenWrt-Devel] [PATCH v4] ramips: add support for JS76x8 series DEV boards

2019-10-21 Thread Robinson Wu
This commit adds support for the ZhuoTK JS76x8 series development boards. These devices have the following specifications: - SOC: MT7628AN/NN, MT7688AN, MT7628DAN - RAM of MT7628AN/NN and MT7688AN: 64/128/256 MB (DDR2) - RAM of MT7628DAN: 64 MB (DDR2) - FLASH:8/16/32 MB (SPI NOR) - Ethernet:3x 10/

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for JS76x8 series DEV boards

2019-10-21 Thread Robinson Wu
 Hi Adrian,   I used to use "MediaTek MT7628 EVB" target profile in OpenWRT. This profile use the default "wan_mac=$(macaddr_add "$(cat /sys/class/net/eth0/address)" 1)", and the lan and wan network of my boards work well by use this profile. In fact, the MAC address at factory partition 0x2e

Re: [OpenWrt-Devel] [PATCH v2] ipq40xx: Add support for Unielec U4019

2019-10-21 Thread John Crispin
On 21/10/2019 18:07, Robert Marko wrote: Merging this today has caused a regression in ipq40xx. PHY reset patch was is the issue, it now forces devices to have GPIO for PHY reset which most devices don't have and if it's missing it will make the driver panic and probing will fail. So please rever

Re: [OpenWrt-Devel] [PATCH v2] mac80211: add rtw88 driver

2019-10-21 Thread David Bauer
Hello John, On 10/21/19 11:44 PM, John Crispin wrote: > On 21/10/2019 23:41, David Bauer wrote: >> >> >> On 10/21/19 11:40 PM, John Crispin wrote: >>> On 21/10/2019 23:20, Hauke Mehrtens wrote: > +define KernelPackage/rtw88 > +  $(call KernelPackage/mac80211/Default) > +  TITLE:=Realte

Re: [OpenWrt-Devel] [PATCH v2] mac80211: add rtw88 driver

2019-10-21 Thread John Crispin
On 21/10/2019 23:41, David Bauer wrote: On 10/21/19 11:40 PM, John Crispin wrote: On 21/10/2019 23:20, Hauke Mehrtens wrote: +define KernelPackage/rtw88 +  $(call KernelPackage/mac80211/Default) +  TITLE:=Realtek RTL8822BE/RTL8822CE +  DEPENDS+= @(PCI_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPP

Re: [OpenWrt-Devel] [PATCH v2] mac80211: add rtw88 driver

2019-10-21 Thread David Bauer
On 10/21/19 11:40 PM, John Crispin wrote: > On 21/10/2019 23:20, Hauke Mehrtens wrote: >>> +define KernelPackage/rtw88 >>> +  $(call KernelPackage/mac80211/Default) >>> +  TITLE:=Realtek RTL8822BE/RTL8822CE >>> +  DEPENDS+= @(PCI_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT >>> +@DRIVER_11W_SUPP

Re: [OpenWrt-Devel] [PATCH v2] mac80211: add rtw88 driver

2019-10-21 Thread John Crispin
On 21/10/2019 23:20, Hauke Mehrtens wrote: +define KernelPackage/rtw88 + $(call KernelPackage/mac80211/Default) + TITLE:=Realtek RTL8822BE/RTL8822CE + DEPENDS+= @(PCI_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11W_SUPPORT Please add +@DRIVER_11AC_SUPPORT V3 here we go ___

Re: [OpenWrt-Devel] [PATCH v2] mac80211: add rtw88 driver

2019-10-21 Thread Hauke Mehrtens
On 10/21/19 10:47 PM, David Bauer wrote: > This commits adds packaging for the new RTW88 driver from Realtek. > It supports the Realtek 8822BE/8822CE PCIe wireless chips. > > For operation, the complementary firmware has to be loaded. > > Signed-off-by: David Bauer > --- > package/kernel/mac802

[OpenWrt-Devel] [PATCH 1/2] libubox: update to latest git HEAD

2019-10-21 Thread Roman Yeryomin
eb30a03 libubox, jshn: add option to write output to a file Signed-off-by: Roman Yeryomin --- package/libs/libubox/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libs/libubox/Makefile b/package/libs/libubox/Makefile index 1c318b3e48..e5f4dcf8fe 100644

[OpenWrt-Devel] [PATCH 2/2] base-files: uci-defaults: do config flush in one shot

2019-10-21 Thread Roman Yeryomin
Moving a file between tmpfs and other fs is neither faster nor safer, thus no point in doing it in two steps. Use new jshn option to write output directly to file. Originally discussed here: http://lists.openwrt.org/pipermail/openwrt-devel/2017-December/010127.html Signed-off-by: Roman Yeryomin

[OpenWrt-Devel] [PATCH v2] mac80211: add rtw88 driver

2019-10-21 Thread David Bauer
This commits adds packaging for the new RTW88 driver from Realtek. It supports the Realtek 8822BE/8822CE PCIe wireless chips. For operation, the complementary firmware has to be loaded. Signed-off-by: David Bauer --- package/kernel/mac80211/realtek.mk | 13 - 1 file changed, 12 inse

Re: [OpenWrt-Devel] [PATCH 1/2] mac80211: add rtw88 driver

2019-10-21 Thread John Crispin
On 21/10/2019 21:31, David Bauer wrote: Hello John On 10/21/19 9:22 PM, John Crispin wrote: On 21/10/2019 21:13, David Bauer wrote: +config-$(call config_package,rtw88) += RTW88 +config-y += RTW88_CORE RTW88_PCI RTW88_8822BE RTW88_8822CE + why not put it all behind config-$(call config_packa

Re: [OpenWrt-Devel] [PATCH 1/2] mac80211: add rtw88 driver

2019-10-21 Thread David Bauer
Hello John On 10/21/19 9:22 PM, John Crispin wrote: > On 21/10/2019 21:13, David Bauer wrote: >> +config-$(call config_package,rtw88) += RTW88 >> +config-y += RTW88_CORE RTW88_PCI RTW88_8822BE RTW88_8822CE >> + > > why not put it all behind config-$(call config_package,rtw88) ? of course > kbuil

Re: [OpenWrt-Devel] [PATCH 1/2] mac80211: add rtw88 driver

2019-10-21 Thread John Crispin
On 21/10/2019 21:13, David Bauer wrote: +config-$(call config_package,rtw88) += RTW88 +config-y += RTW88_CORE RTW88_PCI RTW88_8822BE RTW88_8822CE + why not put it all behind config-$(call config_package,rtw88) ? of course kbuild will "is not set it" if the prior is not selected but you could

[OpenWrt-Devel] [PATCH 2/2] firmware: add Realtek RTL8822BE/RTL8822CE firmware

2019-10-21 Thread David Bauer
This commit adds packages for the Realtek RTl8822BE/RTL8822CE firmware to be used with the rtw88 driver. Signed-off-by: David Bauer --- package/firmware/linux-firmware/realtek.mk | 15 +++ 1 file changed, 15 insertions(+) diff --git a/package/firmware/linux-firmware/realtek.mk b/pa

Re: [OpenWrt-Devel] [PATCH v2] ipq40xx: Add support for Unielec U4019

2019-10-21 Thread John Crispin
On 21/10/2019 20:09, Kristian Evensen wrote: Hi, On Mon, Oct 21, 2019 at 6:07 PM Robert Marko wrote: Merging this today has caused a regression in ipq40xx. PHY reset patch was is the issue, it now forces devices to have GPIO for PHY reset which most devices don't have and if it's missing it w

[OpenWrt-Devel] [PATCH 1/2] mac80211: add rtw88 driver

2019-10-21 Thread David Bauer
This commits adds packaging for the new RTW88 driver from Realtek. It supports the Realtek 8822BE/8822CE PCIe wireless chips. For operation, the complementary firmware has to be loaded. Signed-off-by: David Bauer --- package/kernel/mac80211/realtek.mk | 14 +- 1 file changed, 13 ins

Re: [OpenWrt-Devel] [PATCH v2] ipq40xx: Add support for Unielec U4019

2019-10-21 Thread Kristian Evensen
Hi, On Mon, Oct 21, 2019 at 6:07 PM Robert Marko wrote: > > Merging this today has caused a regression in ipq40xx. > PHY reset patch was is the issue, it now forces devices to have GPIO > for PHY reset which most devices don't have and if it's missing it > will make the driver panic and probing w

Re: [OpenWrt-Devel] OpenWrt 19.07 release schedule ?

2019-10-21 Thread Sven Roederer
Hi all, based on Jo Blockers I created a GtiHub-PR [1] which should work as an comprehensive list for easy review. Based on a short check of the replies, there are only 3 blockers open. The RPCd memleak seems to in good progress to get solved. Thanks to all making this great project Sven 1 -

Re: [OpenWrt-Devel] [PATCH v2] ipq40xx: Add support for Unielec U4019

2019-10-21 Thread Robert Marko
Merging this today has caused a regression in ipq40xx. PHY reset patch was is the issue, it now forces devices to have GPIO for PHY reset which most devices don't have and if it's missing it will make the driver panic and probing will fail. So please revert this until its properly resolved. __

[OpenWrt-Devel] [PATCH] ramips: fix TARGET_DEVICES after UniElec rename

2019-10-21 Thread Adrian Schmutzler
Device node names were updated, but updating TARGET_DEVICES was overlooked. Fixes: 4408723d42e0 ("ramips: remove RAM size from device name for UniElec devices") Signed-off-by: Adrian Schmutzler --- target/linux/ramips/image/mt7621.mk | 4 ++-- target/linux/ramips/image/mt76x8.mk | 2 +- 2 files

Re: [OpenWrt-Devel] Hang on setting $PROMPT in master

2019-10-21 Thread Koen Vandeputte
On 21.10.19 17:04, Martin Tippmann wrote: We are using a shell-function to set the prompt based on return code - it works fine in 17.01 / 18.06 / 19.07, however in current master when the function is run the terminal/ssh session hangs. how to reproduce: <--- hang.sh: #!/bin/sh You could a

Re: [OpenWrt-Devel] Hang on setting $PROMPT in master

2019-10-21 Thread Jo-Philipp Wich
Hi, might be related to this: http://lists.busybox.net/pipermail/busybox/2019-October/087535.html Regards, Jo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Hang on setting $PROMPT in master

2019-10-21 Thread Martin Tippmann
We are using a shell-function to set the prompt based on return code - it works fine in 17.01 / 18.06 / 19.07, however in current master when the function is run the terminal/ssh session hangs. how to reproduce: <--- hang.sh: #!/bin/sh prompt_set() { face() { local rc=$? case "$rc"

[OpenWrt-Devel] [PATCH 19.07 1/2] ath79: use board name in LED migrations

2019-10-21 Thread Adrian Schmutzler
Several devices added to LED migration script will just have their (old) board name converted to tp-link. By using a variable for this, the amount of code in the migration script can be reduced and the chance for typos is reduced. This patch also introduces the marker for beginning of a pattern "

[OpenWrt-Devel] [PATCH 19.07 2/2] ath79: add LED migration for several Archer Cxx devices

2019-10-21 Thread Adrian Schmutzler
Several Archer Cxx devices were using board-specific LED names in ar71xx, which were changed to "tp-link:*" in ath79. This patch adds migration for them. Signed-off-by: Adrian Schmutzler (cherry picked from commit 53e6cc7a81175728f64f978c2363a18c1fa66d64) --- .../ath79/base-files/etc/uci-defaul

Re: [OpenWrt-Devel] [PATCH 4/5] target/generic: add ascii search option to mtd-mac-address helper

2019-10-21 Thread André Valentin
Hi Petr, I got it from here: lede/target/linux/ar71xx/files/arch/mips/ath79/nvram.c Am 21.10.19 um 16:06 schrieb Petr Štetiar: > André Valentin [2019-10-21 15:13:55]: > >> Am 21.10.19 um 15:02 schrieb Petr Štetiar: >>> André Valentin [2019-10-21 14:32:13]: >>> This improves the function

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for Xiaomi Mi Wi-Fi Router 3G v2

2019-10-21 Thread Roger Pueyo Centelles | Guifi.net
Hi, Mine were just suggestions; feel free to do it or not! :) Roger El 21/10/19 a les 14:53, John Crispin ha escrit: > On 31/08/2019 23:32, m...@adrianschmutzler.de wrote: >> "6t@eth0" and "6@eth0" should be the same, so this can be merged with >> cudy,wr1000. > > I meant that part, sorry the ma

[OpenWrt-Devel] [PATCH 19.07] ath79: fix patching ath9k MAC address for MyNet WiFi Range Extender

2019-10-21 Thread Adrian Schmutzler
The code line patching ath9k MAC address for this device contains a wrong number of arguments including an unset "$mac", which looks like a typo or copy/paste mistake. This has been introduced already in the device support commit 745dee11ac78 ("ath79: add support for WD My Net Wi-Fi Range Extender

[OpenWrt-Devel] [PATCH 19.07] ath79: fix SUPPORTED_DEVICES for ubnt_nanostation-m

2019-10-21 Thread Adrian Schmutzler
The ar71xx images for the Ubiquiti NanoStation M (XM) devices use "nanostation-m" as board name, but the ath79 images are only compatible with the "nano-m" board name, so sysupgrade complains. By changing this additional supported device, sysupgrade smoothly upgrades from ar71xx to ath79. Ref: op

Re: [OpenWrt-Devel] [PATCH 4/5] target/generic: add ascii search option to mtd-mac-address helper

2019-10-21 Thread Petr Štetiar
André Valentin [2019-10-21 15:13:55]: > Am 21.10.19 um 15:02 schrieb Petr Štetiar: > > André Valentin [2019-10-21 14:32:13]: > > > >> This improves the function of_get_mac_address_mtd... > > > > but on the other hand its also introducing something which would never be > > accepted upstream, fo

[OpenWrt-Devel] [PATCH] ramips: fix LAN/WAN MAC addresses of Xiaomi MiWiFi Mini board

2019-10-21 Thread Adrian Schmutzler
Based on stock firmware tests, both LAN and WAN ports use the MAC address from 0x28 on factory partition. In OpenWrt, this one is already set in DTS. This patch removes the local bit set in 02_network previously, and adjusts LAN/WAN addresses as on stock firmware. Note that in tests we found a MA

Re: [OpenWrt-Devel] [PATCH 3/5] ath79: add support for ZyXEL NBG6716

2019-10-21 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of André Valentin > Sent: Montag, 21. Oktober 2019 14:32 > To: openwrt-devel@lists.openwrt.org > Cc: avalen...@marcant.net > Subject: [OpenWrt-Devel] [PATCH 3/5] ath79: add support

Re: [OpenWrt-Devel] [PATCH 1/5] tools/mkrasimage: Add support for 128k header size

2019-10-21 Thread André Valentin
Hi Petr, thanks, I will remove the constant. It is not needed anymore. Am 21.10.19 um 15:05 schrieb Petr Štetiar: > André Valentin [2019-10-21 14:32:10]: > > Hi, > >> #define HEADER_PARTITION_CALC_LENGTH 2048 >> -#define HEADER_PARTITION_LENGTH 0x1 >> >> struct file_info { >> cha

Re: [OpenWrt-Devel] [PATCH 4/5] target/generic: add ascii search option to mtd-mac-address helper

2019-10-21 Thread André Valentin
Hi Petr! Am 21.10.19 um 15:02 schrieb Petr Štetiar: > André Valentin [2019-10-21 14:32:13]: > > Hi, > >> This improves the function of_get_mac_address_mtd... > > but on the other hand its also introducing something which would never be > accepted upstream, for details see my other comment[1].

Re: [OpenWrt-Devel] [PATCH 1/5] tools/mkrasimage: Add support for 128k header size

2019-10-21 Thread Petr Štetiar
André Valentin [2019-10-21 14:32:10]: Hi, > #define HEADER_PARTITION_CALC_LENGTH 2048 > -#define HEADER_PARTITION_LENGTH 0x1 > > struct file_info { > char *name;/* name of the file */ > @@ -70,6 +69,7 @@ static char *progname; > static char *board_name = 0; > static char *vers

Re: [OpenWrt-Devel] [PATCH 5/5] ath79/zyxel_nbg6716: add macs from uboot-env partition

2019-10-21 Thread Petr Štetiar
André Valentin [2019-10-21 14:32:14]: > Switch NBG6716 to use the new mtd mac parser for u-boot env. ... > wifi@0,0 { > compatible = "qcom,ath10k"; > reg = <0 0 0 0 0>; ... > + qcom,ath10k-calibration-variant = "ZyXEL-NBG6716"; this doesn't match

Re: [OpenWrt-Devel] [PATCH 4/5] target/generic: add ascii search option to mtd-mac-address helper

2019-10-21 Thread Petr Štetiar
André Valentin [2019-10-21 14:32:13]: Hi, > This improves the function of_get_mac_address_mtd... but on the other hand its also introducing something which would never be accepted upstream, for details see my other comment[1]. > Code has been taken from ar71xx. It makes me wonder from where e

Re: [OpenWrt-Devel] [PATCH rpcd v2 0/6] memory issue fixes

2019-10-21 Thread Yousong Zhou
On Mon, 21 Oct 2019 at 18:44, Petr Štetiar wrote: > > Yousong Zhou [2019-10-21 06:10:25]: > > Hi, > > > Yousong Zhou (6): > > seems like two patches didn't made it to the mailing list and/or patchwork. > > -- ynezz Oops.. Resent the two patches as reply to this cover letter. Regards,

[OpenWrt-Devel] [PATCH rpcd v2 6/6] main: exec_self: make clang analyzer happy

2019-10-21 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- main.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 1db3241..12cb4c5 100644 --- a/main.c +++ b/main.c @@ -47,12 +47,16 @@ static void exec_self(int argc, char **argv) { int i; - const char *cmd

[OpenWrt-Devel] [PATCH rpcd v2 5/6] file: exec: properly free memory on error

2019-10-21 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- file.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/file.c b/file.c index b1adcb7..47fcd9a 100644 --- a/file.c +++ b/file.c @@ -823,13 +823,15 @@ rpc_file_exec_run(const char *cmd, const struct blob_attr *sid, if

Re: [OpenWrt-Devel] [PATCH v2 1/2] ramips/mt762x: convert devices to interrupt-driven gpio-keys

2019-10-21 Thread John Crispin
On 21/10/2019 14:30, Adrian Schmutzler wrote: Hi John, -Original Message- From: John Crispin [mailto:j...@phrozen.org] Sent: Montag, 21. Oktober 2019 14:19 To: Adrian Schmutzler ; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH v2 1/2] ramips/mt762x: convert devices

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for Xiaomi Mi Wi-Fi Router 3G v2

2019-10-21 Thread John Crispin
On 31/08/2019 23:32, m...@adrianschmutzler.de wrote: "6t@eth0" and "6@eth0" should be the same, so this can be merged with cudy,wr1000. I meant that part, sorry the mail was sitting in my draft folder John ___ openwrt-devel mailing list open

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for Xiaomi Mi Wi-Fi Router 3G v2

2019-10-21 Thread Paul Fertser
Dear maintainers, Do you request me to make all of the changes proposed by Roger (including adding u-boot data? But the env partition is marked read-only and most other targets do not do that)? Or the merging proposed by Adrian? Please clarify! -- Be free, use free (http://www.gnu.org/philosoph

[OpenWrt-Devel] [PATCH 3/5] ath79: add support for ZyXEL NBG6716

2019-10-21 Thread André Valentin
Attention: Kernel partition size has been enlarged to 4MB. To switch, you must update to latest ar71xx-nand snapshort and flash the image: mtd -r write openwrt-ath79-nand-zyxel_nbg6716-squashfs-sysupgrade-4M-Kernel.bin firmware You will end up with a fresh config if you do not inject config into t

[OpenWrt-Devel] [PATCH 4/5] target/generic: add ascii search option to mtd-mac-address helper

2019-10-21 Thread André Valentin
This improves the function of_get_mac_address_mtd the be able to handle u-boot environement. It is now possible to read a MAC address from the env and set this in the dt. Code has been taken from ar71xx. Signed-off-by: André Valentin --- ...ET-add-of_get_mac_address_mtd_search.patch | 96 +++

[OpenWrt-Devel] [PATCH 2/5] ar71xx: fix bug in NBG6716 kernelpackaging, add firmware partition allowing ath79 update

2019-10-21 Thread André Valentin
-Fix the kernel image generation (more robust) -Add a firmware partition table allowing easy upgrade to ath79 Signed-off-by: André Valentin --- target/linux/ar71xx/image/legacy.mk | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image/legacy.mk b/tar

[OpenWrt-Devel] [PATCH 5/5] ath79/zyxel_nbg6716: add macs from uboot-env partition

2019-10-21 Thread André Valentin
Switch NBG6716 to use the new mtd mac parser for u-boot env. Signed-off-by: André Valentin --- .../linux/ath79/dts/qca9558_zyxel_nbg6716.dts | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux/a

[OpenWrt-Devel] [PATCH 0/5] ZyXEL NBG6716 update ar71xx, add ath79, add mtd mac parser

2019-10-21 Thread André Valentin
This patchset does the following: -Fix image generation for old ar71xx images -Add a firmware partition the the old ar71xx images (allowing migration) -Add ath79 support for NBG6716 -Add a MAC parser for DTS allowing u-boot-env as MAC source André Valentin (5): tools/mkrasimage: Add support for

[OpenWrt-Devel] [PATCH 1/5] tools/mkrasimage: Add support for 128k header size

2019-10-21 Thread André Valentin
128k header size support is needed for ZyXEL NBG6716. Signed-off-by: André Valentin --- tools/firmware-utils/src/mkrasimage.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/firmware-utils/src/mkrasimage.c b/tools/firmware-utils/src/mkrasimage.c index 8eee

Re: [OpenWrt-Devel] [PATCH v2 1/2] ramips/mt762x: convert devices to interrupt-driven gpio-keys

2019-10-21 Thread Adrian Schmutzler
Hi John, > -Original Message- > From: John Crispin [mailto:j...@phrozen.org] > Sent: Montag, 21. Oktober 2019 14:19 > To: Adrian Schmutzler ; > openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH v2 1/2] ramips/mt762x: convert devices to > interrupt-driven gpio-keys >

Re: [OpenWrt-Devel] [PATCH] uqmi: separate into libuqmi library and uqmi util itself

2019-10-21 Thread John Crispin
On 23/08/2019 15:57, Denis Kalashnikov wrote: It is needed to reuse qmi code, e.g. in a modem manager util which is useful on routers with several cell modems. Signed-off-by: Denis Kalashnikov Hi, patch looks looks but +Index: uqmi-2019-06-27-1965c713/dev.c +==

Re: [OpenWrt-Devel] [PATCH v2 1/2] ramips/mt762x: convert devices to interrupt-driven gpio-keys

2019-10-21 Thread John Crispin
On 20/09/2019 14:03, Adrian Schmutzler wrote: This converts all remaining devices to use interrupt-driven gpio-keys compatible instead of gpio-keys-polled. The poll-interval is removed. While at it, add/remove newlines in keys and leds node where necessary. Signed-off-by: Adrian Schmutzler H

[OpenWrt-Devel] [PATCH v2] ipq40xx: add label MAC address for Netgear EX6100v2/EX6150v2

2019-10-21 Thread Adrian Schmutzler
This is based on the EX6150v2, which should be identical to the EX6100v2: The device bears two MAC addresses ("MAC 1" and "MAC 2") that correspond to phy0 and phy1. The ethernet MAC address (gmac0) is the same as phy0. As this one is accessible via local-mac-address in gmac0, the latter is used f

[OpenWrt-Devel] [PATCH] ipq40xx: use DEVICE_VARIANT for Unielec U4019 flash size

2019-10-21 Thread Adrian Schmutzler
If flash size is used as part of a device's title, it should be specified as DEVICE_VARIANT like for the other devices so far. Signed-off-by: Adrian Schmutzler --- target/linux/ipq40xx/image/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ipq40xx/image

Re: [OpenWrt-Devel] [OpenWrt-Devel V2 2/2] kmodloader: added -a arg to modeprobe

2019-10-21 Thread John Crispin
On 20/10/2019 08:01, Gerard Ryan wrote: This is primarily to satiate the usage by docker/libnetwork. Behaviour mirrors /tools/modprobe.c from https://git.kernel.org Hi, you should describe here what the -a flag actually does. I have manually fixed it for 1/2 but please rework 2/2 and send that o

Re: [OpenWrt-Devel] [PATCH rpcd v2 0/6] memory issue fixes

2019-10-21 Thread Petr Štetiar
Yousong Zhou [2019-10-21 06:10:25]: Hi, > Yousong Zhou (6): seems like two patches didn't made it to the mailing list and/or patchwork. -- ynezz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinf

[OpenWrt-Devel] [PATCH libnl-tiny 1/5] refactor into separate Git project

2019-10-21 Thread Petr Štetiar
For improved reusability, testing etc. Signed-off-by: Petr Štetiar --- Makefile | 57 --- src/attr.c => attr.c | 0 src/cache.c => cache.c| 0 src/cache_mngt.c => cache_mngt.c |

[OpenWrt-Devel] [PATCH libnl-tiny 5/5] add initial GitLab CI support

2019-10-21 Thread Petr Štetiar
Uses currently proof-of-concept openwrt-ci[1] in order to: * improve the quality of the codebase in various areas * decrease code review time and help merging contributions faster * get automagic feedback loop on various platforms and tools - out of tree build with OpenWrt SDK on following t

[OpenWrt-Devel] [PATCH libnl-tiny 3/5] cmake: enable extra compiler checks

2019-10-21 Thread Petr Štetiar
Let's enforce additional automatic checks enforced by the compiler in order to catch possible errors during compilation. Signed-off-by: Petr Štetiar --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4924586e893c..e7d7f861

[OpenWrt-Devel] [PATCH libnl-tiny 4/5] iron out all extra compiler warnings

2019-10-21 Thread Petr Štetiar
gcc 9.1 on x86/64 has reported following: attr.c:403:19: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Werror=sign-compare] genl.c:154:24: error: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Werror=sig

[OpenWrt-Devel] [PATCH libnl-tiny 2/5] convert into CMake project

2019-10-21 Thread Petr Štetiar
Aligning it with other C based projects. Signed-off-by: Petr Štetiar --- CMakeLists.txt | 38 ++ Makefile | 17 - libnl-tiny.pc| 10 -- libnl-tiny.pc.in | 10 ++ 4 files changed, 48 insertions(+), 27 deletions(-)