Re: [LEDE-DEV] [OpenWrt-Devel] Wifi-related kernel-oops on mt7621 after 4.14 update

2018-05-14 Thread Kristian Evensen
Hello, On Wed, Apr 18, 2018 at 11:34 AM, Kristian Evensen wrote: > I will keep an eye on this router, just in case, but it seems the > problem is gone. Thanks for fixing it so fast! The router (WG3526) has been running fine for a while now, but after changing configuration from client to

Re: [LEDE-DEV] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue...?

2018-05-14 Thread Kristian Evensen
Hi, On Mon, May 14, 2018 at 9:03 AM, Jamie Stuart wrote: > Hi Everyone, > Just wondering if anyone had made any progress into integrating this in trunk > OpenWRT. > It’s out of my skillset unfortunately! I don't know if the patch mentioned in the original email is in Daniel's tree or not, but I

Re: [LEDE-DEV] Firewall restart crashes routers with kernel 4.14

2018-05-06 Thread Kristian Evensen
Hi, Thanks for your reply, good to know that I am not alone :) On Sat, May 5, 2018 at 9:45 PM, Lucian Cristian wrote: > do you have hardware offloading enabled and multiwan ? > > I have the same problem when I enable them The routers do support hardware offloading (ZBT WG3526 so mt7621), but it

[LEDE-DEV] Firewall restart crashes routers with kernel 4.14

2018-05-05 Thread Kristian Evensen
Hello, When restarting the firewall on routers running latest nightly, I frequently get the following warning: [ 74.952854] [ cut here ] [ 74.952874] WARNING: CPU: 2 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 0x8f6293f0 [ 74.952876] Modules linked in: rt2800p

[LEDE-DEV] Transmit timeouts on MT7621 with kernel 4.14

2018-04-22 Thread Kristian Evensen
Hello, I have been doing some tests with kernel 4.14 on some MT7621-based devices (ZBT WG2926 and WG3526). Sometimes, seemingly out of the blue, I get the following oops: [ 95.073332] [ cut here ] [ 95.077988] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:320 dev_w

Re: [LEDE-DEV] [OpenWrt-Devel] Wifi-related kernel-oops on mt7621 after 4.14 update

2018-04-18 Thread Kristian Evensen
Hi, On Tue, Apr 17, 2018 at 3:34 PM, Kristian Evensen wrote: > Thanks, great. I just started building a new image for my router, will > test and let you know if I still see the issue. I think I have finished my testing, at least for now, and it seems the problem is fixed. I compiled an

Re: [LEDE-DEV] [OpenWrt-Devel] Wifi-related kernel-oops on mt7621 after 4.14 update

2018-04-17 Thread Kristian Evensen
On Tue, Apr 17, 2018 at 2:56 PM, Felix Fietkau wrote: > On 2018-04-17 13:50, Kristian Evensen wrote: >> This is with the same image as last time (commit >> f6e6eadc99c6274207f8f2ebc739063549959a1f) and configuration (radios >> used as clients). I see that mt76 has been updat

Re: [LEDE-DEV] [OpenWrt-Devel] Wifi-related kernel-oops on mt7621 after 4.14 update

2018-04-17 Thread Kristian Evensen
Hi, On Thu, Apr 12, 2018 at 3:28 PM, Kristian Evensen wrote: > Thanks for the pointer. I compiled a new image KALLSYMS, but now I am > not able to reproduce the error. Perhaps there was something dirty in > my build directory. I will keep the image KALLSYMS on the routers and > keep

Re: [LEDE-DEV] [OpenWrt-Devel] Wifi-related kernel-oops on mt7621 after 4.14 update

2018-04-12 Thread Kristian Evensen
Hi, On Thu, Apr 12, 2018 at 1:02 PM, John Crispin wrote: > try enabling KALLSYMS to get a verbose stack trace. Thanks for the pointer. I compiled a new image KALLSYMS, but now I am not able to reproduce the error. Perhaps there was something dirty in my build directory. I will keep the image KAL

[LEDE-DEV] Wifi-related kernel-oops on mt7621 after 4.14 update

2018-04-12 Thread Kristian Evensen
Hello, I have recently updated some ramips mt7621-devices (ZBT WG3526) to the latest nightly. Almost everything seems to work fine, but using either wifi interface in client mode seems triggers an oops. I see two different oops-messages: Message 1: [ 66.442802] CPU 1 Unable to handle kernel pag

