Re: [LEDE-DEV] [PATCH] ar71xx: change image version for ubiquiti devices

2017-03-15 Thread Mathias Kresin
03.03.2017 16:51, txt.file: changes the image version from hardcoded OpenWrt to $VERSION_DIST. AirOS shows a notification with the image version during a firmware upgrade. fixes #582 Signed-off-by: Matthias Fritzsche --- target/linux/ar71xx/image/ubnt.mk | 6 +++--- 1 file changed, 3 insertio

Re: [LEDE-DEV] [PATCH] ar8327: Add workarounds for AR8337 switch.

2017-03-25 Thread Mathias Kresin
25.03.2017 18:08, Vittorio Gambaletta (VittGam): Backported from Code Aurora QSDK Signed-off-by: Vittorio Gambaletta Please describe in the commit message what kind of issues need a workaround. Yes, I noticed the comments in the patch, but nevertheless it should go into the commit message.

Re: [LEDE-DEV] [PATCH] ramips: add support for AsiaRF AWM688

2017-04-10 Thread Mathias Kresin
Hey Russell, thanks a lot for your contribution. Find my comments inline. 2017-04-05 5:38 GMT+02:00 Russell Senior : > > Add initial support for an mtk7688 board from Asia RF. > > It boots, flashes and runs. > > Signed-off-by: Russell Senior As you wrote initial support, what does not work? Wo

Re: [LEDE-DEV] [PATCH] ramips: add support for AsiaRF AWM688

