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] [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 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 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] 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] 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] 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

[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

[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 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 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

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

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] 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] 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] 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
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] 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] [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] [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

[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] 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], >

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] [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,

[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] 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

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] [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] [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
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] [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] [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] [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] 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

[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] [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

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] 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 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] [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 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 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] 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] 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-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] 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] [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 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

[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] 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 _

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] [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 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] 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] [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] [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] [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] [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 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 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 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 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 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] 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 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] 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] 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] [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] 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] 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 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 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] 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-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 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] 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] 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-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] 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 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] [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] 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] 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] NAND JFFS2 question

2017-03-08 Thread Mathias Kresin
08.03.2017 23:01, hams...@freenet.de: Hi! I currently work to assembly a fullimage.img for the Easybox 904xdsl. Actually there are some differences to upstream made by the vendor. I take over some code and now I'm able to update the firmware, or at least the kernel via the recovery method within

Re: [LEDE-DEV] using sata-port-specific led triggers

2017-03-08 Thread Mathias Kresin
08.03.2017 22:59, Alberto Bursi: Hi, I'm trying to use the functionality added by this patch [1] (it should generate different led triggers for each Sata port) for a few kirkwood device that have multiple Sata Leds. This patch is currently used only by some oxnas NAS devices, that seem to have n

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

2017-03-03 Thread Mathias Kresin
2017-03-03 14:52 GMT+01:00 txt.file : > ar71xx: change image version to LEDE for ubiquiti devices > > Signed-off-by: txt.file Fullname in Signed-off-by please. Please add a commit message. Describe where the change is visible and mention the feature request you've creating in flyspray, similar t

Re: [LEDE-DEV] [PATCH odhcpd] dhcpv6-ia: Check lockf return value

2017-02-28 Thread Mathias Kresin
2017-02-28 6:53 GMT+01:00 Florian Fainelli : > Signed-off-by: Florian Fainelli > --- > src/dhcpv6-ia.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c > index 888634fe1f29..fb5044884441 100644 > --- a/src/dhcpv6-ia.c > +++ b/src/d

Re: [LEDE-DEV] [RFC] ipq806x: Add USB Type Selector for R7500

2017-02-28 Thread Mathias Kresin
2017-02-27 13:34 GMT+01:00 Thomas Reifferscheid : > The patch enables the primary USB port on R7500. Because of the > missing general IPQ8064x TCSR initialisation functions a workaround > using pinctrl,single was chosen. It allows us to set 1a4000b0 from > .0010 to .0011 thus enabling the p

