Re: [OpenWrt-Devel] System halted on bcm4708 series board when booting openwrt trunk (kernel 3.14)

2015-03-10 Thread Rafał Miłecki
On 10 March 2015 at 04:43, Tymon banglang.hu...@foxmail.com wrote: my cpu is BCM958522ER which is the same series with 4708 as well, 32MB ###boot log: (I updated the xxx-squashfs.trx to the flash) Hit any key to stop autoboot: 0 Checking TRX Image at addr 1e20 ... Uncompressing ...

Re: [OpenWrt-Devel] [PATCH 0/6] bcm53xx: changes for R8000 so far

2015-03-10 Thread Jonas Gorski
On Tue, Mar 10, 2015 at 4:30 AM, Ian Kent ra...@themaw.net wrote: [OpenWrt-Devel] [PATCH 0/6] bcm53xx: changes for R8000 so far Ah, this is supposed to be the V2. Please version your patchsets when resubmitting, i.e. this would be then [PATCH V2], and add a changelog to the individual patches

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread John Crispin
On 10/03/2015 12:39, elektra wrote: Hi folks – OpenWrt is f***ing awesome. Many kudos for this excellent work. My 0.2 BTC, Elektra Hi Elektra, agreed, but we need more cats and unicorns John ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] reply: System halted on bcm4708 series board when booting openwrt trunk(kernel 3.14)

2015-03-10 Thread Conor O'Gorman
On 10/03/15 06:34, Tymon wrote: On 10 March 2015 at 04:43, Tymon banglang.hu...@foxmail.com wrote: my cpu is BCM958522ER which is the same series with 4708 as well, 32MB ###boot log: (I updated the xxx-squashfs.trx to the flash) Hit any key to stop autoboot: 0 Checking TRX Image at

Re: [OpenWrt-Devel] [PATCH 0/6] bcm53xx: changes for R8000 so far

2015-03-10 Thread Ian Kent
On Tue, 2015-03-10 at 12:55 +0100, Rafał Miłecki wrote: On 10 March 2015 at 12:29, Jonas Gorski j...@openwrt.org wrote: On Tue, Mar 10, 2015 at 4:30 AM, Ian Kent ra...@themaw.net wrote: [OpenWrt-Devel] [PATCH 0/6] bcm53xx: changes for R8000 so far Ah, this is supposed to be the V2.

Re: [OpenWrt-Devel] [PATCH 0/6] Series short description

2015-03-10 Thread Jonas Gorski
On Tue, Mar 10, 2015 at 4:25 AM, Ian Kent ra...@themaw.net wrote: The following series implements... If you don't have anything nice to say, ... ;) (i.e. you should drop the cover letter if it does not contain anything useful). Jonas ___

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread Jonas Gorski
On Tue, Mar 10, 2015 at 3:21 AM, Michael Richardson m...@sandelman.ca wrote: Alpha Sparc alphasp...@gmail.com wrote: I believe it is due to the hardware NAT not supported. So, really, nothing to do with wifi drivers at all. You don't need (hardware) NAT if you run IPv6... hardware NAT

Re: [OpenWrt-Devel] [PATCH 0/6] Series short description

2015-03-10 Thread Ian Kent
On Tue, 2015-03-10 at 12:17 +0100, Jonas Gorski wrote: On Tue, Mar 10, 2015 at 4:25 AM, Ian Kent ra...@themaw.net wrote: The following series implements... If you don't have anything nice to say, ... ;) (i.e. you should drop the cover letter if it does not contain anything useful).

Re: [OpenWrt-Devel] [PATCH 3/3][RESEND] b53: implement ARL Table read/write operations

2015-03-10 Thread Jonas Gorski
On Mon, Feb 23, 2015 at 4:55 PM, Alexandru Ardelean ardeleana...@gmail.com wrote: From: Alexandru Ardelean ardeleana...@gmail.com Read/Write operations for the ARL table. To use it: swconfig dev switch0 set arl rd XX:XX:XX:XX:XX:XX vid swconfig dev switch0 get arl Output should

