[LEDE-DEV] iw / ath9k / mediatek / strange values for 'signal'

2016-10-21 Thread Bastian Bittorf
we use the signal reported from 'iw' for some actions and I can see them beeing inconsistent or maybe even wrong calculated (strange values are marked) root@box:~ iw dev wlan0-1 station get 60:5b:b4:9a:e4:8b Station 60:5b:b4:9a:e4:8b (on wlan0-1) inactive time: 10 ms rx bytes:

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-21 Thread Andre Valentin
Hi! Am 21.10.2016 um 17:26 schrieb Felix Fietkau: >> I tried that but it is an EFI partition not an mtd partition. To my >> understanding, >> only mtd partitons will be split into rootfs and rootfs_data on boot. >> This does not hapen. I need a way to tell the system that /dev/mmcblk0p1 is >> m

[LEDE-DEV] [PATCH V2 5/7] ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksum

2016-10-21 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- .../base-files/etc/uci-defaults/09_fix-checksum | 19 +++ .../base-files/etc/uci-defaults/09_fix-trx-header | 19 --- 2 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 target/linux/ar71xx/base-files/et

[LEDE-DEV] [PATCH V2 6/7] ar71xx: build relocate stub for generic and legacy images

2016-10-21 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- target/linux/ar71xx/image/Makefile | 5 - target/linux/ar71xx/image/legacy.mk | 6 -- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 56e07d8..26e9558 100644 ---

[LEDE-DEV] [PATCH V2 3/7] mtd: fix endianness detection on musl

2016-10-21 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/system/mtd/src/mtd.c | 1 + package/system/mtd/src/seama.c | 1 + 2 files changed, 2 insertions(+) diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c index 0d5ad22..702ed3d 100644 --- a/package/system/mtd/src/mtd.c +++ b/package/sys

Re: [LEDE-DEV] [PATCH V2 0/7] add support for D-Link DAP-2695 rev. A1

2016-10-21 Thread Stijn Tintel
On 21-10-16 18:34, Stijn Tintel wrote: > This patch series adds support for D-Link DAP-2695 rev. A1. > > FYI, this series is also available in my staging tree at https://git.lede-project.org/?p=lede/stintel/staging.git;a=shortlog;h=refs/heads/dap-2695-a1 Stijn

[LEDE-DEV] [PATCH V2 7/7] ar71xx: add support for D-Link DAP-2695 rev. A1

2016-10-21 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/boot/uboot-envtools/files/ar71xx | 1 + target/linux/ar71xx/base-files/etc/board.d/01_leds | 5 + .../linux/ar71xx/base-files/etc/board.d/02_network | 3 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 4 + .../base-files/etc/uci-de

[LEDE-DEV] [PATCH V2 4/7] mtd: add fixwrgg command

2016-10-21 Thread Stijn Tintel
Based on fixseama. Signed-off-by: Stijn Tintel --- package/system/mtd/src/Makefile | 3 +- package/system/mtd/src/mtd.c| 28 +- package/system/mtd/src/mtd.h| 1 + package/system/mtd/src/wrgg.c | 190 package/system/mtd/src/wrgg.h | 2

[LEDE-DEV] [PATCH V2 0/7] add support for D-Link DAP-2695 rev. A1

2016-10-21 Thread Stijn Tintel
This patch series adds support for D-Link DAP-2695 rev. A1. Both the factory and the sysupgrade can be used to flash the device from the bootloader. When flashing via the web interface of the stock firmware, only the factory image can be used. With the stock firmware, this device is only usable a

[LEDE-DEV] [PATCH V2 2/7] kernel: mtdsplit: add support for WRGG images

2016-10-21 Thread Stijn Tintel
Support splitting WRGG images, found in some D-Link devices (e.g. DAP-2695). Signed-off-by: Stijn Tintel --- target/linux/ar71xx/config-4.4 | 1 + target/linux/generic/config-3.18 | 1 + target/linux/generic/config-4.1| 1 + target/

[LEDE-DEV] [PATCH V2 1/7] firmware-utils: mkwrggimg: new tool for D-Link DAP-2695

2016-10-21 Thread Stijn Tintel
Based on mkwrgimg.c. Signed-off-by: Stijn Tintel --- tools/firmware-utils/Makefile| 1 + tools/firmware-utils/src/mkwrggimg.c | 282 +++ 2 files changed, 283 insertions(+) create mode 100644 tools/firmware-utils/src/mkwrggimg.c diff --git a/tools/firmw

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-21 Thread Felix Fietkau
> On 21.10.2016, at 17:20, Andre Valentin wrote: > > Hi! > > Am 21.10.2016 um 10:33 schrieb Felix Fietkau: >>> I have switched rootfs now to squashfs, that ist working. But I have >>> problems with the overlayfs. >>> It is on /dev/mmcblk0p1, but I do not understand how to tell the system to

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-21 Thread Andre Valentin
Hi! Am 21.10.2016 um 10:33 schrieb Felix Fietkau: >> I have switched rootfs now to squashfs, that ist working. But I have >> problems with the overlayfs. >> It is on /dev/mmcblk0p1, but I do not understand how to tell the system to >> use this partition. I cannot find a matching example. >> >> W

[LEDE-DEV] sorry for the mail/patch spam

2016-10-21 Thread Alberto Bursi
sorry for the mail/patch spam, I just discovered that my Kwrite text editor shows correct indentation in the GUI while the actual file has a wrong indentation. I had to fix that with nano. -Alberto ___ Lede-dev mailing list Lede-dev@lists.infradead.org

[LEDE-DEV] [PATCH] [PATCH] fstools: added f2fs to block-mount, really correct indentation

