[OpenWrt-Devel] [PATCH] lua: Fix linking under glibc

2019-10-14 Thread Rosen Penev
Compilation of liblua itself works, but when other packages link against it, the linker starts throwing undefined references to a bunch of math functions in libm. First discovered in a failed attempt to transition a package to uClibc++. Signed-off-by: Rosen Penev --- package/utils/lua/Makefile

Re: [OpenWrt-Devel] [PATCH] ath79: add support for UniFi AC-LR

2019-10-14 Thread Andreas Ziegler
Adrian Schmutzler schrieb am 14.10.19 um 14:18: > Since we are using a lot of hyphens for other Ubiquiti devices, too, I > wouldn't bother for this commit. this was my only intention: keeping it consistent with already supported unifi devices. i don't mind anyone changing this before committing

Re: [OpenWrt-Devel] [PATCH 1/2] ath79: add support for Netgear WNDR4300

2019-10-14 Thread Michal Cieslakiewicz
On Mon, 14 Oct 2019 16:50:22 +0200 "Adrian Schmutzler" wrote: Hello Adrian, > > Still, I would change the ambiguous label-mac-device to eth0, so it's > unaffected if someone changes wmac MAC address setup later. > Sure, that's indeed safer and better solution. I will use that one. Thanks! Reg

Re: [OpenWrt-Devel] [PATCH V2] ath79: add support for TP-Link TL-MR6400

2019-10-14 Thread Adrian Schmutzler
Hi, > -Original Message- > From: Enrico Mioso [mailto:mrkiko...@gmail.com] > Sent: Dienstag, 8. Oktober 2019 07:14 > To: Filip Moc > Cc: m...@adrianschmutzler.de; openwrt-devel@lists.openwrt.org > Subject: Re: [PATCH V2] ath79: add support for TP-Link TL-MR6400 > > Hi Filip, hello all! >

Re: [OpenWrt-Devel] [PATCH V2] ath79: add support for TP-Link TL-MR6400

2019-10-14 Thread Adrian Schmutzler
Hi, I had a look into ar71xx mach files. Find some additional comments below. > diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds > b/target/linux/ath79/base-files/etc/board.d/01_leds > index 778316e450..385ac8d9ca 100755 > --- a/target/linux/ath79/base-files/etc/board.d/01_leds > ++

Re: [OpenWrt-Devel] [PATCH 1/2] ath79: add support for Netgear WNDR4300

2019-10-14 Thread Adrian Schmutzler
Hi Michal, > -Original Message- > From: Michal Cieslakiewicz [mailto:michal.cieslakiew...@wp.pl] > Sent: Freitag, 11. Oktober 2019 19:15 > To: Adrian Schmutzler > Cc: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH 1/2] ath79: add support for Netgear > WNDR4300 > >

Re: [OpenWrt-Devel] [PATCH] ath79: add AR934x NAND Flash Controller driver

2019-10-14 Thread Michal Cieslakiewicz
On Mon, 14 Oct 2019 12:57:29 +0200 David Bauer wrote: > Hello Michal > > On 10/14/19 12:22 AM, Michal Cieslakiewicz wrote: > > Hello David, > > > > Yes, please update my commit. > > > > Thank you for your feedback, review and tests. Indeed I (wrongly) > > assumed minimalistic approach and dele

Re: [OpenWrt-Devel] [PATCH] ath79: add support for UniFi AC-LR

2019-10-14 Thread Adrian Schmutzler
Hi David, > -Original Message- > From: David Bauer [mailto:m...@david-bauer.net] > Sent: Montag, 14. Oktober 2019 14:39 > To: Adrian Schmutzler > Cc: d...@andreas-ziegler.de; openwrt-devel > Subject: Re: [OpenWrt-Devel] [PATCH] ath79: add support for UniFi AC-LR > > Hello Adrian, > > O

Re: [OpenWrt-Devel] [PATCH] ath79: add support for UniFi AC-LR

2019-10-14 Thread David Bauer
Hello Adrian, On 10/14/19 2:18 PM, Adrian Schmutzler wrote: > Hi, > > the device name is inconsistent in model string and DEVICE_MODEL (hyphens...). > > However, as this is only the friendly name, it is not really important. > > On their homepage, Ubiquiti never uses hyphens on product names, o

Re: [OpenWrt-Devel] [PATCH] ath79: add support for Sitecom WLR-7100

2019-10-14 Thread Adrian Schmutzler
Hi, > diff --git a/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts > b/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts > new file mode 100644 > index 00..8a70b597b0 > --- /dev/null > +++ b/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts You are using ar1022 here, but do not refe

Re: [OpenWrt-Devel] [PATCH] ath79: add support for UniFi AC-LR

2019-10-14 Thread Adrian Schmutzler
Hi, the device name is inconsistent in model string and DEVICE_MODEL (hyphens...). However, as this is only the friendly name, it is not really important. On their homepage, Ubiquiti never uses hyphens on product names, only for the abbreviations: UniFi AC Pro vs. UAP-AC-PRO-5 UniFi AC Lite vs.

Re: [OpenWrt-Devel] [PATCH] ath79: correct ar71xx boardname for UniFi AC Lite

2019-10-14 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of David Bauer > Sent: Montag, 14. Oktober 2019 12:47 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH] ath79: correct ar71xx boardname for UniFi AC > Lite >

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

2019-10-14 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 v3 1/2] treewide: use a single ath10k MAC patching function with checksum

2019-10-14 Thread Adrian Schmutzler
While all ath10k eeproms have a checksum field, so far two functions for patching ath10k MAC address have been present (and been used). This merges code to provide a single function ath10k_patch_mac in caldata.sh, having its name in accordance with ath9k functions. By doing so, correct MAC patchin

[OpenWrt-Devel] [PATCH v3 2/2] lantiq: modify ath9k caldata extraction to reuse caldata.sh

2019-10-14 Thread Adrian Schmutzler
In lantiq, ath9k caldata extraction is implemented to work in two alternate "modes", the standard one and another one with swapped byte pairs. This rearranges the functions so "standard" use is based on the caldata.sh library, while only a single local function is required for the special case. N

Re: [OpenWrt-Devel] [PATCH] ath79: add AR934x NAND Flash Controller driver

2019-10-14 Thread David Bauer
Hello Michal On 10/14/19 12:22 AM, Michal Cieslakiewicz wrote: > Hello David, > > Yes, please update my commit. > > Thank you for your feedback, review and tests. Indeed I (wrongly) > assumed minimalistic approach and delegated ar71xx reset procedure to > a simple DT property. I have only WNDR43

[OpenWrt-Devel] [PATCH] ath79: correct ar71xx boardname for UniFi AC Lite

2019-10-14 Thread David Bauer
This corrects the additional boardname for the image metadata to the one used in ar71xx. The previously present additional entry was never used on a running system. Signed-off-by: David Bauer --- target/linux/ath79/image/generic-ubnt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [OpenWrt-Devel] [PATCH] mpc85xx: correct TP-LINK TL-WDR4900 MAC addresses

2019-10-14 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of David Bauer > Sent: Montag, 14. Oktober 2019 00:14 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH] mpc85xx: correct TP-LINK TL-WDR4900 MAC > addresses >

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

2019-10-14 Thread Alberto Bursi
On 11/10/19 12:59, 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 hostapd, iwinfo etc. n