Re: [OpenWrt-Devel] [PATCH 0/6] bcm53xx: changes for R8000 so far

2015-03-10 Thread Rafał Miłecki
On 10 March 2015 at 12:29, Jonas Gorski j...@openwrt.org wrote: On Tue, Mar 10, 2015 at 4:30 AM, Ian Kent ra...@themaw.net wrote: [OpenWrt-Devel] [PATCH 0/6] bcm53xx: changes for R8000 so far Ah, this is supposed to be the V2. Please version your patchsets when resubmitting, i.e. this would

Re: [OpenWrt-Devel] [PATCH 5/6] bcm53xx: deal with R8000 mac address settings

2015-03-10 Thread Jonas Gorski
On Tue, Mar 10, 2015 at 4:30 AM, Ian Kent ra...@themaw.net wrote: After a vendor firmware install the values seen in nvram for et0macaddr and et1macaddr are that of nvram macaddr and nvram macaddr+1. So set them that way here too. Signed-off-by: Ian Kent ra...@themaw.net ---

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread elektra
Hi folks – OpenWrt is f***ing awesome. Many kudos for this excellent work. My 0.2 BTC, Elektra -- Viral meme of radical freedom The fact that you talk in your head doesn't mean that you think. The worst way to lose control over yourself is by trying to control yourself. Most people

Re: [OpenWrt-Devel] [PATCH 3/3] b53: create slave devices for ports

2015-03-10 Thread Jonas Gorski
On Sat, Feb 28, 2015 at 9:22 AM, Rafał Miłecki zaj...@gmail.com wrote: On 26 February 2015 at 19:24, Florian Fainelli f.faine...@gmail.com wrote: On 25/02/15 07:24, Alexandru Ardelean wrote: Feature implemented and tested on BCM53128. Slave devices logic copied from the Linux kernel from

Re: [OpenWrt-Devel] UCI overlay proposal

2015-03-10 Thread Zefir Kurtisi
David, I do not disagree, and in fact I was not proposing a new configuration format. What I tried to point out was a) maintaining a 'meta-configuration' for some config overlay very quickly becomes very challenging and resource consuming b) if the format has to be changed, in OpenWRT JSON

Re: [OpenWrt-Devel] [PATCH 3/3][RESEND] b53: implement ARL Table read/write operations

2015-03-10 Thread Jonas Gorski
On Mon, Feb 23, 2015 at 4:55 PM, Alexandru Ardelean ardeleana...@gmail.com wrote: From: Alexandru Ardelean ardeleana...@gmail.com Read/Write operations for the ARL table. To use it: swconfig dev switch0 set arl rd XX:XX:XX:XX:XX:XX vid swconfig dev switch0 get arl Output should

Re: [OpenWrt-Devel] [PATCH 1/3] b53: add b53_mac_array_to_u64() utility function

2015-03-10 Thread Jonas Gorski
On Mon, Mar 2, 2015 at 10:44 AM, Alexandru Ardelean ardeleana...@gmail.com wrote: So, on a powerpc system this works. static inline u64 b53_mac_array_to_u64(const u8 *u8_arr) { u64 mac = 0; u8 *cmac = (u8 *)mac; memcpy(cmac[2], u8_arr, 6); return mac; } I've done this

Re: [OpenWrt-Devel] [PATCH 5/6] bcm53xx: deal with R8000 mac address settings

2015-03-10 Thread Ian Kent
On Tue, 2015-03-10 at 12:26 +0100, Jonas Gorski wrote: On Tue, Mar 10, 2015 at 4:30 AM, Ian Kent ra...@themaw.net wrote: After a vendor firmware install the values seen in nvram for et0macaddr and et1macaddr are that of nvram macaddr and nvram macaddr+1. So set them that way here too.

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread valent.turko...@gmail.com
This is a long way of saying, that if performance sucks on OpenWrt you should blame Atheros and Broadcom for not giving you (OpenWrt community) high quality open source drivers! First thanks to Alex, Charlie, Kathy and Fernando for pointing out that Atheros works together with Linux and

