Re: [OpenWrt-Devel] kernel oops with ath9k + shared irqs

2014-11-13 Thread Tijs Van Buggenhout
On Wednesday 12 November 2014 16:39:38 André Gaul wrote: Hey openwrt devs! I'm observing 100% reproducible kernel oopses with a recent openwrt (tested with trunk and barrier breaker) on a Mikrotik Routerboard RB435 which is equipped with 5 minipci cards. The board boots up fine if all wifi

[OpenWrt-Devel] [PATCH] package/boot/uboot-envtools: retry uci-defaults on empty config

2014-10-27 Thread Tijs Van Buggenhout
sysupgrade) whenever an empty uci config file is found. Signed-off-by: Tijs Van Buggenhout t...@able.be -- diff --git a/package/boot/uboot-envtools/files/ar71xx b/package/boot/uboot-envtools/files/ar71xx index f660883..8d64d43 100644 --- a/package/boot/uboot-envtools/files/ar71xx +++ b/package

[OpenWrt-Devel] [PATCH] package/boot/uboot-envtools: retry uci-defaults for fw_env.config

2014-10-27 Thread Tijs Van Buggenhout
) The following patch will retry uci-defaults for uboot-envtools when fw_env.config is missing from sysupgrade backup, or it is empty. Signed-off-by: Tijs Van Buggenhout t...@able.be -- diff --git a/package/boot/uboot-envtools/files/ar71xx b/package/boot/uboot-envtools/files/ar71xx index 8d64d43..ea8cf72

Re: [OpenWrt-Devel] [aa-mac80211] b43: backport bcma_core_pci_up/down from 3.12

2014-03-18 Thread Tijs Van Buggenhout
On Friday 14 March 2014 21:25:04 Felix Fietkau wrote: On 2014-03-14 21:09, Tijs Van Buggenhout wrote: commit bbb52f346786f5ba51a58b5dc01aba297301ddfe Author: Tijs Van Buggenhout t...@able.be Date: Fri Mar 14 20:56:06 2014 +0100 Backport bcma_core_pci_up/down from 3.12 Compiling

Re: [OpenWrt-Devel] [aa-mac80211] b43: backport bcma_core_pci_up/down from 3.12

2014-03-18 Thread Tijs Van Buggenhout
On Tuesday 18 March 2014 10:46:44 Felix Fietkau wrote: On 2014-03-18 10:39, Tijs Van Buggenhout wrote: On Friday 14 March 2014 21:25:04 Felix Fietkau wrote: On 2014-03-14 21:09, Tijs Van Buggenhout wrote: commit bbb52f346786f5ba51a58b5dc01aba297301ddfe Author: Tijs Van Buggenhout t

[OpenWrt-Devel] [aa-mac80211] b43: backport bcma_core_pci_up/down from 3.12

2014-03-14 Thread Tijs Van Buggenhout
commit bbb52f346786f5ba51a58b5dc01aba297301ddfe Author: Tijs Van Buggenhout t...@able.be Date: Fri Mar 14 20:56:06 2014 +0100 Backport bcma_core_pci_up/down from 3.12 Compiling module b43 from compat-wireless-2014-01-23.1 for 3.3.8 kernel of AA results in build errors like so: CC [M

[OpenWrt-Devel] [PATCH][feeds] openvpn-devel: make openvpn compatible with polarssl 1.2.3 or newer [AA]

2014-01-22 Thread Tijs Van Buggenhout
]. https://dev.openwrt.org/ticket/12983 [2]. https://dev.openwrt.org/changeset/35529 [3]. http://community.openvpn.net/openvpn/attachment/ticket/250/220-allow- polarssl-1.2.3.patch Signed-off-by: Tijs Van Buggenhout t...@able.be -- Index: net/openvpn-devel/Makefile

Re: [OpenWrt-Devel] [PATCH][feeds] openvpn-devel: make openvpn compatible with polarssl 1.2.3 or newer [AA]

2014-01-22 Thread Tijs Van Buggenhout
On Wednesday 22 January 2014 15:34:56 Tijs Van Buggenhout wrote: Only relevant for Attitude Adjustment, see trac #12982 [1]. Commit r35529 [2] upgrades polarssl from v 1.1(.3) to 1.2(.5), but introduces compile errors for openvpn-devel (2.2.2) package present in version of openvpn

Re: [OpenWrt-Devel] Updating vlan interface link on switch port link change?