2016-10-21 Thread Alberto Bursi
added the code to recognize and operate the filesystem checker of f2fs added f2fs to the filesystem whitelist of block so it can mount it on /overlay at boot. Signed-off-by: Alberto Bursi --- block.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/block.c b/b

[LEDE-DEV] [PATCH] fstools: added f2fs to block-mount, correct indentation

2016-10-21 Thread Alberto Bursi
added the code to recognize and operate the filesystem checker of f2fs added f2fs to the filesystem whitelist of block so it can mount it on /overlay at boot. Signed-off-by: Alberto Bursi --- block.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/block.c b/b

Re: [LEDE-DEV] bcm63xx and fxs is possible...

2016-10-21 Thread Alberto Bursi
On 10/21/2016 01:15 PM, Eddi De Pieri wrote: > Hi, > > Here to raise your attention to https://github.com/pgid69/bcm63xx-phone > projet. > > That gui implemented fxs support for some device already supported by > lede/openwrt. > > That module work correctly on my device, but to get it working on

[LEDE-DEV] [PATCH] fstools: added f2fs to block-mount

2016-10-21 Thread Alberto Bursi
added the code to recognize and operate the filesystem checker of f2fs added f2fs to the filesystem whitelist of block so it can mount it on /overlay at boot. Signed-off-by: Alberto Bursi --- block.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/block.c b/

[LEDE-DEV] [PATCH 2/3 v2] ar71xx: add mac partition to the MR12/MR16

2016-10-21 Thread Chris Blake
On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space after u-boot-env is used to store the boards Mac address. Sadly as this was removed on any device already on OpenWRT/LEDE, moving forward a new, 64k partition named "mac" will be used to store the mac address for the device (which

[LEDE-DEV] [PATCH 1/3 v2] ar71xx: Move MR12 & MR16 from legacy to generic

2016-10-21 Thread Chris Blake
This moves the Meraki MR12 and Meraki MR16 to the new generic target. Tested and verified working on both devices. Note that kernel/rootfs images are still generated. This is because they are used for the inital flashing process due to the fun pace at which UBoot erases/writes to SPI. Signed-off-

[LEDE-DEV] [PATCH 3/3 v2] ar71xx: Remove switch config for the MR12/MR16

2016-10-21 Thread Chris Blake
These boards do not have a switch, so they should have never been added to this file in the first place. Signed-off-by: Chris Blake --- .../ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/linux/ar71xx/base-files/etc

Re: [LEDE-DEV] [PATCH 2/3] ar71xx: add mac partition to the MR12/MR16

2016-10-21 Thread John Crispin
Hi, comment inline On 19/10/2016 19:53, Chris Blake wrote: > On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space > after u-boot-env is used to store the boards Mac address. Sadly as this > was removed on any device already on OpenWRT/LEDE, moving forward a new, > 64k partition nam

[LEDE-DEV] bcm63xx and fxs is possible...

2016-10-21 Thread Eddi De Pieri
Hi, Here to raise your attention to https://github.com/pgid69/bcm63xx-phone projet. That gui implemented fxs support for some device already supported by lede/openwrt. That module work correctly on my device, but to get it working on openwrt >12 and lede you need to disable CONFIG_SPI_BCM63XX=n

[LEDE-DEV] [PATCH] Add support for TP-Link WR802N v1

2016-10-21 Thread julius+lede
From: Julius Schulz-Zander This patch adds support solely for version 1 of the TP-Link WR802N. It is based on Rick Pannen's patch posted on the OpenWrt devel list. Signed-off-by: Julius Schulz-Zander --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 3 + .../linux/ar71xx/base-files/etc

Re: [LEDE-DEV] uqmi: re-enable autoconnect which was dropped without explanation

2016-10-21 Thread Petr Štetiar
Felix Fietkau [2016-10-20 12:09:36]: > On 2016-10-19 23:49, Petr Štetiar wrote: > > > > How to fix it for both use cases, with and without autoconnect feature? > > Introduce qmi_autoconnect config option? > > I think we probably need to introduce such an option as a temporary > measure. Ok, I'l

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-21 Thread Felix Fietkau
On 2016-10-21 09:15, Andre Valentin wrote: > Hi Felix! > > Am 19.10.2016 um 21:43 schrieb Felix Fietkau: > thanks for your comments. Please take a look: > > Am 18.10.2016 um 08:22 schrieb John Crispin: > >>> +++ b/target/linux/ipq806x/base-files/lib/preinit/04_set_mtd_ipq806x.s

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-21 Thread Petr Štetiar
Daniel Dickinson [2016-10-20 16:47:09]: > On Wed, 19 Oct 2016 22:05:43 +0200 > Petr Štetiar wrote: > > > Felix Fietkau [2016-10-19 21:44:06]: > > > > > I'd like to know why you need to use local time for the RTC, I think > > > that's rather uncommon. > > > > You mean system time in local t

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-21 Thread Petr Štetiar
Daniel Dickinson [2016-10-20 16:49:48]: Hi, > I don't see wanting an embedded system to be like a desktop to be a > reasonable justification. we're talking here about quadcore i.MX6, 2GB RAM and Vivante GPU. It's usable as embedded desktop I would say. > It doesn't serve any useful purpose th

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-21 Thread Andre Valentin
Hi Felix! Am 19.10.2016 um 21:43 schrieb Felix Fietkau: thanks for your comments. Please take a look: Am 18.10.2016 um 08:22 schrieb John Crispin: >> +++ b/target/linux/ipq806x/base-files/lib/preinit/04_set_mtd_ipq806x.sh >> @@ -0,0 +1,21 @@ >> +# >> +# Copyrigh