[LEDE-DEV] [PATCH 1/3] mac80211: rt2x00: improve eeprom_file property handling

2016-11-03 Thread Mathias Kresin
Call the rt2x00lib_get_eeprom_file_name only once and from the function where the EEPROM filename is required. Error only out if an EEPROM file is mandatory. Use the REQUIRE_EEPROM_FILE bit to determine if it is mandatory. Do not set the REQUIRE_EEPROM_FILE bit while requesting an EEPROM file. It

[LEDE-DEV] [PATCH 3/3] mac80211: rt2x00: add mtd-eeprom swab function

2016-11-03 Thread Mathias Kresin
Most of the lantiq devices with ralink wifi have the EEPROM stored in big endian byte order in flash, but the driver expects the EEPROM to be in little endian. Signed-off-by: Mathias Kresin --- ...x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch | 14 +- 1 file changed, 9 inse

[LEDE-DEV] [PATCH 2/3] mac80211: rt2x00: remove eeprom filename dependency from mtd-eeprom

2016-11-03 Thread Mathias Kresin
The ralink,mtd-eeprom device tree property doesn't require the ralink,eeprom property to work. Rework the error handling and user notification as well. Do not log an error if the mtd-eeprom parameter isn't used. It could be intentional and should not scare the user. Check if the number of bytes r

[LEDE-DEV] [PATCH 0/3] mac80211: rt2x00: improve device tree eeprom handling

2016-11-03 Thread Mathias Kresin
The series aims to make the out of tree rt2x00 eeprom handling functions better usable with ralink pci chips. To my knowledge the eeprom handling functions are used only on ramips so far. The overall purpose is to get rid of the lantiq specific ralink eeprom handling functions in favour to the on

Re: [LEDE-DEV] New CT ath10k firmware is available

2016-11-03 Thread Ben Greear
I don't really have time to work specifically on LEDE much. But, if someone else takes care of the rest, then my firmware can hopefully work well on its radio. Thanks, Ben On 11/03/2016 07:48 PM, liudengf...@kunteng.org wrote: thx for your kindly reply. by the way, do u plan to support R7800,

Re: [LEDE-DEV] New CT ath10k firmware is available

2016-11-03 Thread Ben Greear
The 10.4 firmware supports 9984. It is one of the chips I test against. But, I am using it as a NIC in an x86-64 platform, not R7800 specifically. Thanks, Ben On 11/03/2016 07:24 PM, liudengf...@kunteng.org wrote: Does this version support QCA9984? I have tested ct ath10k in R7800 before, but

[LEDE-DEV] New CT ath10k firmware is available

2016-11-03 Thread Ben Greear
For those of you using my 10.1 or 10.4 CT ath10k firmware in LEDE, I have pushed new beta builds for all of the various images I build. For those with capability and time, it would help me out if you could do a bit of testing of these firmware on LEDE. If I can get some successful reports, I w

Re: [LEDE-DEV] How LEDE knows when to "reinstall" base-files (after revision change)?

2016-11-03 Thread Rafał Miłecki
On 11/03/2016 06:44 PM, Jo-Philipp Wich wrote: I think its not actually noticing all git commits but rather most of them. The base-files package registers some explicit file depends using: PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ which means that its stamp files

[LEDE-DEV] [PATCH] apm821xx: add back end-of-UBI marker for the WNDR4700 and MR24

2016-11-03 Thread Christian Lamparter
The patch "build: drop UBI EOF marker from images by default" (commit d27bce8d28eb129af0abd9c80a7756301b7d588a) removed the end-of-UBI marker. Without this marker, the boards will panic during boot: [1.683458] ubi0: attaching mtd4 [1.696181] ubi0 warning: scan_peb: valid VID header but cor

Re: [LEDE-DEV] [PATCH v2] include: Cortex-A53 is also an AArch64 CPU

2016-11-03 Thread Álvaro Fernández Rojas
ACK. El 3/11/16 a las 19:16, Florian Fainelli escribió: > Specifying a mtune option with cortex-a53 is also valid for an aarch64 > toolchain > > Fixes: SVN 48964 > Signed-off-by: Florian Fainelli > --- > Changes in v2: > - add the option to the aarch64 architecture conditional > > include/targ