2014-01-02 Thread Tijs Van Buggenhout
On Wednesday 18 December 2013 21:37:40 Rafał Miłecki wrote: 2013/12/18 Rafał Miłecki zaj...@gmail.com: Some routers (a lot of/all Broadcom's BCM47xx based models) have only a one network card attached to a switch. In such situation you usually use one VLAN for WAN port and another VLAN for

Re: [OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS

2013-12-09 Thread Tijs Van Buggenhout
On Monday 18 November 2013 19:29:17 mancha wrote: Hauke Mehrtens hauke at hauke-m.de writes: On 10/17/2013 05:40 PM, chrono wrote: Ahoi everyone, it was requested on IRC that I send my solution to the entropy problem with the current kernel (e.g. having 0 available entropy):

Re: [OpenWrt-Devel] [PATCH] mac82011 550-ath9k_entropy_from_adc.patch backport AA - questions

2013-12-06 Thread Tijs Van Buggenhout
On Thursday 05 December 2013 22:56:01 you wrote: On 2013-12-05 22:41, Tijs Van Buggenhout wrote: Hi Felix, I have a question about https://dev.openwrt.org/changeset/38486. While backporting the aforementioned patch from trunk to attitude adjustment, I noticed that the patch does

[OpenWrt-Devel] [PATCH] mac82011 550-ath9k_entropy_from_adc.patch backport AA - questions

2013-12-05 Thread Tijs Van Buggenhout
filled with entropy). Signed-off-by: Tijs Van Buggenhout t...@able.be -- diff -u -Naur a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h --- a/drivers/net/wireless/ath/ath9k/hw.h 2013-10-28 18:00:58.0 +0100 +++ b/drivers/net/wireless/ath/ath9k/hw.h

[OpenWrt-Devel] [PATCH] [packages] ppp: correct module loaded check in proto_pptp_setup

2013-10-08 Thread Tijs Van Buggenhout
13296 2 - Live 0x86e8 Signed-off-by: Tijs Van Buggenhout t...@able.be -- package/network/services/ppp/files/ppp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/ppp/files/ppp.sh b/package/network/services/ppp/files/ppp.sh index 43a7de9..02b4055

Re: [OpenWrt-Devel] [PATCH] kmod-switch : Fix led control register - adjust IMP port status

2013-03-12 Thread Tijs Van Buggenhout
On Wednesday 27 February 2013 14:49:58 Tijs Van Buggenhout wrote: On Monday 25 February 2013 21:30:07 Tijs Van Buggenhout wrote: On Monday 25 February 2013 21:07:09 Hauke Mehrtens wrote: On 02/25/2013 03:08 PM, Tijs Van Buggenhout wrote: On Monday 25 February 2013 14:06:13 Jonas Gorski

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-08 Thread Tijs Van Buggenhout
On Thursday 07 March 2013 18:47:53 Alexander Stadler wrote: Am 07.03.2013 17:25, schrieb Tijs Van Buggenhout: On Thursday 07 March 2013 16:39:33 Alexander Stadler wrote: Am 07.03.2013 16:24, schrieb Matthijs Kooijman: Hi Alexander, Hi Tijs, just read after I've sent my last Message

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Tijs Van Buggenhout
On Thursday 07 March 2013 16:39:33 Alexander Stadler wrote: Am 07.03.2013 16:24, schrieb Matthijs Kooijman: Hi Alexander, The next thought was that ARRAY_SIZE macro must get an array and not an pointer, so I tried it with: That's exactly right. An array's size is not stored in

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Tijs Van Buggenhout
On Thursday 07 March 2013 17:47:02 Matthijs Kooijman wrote: Hi Tijs, In general it's good to inform/promise the compiler when the program is not going to change data (using const). However, you'll have to adjust to the function definition types of the other functions that you are going

Re: [OpenWrt-Devel] [PATCH] bgmac - add support for unaligned addressing

2013-03-01 Thread Tijs Van Buggenhout
device to test on. On 02/25/2013 10:18 PM, Tijs Van Buggenhout wrote: Signed-off-by: Tijs Van Buggenhout (t...@able.be) Your whole patch is malformed, there are extra line breaks and tabs were eaten by your mailer. It's a cpp from a cat'ed diff on console. Email client does a line

Re: [OpenWrt-Devel] Option GlobeSurfer II 7.2 NVRAM contents

2013-03-01 Thread Tijs Van Buggenhout
On Friday 01 March 2013 19:44:28 Fiach Antaw wrote: For board detection have a look at new detection code (in both 3.8, 3.6) https://dev.openwrt.org/browser/trunk/target/linux/brcm47xx/patches-3.8/26 0-MIPS-BCM47XX-add-board-detection.patch and the backup detection code in

Re: [OpenWrt-Devel] [PATCH] bgmac - add support for unaligned addressing

2013-03-01 Thread Tijs Van Buggenhout
On Friday 01 March 2013 10:56:33 Tijs Van Buggenhout wrote: On Thursday 28 February 2013 20:06:49 Hauke Mehrtens wrote: Hi, I haven't tested your patch I have just some comments. In general it looks good to me. Would be nice if it could be tested for both types.. I'm pretty sure

Re: [OpenWrt-Devel] [PATCH] bgmac: add support for qos

2013-02-28 Thread Tijs Van Buggenhout
On Thursday 28 February 2013 15:02:26 Hauke Mehrtens wrote: On 02/27/2013 02:04 PM, Tijs Van Buggenhout wrote: On Tuesday 26 February 2013 21:45:00 Tijs Van Buggenhout wrote: This is a proposal to add QoS support to bgmac driver, allowing to use (possibly) all of the tx queues supported

Re: [OpenWrt-Devel] [PATCH] bgmac: add support for qos

2013-02-27 Thread Tijs Van Buggenhout
On Tuesday 26 February 2013 21:45:00 Tijs Van Buggenhout wrote: This is a proposal to add QoS support to bgmac driver, allowing to use (possibly) all of the tx queues supported by the hardware. The bgmac device is allocated as an ethernet multiqueue network device, reporting the (maximum) tx

[OpenWrt-Devel] [PATCH] bgmac: add support for qos

2013-02-26 Thread Tijs Van Buggenhout
] bgmac bcma0:1: Select tx queue 3 for packet [ 106.408000] bgmac bcma0:1: Received interrupt for tx queue 3 y [ 111.776000] bgmac bcma0:1: bgmac_select_queue based on priority 0x6 ... This patch is generated from git trunk.. Any comments/suggestions/ideas very welcome... Signed-off-by: Tijs Van

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-25 Thread Tijs Van Buggenhout
On Friday 22 February 2013 18:58:07 Tijs Van Buggenhout wrote: On Thursday 21 February 2013 18:40:20 Tijs Van Buggenhout wrote: On Thursday 21 February 2013 16:13:07 Hauke Mehrtens wrote: On 02/20/2013 02:46 PM, Cezary Jackiewicz wrote: Dnia 2013-02-20, o godz. 14:11:53 Hauke

