Re: [OpenWrt-Devel] [PATCH] Initial Board Support for MOFI3500-3GN (ramips rt3052)

2011-03-31 Thread John Crispin
Hi Layne i get the following error when testing your patch John In file included from arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:158:0: /openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:14:6: error: nested redefinition of 'enum ramips_ma

[OpenWrt-Devel] [PATCH] base-files: copy uClibc files from external toolchain when uClibc is enabled

2011-03-31 Thread Sven Bachmann
Hi, when using an external toolchain with uClibc the Makefile of base-files only selects libc* files for copying to the firmware /lib dir but not the libuClibc-*.so and the ld-uClibc.so.0-Symlink. This prevents the final firmware from booting, because busybox (and others) rely on these files and

[OpenWrt-Devel] [PATCH] base-files: return success on lib-copying with external toolchain

2011-03-31 Thread Sven Bachmann
Hi, when using an external toolchain the base-files package copies libc, libgcc and others from the library directory. The file list is given as following in the .config: CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,

[OpenWrt-Devel] [PATCH] Version Bump Privoxy 3.0.17

2011-03-31 Thread Ian Leonard
Update privoxy to 3.0.17. This is a maintenance release. Signed-off-by: Ian Leonard Index: feeds/packages/net/privoxy/Makefile === --- feeds/packages/net/privoxy/Makefile (revision 26385) +++ feeds/packages/net/privoxy/Makefile (wor

[OpenWrt-Devel] wpad/hostapd got compiled for the wrong driver

2011-03-31 Thread Hanno Schupp
I have a TP-Link MR3220 with trunk 25818 installed all is going well but wifi is not coming up. There seems to be an issue with th driver. wifi up triggers the following output: # wifi up Configuration file: /var/run/hostapd-phy0.conf Line 2: invalid/unknown driver 'nl80211' Line 43: unknown conf

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-03-31 Thread Yeoh Chun Yeow
Ok I found the script. read-all-adm output attach. On Fri, Apr 1, 2011 at 9:19 AM, Yeoh Chun Yeow wrote: > Please send me the script that you mentioned > > I have run the following: > > :~# swconfig dev eth1 vlan 2 set ports '0 1 2 3t 4t 5t' > :~# swconfig dev eth1 get addr > 0 > :~# swconfig de

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-03-31 Thread Yeoh Chun Yeow
Please send me the script that you mentioned I have run the following: :~# swconfig dev eth1 vlan 2 set ports '0 1 2 3t 4t 5t' :~# swconfig dev eth1 get addr 0 :~# swconfig dev eth1 get data 65535 dmesg Infineon ADM6996 ag71xx-mdio:10: set_pvid port 0 vlan 2 Infineon ADM6996 ag71xx-mdio:10: set_

Re: [OpenWrt-Devel] [PATCH] Initial Board Support for MOFI3500-3GN (ramips rt3052)

2011-03-31 Thread Layne Edwards
No line wrapping this time! Signed-off-by: Layne Edwards Index: target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig === --- target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig (revision 26383) +++ target/linux/ramips/

Re: [OpenWrt-Devel] [PATCH] Initial Board Support for MOFI3500-3GN (ramips rt3052)

2011-03-31 Thread Layne Edwards
Ughhh... my patch got wrapped. Try this one: --- Index: target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig === --- target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig (revision 26383) +++ target/linux/ramips/files/arc

[OpenWrt-Devel] [PATCH] Initial Board Support for MOFI3500-3GN (ramips rt3052)

2011-03-31 Thread Layne Edwards
This patch adds initial board support for the MoFi Network MOFI3500-3GN (Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG). This router is basically the NA version of the HW550-3G. Signed-off-by: Layne Edwards --- Index: target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig ===

Re: [OpenWrt-Devel] [PATCH] Updated versions of NaCl and Quicktun

2011-03-31 Thread Otto Solares
On Thu, Mar 31, 2011 at 09:40:35PM +0200, Matthias Schiffer wrote: > Hi, > this updates NaCl to version 20110221 and Quicktun to 2.1.6. > > Also I improved the Quicktun init script so it doesn't fail when Quicktun > takes more than 1 second to start. Hey, this package is excellent, thank you! -

[OpenWrt-Devel] [PATCH] Updated versions of NaCl and Quicktun

2011-03-31 Thread Matthias Schiffer
Hi, this updates NaCl to version 20110221 and Quicktun to 2.1.6. Also I improved the Quicktun init script so it doesn't fail when Quicktun takes more than 1 second to start. Signed-off-by: Matthias Schiffer -- Index: net/quicktun/files/quicktun.init

Re: [OpenWrt-Devel] block-mount overrides /etc/config/fstab as defined by target

2011-03-31 Thread Daniel Dickinson
On Thu, 31 Mar 2011 20:09:07 +0200 "Ithamar R. Adema" wrote: > > > > Do you also remove the $(INTALL_DATA) ./files/fstab.config > > $(1)/etc/config/fstab ? > > > > If not then the file should still be installed regardless of the > > conffiles. AFAIK conffiles just says don't overwrite if it a

[OpenWrt-Devel] Adding support to a BCM96348 device

2011-03-31 Thread Carlos Baiget
Hello all, I'm new to Open-Wrt and I'm interested in adding support to a BCM9348 device currently seems unsupported. The device is an adsl-voip router called Telsey CPVA502+ which runs linux. I don't mind giving up adsl or h323 voip when using OpenWrt, but would like to use it as a wireless

Re: [OpenWrt-Devel] block-mount overrides /etc/config/fstab as defined by target

2011-03-31 Thread Ithamar R. Adema
Hi Daniel, On Thu, 2011-03-31 at 12:20 -0400, Daniel Dickinson wrote: > On Wed, 30 Mar 2011 19:14:42 +0200 > "Ithamar R. Adema" wrote: > > If a target has a /etc/config/fstab file in its base-files > > (target/linux/$(TARGET)/base-files/etc/config/fstab) and has > > block-mount as package enabled

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-03-31 Thread Peter Lebbing
On -10/01/37 20:59, John Crispin wrote: > can you post a link to the patch ? Also using pointers about patchwork use recently posted here, I unearthed my patch: http://patchwork.midlink.org/patch/574/ Apparently patchwork thought that my one-line fix superseded a 666-line patch file :). That wo

Re: [OpenWrt-Devel] [OpenWrt-Tickets] [OpenWrt] #9143: Kernel oops in preinit after erasing jffs2 partition on ramips rt305x

2011-03-31 Thread Daniel Dickinson
> So I think I have identified the problem... I just don't have a > solution yet. Thank you for the analysis. Now to try to find time to work on it Regards Daniel -- hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my

Re: [OpenWrt-Devel] block-mount overrides /etc/config/fstab as defined by target

2011-03-31 Thread Daniel Dickinson
On Wed, 30 Mar 2011 19:14:42 +0200 "Ithamar R. Adema" wrote: > Hello, > > After a recent upgrade to latest Backfire I bumped into an interesting > problem. > > If a target has a /etc/config/fstab file in its base-files > (target/linux/$(TARGET)/base-files/etc/config/fstab) and has > block-mount

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-03-31 Thread Peter Lebbing
On 31/03/11 17:08, Yeoh Chun Yeow wrote: > Yes, I will do that. By the way, what should I check with debug info? Nothing needs to be checked. But the read-all-adm script uses a facility in the driver that is only compiled in when DEBUG is enabled. It reads the contents of all addressable register

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-03-31 Thread Yeoh Chun Yeow
Yes, I will do that. By the way, what should I check with debug info? On Thu, Mar 31, 2011 at 8:53 PM, David Goodenough < david.goodeno...@linkchoose.co.uk> wrote: > Well the first problem is to detect that this is an FC not an M. This code > was written on the assumption (as I understand it) th

Re: [OpenWrt-Devel] update linux to 2.6.37.6 - patch attached

2011-03-31 Thread Peter Wagner
you should at least try make oldconfig befor you compile the kernel ... Am Donnerstag, 31. März 2011, 00:02:08 schrieb Peter Wagner: > did you fetch the newest trunk? > and > make target/linux/clean ; make oldconfig and then make? > > Am Mittwoch, 30. März 2011, 23:59:33 schrieb Maarten Bezemer:

Re: [OpenWrt-Devel] iptables / missing libip4tc.so.0

2011-03-31 Thread Bastian Bittorf
> > Did you forget to run make oldconfig after updating? Yes, again I have learned something. Is it safe, to always do "make oldconfig" when going with trunk, instead of a simple "make"? Every morning i do: cd ../packages git pull cd ../openwrt git pull get_coffee & make V=99 > Does this error

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-03-31 Thread David Goodenough
Well the first problem is to detect that this is an FC not an M. This code was written on the assumption (as I understand it) that it would only work on the M, but I had a suspicion that it would also work on the FC but I could not get a kernel built to test it (my bad). We obviously can not si

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-03-31 Thread Yeoh Chun Yeow
It seems that ADM6996FC is different from ADM6996M. How to ensure the port get tagged? Is this by simply modifying Configuration register Bit 4? On Thu, Mar 31, 2011 at 3:27 PM, Yeoh Chun Yeow wrote: > > > On Wed, Mar 30, 2011 at 10:52 PM, Yeoh Chun Yeow > wrote: > >> Dear all, >> >> I am able t

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-03-31 Thread Yeoh Chun Yeow
On Wed, Mar 30, 2011 at 10:52 PM, Yeoh Chun Yeow wrote: > Dear all, > > I am able to get the patch works by adding the following in mach-ubnt.c: > > ar71xx_eth1_data.phy_mask = UBNT_RS_LAN_PHYMASK > > However, there is two issues here: > 1. RouterStation has two ports on ETH1. One port can only be