[OpenWrt-Devel] Insane (kernel-size-related?) Unhandled kernel unaligned access with Fatal exception in interrupt

2012-07-19 Thread Rafał Miłecki
I'm using WNDR4500 and network elf booting for testing OpenWRT. It's working quite nice at the moment (it doesn't crash, most of the initialization works fine). So I decided to hack my hardware a little further and wrote some additional kernel module. I've built it in, to be able to test it with

Re: [OpenWrt-Devel] Insane (kernel-size-related?) Unhandled kernel unaligned access with Fatal exception in interrupt

2012-07-19 Thread John Crispin
On 19/07/12 08:54, Rafał Miłecki wrote: I'm using WNDR4500 and network elf booting for testing OpenWRT. It's working quite nice at the moment (it doesn't crash, most of the initialization works fine). Try this one please

Re: [OpenWrt-Devel] WRT54g / b43 / mac802.11 BREAKTHROUGH

2012-07-19 Thread Andreas Bräu
1) why does a band change (can be seen through minstrel) is a problem? Because IIRC b43 doesn't support anything other than 2.4GHz at all. It's not a change between 2.4 and 5 GHz. Wifi stops working if the bitrate changes between 11b (1, 2, 5.5, 11) and 11g (6, 9, 12, 18, 24, 36, 48, 54)

Re: [OpenWrt-Devel] Insane (kernel-size-related?) Unhandled kernel unaligned access with Fatal exception in interrupt

2012-07-19 Thread Rafał Miłecki
2012/7/19 John Crispin j...@phrozen.org: On 19/07/12 08:54, Rafał Miłecki wrote: I'm using WNDR4500 and network elf booting for testing OpenWRT. It's working quite nice at the moment (it doesn't crash, most of the initialization works fine). Try this one please

Re: [OpenWrt-Devel] Insane (kernel-size-related?) Unhandled kernel unaligned access with Fatal exception in interrupt

2012-07-19 Thread John Crispin
On 19/07/12 09:44, Rafał Miłecki wrote: 2012/7/19 John Crispin j...@phrozen.org: On 19/07/12 08:54, Rafał Miłecki wrote: I'm using WNDR4500 and network elf booting for testing OpenWRT. It's working quite nice at the moment (it doesn't crash, most of the initialization works fine). Try

[OpenWrt-Devel] [PATCH 0/6] ramips: add support for Allnet ALL5002 devkit

2012-07-19 Thread Daniel Golle
This series of patches adds support for the Allnet ALL5002 devkit [1]. It's based on the Rt3352F WiSoC and got plenty of resources, so it was fun thing to play with :) In order to support this board, a small fix had to go into the clock setup and support for the Rt3352F had to be added to rt2x00

[OpenWrt-Devel] [PATCH 1/6] ramips: uart_clk on Rt3352F is always 40MHz

2012-07-19 Thread Daniel Golle
Currently, sys_clk/10 is used which is just wrong. cpu_clk/10 would work for systems with 400MHz CPU clock. Signed-off-by: Daniel Golle dgo...@allnet.de --- target/linux/ramips/files/arch/mips/ralink/rt305x/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH 2/6] ramips: add support for Allnet ALL5002 to kernel

2012-07-19 Thread Daniel Golle
support ALL5002 in ramips/rt305x branch of the kernel. Signed-off-by: Daniel Golle dgo...@allnet.de --- .../arch/mips/include/asm/mach-ralink/machine.h| 3 ++ .../ramips/files/arch/mips/ralink/rt305x/Kconfig | 5 ++ .../ramips/files/arch/mips/ralink/rt305x/Makefile | 1 +

[OpenWrt-Devel] [PATCH 3/6] ramips: add image build for ALL5002

2012-07-19 Thread Daniel Golle
add image build for ALL5002 Signed-off-by: Daniel Golle dgo...@allnet.de --- target/linux/ramips/image/Makefile | 14 ++ 1 file changed, 14 insertions(+) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index ce81728..6aa03a3 100644 ---

[OpenWrt-Devel] [PATCH 4/6] ramips: enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.

2012-07-19 Thread Daniel Golle
Hope that this works, didn't have a chance to actually test it... Signed-off-by: Daniel Golle dgo...@allnet.de --- target/linux/ramips/files/arch/mips/ralink/Kconfig | 2 ++ target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch | 2 +-

[OpenWrt-Devel] [PATCH 5/6] ramips: add ALL5002 userspace support

2012-07-19 Thread Daniel Golle
detect EEPROM, MAC addresses and support sysupgrade for the ALL5002 Signed-off-by: Daniel Golle dgo...@allnet.de --- .../linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 1 + target/linux/ramips/base-files/etc/uci-defaults/network | 4 +++-

[OpenWrt-Devel] [PATCH 6/6] mac80211: add support for Rt3352 in rt2x00 driver

2012-07-19 Thread Daniel Golle
add support for the RT3352F (RF3322 built-in radio) to the rt2x00 driver. Signed-off-by: Daniel Golle dgo...@allnet.de --- .../patches/620-rt2x00-support-rt3352.patch| 454 + 1 file changed, 454 insertions(+) create mode 100644

[OpenWrt-Devel] [PATCH] mac80211: import patch for rt2x00

2012-07-19 Thread Daniel Golle
without this hostapd doesn't work on any of the RT3xxx systems I tested. Signed-off-by: Daniel Golle dgo...@allnet.de --- ...10-rt2x00-mac80211-manage-AP-netdev-carrier-state.patch | 14 ++ 1 file changed, 14 insertions(+) create mode 100644

Re: [OpenWrt-Devel] [PATCH] mac80211: import patch for rt2x00

2012-07-19 Thread Felix Fietkau
On 2012-07-19 5:02 PM, Daniel Golle wrote: without this hostapd doesn't work on any of the RT3xxx systems I tested. Signed-off-by: Daniel Golle dgo...@allnet.de --- ...10-rt2x00-mac80211-manage-AP-netdev-carrier-state.patch | 14 ++ 1 file changed, 14 insertions(+) create

[OpenWrt-Devel] [PATCH 6/6 updated] mac80211: add support for Rt3352 in rt2x00 driver

2012-07-19 Thread Daniel Golle
Forgot to do make package/mac80211/update, so the previously posted patch wasn't in sync with compat-wireless. Now fixed. Signed-off-by: Daniel Golle dgo...@allnet.de --- .../patches/620-rt2x00-support-rt3352.patch| 445 + 1 file changed, 445 insertions(+) create

Re: [OpenWrt-Devel] Insane (kernel-size-related?) Unhandled kernel unaligned access with Fatal exception in interrupt

2012-07-19 Thread Rafał Miłecki
2012/7/19 John Crispin j...@phrozen.org: On 19/07/12 09:44, Rafał Miłecki wrote: 2012/7/19 John Crispin j...@phrozen.org: On 19/07/12 08:54, Rafał Miłecki wrote: I'm using WNDR4500 and network elf booting for testing OpenWRT. It's working quite nice at the moment (it doesn't crash, most of

[OpenWrt-Devel] [PATCH v3 1/3] ramips: add D-Link DIR-620 A1 support

2012-07-19 Thread Paul Fertser
Full functionality runtime tested, installation via OEM web-interface requires a follow-up patch. Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing bits (including the antiparallel wps led). Signed-off-by: Paul Fertser fercer...@gmail.com --- Changes since v2: -