[OpenWrt-Devel] [PATCH] bgmac - add support for unaligned addressing

2013-02-25 Thread Tijs Van Buggenhout
understanding reusing the int i variable in the inner loop breaks the outer loop if there would be more than one rx ring. Signed-off-by: Tijs Van Buggenhout (t...@able.be) --- --- a/drivers/net/ethernet/broadcom/bgmac.h 2013-02-20 12:41:03.138480108 +0100 +++ b/drivers/net/ethernet/broadcom/bgmac.h

Re: [OpenWrt-Devel] [PATCH] kmod-switch : Fix led control register - adjust IMP port status

2013-02-25 Thread Tijs Van Buggenhout
On Monday 25 February 2013 14:06:13 Jonas Gorski wrote: On 21 February 2013 15:53, Hauke Mehrtens ha...@hauke-m.de wrote: On 02/21/2013 02:57 PM, Tijs Van Buggenhout wrote: From linksys firmware : # et -i eth0 robord 0x0 0x0e 0x008b # et -i eth0 robord 0x0 0x12 0x020b

Re: [OpenWrt-Devel] [PATCH] bgmac - add support for unaligned addressing

2013-02-25 Thread Tijs Van Buggenhout
On Monday 25 February 2013 18:51:53 Rafał Miłecki wrote: 2013/2/25 Tijs Van Buggenhout t...@able.be: I opted to introduce a CONFIG_BGMAC_UNALIGNED_ADDRESSING macro to introduce the changes to support unaligned addressing for the bgmac driver (it does add some extra bytes in bgmac_dma_ring

Re: [OpenWrt-Devel] [PATCH] kmod-switch : Fix led control register - adjust IMP port status

2013-02-25 Thread Tijs Van Buggenhout
On Monday 25 February 2013 21:07:09 Hauke Mehrtens wrote: On 02/25/2013 03:08 PM, Tijs Van Buggenhout wrote: On Monday 25 February 2013 14:06:13 Jonas Gorski wrote: On 21 February 2013 15:53, Hauke Mehrtens ha...@hauke-m.de wrote: On 02/21/2013 02:57 PM, Tijs Van Buggenhout wrote: From

Re: [OpenWrt-Devel] [PATCH] bgmac - add support for unaligned addressing

2013-02-25 Thread Tijs Van Buggenhout
On Monday 25 February 2013 20:35:23 Tijs Van Buggenhout wrote: On Monday 25 February 2013 18:51:53 Rafał Miłecki wrote: 2013/2/25 Tijs Van Buggenhout t...@able.be: I opted to introduce a CONFIG_BGMAC_UNALIGNED_ADDRESSING macro to introduce the changes to support unaligned addressing

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-22 Thread Tijs Van Buggenhout
On Thursday 21 February 2013 18:40:20 Tijs Van Buggenhout wrote: On Thursday 21 February 2013 16:13:07 Hauke Mehrtens wrote: On 02/20/2013 02:46 PM, Cezary Jackiewicz wrote: Dnia 2013-02-20, o godz. 14:11:53 Hauke Mehrtens ha...@hauke-m.de napisa?(a): On my e3200 Ethernet works

[OpenWrt-Devel] [PATCH] kmod-switch : Fix led control register - adjust IMP port status

2013-02-21 Thread Tijs Van Buggenhout
pass and override it. */ robo-ops-write_reg(robo, PAGE_CTRL, REG_CTRL_MIIPO, val8, sizeof(val8)); } Hauke, did you use '0xb1' intentionally instead of '0x81'? Or do we want this to be the same? Signed-off-by: Tijs Van Buggenhout t...@able.be diff --git a/package/switch/src

Re: [OpenWrt-Devel] [PATCH] kmod-switch : Fix led control register - adjust IMP port status

2013-02-21 Thread Tijs Van Buggenhout
On Thursday 21 February 2013 15:53:40 Hauke Mehrtens wrote: On 02/21/2013 02:57 PM, Tijs Van Buggenhout wrote: From linksys firmware : # et -i eth0 robord 0x0 0x0e 0x008b # et -i eth0 robord 0x0 0x12 0x020b root@OpenWrt:/# robocfg robord 0x0e Page 0x00, Reg 0x0e: 00bb

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-21 Thread Tijs Van Buggenhout
On Thursday 21 February 2013 16:13:07 Hauke Mehrtens wrote: On 02/20/2013 02:46 PM, Cezary Jackiewicz wrote: Dnia 2013-02-20, o godz. 14:11:53 Hauke Mehrtens ha...@hauke-m.de napisał(a): On my e3200 Ethernet works with the default config. Are there more problems discussed in this

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-20 Thread Tijs Van Buggenhout
On Wednesday 20 February 2013 14:11:53 Hauke Mehrtens wrote: On 02/18/2013 10:51 AM, Tijs Van Buggenhout wrote: On Monday 18 February 2013 04:30:14 Chirag Chhatriwala wrote: Tijs: Are you using your settings on vlan0ports vlan1ports OR vlan1ports vlan2ports I had

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-19 Thread Tijs Van Buggenhout
On Thursday 14 February 2013 11:24:50 you wrote: On 02/14/2013 11:18 AM, Florian Fainelli wrote: Hello, On 02/14/2013 09:39 AM, Tijs Van Buggenhout wrote: [snip] Device eth0: hwaddr 00-00-00-00-00-00, ipaddr 192.168.1.1, mask 255.255.255.0 gateway not set, nameserver

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-18 Thread Tijs Van Buggenhout
On Thursday 14 February 2013 18:35:48 Chirag Chhatriwala wrote: Hi All, I'm trying to get additional info. Hauke: per your latest response indicating the changeset: https://dev.openwrt.org/changeset/35597 This will not work for E4200v1. I just dug a few things from the tomato source tree.

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-18 Thread Tijs Van Buggenhout
to understand the openwrt assignment using vlan[01]ports and not vlan[12]ports (unlike Tomato DD-WRT). I apologize if I'm cross referencing the two alternatives to OpenWRT but thats the only info I can go on so far. Thanks, Chirag On Mon, Feb 18, 2013 at 3:12 AM, Tijs Van Buggenhout t

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-14 Thread Tijs Van Buggenhout
On Wednesday 13 February 2013 19:03:38 Nathan Hintz wrote: On Wed, 2013-02-13 at 22:46 +0100, Hauke Mehrtens wrote: On 02/13/2013 10:33 PM, Chirag Chhatriwala wrote: Hi All, I've notcied a huge deal of progress with bgmac in the recent month and was willing to help bring support