Re: [OpenWrt-Devel] [PATCH] ramips: Fix failsafe switch workaround for RT5350 introduced in r42179.

2015-03-10 Thread John Crispin
On 08/03/2015 02:44, Vittorio G (VittGam) wrote: This patch fixes the failsafe switch workaround to avoid soft-bricking routers where the only exposed Ethernet port is not 0 (it is 4 for the HT-TM02 for instance). This is a follow-up of http://patchwork.ozlabs.org/patch/424017/ (sorry

[OpenWrt-Devel] [PATCH] ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7

2015-03-10 Thread Matthias Schiffer
ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread valent.turko...@gmail.com
On 10 March 2015 at 02:52, Michael Richardson m...@sandelman.ca wrote: valent.turko...@gmail.com valent.turko...@gmail.com wrote: Why it OpenWrt slower than stock firmware? I can help by shining a bit of light onto this subject. I'm developing custom firwmares based on I'm curious

Re: [OpenWrt-Devel] [PATCH 3/3][RESEND] b53: implement ARL Table read/write operations

2015-03-10 Thread Alexandru Ardelean
On Tue, Mar 10, 2015 at 2:22 PM, Jonas Gorski j...@openwrt.org wrote: On Mon, Feb 23, 2015 at 4:55 PM, Alexandru Ardelean ardeleana...@gmail.com wrote: From: Alexandru Ardelean ardeleana...@gmail.com Read/Write operations for the ARL table. To use it: swconfig dev switch0 set arl

Re: [OpenWrt-Devel] [PATCH][RFT] mpc52xx: switch kernel to 3.18

2015-03-10 Thread Rafał Miłecki
On 1 March 2015 at 00:05, Rafał Miłecki zaj...@gmail.com wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com --- Gabor: I can see you were bumping mpc52xx kernel in the past. Could you try 3.18? Ping? ___ openwrt-devel mailing list

[OpenWrt-Devel] [RFC] glibc 2.21 for OpenWrt

2015-03-10 Thread Jeff Waugh
Hi all, Not content with adding support for uClibc snapshots, I've also tackled glibc 2.21, as eglibc is no longer an actively maintained project. Here's the branch I've been working on (which isn't tidied up for merge btw): https://github.com/jdub/openwrt/commits/glibc There is one

[OpenWrt-Devel] [RFC] mac80211: update to wireless-testing 2015-03-09

2015-03-10 Thread Bryan Forbes
I have been working on an update to mac80211 for about a month now. I announced it on the developer forums, but it turns out this is the place I should have been talking about it. The initial work I did was to update mac80211 to wireless-testing master-2015-02-09, but since then I have updated

[OpenWrt-Devel] [PATCH] x86: use PARTUUID instead explicitly specifying the device by default

2015-03-10 Thread Matthias Schiffer
This changes the x86 image generation to match x86_64, using the PARTUUID for the rootfs instead of explicitly configuring the device. This unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. Tested in QEMU/KVM with VirtIO, VirtualBox and VMware. Signed-off-by: Matthias

[OpenWrt-Devel] [PATCH 1/3] [rpcd] file: show data ubus parameter only when used

2015-03-10 Thread Luka Perkov
The ubus calls for file read, list and stat do not use data parameter, so lets remove them to avoid confusion. Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 47 --- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/file.c

[OpenWrt-Devel] [PATCH 2/3] [rpcd] file: use blob_buf_free()

