Re: [OpenWrt-Devel] [PATCH] ar71xx: add model detection for UniFi AC-LR

2019-10-22 Thread Adrian Schmutzler
Hi Andreas, > -Original Message- > From: Andreas Ziegler [mailto:d...@andreas-ziegler.de] > Sent: Dienstag, 22. Oktober 2019 23:10 > To: Adrian Schmutzler ; > openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH] ar71xx: add model detection for UniFi > AC-LR > > Hi Adri

Re: [OpenWrt-Devel] [PATCH] ar71xx: add model detection for UniFi AC-LR

2019-10-22 Thread Andreas Ziegler
Hi Adrian, > Since this is ar71xx, where vendor_model scheme is not used at all, I would > prefer using "ubnt-unifiac-lr" for consistency. i don't mind. Do i need to send a V2 for such a small change? Maybe this can be done if it gets merged? Kr, Andreas ___

Re: [OpenWrt-Devel] [PATCH] ar71xx: add model detection for UniFi AC-LR

2019-10-22 Thread Adrian Schmutzler
Hi Andreas, > +define Device/ubnt_unifiac-lr > + $(Device/ubnt-unifiac-lite) > + DEVICE_TITLE := Ubiquiti UniFi AC-LR > +endef > +TARGET_DEVICES += ubnt_unifiac-lr > + Since this is ar71xx, where vendor_model scheme is not used at all, I would prefer using "ubnt-unifiac-lr" for consistency. B

[OpenWrt-Devel] [PATCH] ar71xx: add model detection for UniFi AC-LR

2019-10-22 Thread Andreas Ziegler
This commit adds correct model detection for UniFi AC-LR. Previously, said device was incorrectly detected as UniFi-AC-LITE/MESH. The Information about the device is stored at 0xC in the EEPROM partition. It corresponds to the sysid in /etc/board.info of the Ubiquiti stock firmware. Signed-off-by

[OpenWrt-Devel] [PATCH] ath79: split base-files into subtargets

2019-10-22 Thread Adrian Schmutzler
While most of the target's contents are split into subtargets, the base-files are maintained for the target as a whole. However, OpenWrt already implements a mechanism that will use (and even prefer) files in the subtargets' directories. This can be exploited to make several scripts subtarget-spec

[OpenWrt-Devel] [PATCH v3] ramips: add support for Asus RT-AC65P

2019-10-22 Thread vargagab
From: Gabor Varga The Asus RT-AC65P router is identical with the RT-AC85P, but better to make separate images for it. On both routers the installation can be done also via SSH: Note: The user/password for SSH is identical with the one used in the Web-interface. 1. Complete the initial setup w

[OpenWrt-Devel] build: "bash: GZ_SUFFIX: command not found" -- Likely From Device/Build/image

2019-10-22 Thread Jeff Kletsky
As discovered by "wulfy23"[1], a verbose build (V=s) off `master` indicates     GZ_SUFFIX :=     bash: GZ_SUFFIX: command not found This appears to be "cosmetic", as the images are created, can be flashed, and run as expected. Observed with: * ath79, GL-AR300M (NAND) (1x) * ath79, Archer C7

[OpenWrt-Devel] [PATCH] util-linux: Disable utils requiring libpam

2019-10-22 Thread Rosen Penev
When the build system finds libpam, it enables building of these tools, causing linker failures. Explicitly disable them as they are unused. Signed-off-by: Rosen Penev --- package/utils/util-linux/Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/utils/u

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

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

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

2019-10-22 Thread Hauke Mehrtens
On 10/11/19 12:59 PM, Jo-Philipp Wich wrote: > Hi Bjørn, > >> Or: Start discussing the release blockers here and now. Thanks. > > 1) Blocker: LuCI master needs to be backported to 19.07 >Time estimate: 2-3 weeks > > 2) Blocker: All relevant sub-components for WPA-3 + GUI support, such as >

[OpenWrt-Devel] [PATCH] ath79: add support for Netgear WNR2200

2019-10-22 Thread Michal Cieslakiewicz
This patch adds ath79 support for Netgear WNR2200. Router was previously supported by ar71xx target only (8 MiB variant). Netgear WNR2200 has two flash versions - 8MiB sold in EU, US etc. and 16 MiB for Russia and China markets. Apart from flash size both variants share the same hardware specificat

[OpenWrt-Devel] [PATCH] ath79: wnr1000v2: fix image header information

2019-10-22 Thread Michal Cieslakiewicz
Factory image generated for Netgear WNR1000 v2 has incorrect device and hardware ID information in header due to missing makefile variables. This fix adds them to device section. Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79/image/tiny-netgear.mk | 2 ++ 1 file changed, 2 insertions

[OpenWrt-Devel] [PATCH v2 3/3] ath79: fix remaining IMAGE_SIZE issues