[LEDE-DEV] [PATCH] iptables: Support building connlabel module

2018-01-22 Thread Kristian Evensen
: Kristian Evensen --- include/netfilter.mk | 4 package/kernel/linux/modules/netfilter.mk | 15 +++ package/network/utils/iptables/Makefile | 15 +++ 3 files changed, 34 insertions(+) diff --git a/include/netfilter.mk b/include/netfilter.mk index

Re: [LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2018-01-04 Thread Kristian Evensen
On Thu, Oct 19, 2017 at 3:02 PM, Kristian Evensen wrote: > When SIGTERM times out, procd sends SIGKILL and then restarts the > process once SIGCHLD has been received. This all works fine, with one > exception - respawn is not restored when instance_start() is called from > instance

Re: [LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2017-11-28 Thread Kristian Evensen
Hi Karl, Sorry for my extremely late reply. For some reason, it was not picked up by Gmail and I did not see it before today. Since it was not picked up by Gmail, I had to do some creative c&p, sorry in advance for weird formatting. >>Kristian Evensen wrote: >> When SIGTERM

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-11-16 Thread Kristian Evensen
Hello, On Thu, Nov 9, 2017 at 8:42 PM, Kristian Evensen wrote: > I replaced the 3526 with other devices containing the mt7530 switch > (both mt7621 and mt7623-based boards), and the issues seems to be > related to the switch rather than the SoC. I am able to reliably > trigger the ti

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-11-09 Thread Kristian Evensen
On Thu, Nov 9, 2017 at 5:21 PM, Kristian Evensen wrote: > I have been hammering away on this issue during the day, and it seems > that the DMA engine, TX, etc. works just fine. However, for some > reason, the port with the router that has hung is able to stop the > whole switch. If I

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-11-09 Thread Kristian Evensen
On Thu, Nov 9, 2017 at 12:06 PM, Kristian Evensen wrote: > I see that the CPU txds [384-511] have DDONE set and no SKB, while > DDONE is not set for the DMA txds [0-383] and an skb is attached. I > also looked at the content of the skb, and as far as I can see it is > valid. Lo

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-11-09 Thread Kristian Evensen
Hello, On Wed, Nov 8, 2017 at 10:56 PM, Kristian Evensen wrote: > I have been trying to solve this myself for a couple of days, but I am > starting to run out of idea. Could it be that there is some traffic > destined for the client (via. the 2626) that gets stuck in the TX > queue

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-11-08 Thread Kristian Evensen
Hello, It turns out that the assumption that the "transmit timed out"-issue was related to pause frames/flow control was incorrect. I have recently started to see the error again, with flow control disabled. However, unlike last time, I am now able to reliably trigger the issue. The timeout seems

Re: [LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-08 Thread Kristian Evensen
On Tue, Nov 7, 2017 at 9:34 PM, Rosen Penev wrote: > Replace malloc+memset with calloc. Cleaner and faster in extreme situations. > > Signed-off-by: Rosen Penev > --- > libubus.c | 6 ++ > lua/ubus.c | 18 ++ > 2 files changed, 8 insertions(+), 16 deletions(-) > > diff --gi

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

2017-11-05 Thread Kristian Evensen
Hi Piotr and Mathias, On Sun, Nov 5, 2017 at 10:24 PM, Piotr Dymacz wrote: > 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) >

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

2017-11-05 Thread Kristian Evensen
Hi, On Sun, Nov 5, 2017 at 1:47 PM, Kristian Evensen wrote: > By the way, I sometimes see the board cough up different > memory-related errors. For example, I have seen seg. faults for > applications that are run on startup, messages like "CPU 3 Unable to > handle kernel

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

2017-11-05 Thread 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/image/mt7621.mk >> @@ -225

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

2017-11-05 Thread Kristian Evensen
Hi Mathias, Thanks for your comments. On Sun, Nov 5, 2017 at 12:14 PM, Mathias Kresin wrote: > Hey Christian, > > find my comments inline. > > 04.11.2017 21:53, Kristian Evensen: >> >> Notes: >> * According to the specifications on the Unielec website, two L

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

2017-11-04 Thread Kristian Evensen
website is in Chinese, but is easy to use. Click on the second item in the list to access the recovery page, then the second item on the next page is where you select the firmware. In order to start the recovery, you click the button at the bottom. Signed-off-by: Kristian Evensen --- .../linux

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-10-27 Thread Kristian Evensen
Hi John, On Sat, Aug 19, 2017 at 8:16 PM, John Crispin wrote: > Hi All, > > i have a staged commit on my laptop that makes all the (upstream) ethernet > fixes that i pushed to mt7623 work on mt7621. please hang on for a few more > days till i finished testing the support. this will add latest ups

[LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2017-10-19 Thread Kristian Evensen
-value in instance_exit(). Signed-off-by: Kristian Evensen --- service/instance.c | 6 -- service/instance.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/service/instance.c b/service/instance.c index b7cb523..76c74ed 100644 --- a/service/instance.c +++ b/service

[LEDE-DEV] [PATCH] ramips: Fix D240 mini-PCIe power control GPIOs

2017-09-12 Thread Kristian Evensen
specifies the correct GPIO for the left-most mini-PCIe slot of the D240 (labeled power_mpcie2 since the slot is attached to SIM2), and adds a GPIO that can be used to control the power of the other mini-PCIe slot (labeled power_mpcie1). Signed-off-by: Kristian Evensen --- target/linux/ramips/dt

[LEDE-DEV] [PATCH] ramips: Add support for ZBT WE1026-5G

2017-09-10 Thread Kristian Evensen
oad a firmware image. Signed-off-by: Kristian Evensen --- target/linux/ramips/base-files/etc/board.d/01_leds | 5 + .../linux/ramips/base-files/etc/board.d/02_network | 3 +- target/linux/ramips/base-files/lib/ramips.sh | 3 + .../ramips/base-files/lib/upgrade/platform.sh | 1 + t

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

2017-09-06 Thread Kristian Evensen
rmware (thanks Mathias Kresin). * Respect ordering in diag.sh (thanks Mathias Kresin). v1->v2: * Update "Not working" based on more testing with factory firmware. * Changed offset of LAN MAC address. Signed-off-by: Kristian Evensen --- target/linux/ramips/base-files/etc/bo

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

2017-09-06 Thread Kristian Evensen
On Wed, Sep 6, 2017 at 10:35 AM, Kristian Evensen wrote: > The HNET C108 > (http://www.szhwtech88.com/Product-product-cid-100-id-4374.html) is a > mifi based on MT7602A, which has the following specifications: > > * CPU: MT7620A > * 1x 10/100Mbps Ethernet. > * 16 MB Flash.

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

2017-09-06 Thread Kristian Evensen
ect ordering in diag.sh (thanks Mathias Kresin). v1->v2: * Update "Not working" based on more testing with factory firmware. * Changed offset of LAN MAC address. Signed-off-by: Kristian Evensen --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 + .../linux/ramips/base-f

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

2017-09-06 Thread Kristian Evensen
On Wed, Sep 6, 2017 at 10:07 AM, Mathias Kresin wrote: > 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. >>> >>> >>> >>

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

2017-09-06 Thread Kristian Evensen
Hi, On Wed, Sep 6, 2017 at 9:46 AM, John Crispin wrote: > the mt7620 only has 1 usb port. if the minipcie usb works, then its wired > there. maybe there is a gpio to switch between internal modem port and > external port ? Thanks for the help! I just spoke to the factory and it turns out that po

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

2017-09-06 Thread Kristian Evensen
Hi, Thanks for the feedback. On Wed, Sep 6, 2017 at 9:03 AM, Mathias Kresin wrote: >> Not working: >> * USB port. > > > What does not working means? Not detected? USB devices not powered (but are > working with an external powered hub)? Any error messages? Not detected and no error messages, so

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

2017-09-05 Thread Kristian Evensen
tory firmware. * Changed offset of LAN MAC address. Signed-off-by: Kristian Evensen --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 + .../linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/diag.sh | 3 + target/linux/ramips/base-files/

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

2017-09-05 Thread Kristian Evensen
brick the device, the C108 supports recovery using TFTP. Keep the reset button pressed for ~5sec when booting to trigger TFTP. Set the address of the network interface on your machine to 10.10.10.3/24, and rename your image file to Kernal.bin. Signed-off-by: Kristian Evensen --- target/linux

[LEDE-DEV] [PATCH] ramips: Improve stability of the mt7621 switch

2017-08-31 Thread Kristian Evensen
not ideal, but since this error only happens when the router/switch is completely swamped, then users/protocols/applications should not notice a difference. It might even be better to drop packets right away, than to buffer them for a given time. Signed-off-by: Kristian Evensen --- .../drivers/

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-08-28 Thread Kristian Evensen
Hello again, On Sat, Aug 26, 2017 at 4:57 PM, Kristian Evensen wrote: > I did not have to wait very long before anything. Unfortunately, my > router crashed right after I sent the previous email. So I guess that > means back to the drawing board. I have kept working on this issue throu

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-08-26 Thread Kristian Evensen
Hi, On Sat, Aug 26, 2017 at 4:47 PM, Kristian Evensen wrote: > I guess our common theory is that something is causing TX interrupts > not to be enabled again. After reading up on NAPI > (https://wiki.linuxfoundation.org/networking/napi), it seems that the > recommended way of using N

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-08-26 Thread Kristian Evensen
Hello again, On Sat, Aug 26, 2017 at 12:38 PM, Kristian Evensen wrote: > Hi, > > On Sat, Aug 26, 2017 at 7:43 AM, Mingyu Li wrote: >> Hi. >> >> i check the code again. found xmit_more can cause tx timeout. you can >> reference this. >> https://www.

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-08-26 Thread Kristian Evensen
Hi, On Sat, Aug 26, 2017 at 7:43 AM, Mingyu Li wrote: > Hi. > > i check the code again. found xmit_more can cause tx timeout. you can > reference this. > https://www.mail-archive.com/netdev@vger.kernel.org/msg123334.html > so the patch should be like this. edit mtk_eth_soc.c > > tx_num =

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-08-25 Thread Kristian Evensen
Hi all, On Sun, Aug 20, 2017 at 12:30 AM, John Crispin wrote: > correct, in my testing i have been ... with 200 parallel flows ... on > MT7623, we'll have to find out what mt7621 can achieve ... this is all using > hwnat ... > 1) tcp - at 50 byte frames i am able to pass 720 MBit which is > 1M FP

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-07-24 Thread Kristian Evensen
Hi, On Mon, Jul 24, 2017 at 4:02 AM, Mingyu Li wrote: > i guest the problem is there are some tx data not free. but tx > interrupt is clean. cause tx timeout. the old code will free data > first then clean interrupt. but there maybe new data arrive after free > data before clean interrupt. > so c

Re: [LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-07-23 Thread Kristian Evensen
Hi! On Sun, Jul 23, 2017 at 4:50 PM, Mingyu Li wrote: > Hi. > i write a path. could you help to verify it? Thanks a lot, will do! I am leaving on holiday tomorrow, so testing might take a little while, but I will get back to you as soon as possible. Would you mind explaining a bit about what you

[LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621

2017-07-21 Thread Kristian Evensen
Hello, I am currently facing an issue on some MT7621 (ZBT WG2626/2926 and 3526) based devices that I am, after days of fruitless digging, seemingly unable to solve myself and I have run out of places to look or things to test. Most devices are running LEDE 17.01, while some are running the latest

[LEDE-DEV] [PATCH] Add missing APU1 reference to x86 board.d

2017-06-05 Thread Kristian Evensen
be considered for stable, as the error also exists there. Signed-off-by: Kristian Evensen --- target/linux/x86/base-files/etc/board.d/01_leds| 2 +- target/linux/x86/base-files/etc/board.d/02_network | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/x86/base

Re: [LEDE-DEV] WG: [source] ramips: add support for Sanlinking D240

2017-04-29 Thread Kristian Evensen
Hi, On Fri, Apr 28, 2017 at 8:39 PM, Thomas Endt wrote: > When will there be a precompiled 17.01 image for this device? With 17.01.2 > or with the next major release? > I'm asking because there were some devices with snapshot support that I > would have expected to have a 17.01.1 image available,

Re: [LEDE-DEV] [PATCH v3] ramips: Improve Sanlinking D240 config

2017-03-10 Thread Kristian Evensen
A gentle ping for this patch :) -Kristian ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH v3] ramips: Improve Sanlinking D240 config

2017-03-02 Thread Kristian Evensen
default. v2->v3: * Indentation error. v1->v2: * Rename gpio and remove redundant comment (thanks Piotr Dymacz) Signed-off-by: Kristian Evensen --- target/linux/ramips/dts/D240.dts| 11 +++ target/linux/ramips/image/mt7620.mk | 2 +- 2 files changed, 12 insertions(+), 1 de

Re: [LEDE-DEV] [PATCH v2] ramips: Improve Sanlinking D240 config

2017-03-02 Thread Kristian Evensen
On Thu, Mar 2, 2017 at 1:37 PM, Kristian Evensen wrote: > > + gpio-export { > + compatible = "gpio-export"; > + #size-cells = <0>; > + > +power_mpcie2 { > + gpio-export,name = "power_mpc

[LEDE-DEV] [PATCH v2] ramips: Improve Sanlinking D240 config

2017-03-02 Thread Kristian Evensen
default. v1->v2: * Rename gpio and remove redundant comment (thanks Piotr Dymacz) Signed-off-by: Kristian Evensen --- target/linux/ramips/dts/D240.dts| 11 +++ target/linux/ramips/image/mt7620.mk | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/target/li

Re: [LEDE-DEV] [PATCH] ramips: Improve Sanlinking D240 config

2017-03-02 Thread Kristian Evensen
Hi, On Thu, Mar 2, 2017 at 12:39 PM, Piotr Dymacz wrote: > What about "power_mpcieX" (or something similar), where X is 1 or 2, > depending on what is printed on the PCB (I wasn't able to find hi-res > photo)? Good idea and thanks for the pointer. There does not seem to be any easy-to-find value

[LEDE-DEV] [PATCH] ramips: Improve Sanlinking D240 config

2017-03-02 Thread Kristian Evensen
reflect this. Note that until the default mt7620 target is updated, then kmod-mt76 (and thus kmod-mt7603) will be selected by default. Signed-off-by: Kristian Evensen --- target/linux/ramips/dts/D240.dts| 14 ++ target/linux/ramips/image/mt7620.mk | 2 +- 2 files changed, 15

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

2017-02-04 Thread Kristian Evensen
l LEDE on the router (thanks Mathias Kresin). v1->v2: * Misc. code cleanup (thanks Mathias Kresin) Signed-off-by: Kristian Evensen blabla --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 + .../linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-

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

2017-02-04 Thread Kristian Evensen
. code cleanup (thanks Mathias Kresin) Signed-off-by: Kristian Evensen --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 + .../linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/diag.sh | 1 + target/linux/ramips/base-files/lib/ram

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

2017-02-03 Thread Kristian Evensen
On Fri, Feb 3, 2017 at 12:52 PM, Piotr Dymacz wrote: > As this is a general problem and I'm sure it's going to grow in time, > maybe we should start thinking about different approach for naming > boards in system, dts files and image filenames? Including there also > the manufacturer name would be

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

2017-02-03 Thread 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 this rule, so please > use "d240" instead of "sanlinking-d

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

2017-02-03 Thread Kristian Evensen
. Wifi, USB, switch and both mini-PCIe slots are working. I have not been able to test the SD card reader on the device. v1->v2: * Misc. code cleanup (thanks Mathias Kresin) Signed-off-by: Kristian Evensen Cleanup --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 + .../linux/ram

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

2017-02-03 Thread Kristian Evensen
On Thu, Feb 2, 2017 at 8:13 PM, Mathias Kresin wrote: > Hey Kristian, > > thanks a lot for the patch. Find my comments inline. Thanks a lot! Will submit a v2 soon. -Kristian ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead

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

2017-02-02 Thread Kristian Evensen
. Wifi, USB, switch and both mini-PCIe slots are working. I have not been able to test the SD card reader on the device. Signed-off-by: Kristian Evensen --- target/linux/ramips/base-files/etc/board.d/01_leds | 5 + .../linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips

[LEDE-DEV] [PATCH] netifd: Set source address for static address routes

2016-10-06 Thread Kristian Evensen
When using UCI to configure static addresses, netifd does not set the source address of the gateway route. In order to be consistent, also set the source address for subnet routes (this applies to all protocols). Signed-off-by: Kristian Evensen --- interface-ip.c | 4 proto.c| 32