[LEDE-DEV] [PATCH v2] include: Cortex-A53 is also an AArch64 CPU

2016-11-03 Thread Florian Fainelli
Specifying a mtune option with cortex-a53 is also valid for an aarch64 toolchain Fixes: SVN 48964 Signed-off-by: Florian Fainelli --- Changes in v2: - add the option to the aarch64 architecture conditional include/target.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/target.mk b

Re: [LEDE-DEV] How LEDE knows when to "reinstall" base-files (after revision change)?

2016-11-03 Thread Jo-Philipp Wich
Hi Rafal, I think its not actually noticing all git commits but rather most of them. The base-files package registers some explicit file depends using: PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ which means that its stamp files are invalided whenever any file in the

[LEDE-DEV] How LEDE knows when to "reinstall" base-files (after revision change)?

2016-11-03 Thread Rafał Miłecki
From: Rafał Miłecki I'm trying to understand how REVISION variable and getver.sh work. There is this nice feature: whenever a new git commit appears, getver.sh is used to calculate new revision and it's used for /etc/openwrt_version. LEDE never misses an update of git commit. Also as long as git

[LEDE-DEV] LEDE Forum now open for business

2016-11-03 Thread Ted Hess
Hi all - Here it is: https://forum.lede-project.org You can now self-register without admin approval. With a lot of help and comments from a bunch of the current users, I think we now have a very usable site. We may still tweak the style, layouts and options as we mature the site so don't be ups

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread Dave Taht
awesome detective work, everybody. thx. (I'm at linux plumbers, puzzling over why my wifi demo broke) ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread xinglp
2016-11-03 22:28 GMT+08:00 Yousong Zhou : > On 3 November 2016 at 22:20, xinglp wrote: >> 2016-11-03 18:34 GMT+08:00 Felix Fietkau : >>> On 2016-11-03 04:18, xinglp wrote: I have tried to use several phone and app to play video via samba, I got broken picture or not fluent after this com

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread Yousong Zhou
On 3 November 2016 at 22:20, xinglp wrote: > 2016-11-03 18:34 GMT+08:00 Felix Fietkau : >> On 2016-11-03 04:18, xinglp wrote: >>> I have tried to use several phone and app to play video via samba, I >>> got broken picture or not fluent after this commit. >>> Hardware is ar9331. >> Should be fixed

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread Arjen de Korte
Citeren xinglp : 2016-11-03 18:34 GMT+08:00 Felix Fietkau : On 2016-11-03 04:18, xinglp wrote: I have tried to use several phone and app to play video via samba, I got broken picture or not fluent after this commit. Hardware is ar9331. Should be fixed in the latest version, please test. 'wi

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread xinglp
2016-11-03 18:34 GMT+08:00 Felix Fietkau : > On 2016-11-03 04:18, xinglp wrote: >> I have tried to use several phone and app to play video via samba, I >> got broken picture or not fluent after this commit. >> Hardware is ar9331. > Should be fixed in the latest version, please test. 'wifi detect'

Re: [LEDE-DEV] Smaller /overlay with latest snapshot on WDR-3600

2016-11-03 Thread Damien Wyart
Hi, Thanks for your reply, I had not thought about the larger packages went I sent my email, and I think this is the correct explanation. I will either reduce my list or build a custom image. Thanks Damien On Thu, Nov 3, 2016 at 10:25 AM, Stijn Segers wrote: > Hi, > > 4,5 MiB sounds about ri

[LEDE-DEV] [PATCH netifd] device: extend interface.macaddr option to refer to another interface

2016-11-03 Thread Günther Kelleter
e.g. option macaddr "@eth0" tells netifd to use the MAC of interface eth0. Use case: set MAC address of a bridge interface to a specific interface's MAC regardless of bridge/interface initialization order. Signed-off-by: Günther Kelleter --- device.c | 16 +++- 1 file changed, 15 ins

[LEDE-DEV] [PATCH netifd] system-linux: check for open failure

2016-11-03 Thread Günther Kelleter
Signed-off-by: Günther Kelleter --- system-linux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system-linux.c b/system-linux.c index 6e4a194..a038987 100644 --- a/system-linux.c +++ b/system-linux.c @@ -2489,6 +2489,8 @@ int system_update_ipv6_mtu(struct device *dev, int mtu)

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread xinglp
2016-11-03 18:34 GMT+08:00 Felix Fietkau : > On 2016-11-03 04:18, xinglp wrote: >> I have tried to use several phone and app to play video via samba, I >> got broken picture or not fluent after this commit. >> Hardware is ar9331. > Should be fixed in the latest version, please test. Okay, I'm compi

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread Felix Fietkau
On 2016-11-03 04:18, xinglp wrote: > I have tried to use several phone and app to play video via samba, I > got broken picture or not fluent after this commit. > Hardware is ar9331. Should be fixed in the latest version, please test. - Felix ___ Lede-d

Re: [LEDE-DEV] [RFC] ADSL Modem Allnet All0333CJ Rev.C / Amazon-SE SoC

2016-11-03 Thread Tino Reichardt
* John Crispin wrote: > Hi Tino, > > supporting ASE is possible, however once you have the wifi driver and > dsl stuff installed there is not much space left for even a webui on the > system. there was once support for dgn1000 but it got dropped as it was > never really useful. if you want to add

Re: [LEDE-DEV] [RFC] ADSL Modem Allnet All0333CJ Rev.C / Amazon-SE SoC

2016-11-03 Thread Alberto Bursi
On 11/03/2016 10:13 AM, Tino Reichardt wrote: > Most of these Modems have only a very small flash of 2MB or 4MB .. so > there is no need for lot of stuff. My aim is to have nice DSL modems > with recent kernel and dsl firmware. pppoe is not really needed, but > will fit also into that flash, I th

Re: [LEDE-DEV] [RFC] ADSL Modem Allnet All0333CJ Rev.C / Amazon-SE SoC

2016-11-03 Thread John Crispin
Hi Tino, supporting ASE is possible, however once you have the wifi driver and dsl stuff installed there is not much space left for even a webui on the system. there was once support for dgn1000 but it got dropped as it was never really useful. if you want to add support for the allnet router, the

Re: [LEDE-DEV] [RFC] ADSL Modem Allnet All0333CJ Rev.C / Amazon-SE SoC

2016-11-03 Thread Alberto Bursi
On 11/03/2016 10:39 AM, J Mo wrote: > > > On 11/03/2016 02:13 AM, Tino Reichardt wrote: >> Where should I add my pictures and descriptions of that modem. Should I >> make an extra project page onto my homepage, or is the lede wiki okay >> for that? When okay, I need some sample device page of cur

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread xinglp
2016-11-03 16:48 GMT+08:00 Stijn Segers : > There is a bug open for this: > > https://bugs.lede-project.org/index.php?do=details&task_id=241&order=id&sort=desc > > Stijn Thanks, and I know I'm not alone. ___ Lede-dev mailing list Lede-dev@lists.infradead

Re: [LEDE-DEV] [RFC] ADSL Modem Allnet All0333CJ Rev.C / Amazon-SE SoC

2016-11-03 Thread J Mo
On 11/03/2016 02:13 AM, Tino Reichardt wrote: Where should I add my pictures and descriptions of that modem. Should I make an extra project page onto my homepage, or is the lede wiki okay for that? When okay, I need some sample device page of current lede wiki. This is what a forum would be g

Re: [LEDE-DEV] Smaller /overlay with latest snapshot on WDR-3600

2016-11-03 Thread Stijn Segers
Hi, 4,5 MiB sounds about right for a device with 8 MiB flash. If you do a factory reset, does the flash layout look identical to an older LEDE installation? It should, afaik, I haven't seen any changes in that sense in git lately. Most probably one of the packages you install afterwards grew

[LEDE-DEV] [RFC] ADSL Modem Allnet All0333CJ Rev.C / Amazon-SE SoC

2016-11-03 Thread Tino Reichardt
Hello, I have about 10-15 Allnet DSL Modems in use and just realized, that they have an Linux SoC, which can be updated to more recent kernels... Name: ALLNET ALL0333CJ Rev. C Short Product Info (german) [1] This is what I have done so far: - made some pictures and checked the chips - bought an

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread Stijn Segers
There is a bug open for this: https://bugs.lede-project.org/index.php?do=details&task_id=241&order=id&sort=desc Stijn ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev