[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 -- 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/boot/uboot

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

2014-10-27 Thread Tijs Van Buggenhout
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 -- diff --git a/package/boot/uboot-envtools/files/ar71xx b/package/boot/uboot-envtools/files/ar71xx index 8d64d43..ea8cf72 100644 --- a

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 >

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-18 Thread Tijs Van Buggenhout
n that I want 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, Ti

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

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 &g

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

2013-02-21 Thread Tijs Van Buggenhout
al8 |= 0x81; /* Make Link 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: T

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

[OpenWrt-Devel] [PATCH] broadcom-diag: add support for e3200 v1

2013-02-21 Thread Tijs Van Buggenhout
Hex values in nvram seem to be uppercase on my e3200 device. Define one power led and two buttons (reset/wps). Signed-off-by: Tijs Van Buggenhout diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom- diag/src/diag.c index 997fbe8..4e282be 100644 --- a/package/broadcom-diag/src

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 napisał(a): > >> On my e3200 Ethernet works with the default config. Are there more > >> problems discussed in this tread? >

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 napisa?(a

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: > > > > Dni

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

2013-02-25 Thread Tijs Van Buggenhout
alisation of rx ring(s).. from my 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/driv

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 wrote: > > On 02/21/2013 02:57 PM, Tijs Van Buggenhout wrote: > >> From linksys firmware : > >> > >> # et -i eth0 robord 0x0 0x0e > >> 0x008b >

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 : > > 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 ex

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 wrote: > >>> On 02/21/2013 02:57 PM, Tijs Van

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 : > > > I opted to introduce a CONFIG_BGMAC_UNALIGNED_ADDRESSING macro to > > > introduce > > > the cha

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

2013-02-26 Thread Tijs Van Buggenhout
106.404000] 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

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

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

2013-02-27 Thread Tijs Van Buggenhout
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 wrote: > > >> On 21 February 201

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 > >> (pos

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

2013-03-01 Thread Tijs Van Buggenhout
d addressing, but have only one 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 > >>>

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 > > https://d

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

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 s

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 a

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,

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 Mo

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

2013-10-08 Thread Tijs Van Buggenhout
quot; ; grep "^$module " /proc/modules pptp 13296 2 - Live 0x86e8 Signed-off-by: Tijs Van Buggenhout -- 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

Re: [OpenWrt-Devel] Packets from eth0.0 (VLAN tagged) ignored? (was: How does OpenWRT start "network"?)

2013-02-12 Thread Tijs Van Buggenhout
On Monday 11 February 2013 22:33:31 Rafał Miłecki wrote: > 2013/2/11 Rafał Miłecki : > > I've compiled two extra tools: tcpdump and arp. > > > > It seems that OpenWRT can't understand ARP response. See attached > > tcpdump.and.ping.all.on.router.txt - it's a ping and tcpdump both > > running on Op

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 br

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. L

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

2013-12-05 Thread Tijs Van Buggenhout
har buf being filled with entropy). Signed-off-by: Tijs Van Buggenhout -- 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

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

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

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 : > > 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 LAN ports.

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

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

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 > > Date: Fri Mar 14 20:56:06 2014 +0100 > > > > Backpor

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 bbb52f346786f5ba51a58b5dc01aba2973