2019-10-22 Thread Adrian Schmutzler
This fixes the remaining IMAGE_SIZE issues in ath79 target. All devices in target have been checked, so together with previous patches this target should be "clean" afterwards. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic.mk | 2 +- target/linux/ath79/image/tiny-tp-

[OpenWrt-Devel] [PATCH v2 2/3] ath79: fix IMAGE_SIZE for common TP-Link definitions

2019-10-22 Thread Adrian Schmutzler
So far, IMAGE_SIZE is set as follows: tplink-4m* 3904k 0x3d tplink-8m* 7936k 0x7c tplink-16m* 15872k 0xf8 However, based on the size of firmware partitions in DTS it should be: tplink-4m* 3904k 0x3d tplink-8m* 8000k 0x7d tplink-16m* 16192k 0xfd All (!) 8m*/16

[OpenWrt-Devel] [PATCH v2 1/3] ath79: tidy up and fix IMAGE_SIZE for Ubiquiti devices

2019-10-22 Thread Adrian Schmutzler
This addresses IMAGE_SIZE inconsistencies in generic_ubnt.mk by: 1. (cosmetical) Move IMAGE_SIZE out of top definition ("ubnt"), since despite two all subdefinition have different values. 2. (change) Fix IMAGE_SIZE for ubnt-xm and ubnt-bz (7552k->7488k). 3. (cosmetical) Move IMAGE_SIZE of ubnt-

Re: [OpenWrt-Devel] [PATCH 1/3] ath79: tidy up and fix IMAGE_SIZE for Ubiquiti devices

2019-10-22 Thread John Crispin
On 06/08/2019 15:10, Adrian Schmutzler wrote: This addresses IMAGE_SIZE inconsistencies in generic_ubnt.mk by: 1. (cosmetical) Move IMAGE_SIZE out of top definition ("ubnt"), since despite two all subdefinition have different values. 2. (change) Fix IMAGE_SIZE for ubnt-xm and ubnt-bz (7552k-

Re: [OpenWrt-Devel] [PATCH 1/8] ncurses: add cygwin compatibility

2019-10-22 Thread Petr Štetiar
Rosen Penev [2019-10-16 11:36:22]: > Some, like the dosfstools are also consistency updates. If you're talking about patch 3 of 8 "tools/dosfstools: Replace iconv patch with upstream submission" then it looks like your suggested fix[1] was replaced by more comphrensive fix[2] and you were happy

Re: [OpenWrt-Devel] [PATCH v2] ramips: add support for Asus RT-AC65P

2019-10-22 Thread John Crispin
On 10/10/2019 13:15, varga...@gmail.com wrote: diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ac[68]5p.dtsi b/target/linux/ramips/dts/mt7621_asus_rt-ac[68]5p.dtsi new file mode 100644 index 00..d0f8a4b3ca --- /dev/null +++ b/target/linux/ramips/dts/mt7621_asus_rt-ac[68]5p.dtsi @@ -0

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

2019-10-22 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 sysupgrade-4M-Kernel.bin: zcat openwrt-ath79-nand-zyxel_nbg6716-squashfs-sysupgrade-4M-Kernel.bin | mtd -r -e ubi write - firmware; reboot -f You will end up with a

[OpenWrt-Devel] [PATCH 2/3] ar71xx: fix bug in NBG6716 kernelpacking, add firmware partition

2019-10-22 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image/legacy.mk b/targ

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

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

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

2019-10-22 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 André Valentin (3): tools/mkrasimage: Add support for 128k header size ar71xx: fix bug in NBG6716 kernelpacking,

[OpenWrt-Devel] Announcing AGH 0.02

2019-10-22 Thread Enrico Mioso
Hi! I am announcing AGH 0.02: a 3G/4G connection manager (via ModemManager) / XMPP control agent (via libstrophe), specifically designed for OpenWrt. Some of it's features: Documentation: AGH is documented enough to get you to a good start; Modem handling: - uses ModemManager, so your QMI/MBIM/c

[OpenWrt-Devel] [OpenWrt-Devel, V3, 2/2] kmodloader: added -a arg to modprobe

2019-10-22 Thread Gerard Ryan
-a treats all non-op trailing arguments as module names and attempts to load all of them. This behaviour mirrors the behaviour of the respective -a in /tools/modprobe.c from https://git.kernel.org. This is primarily to satiate the multiple modules passed by docker/libnetwork. Signed-off-by: Gerar

Re: [OpenWrt-Devel] [PATCH] ipq40xx: essedma: Fix dead lock

2019-10-22 Thread Dmitry Tunin
It seems that it is not quite proper fix. Yesterday I flashed a Linksys EA6450v3 with 19.07 build. I couldn't connect to the device using a 100 Mbit laptop. I had to use another laptop with a 1000 Mbit port to reach the device. It seems that after the patch we avoided a lock on 1000 Mbit but got