Re: [LEDE-DEV] [PATCH] BT Home Hub 5A: configure Red Ethernet as DMZ interface (FS#490) and fix Red Ethernet switch port (FS#390)

2017-02-20 Thread Mathias Kresin
18.02.2017 19:05, Felix Fietkau: On 2017-02-18 16:57, Mathias Kresin wrote: @Felix: Would you please do a review of my changes. You added the function in question with c536da3 "lantiq: add VLAN handling fixes to xrx200 ethernet driver" but unfortunately without commit message. I&

[LEDE-DEV] multi-function buttons

2017-02-20 Thread Mathias Kresin
19.02.2017 14:31, Piotr Dymacz: > This is more like offtopic, but there is another one problem with > similar devices. Lets forget now about "Wi-Fi enabled or not enabled > by default" issue and assume we have a device which: > - doesn't have Ethernet interface > - serial access is not possib

Re: [LEDE-DEV] Is there a Image for TP-Link TL-WA854RE (WiFi Range Extender) ?

2017-02-19 Thread Mathias Kresin
19.02.2017 13:10, Alberto Bursi: After Mathias's commit (as noted by other mails above) the devices we are talking about have wifi disabled by default but you can enable it with the wps button. https://github.com/lede-project/source/commit/bcfbeae79f799cf1087d692e4869589eb20d2080 Imho makes no s

Re: [LEDE-DEV] [PATCH] BT Home Hub 5A: configure Red Ethernet as DMZ interface (FS#490) and fix Red Ethernet switch port (FS#390)

2017-02-18 Thread Mathias Kresin
17.02.2017 11:42, Mauro Mozzarelli: The BT Home Hub routers described in the scenario(s) below are connected also on the LAN side. I ran further tests in the first SCENARIO (Red Ethernet as eth0.2) monitoring the red Ethernet WAN end with wireshark and I saw arp requests coming from the Red Ethe

Re: [LEDE-DEV] [PATCH] BT Home Hub 5A: configure Red Ethernet as DMZ interface (FS#490) and fix Red Ethernet switch port (FS#390)

2017-02-12 Thread Mathias Kresin
12.02.2017 17:40, Mauro Mozzarelli: You are correct that the name does not matter, however if we have routers already configured to associate the xDSL or Ethernet to WAN, when we flash the new firmware we will have to reconfigure them to rename the device. This is all good if the routers are phys

Re: [LEDE-DEV] [PATCH] BT Home Hub 5A: configure Red Ethernet as DMZ interface (FS#490) and fix Red Ethernet switch port (FS#390)

2017-02-12 Thread Mathias Kresin
12.02.2017 15:55, Felix Fietkau: @Mathias: could you perhaps refactor the commits to put the wan->xwan rename *after* the ethernet port VLAN change? I'm also a bit sceptical about the interface rename and would like to discuss this further, but I think the VLAN change is important enough to get i

Re: [LEDE-DEV] [PATCH] BT Home Hub 5A: configure Red Ethernet as DMZ interface (FS#490) and fix Red Ethernet switch port (FS#390)

2017-02-11 Thread Mathias Kresin
11.02.2017 18:55, Mauro M.: This proposed patch applies to BT Home Hub 5 Type A and: 1) it includes configuration for the Red Ethernet port as an additional "dmz" interface (feature request FS#490) NAK. It's a WAN port and not a DMZ port. It should be used by default as WAN port. If you need

Re: [LEDE-DEV] [PATCH v2] ramips: add support for RATOC REX-WIFISD2

2017-02-11 Thread Mathias Kresin
28.01.2017 17:03, FUKAUMI Naoki: diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 50eae2f..0728d93 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -465,3 +465,13 @@ define Device/kng_rc zyimage -d 8

Re: [LEDE-DEV] FS#490 - BT Home Hub 5 Ethernet WAN Port configuration

2017-02-10 Thread Mathias Kresin
2017-02-10 14:01 GMT+01:00 Mauro M. : > In response to Mathias: > > > Let's have a look at the use cases for the Red Ethernet Port: > > 1) Classic case: Internet Home user with xDSL WAN + Wired and Wireless > Devices > > SCENARIO: In this case my WAN is the xDSL port, my router has 4 Ethernet > (ye

Re: [LEDE-DEV] [PATCH] ramips: fix AR670W partition alignment

2017-02-05 Thread Mathias Kresin
05.02.2017 10:15, John Crispin: On 05/02/2017 09:59, Claudio Leite wrote: mtdsplit_lzma requires that the rootfs be aligned to a block boundary. Pad the kernel partition to make this so. Signed-off-by: Claudio Leite --- target/linux/ramips/image/rt288x.mk | 2 +- 1 file changed, 1 insertion

Re: [LEDE-DEV] [PATCH v2] ramips: Add support for Sanlinking D240

2017-02-03 Thread Mathias Kresin
2017-02-03 11:49 GMT+01:00 Kristian Evensen : > Hi > > On Fri, Feb 3, 2017 at 11:02 AM, Piotr Dymacz wrote: >> Hi Kristian, >> >> My two cents: the general convention for board name is to not include >> the manufacturer name (Sanlinking here). >> As you can see, (almost) all other boards follow th

Re: [LEDE-DEV] [PATCH] ramips: Add support for Sanlinking D240

2017-02-02 Thread Mathias Kresin
Hey Kristian, thanks a lot for the patch. Find my comments inline. 2017-02-02 12:54 GMT+01:00 Kristian Evensen : > The Sanlinking Technologies D240 > (http://www.sanlinking.com/en/29-dual-4g-wifi-router.html) is basically the > same > device as the ZBT WE826, so adding support for it in LEDE is

  1   2   3   >