2015-03-10 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 4 1 file changed, 4 insertions(+) diff --git a/file.c b/file.c index fdc6396..9a3dfd8 100644 --- a/file.c +++ b/file.c @@ -199,6 +199,7 @@ rpc_file_read(struct ubus_context *ctx, struct ubus_object *obj,

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread Gergely Kiss
Hi Valent, first of all, I strongly disagree with people claiming that OpenWrt sucks because it doesn't. For me it rather looks like a well-maintained, rapidly improving project with a great number of actively supported hardware and quite a few people contributing to the project regularly. I can

Re: [OpenWrt-Devel] [PATCH] ramips: Fix failsafe switch workaround for RT5350 introduced in r42179.

2015-03-10 Thread Vittorio G (VittGam)
Il 10.03.2015 20:42 John Crispin ha scritto: we can hook this up with the board detect code. i'll put it on my todo list. might take a bit till i find the time That would be great! By the way, we should test if recent revisions fix the checksum issue so that we can completely remove this

Re: [OpenWrt-Devel] [PATCH] ramips: Fix failsafe switch workaround for RT5350 introduced in r42179.

2015-03-10 Thread Vittorio G (VittGam)
Il 10.03.2015 14:18 John Crispin ha scritto: hi can you send a version that has the pattern shown below please and 0 1 2 3 4 5 6 is wrong, exclude the wan port from the list please. John The problem is that it's not easy to determine what number the LAN or WAN port(s) is/are. On

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread David Lang
On Tue, 10 Mar 2015, valent.turko...@gmail.com wrote: Can anyone explain to me how NDAs come into this? Because I remember one discussions with Mikrotik developer who said that they can't release their Atheros driver that they developed as open source because they signed NDA with Atheros? Is

[OpenWrt-Devel] reply?? System halted on bcm4708 series board when booting openwrt trunk(kernel 3.14)

2015-03-10 Thread Tymon
On 10 March 2015 at 04:43, Tymon banglang.hu...@foxmail.com wrote: my cpu is BCM958522ER which is the same series with 4708 as well, 32MB ###boot log: (I updated the xxx-squashfs.trx to the flash) Hit any key to stop autoboot: 0 Checking TRX Image at addr 1e20 ... Uncompressing ...

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread Fernando Frediani
Hi Gergely, I'm just curious to know what makes you be pretty sure that many vendors will start doing this in the future and overcome the possible legal or political issues they may have to do that ? Marvel was one of the worst cases I've ever seen here and I have no much idea what made them

Re: [OpenWrt-Devel] [RFC] mac80211: update to wireless-testing 2015-03-09

2015-03-10 Thread Daniel Golle
Hi Bryan, On Tue, Mar 10, 2015 at 12:15:31PM -0500, Bryan Forbes wrote: I have been working on an update to mac80211 for about a month now. I announced it on the developer forums, but it turns out this is the place I should have been talking about it. The initial work I did was to update

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread Felix Fietkau
On 2015-03-10 20:22, Zefir Kurtisi wrote: On 03/09/2015 11:28 PM, David Lang wrote: On Mon, 9 Mar 2015, José Vázquez wrote: OpenWRT is a linux distro oriented to networking so the kernel and drivers are important, but you must not forget that the init process (procd and related after AA) is

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread David Lang
On Wed, 11 Mar 2015, Felix Fietkau wrote: On 2015-03-10 20:22, Zefir Kurtisi wrote: On 03/09/2015 11:28 PM, David Lang wrote: On Mon, 9 Mar 2015, José Vázquez wrote: This gives at least two sources for optimization for the reference driver: 1) save inter-layer processing overhead (passing

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread Zefir Kurtisi
On 03/09/2015 11:28 PM, David Lang wrote: On Mon, 9 Mar 2015, José Vázquez wrote: OpenWRT is a linux distro oriented to networking so the kernel and drivers are important, but you must not forget that the init process (procd and related after AA) is one of the cores of this distro and makes

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread Gergely Kiss
Hi Fernando, I cannot predict nor foresee what HW vendors will do in the future but it looks to me there's a trend like that. For example, there is some collaboration [1] between NVIDIA and the developers of the open source nouveau driver and also, Intel seems to release some of its codes as open

[OpenWrt-Devel] [PATCH] Fix 3.18.8 breakage of UBI devices with EOF marker (e.g. WNDR4300)

2015-03-10 Thread Oliver Smith
This commit re-adds a patch from 3.14 that is required for UBI block devices with an EOF marker to be successfully mounted. Signed-off-by: Oliver Smith oli...@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa --- .../490-mtd-ubi-add-EOF-marker-support.patch | 51 ++ 1 file changed, 51