2017-04-10 Thread Mathias Kresin
2017-04-10 11:46 GMT+02:00 Russell Senior : >>2017-04-05 5:38 GMT+02:00 Russell Senior : >>> + >>> +/ { >>> + compatible = "mediatek,awm688", "mediatek,mt7628an-soc"; >>> + model = "AsiaRF AWM688"; >>> + >>> + chosen { >>> + bootargs = "console=ttyS0,57600"; >>> +

Re: [LEDE-DEV] RFC: files included in initramfs images

2017-05-04 Thread Mathias Kresin
Hey Daniel, Hey Thomas, following my toughs regarding backports of commits to stable. 04.05.2017 17:53, Daniel Golle: When it came to backport this to lede-17.01 I noticed that several boards have been added to master since and are not yet present in the lede-17.01 branch. Also the ZBT WG3526 h

Re: [LEDE-DEV] [PATCH] ramips: Add support for GL-MT300N-V2

2017-05-04 Thread Mathias Kresin
Hey kysonlok, thanks a lot for your contribution. Find my comments inline. 04.05.2017 08:41, kysonlok: This patches adds support for GL-MT300N-V2 router. Signed-off-by: kysonlok We have a realname policy for signed off by lines. --- target/linux/ramips/base-files/etc/board.d/01_leds |

Re: [LEDE-DEV] Proper way to deal with "dual firmware" ar71xx devices

2017-05-04 Thread Mathias Kresin
2017-04-23 20:40 GMT+02:00 Bjørn Mork : Hello, Many devices make use of "dual firmware" configurations, splitting the available flash and allowing two complete and independent installations. This works fine for devices like the Linksys WRT1900AC etc, where the boot loader make sure the kernel

Re: [LEDE-DEV] [PATCH] ramips: add support for GL-inet GL-MT300N-V2

2017-05-05 Thread Mathias Kresin
2017-05-05 11:28 GMT+02:00 kysonlok : > This patch adds supports for the GL-inet GL-MT300N-V2. > > Specification: > - SoC: MediaTek MT7628AN > - Flash: 16 MiB (W25Q128FVSG) > - RAM: 128 MiB DDR > - Ethernet: 1 x WAN (100 Mbps) and 1 x LAN (100 Mbps) > - USB: 1 x USB 2.0 port > - Button: 1 x switch

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-05 Thread Mathias Kresin
2017-05-04 1:41 GMT+02:00 Sven Roederer : > define GPIOs for ubnt-erx and ubnt-erx-sfp > --- > .../ramips/base-files/etc/board.d/03_gpio_switches | 28 > ++ > 1 file changed, 28 insertions(+) > create mode 100755 > target/linux/ramips/base-files/etc/board.d/03_gpio_switches

Re: [LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-05 Thread Mathias Kresin
2017-05-04 1:41 GMT+02:00 Sven Roederer : > * use a copy and modify version of the UBNT-ERX for the UBNT-ERX-SFP > * define i2c-gpio via DTS > (Linux/Documentation/devicetree/bindings/i2c/i2c-gpio.txt) > * also define PCA9555 for PoE-switching in DTS Please, make sure to add a proper SoB line as

Re: [LEDE-DEV] [PATCH] imx6: add gw560x support

2017-05-06 Thread Mathias Kresin
05.05.2017 22:15, Tim Harvey: Signed-off-by: Tim Harvey Hey Tim, would you please include a short description about the hardware and how to install LEDE on the board in your commit message! Have a look at the recent board additions for some examples. I prefer to have backports (even for d

Re: [LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-06 Thread Mathias Kresin
06.05.2017 16:23, Sven Roederer: On Freitag, 5. Mai 2017 14:34:18 CEST Mathias Kresin wrote: +#include "mt7621.dtsi" + +/ { + model = "UBNT-ERX-SFP"; + + memory@0 { In some of the other dts-files I found the "compatible"-property. Which is not def

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-06 Thread Mathias Kresin
06.05.2017 14:31, Sven Roederer: On Freitag, 5. Mai 2017 14:32:12 CEST Mathias Kresin wrote: Is it necessary to control the GPIOs from userspace/via config files? If not, add a gpio_export node to the dts and set the output value this way [0]. > Or is there something better? Yes there

Re: [LEDE-DEV] [PATCH] ramips: Add support for the VoCore2 Lite

2017-05-06 Thread Mathias Kresin
Hey Laray, Please split the patch. One patch for the minor corrections of the VoCore2 an one adding the VoCore2 lite to make the review easier. Find some comments inline. 07.05.2017 03:41, L. D. Pinney: The VoCore2 Lite uses the same PCB as the Vocore2 with a MT7688A and 8M Flash/64M RAM ht

Re: [LEDE-DEV] [PATCH] Add missing packages for WeVO 11AC NAS

2017-05-06 Thread Mathias Kresin
07.05.2017 05:24, perillamint: mt7621.mk does not include all required packages for WeVO 11AC NAS, so official image does not support 5GHz WiFi(mt76x2) out of the box. This patch fixes that. Your Signed-off-by is missing. Please have a look at https://lede-project.org/submitting-patches. --

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-07 Thread Mathias Kresin
07.05.2017 23:24, Sven Roederer: On Sonntag, 7. Mai 2017 12:25:39 CEST you wrote: Just an opinion: being able to disable/enable PoE for each port is really useful when you want to remotely reboot a device plugged into your PoE switch/router. Most PoE-capable devices expose this option with the

Re: [LEDE-DEV] [PATCH] lantiq: dsl_notify: also restart pppoe interfaces

2017-05-08 Thread Mathias Kresin
09.05.2017 00:44, Valentin Spreckels: Signed-off-by: Valentin Spreckels --- Thanks a lot for your patch. Would you please add a commit message which describes the issue you are trying to fix. At the moment I fail to see why this change is required. I rather suspect that the whole pppoa in

Re: [LEDE-DEV] openwrt and lede - remerge proposal

2017-05-12 Thread Mathias Kresin
12.05.2017 23:45, Val Kulkov: On 12 May 2017 at 17:40, David Lang wrote: On Fri, 12 May 2017, Val Kulkov wrote: I should also note that it is extremely important to ask the right question. You get what you ask for. Apparently, the developers voted on this question: "Re-brand LEDE to OpenWrt?"

Re: [LEDE-DEV] [PATCH v2] ramips: add support for GL-inet GL-MT300N-V2

2017-05-12 Thread Mathias Kresin
12.05.2017 03:37, kyson lok: On Fri, May 12, 2017 at 6:18 AM, L. D. Pinney wrote: +&spi0 { + status = "okay"; + + m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; +

Re: [LEDE-DEV] [PATCH] iwinfo get scan results from wpa_supplicant in station mode. wpa_supplicant return some other info before return results. Loop recv until get real scan results.

2017-05-12 Thread Mathias Kresin
12.05.2017 07:40, Adams: --- .../utils/iwinfo/patches/002-wds-scan.patch| 26 1 file changed, 26 insertions(+) create mode 100644 package/network/utils/iwinfo/patches/002-wds-scan.patch diff --git a/package/network/utils/iwinfo/patches/002-wds-scan.patch b/packa

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Mathias Kresin
13.05.2017 20:09, Sven Roederer: On Montag, 8. Mai 2017 08:23:50 CEST Mathias Kresin wrote: 07.05.2017 23:24, Sven Roederer: On Sonntag, 7. Mai 2017 12:25:39 CEST you wrote: Just an opinion: being able to disable/enable PoE for each port is really useful when you want to remotely reboot a

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Mathias Kresin
14.05.2017 21:22, Sven Roederer: I just gave it another try, as I like the idea of having it in the DTS. As my test ERX is gone I continue testing on ERX-SFP. Please se below ... On Sonntag, 14. Mai 2017 16:24:15 CEST Mathias Kresin wrote: If you use the gpio-export node in the device tree

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Mathias Kresin
Hey Roman., independent of the work done by you, I worked on exactly the same topic. But I've pushed it a bit further by switching all targets to the generic boardname function and a few targets to the generic board detection in basefiles/preinit. Furthermore I've converted some targets to get th

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Mathias Kresin
17.05.2017 21:08, Roman Yeryomin: On 17 May 2017 at 21:39, Roman Yeryomin wrote: On 17 May 2017 at 16:19, Mathias Kresin wrote: Hey Roman., independent of the work done by you, I worked on exactly the same topic. But I've pushed it a bit further by switching all targets to the ge

Re: [LEDE-DEV] [PATCH v3] ramips: add support for GL-inet GL-MT300N-V2

2017-05-19 Thread Mathias Kresin
2017-05-17 12:18 GMT+02:00 kysonlok : > This patch adds supports for the GL-inet GL-MT300N-V2. > > Specification: > - SoC: MediaTek MT7628AN > - Flash: 16 MiB (W25Q128FVSG) > - RAM: 128 MiB DDR > - Ethernet: 1 x WAN (100 Mbps) and 1 x LAN (100 Mbps) > - USB: 1 x USB 2.0 port > - Button: 1 x switch

Re: [LEDE-DEV] [PATCH] firmware-utils: mktplinkfw2: fix MD5 salt

2017-07-02 Thread Mathias Kresin
I found while disassembling the TD-W8980v1 bootloader. Acked-by: Mathias Kresin [0] https://github.com/xdarklight/mktplinkfw3 ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH] ramips: fix GPIOs for Ubiquiti EdgeRouter X-SFP

2017-07-06 Thread Mathias Kresin
2017-06-08 20:11 GMT+02:00 Sven Roederer : > This adds the i2c-gpio and i2c-pca95xx module to the default kernel. > Even they are listed in the dependencies of the board, they are not > built and for this missing in the imagefile. This causes that the > accessed hardware is not avail. Hey Sven, I

Re: [LEDE-DEV] [OpenWrt-Devel] lantiq DSL drivers / firmware info

2017-07-10 Thread Mathias Kresin
10.07.2017 22:07, Damian Kaczkowski: Hello Sylwester. On 10 July 2017 at 20:10, Sylwester Petela wrote: I used the following pictures for visualising and flowing the traces. The pictures are in the gimp format and have multiple layers: TD-W8980 - Annex A: https://www.dropbox.com/s/j6qoeoy1a47

Re: [LEDE-DEV] [OpenWrt-Devel] lantiq DSL drivers / firmware info

2017-07-10 Thread Mathias Kresin
10.07.2017 22:37, Mathias Kresin: 10.07.2017 22:07, Damian Kaczkowski: Hello Sylwester. On 10 July 2017 at 20:10, Sylwester Petela wrote: I used the following pictures for visualising and flowing the traces. The pictures are in the gimp format and have multiple layers: TD-W8980 - Annex A

Re: [LEDE-DEV] [PATCH] ramips: add support for Loewe WMDR-143N

2017-07-18 Thread Mathias Kresin
Hey Oliver, thanks a lot for your patch. Find my comments inline. 2017-07-17 20:20 GMT+02:00 Oliver Fleischmann : > The WMDR-143N is a small module originally used as a Wifi client > in some Loewe smart TV sets. It is sold cheaply at german surplus > shops. The module contains a RT3662 SOC. > > S

Re: [LEDE-DEV] [PATCH v2] ar71xx:ew-dorin target moved from legacy to generic

2017-07-19 Thread Mathias Kresin
2017-07-19 11:44 GMT+02:00 Catrinel Catrinescu : > Embedded Wireless Dorin platform moved from legacy to generic and > changed the STATUS-LED from GPIO23 to GPIO21 for Dorin-Eval 2.2 boards > > Signed-off-by: Catrinel Catrinescu Please split the patch into two. One for switching the board to the

Re: [LEDE-DEV] [PATCH] ar71xx: add ew-balin platform from Embedded Wireless

2017-07-19 Thread Mathias Kresin
2017-07-19 14:19 GMT+02:00 Catrinel Catrinescu : > Add the Embedded Wireless Balin platform, based on AR9344 > > Signed-off-by: Catrinel Catrinescu Please include in your commit message a short description of the hardware and how to install LEDE on it. Have a look at the recent additions for some

Re: [LEDE-DEV] [PATCH] ramips: add support for Loewe WMDR-143N

2017-07-19 Thread Mathias Kresin
2017-07-18 21:15 GMT+02:00 Oliver Fleischmann : >>> +&pinctrl { >>> + state_default: pinctrl0 { >>> + gpio { >>> + ralink,group = "i2c", "jtag", "uartf"; >>> + ralink,function = "gpio"; >>> + }; >>> + }; >>> +}; >>

Re: [LEDE-DEV] build system question

2017-07-20 Thread Mathias Kresin
20.07.2017 09:59, Torbjorn Jansson: hi how do you convince the build system to continue building even if one of the packages from the feeds fails? 'make IGNORE_ERRORS=1' is what you are looking for. Use BUILD_LOG=1 to see why packages fail to compile. Mathias _

[LEDE-DEV] [PATCH] ramips: pinctrl: return proper error if pinctrl0 is empty

2017-07-25 Thread Mathias Kresin
Children of the pinctrl0 node are optional. Return EINVAL (=missing) instead of 0. Fixes a hang if the pinctrl0 has no children. Signed-off-by: Mathias Kresin --- .../ramips/patches-4.9/0025-pinctrl-ralink-add-pinctrl-driver.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [LEDE-DEV] [PATCH] ramips: add support for Loewe WMDR-143N

2017-07-25 Thread Mathias Kresin
20.07.2017 21:02, Oliver Fleischmann: The WMDR-143N is a small module originally used as a Wifi client in some Loewe smart TV sets. It is sold cheaply at german surplus shops. The module contains a RT3662 SOC. Specifications: - 500 MHz CPU Clock - 1x 10/100Mbps Ethernet (pin header) - 32 MB of

Re: [LEDE-DEV] [PATCH] ramips: Add support for the HNET C108

2017-09-06 Thread Mathias Kresin
Hey Kristian, I've picked your 01_leds file permission fix since it fixes an bug that I'm searching for a few days already. Find comments from a first brief review inline. Mathias 05.09.2017 21:48, Kristian Evensen: The HNET C108 (http://www.szhwtech88.com/Product-product-cid-100-id-4374.ht

Re: [LEDE-DEV] [PATCH] ramips: Add support for the HNET C108

2017-09-06 Thread Mathias Kresin
06.09.2017 09:26, Kristian Evensen: On Wed, Sep 6, 2017 at 9:03 AM, Mathias Kresin wrote: * Wifi LED. It is always switched on. Always switched on in terms of no relation to the up/down state of the wireless interface or it doesn't blink on activity? Is the LED connected to the SoC?

Re: [LEDE-DEV] Add asterisk13-chan-lantiq to LEDE packages mips_24kc

2017-09-12 Thread Mathias Kresin
12.09.2017 20:28, Sebastian Kemper: On Tue, Sep 12, 2017 at 12:49:54PM +0200, sca...@arcor.de wrote: Hello all, can you please add asterisk13-chan-lantiq to the LEDE packages for mips_24kc? It's possible to build this package via the SDK and I would appreciate if you can build it automatically.

Re: [LEDE-DEV] [PATCH] ipq806x: Archer C2600: fix switch ports numbering

2017-09-14 Thread Mathias Kresin
14.09.2017 11:36, Baptiste Jonglez: Can this be merged to lede-17.01? As I mentioned in the commit, it applies cleanly. Done! Mathias ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] Add asterisk13-chan-lantiq to LEDE packages mips_24kc

2017-09-21 Thread Mathias Kresin
21.09.2017 20:35, Sebastian Kemper: Hi all, So now we have a broken-out asterisk-chan-lantiq package: https://github.com/openwrt/telephony/tree/master/net/asterisk-chan-lantiq I thought it would work like that, but the package still does not show up in the target snapshot folder, e.g. https://d

Re: [LEDE-DEV] [PATCH 3/3] ramips: backport TP-Link image checks from AR71xx

2017-10-01 Thread Mathias Kresin
02.10.2017 01:33, Sergey Ryazanov: Backport TP-Link image compatibility checks (verify hardware id & revision) from AR71xx platform and adopt it for v2/v3 image header. Use new functionality for Archer C20/C20i sysupgrade image verification. NAK. The image metadata (more precisely the boardna

Re: [LEDE-DEV] [PATCH 3/3] ramips: backport TP-Link image checks from AR71xx

2017-10-02 Thread Mathias Kresin
2017-10-02 11:10 GMT+02:00 Sergey Ryazanov : > On Mon, Oct 2, 2017 at 9:43 AM, Mathias Kresin wrote: >> 02.10.2017 01:33, Sergey Ryazanov: >>> >>> Backport TP-Link image compatibility checks (verify hardware id & >>> revision) from AR71xx platform and adop

Re: [LEDE-DEV] [PATCH] procd: service_handle_set() should use SERVICE_SET_NAME rather than SERVICE_ATTR_NAME

2017-10-04 Thread Mathias Kresin
2017-10-04 12:49 GMT+02:00 : > From: Pierre Lebleu > ^^^ and here should be an explanation why SERVICE_SET_NAME should be used in favour of SERVICE_ATTR_NAME. > Signed-off-by: Pierre Lebleu > --- > service/service.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/serv

Re: [LEDE-DEV] [PATCH 1/3] mktplinkfw2: use hw rev for board detection too

2017-10-04 Thread Mathias Kresin
05.10.2017 01:20, Sergey Ryazanov: On Mon, Oct 2, 2017 at 2:33 AM, Sergey Ryazanov wrote: Some boards have identical hardware id and differ only in hardware revision (e.g. Acher C20 and Archer C20i). Such case confuse image inspection code and it selects wrong board info structure. Rework the

Re: [LEDE-DEV] No wireless on TDW8970 due to lack of PCI_SUPPORT

2017-10-05 Thread Mathias Kresin
05.10.2017 09:00, David Woodhouse: I updated my TDW8970 from 17.01.1 to 17.01.3 last night and it came up without wireless. It looks like I *couldn't* enable kmod-ath9k. Config at http://david.woodhou.se/tdw8970.config-20171005 Your config works for me with 17.01.3. kmod-ath9k is selected as b

Re: [LEDE-DEV] [PATCH] ipq806x: add ap.dk01.1 board support

2017-10-16 Thread Mathias Kresin
15.10.2017 20:32, Roman Yeryomin: - add partitions - enable wifi and ethernet - set max cpu speed to 710MHz - set memory size to 256MB - add image generation - extract pre-cal data from ART partition Wirespeed NAT can be achieved with spreading rx interrupts over different cores. Wifi needs love

Re: [LEDE-DEV] [RFC] at91: fix build of legacy target

2017-10-16 Thread Mathias Kresin
16.10.2017 00:44, Hauke Mehrtens: Changing the order of the devices fixes the build problem seen by the build bot. I do not understand why this is making any difference at all, this is probably only hiding a different bug. Signed-off-by: Hauke Mehrtens --- Without this patch I am getting the f

[LEDE-DEV] [PATCH] base-files: remove bridge firewalling defaults

2017-10-18 Thread Mathias Kresin
ge-nf-call-arptables' is an unknown key sysctl: error: 'net.bridge.bridge-nf-call-ip6tables' is an unknown key sysctl: error: 'net.bridge.bridge-nf-call-iptables' is an unknown key Signed-off-by: Mathias Kresin --- package/base-files/Makefile | 2 +-

Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-22 Thread Mathias Kresin
22.10.2017 22:56, Hauke Mehrtens: On 10/22/2017 10:28 PM, Zoltan HERPAI wrote: Hi, Zoltan HERPAI wrote: Hi Hauke, On Sun, 22 Oct 2017, Hauke Mehrtens wrote: I am working on merging the missing commits from the OpenWrt git repository into the LEDE repository. Here is a list of all non merge

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 8/9] ramips: add Devolo WiFi Repeater (mt2681)

2017-10-22 Thread Mathias Kresin
22.10.2017 22:21, Zoltan HERPAI: This is pretty much the same as the ALL0256N-8M but with different LED settings. Based on Matt Jenkins' patch, with additional reworks. https://github.com/openwrt/openwrt/pull/491 Signed-off-by: Zoltan HERPAI Hey Zoltan, I'm not sure how proceed with the pat

Re: [LEDE-DEV] [OpenWrt-Devel] merge: add OpenWrt branding

2017-10-24 Thread Mathias Kresin
2017-10-24 16:59 GMT+02:00 Zoltan HERPAI : > Hi Jo, > > On Tue, 24 Oct 2017, Jo-Philipp Wich wrote: > >> Hi, >> >> comments inline. >> >>> Signed-off-by: Imre Kaloz >> >> >> Given the fact that we explicitely wanted to avoid @openwrt.org mails >> and that this was one of the discussion points lead

Re: [LEDE-DEV] [PATCH] base-files: Don't deconfigure IP settings while using NFS root

2017-11-05 Thread Mathias Kresin
05.11.2017 11:14, Petr Štetiar: Signed-off-by: Petr Štetiar --- Hey Petr, your patch doesn't have a commit message. The commit message should explain why the change is required/what gets fixed by the patch. Please send a v2 with a proper commit message. Mathias __

Re: [LEDE-DEV] [PATCH] ramips: Add support for the Unielec U7621-6

2017-11-05 Thread Mathias Kresin
Hey Christian, find my comments inline. 04.11.2017 21:53, Kristian Evensen: Notes: * According to the specifications on the Unielec website, two LEDs should be controllable via GPIO. I was not able to find the pins. Have you tired to set more/all pinmux groups to function GPIO? Given the fac

Re: [LEDE-DEV] [LUCI] [PATCH 0/2] wifi: 80211r psk_generate_local and ft_ver_ds

2017-11-05 Thread Mathias Kresin
02.11.2017 21:24, Lorenzo Santina: When using a PSK, with ft_psk_generate_local the PMK is generate locally simplifing the configuration of 80211r. With ft_over_ds support the user can now choose if use FT over DS protocol or FT over the Air protocol. Lorenzo Santina (2): wifi: (80211r) add

Re: [LEDE-DEV] [PATCH] ramips: Add support for the Unielec U7621-6

2017-11-05 Thread Mathias Kresin
05.11.2017 13:56, Kristian Evensen: Hi again, On Sun, Nov 5, 2017 at 12:14 PM, Mathias Kresin wrote: diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 8bd7e0318f..1bdd0024e4 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips

Re: [LEDE-DEV] [PATCH] ramips: Add support for the Unielec U7621-6

2017-11-05 Thread Mathias Kresin
05.11.2017 22:24, Piotr Dymacz: Hello Kristian, On 04.11.2017 21:53, Kristian Evensen wrote: The Unielec U7621-6 (http://www.unielecinc.com/q/news/cn/p/product/detail.html?qd_guid=pyrEjfTmYf) is an MT7621-based router with the following specifications: I got the same board last week and ha

Re: [LEDE-DEV] fixing of image file names

2017-11-29 Thread Mathias Kresin
28.11.2017 19:24, Daniel Golle: Hi Moritz, thanks for stepping forward and adressing this issue. It'd be good to include the two assertions added to your list beelow. On Tue, Nov 28, 2017 at 07:05:23PM +0100, Moritz Warning wrote: Hi, I noticed that there are some image file names that do not

[LEDE-DEV] [PATCH] procd: nand: dont rely on boardname in nand_upgrade_tar

2017-11-29 Thread Mathias Kresin
according to the userspace boardname. It allows to change the boardname without adding another compatibility layer - using the nand_board_name() function - for (sub)targets using the metadata based image validation in favour to nand_do_platform_check(). Signed-off-by: Mathias Kresin --- package

Re: [LEDE-DEV] [PATCH] ar71xx: add support for TP-Link TL-WDR7500v6

2017-12-01 Thread Mathias Kresin
30.11.2017 22:06, Bill Moffitt: On 11/29/2017 12:03 PM, Piotr Dymacz wrote: On 29.11.2017 20:17, Bill Moffitt wrote: Swapping bootloader isn't the only issue I see here. Moving ART which is essential and unique per device might end up in a data loss which cannot be recovered in any way. Yes,

Re: [LEDE-DEV] fixing of image file names

2017-12-01 Thread Mathias Kresin
30.11.2017 04:20, Luis Araneda: That seems like the correct way to go, but is a lot of work as you mentioned. I can start with the ipq806x and sunxi targets, since they are the ones I am most familiar with. @Mathias: Should I send you the patches to be applied to your staging tree, or to the mai

Re: [LEDE-DEV] fixing of image file names

2017-12-01 Thread Mathias Kresin
Hey Piotr , thanks a lot for thinking about my proposal. 2017-12-01 14:30 GMT+01:00 Piotr Dymacz : > On 29.11.2017 09:33, Mathias Kresin wrote: >> 1. fix the compatible strings in the DTS files > > I think we should start at the same time upstreaming vendor prefixes to [1], >

[LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Mathias Kresin
udhcpc doesn't send a hostname by default. Use the system hostname if nothing else is specified, to always send a hostname. It syncs the behaviour to odhcpc, which always sends a hostname. Signed-off-by: Mathias Kresin --- package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 1

Re: [LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Mathias Kresin
08.12.2017 21:14, Daniel Golle: Hi Mathias, On Fri, Dec 08, 2017 at 09:35:26AM +0100, Mathias Kresin wrote: udhcpc doesn't send a hostname by default. Use the system hostname if nothing else is specified, to always send a hostname. It syncs the behaviour to odhcpc, which always se

Re: [LEDE-DEV] [PATCH] brcm47xx: proper region code in image name

2017-12-11 Thread Mathias Kresin
11.12.2017 20:37, txt.file: Didn't you want to use 'us' as image identifier? In your patch it is still north america just shortened to 2 letters. kind regards txt.file Please don't top-post. The way it was done is correct. North america != us. I fixed the commit message before I merged the p

Re: [LEDE-DEV] odhcpd vs odhcpd-ipv6only

2017-12-12 Thread Mathias Kresin
2017-12-12 11:15 GMT+01:00 Mauro Mozzarelli : > Hello, > > I understand that odhcpd-ipv6only has now become the default and it > conflicts with odhcpd. > > Please could you let me know if odhcpd-ipv6only supports the existing > configuration file /etc/config/dhcp? Yes, the default config works as

Re: [LEDE-DEV] fixing of image file names

2017-12-12 Thread Mathias Kresin
Hey Daniel, sorry for the late reply, I totally missed your mail and only spotted it due to the recent replies. 01.12.2017 22:20, Daniel Golle: On Wed, Nov 29, 2017 at 09:33:39AM +0100, Mathias Kresin wrote: 28.11.2017 19:24, Daniel Golle: Hi Moritz, thanks for stepping forward and

Re: [LEDE-DEV] fixing of image file names

2017-12-12 Thread Mathias Kresin
12.12.2017 21:02, Piotr Dymacz: On 01.12.2017 16:12, Mathias Kresin wrote: I really doubt that upstream is going to accept vendor prefixes if they aren't used anywhere. I would prefer to use what already exists, add our own prefixes where required and upstream them at the time the dts is

Re: [LEDE-DEV] fixing of image file names

2017-12-12 Thread Mathias Kresin
12.12.2017 23:01, Jonas Gorski: > On 12 December 2017 at 21:03, Jo-Philipp Wich wrote: >> Hi Piotr, >> >> my rough idea was to somehow tie the manifest generation to the "define >> Device/*" macros present in the image building code because there you >> have all required information in a central

Re: [LEDE-DEV] firewall question

2017-12-16 Thread Mathias Kresin
15.12.2017 09:24, e9hack: Hi, I did set-up a openvpn server on my router. /etc/config/network contains the interface definition: config interface 'vpn' option proto 'none' option ifname 'tun1' In /etc/config/firewall, I've the following definitions related to vpn, lan and wan

Re: [LEDE-DEV] [PATCH 1/3] busybox: enable flock by default

2017-12-18 Thread Mathias Kresin
17.12.2017 19:30, Roman Yeryomin: This is needed for procd init script protection to work. flock adds 4248 bytes to stripped busybox binary. Signed-off-by: Roman Yeryomin --- package/utils/busybox/Config-defaults.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/

Re: [LEDE-DEV] [PATCH 1/3] busybox: enable flock by default

2017-12-18 Thread Mathias Kresin
18.12.2017 10:48, Roman Yeryomin: On 2017-12-18 09:58, Mathias Kresin wrote: 17.12.2017 19:30, Roman Yeryomin: This is needed for procd init script protection to work. flock adds 4248 bytes to stripped busybox binary. Signed-off-by: Roman Yeryomin --- package/utils/busybox/Config

[LEDE-DEV] [PATCH 1/2] base-files: gpio_switch: start before boot state done is set

2017-12-27 Thread Mathias Kresin
Start gpio_switch before the boot state is set to up/initialised/done. This way the exported GPIOs are available at the time rc.local is started. Cc: Lars Kruse Signed-off-by: Mathias Kresin --- package/base-files/files/etc/init.d/gpio_switch | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[LEDE-DEV] [PATCH 2/2] base-files: gpio switch: set output value with direction

2017-12-27 Thread Mathias Kresin
IO polarity for now, since our exported GPIOs are always active low. Cc: Lars Kruse Signed-off-by: Mathias Kresin --- package/base-files/Makefile | 2 +- package/base-files/files/etc/init.d/gpio_switch | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a

[LEDE-DEV] [PATCH] treewide: remove obsolete sysupgrade watchdog kill

2017-12-27 Thread Mathias Kresin
The watchdog kill command was meant for busybox watchdog. Busybox watchdog was replaced by the procd watchdog mid 2013 with commit df7ce9301a25 ("busybox: disable the watchdog utility by default"), which makes the kill command obsolete since quite some time. Signed-off-by: Math

[LEDE-DEV] [PATCH] treewide: move nand_do_upgrade call to platform_do_upgrade

2017-12-27 Thread Mathias Kresin
Calling nand_do_upgrade() from platform_pre_upgrade() was deprecated with 30f61a34b4cf ("base-files: always use staged sysupgrade"). Update the platform upgrade code to use platform_do_upgrade() for NAND images as well. Signed-off-by: Mathias Kresin --- .../apm821xx/base-files/l

Re: [LEDE-DEV] [PATCH] mt7621: Add back CONFIG_SCHED_HRTICK to kernel config

2018-01-15 Thread Mathias Kresin
15.01.2018 21:09, Rosen Penev: Fixes FS #1242. The way I figured this out was by using diff on config-4.4 from 17.01 and config-4.9 from trunk. First I removed CONFIG options. That did not work. Then I started adding. This one seems to do the trick. The issue is that anything in /dev/sdX starts

Re: [LEDE-DEV] [PATCH] mt7621: Add back CONFIG_SCHED_HRTICK to kernel config

2018-01-15 Thread Mathias Kresin
15.01.2018 22:30, Rosen Penev: It is defined in generic yes. From discussions on IRC, the issue may be related to something else. I will do further testing to see whether or not this is correct. Should take me another week or so... I still have no idea why in 17.01 CONIG_SCHED_HRTICK is defined

Re: [LEDE-DEV] [PATCH] ar71xx: initial board support for tl-hs110

2018-01-24 Thread Mathias Kresin
2018-01-24 17:45 GMT+01:00 Arvid E. Picciani : > Signed-off-by: Arvid E. Picciani > --- I marked the patch as "superseded". The review of the very same patch send as Pull Request has already started. Please stick to one way of sending patches. Mathias __

Re: [LEDE-DEV] [PATCH 3/3] lantiq: add support for AVM FRITZ!Box 7412

2018-03-18 Thread Mathias Kresin
Hey Valentin, I spotted only minor stuff. Find my review inline. I added Stefan Koch, he is way familiar with the telephony stuff and might see why it doesn't work for you. Mathias 09.03.2018 20:17, Valentin Spreckels: Specification: - SoC: Lantiq VRX 220 - CPU Cores: 2x MIPS 34Kc at 500 MH

Re: [LEDE-DEV] [PATCH v2] ramips: fix GL-inet GL-MT300N-V2 LAN MAC address

2018-03-20 Thread Mathias Kresin
20.03.2018 10:22, Koen Vandeputte: On 2018-03-20 09:54, Kyson Lok wrote: Override the LAN MAC to use the same address as WAN. The stock firmware uses the same MAC address for all interfaces. Besides blindly following the stock firmware behavior, is there *any* advantage in doing this? The g

Re: [LEDE-DEV] [PATCH v2] ramips: fix GL-inet GL-MT300N-V2 LAN MAC address

2018-03-20 Thread Mathias Kresin
20.03.2018 09:54, Kyson Lok: Override the LAN MAC to use the same address as WAN. The stock firmware uses the same MAC address for all interfaces. Signed-off-by: Kyson Lok --- target/linux/ramips/base-files/etc/board.d/02_network | 1 + 1 file changed, 1 insertion(+) diff --git a/target/lin

Re: [LEDE-DEV] [PATCH] kernel: Backport net struct reduction from 4.16.

2018-03-23 Thread Mathias Kresin
23.03.2018 19:19, Rosen Penev: This patch series shrinks the networking structs in order to reduce cache misses. This has performance benefits in routing. Full details here: https://www.netdevconf.org/2.2/slides/miller-datastructurebloat-keynote.pdf I'm keeping this for kernel 4.14 as it's ea

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

2016-10-19 Thread Mathias Kresin
17.10.2016 21:22, André Valentin: CPU: 1.8GHz ARM, RAM: 512MB Storage: 4MiB Serial Flash, 3.9GiB MMC NIC: 2x1GBit/s, 5 external and 2 internal Port Switch WiFi: Dualband, ATH10k 2.4GHz, 5GHz MU-MIMO Changes: -remove kernel compression changes -give spi-nor.c patch a correct name Signed-off-by:

Re: [LEDE-DEV] [PATCH] base-files: ensure reset only works if an overlay exists

2016-10-19 Thread Mathias Kresin
19.10.2016 16:54, Chris Blake: Currently the reset script will try to run jffs2reset on boards that are running a rw ext4 or other rootfs, which will then cause jffs2reset to fail and the board to never reboot. This change ensures that jffs2reset is only ran if an overlay is mounted. Signed-off-

Re: [LEDE-DEV] [PATCH] kirkwood: disable fault LEDs by default

2016-10-22 Thread Mathias Kresin
2016-10-22 21:46 GMT+02:00 : > From: P.Wassi > > Set the default value for status-fault LEDs to '0' > > Signed-off-by: P.Wassi Full name please! > --- > The kirkwood-dockstar, kirkwood-goflex* and kirkwood-pogoplug devices have > one duo-color status LED (green+orange / health+fault). > For th

Re: [LEDE-DEV] 3G support for dwr-512

2016-10-31 Thread Mathias Kresin
31.10.2016 19:32, Cezary Jackiewicz: Dnia 2016-10-31, o godz. 19:17:38 "Giuseppe Lippolis" napisał(a): Hallo, I'm completing the support for the dlink dwr-512 adding the support for 3G. In order to enable the 3G modem the following step need to be performed: 1) write '1' to the gpio18 (it sho

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

2016-11-03 Thread Mathias Kresin
r of bytes read from the mtd devices matches the requested number of bytes. In case of an mtd read error, give a hint to the user which partition was tried to read from. In case everything is fine, notify the user as well. Signed-off-by: Mathias Kresin --- ...-eeprom-on-SoC-from-a-mtd-devi

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

2016-11-03 Thread Mathias Kresin
/staging.git;a=shortlog;h=refs/heads/rt2x00 Mathias Kresin (3): mac80211: rt2x00: improve eeprom_file property handling mac80211: rt2x00: remove eeprom filename dependency from mtd-eeprom mac80211: rt2x00: add mtd-eeprom swab function .../603-rt2x00-introduce-rt2x00eeprom.patch| 24

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

2016-11-03 Thread Mathias Kresin
. It should be (and is) set before requesting an EEPROM file. Do not redirect users to upstream while using a function of a custom patch. Signed-off-by: Mathias Kresin --- .../603-rt2x00-introduce-rt2x00eeprom.patch| 24 -- ...-eeprom-on-SoC-from-a-mtd-device-defines

[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

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

2016-11-04 Thread Mathias Kresin
2016-11-04 9:46 GMT+01:00 Tino Reichardt : > * Alberto Bursi wrote: >> 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

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

2016-11-07 Thread Mathias Kresin
2016-11-06 20:47 GMT+01:00 Tino Reichardt : > The main thing is, the kernel stops very early, I have turned on every > debug option, but have not much info :( > > [0.00] Linux version 4.4.30 (mcmilk@lap-00488) (gcc version 5.4.0 > (LEDE GCC 5.4.0 r2084) ) #0 Sat Nov 5 20:54:43 2016 > [

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

2016-11-07 Thread Mathias Kresin
07.11.2016 19:02, Tino Reichardt: Now I have to check, how to start the init... Is there currently any golden way, how the init should be done on these devices, with very small flash memory? I also modify the .config, to fit the drivers of the allnet ;) In menuconfig => "Target Images" you ca

Re: [LEDE-DEV] Cubietruck / WiFi:brcmfmac / SDIO / firmware

2016-11-08 Thread Mathias Kresin
2016-11-08 8:54 GMT+01:00 Bastian Bittorf : > with recent trunk r2116 i cannot get WiFi working. > First it only seems the SDIO-support must be activated > CONFIG_BRCMFMAC_SDIO=y (which is not!) but even with this i see: > > root@lede:~ :) dmesg | grep -i brcm > [ 11.319793] brcmfmac mmc1:0001:1:

Re: [LEDE-DEV] [PATCH 0/9] lantiq: VGV7519 fixes

2016-11-09 Thread Mathias Kresin
09.11.2016 23:09, Eddi De Pieri: Hi Mathias, Just tried to boot a ramimage from tftp on vgv7519: On my board: Bytes transferred = 7084442 (6c199a hex) ## Booting kernel from Legacy Image at 8100 ... Image Name: MIPS OpenWrt Linux-3.10.49 Created: 2014-11-11 17:40:00 UTC Im

Re: [LEDE-DEV] [OpenWrt-Devel] LED uci policy for not actively used LEDs

2016-11-10 Thread Mathias Kresin
2016-11-10 16:41 GMT+01:00 Jo-Philipp Wich : > Hi Karl, > > I think there is not much speaking against making the led init script > run earlier. I think it would make sense to have it START=11, right > after /etc/init.d/boot. I've a TDW-8980 here, where the ath9k driver acts as GPIO controller for

Re: [LEDE-DEV] [PATCH v1 2/3] apm821xx: consolidate apm821xx device trees files

2016-11-12 Thread Mathias Kresin
11.11.2016 18:08, Christian Lamparter: This patch moves the common SoC device tree entries from the currently four supported platforms into a common apm82181.dtsi. Furthermore, this patch also changes the GPIO and INPUT definitions of the supported platforms to use the defined dt-bindings MACROs

Re: [LEDE-DEV] adding LEDE support for board DLINK DWR-512-B

2016-11-13 Thread Mathias Kresin
13.11.2016 21:54, Giuseppe Lippolis: I try to follow the notes of Alberto, https://www.freedesktop.org/wiki/Software/PulseAudio/HowToUseGitSendEmail/ but clearly something has gone wrong!!! Can someone help me to commit? Thanks. You might want to try to create a pull request at the LEDE githu

Re: [LEDE-DEV] [PATCH] mt7621: add support for WeVO W2914NS v2

2016-11-16 Thread Mathias Kresin
Hi, find my comments inline. 2016-11-16 12:47 GMT+01:00 perillamint : > From: "Yong-hyu, Ban" > > Signed-off-by: Yong-hyu, Ban > --- > .../linux/ramips/base-files/etc/board.d/02_network | 1 + > target/linux/ramips/base-files/lib/ramips.sh | 3 + > .../ramips/base-files/lib/upgrade/p

  1   2   3   >