[OpenWrt-Devel] [PATCH][Urgent?] Unbreak building images for TL-WR1043ND, TL-WR1041N-v2, TL-WR2543N

2012-08-25 Thread Paul Fertser
Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a regression with board= kernel command line parameter incorrectly initialised. The faulty builds propogated to the snapshots download area. This makes the device unbootable and TP-Link users have to attach the serial to recover.

[OpenWrt-Devel] [PATCH 1/1] openssl: requires linkage w/ libpthread

2012-08-25 Thread Philip Prindeville
openssl-util fails to link without pthread. Signed-off-by: Philip Prindeville Index: trunk/package/openssl/Makefile === --- trunk/package/openssl/Makefile (revision 33271) +++ trunk/package/openssl/Makefile (working copy) @

[OpenWrt-Devel] [PATCH 2/2] rtl8366: Support setting port speed/link advertisement

2012-08-25 Thread Tobias Diedrich
Support setting port speed/link advertisement for RTL8366. This implements port speed control for RTL8366RB/RTL8366S. Tested on RTL8366RB, works fine except for trying to force speed:1000 with auto negotation disabled (in which case the link will stay down in my tests, but I couldn't try forcing

[OpenWrt-Devel] [PATCH 1/2] swconfig: Add generic support for port speed/link advertisement control

2012-08-25 Thread Tobias Diedrich
Generic support for port speed/link advertisement control. This add generic support for port speed/link advertisement control to swconfig, similar to how the link attribute is handled. I kept it deliberately simple, the main goals are to be able to limit the maximum speed and set full-duplex/flow

[OpenWrt-Devel] [PATCH 0/2] swconfig: Generic support for port speed/link advertisement control

2012-08-25 Thread Tobias Diedrich
This patchset contains a first cut at adding generic support for port speed/link advertisement control. 1/2: Add generic support for port speed/link advertisement control 2/2: Implementation for rtl8366rb/s It is implemented similarly to the link attribute: root@OpenWrt:/# swconfig dev rtl8366rb

[OpenWrt-Devel] [PATCH] [packages] [gdb] gdbserver package dependency fix

2012-08-25 Thread shazz
Description : In the current trunk, gdbserver is not building anymore (with EGLIBC 2.15 selected) due to a missing dependency: Package gdbserver is missing dependencies for the following libraries: libthread_db.so.1 In order to fix it, the system shared lib libthread_db.so.1 is copied from the too

[OpenWrt-Devel] [PATCH] swconfig: Be more userfriendly and show available switches.

2012-08-25 Thread Tobias Diedrich
Be more userfriendly and show available switches. Show available switches in addition to the commandline when called with no arguments or if the supplied switch device could not be found. Signed-off-by: Tobias Diedrich Index: openwrt-ralink-swconfig/package/swconfig/src/cli.c =

[OpenWrt-Devel] [PATCH 5/5] ramips: Rename POC registers

2012-08-25 Thread Tobias Diedrich
Rename POC registers. The current code uses POC1-POC3. The datasheet uses: POC1: Port Control 0 POC1: Port Control 1 POC2: Port Control 2 So the first POC1 is a typo that should have been POC0, rename the registers to POC0-POC2 accordingly. Signed-off-by: Tobias Diedrich Index: openwrt-rali

[OpenWrt-Devel] [PATCH 4/5] ramips: Minor ramips_esw.c cleanup

2012-08-25 Thread Tobias Diedrich
Minor ramips_esw.c cleanup Stop handling VLAN setup in the kernel. Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for WL-351 and add some extra comments. Signed-off-by: Tobias Diedrich Index: openwrt-ralink-swconfig/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl3

[OpenWrt-Devel] [PATCH 3/5] ramips: Add switch setup to uci network defaults

2012-08-25 Thread Tobias Diedrich
Add switch setup to uci network defaults. The 'lan' attribute is used to decide into which vlan to put the port. Currently 'disable' is never set, but the intention is to use this for devices like the 8devices Carambola, which only has two ports hooked up to the SoC. Signed-off-by: Tobias Diedric

[OpenWrt-Devel] [PATCH 2/5] ramips: Add swconfig support to ramips_esw.c

2012-08-25 Thread Tobias Diedrich
Add swconfig support to ramips_esw.c This patch adds swconfig support for ramips_esw: Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external rtl8366rb on internal port 5). I've made sure that in the enable_vlan=0 case it behaves like a dumb switch, so external switches should work fine wit

[OpenWrt-Devel] [PATCH 1/5] ramips: ramips_esw.c indentation cleanup

2012-08-25 Thread Tobias Diedrich
Minor indentation cleanup. Prepare for the main swconfig patch by cleaning up indentation a bit. Signed-off-by: Tobias Diedrich Index: openwrt-ralink-swconfig/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c ===

[OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-25 Thread Tobias Diedrich
Patches in this patch series: 1/5: ramips-esw-indent.patch Minor indentation cleanup 2/5: ramips-esw-swconfig.patch Add swconfig support to ramips_esw.c 3/5: ramips-esw-uci-defaults.patch Add support to uci network defaults 4/5: ramips-esw-cleanup.patch Keep vlan unconfigured by default and rel

Re: [OpenWrt-Devel] [PATCH v2] Keep /etc/nginx/ on sysupgrade

2012-08-25 Thread Mark Mentovai
John Crispin wrote: > not merging any new stuff and/or updates atm ... > > --> > https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016411.html > > is there a specific reason, such as a security fix or is it just a > feature update ? > No security fixes here, just bug fixes. It's OK to

[OpenWrt-Devel] ag71xx: making the link state drop

2012-08-25 Thread Mark Mentovai
Is there a way to make the link state drop on an ag71xx interface, so that it appears to whatever equipment is connected to the port that the cable has been disconnected? I've got a WNDR3700-family device and I need to make it appear to the equipment connected to its eth1 interface that the cab

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

2012-08-25 Thread Hauke Mehrtens
On 08/22/2012 11:19 PM, Larry Finger wrote: > On 08/22/2012 04:05 PM, Hauke Mehrtens wrote: >> On 08/22/2012 08:45 PM, Larry Finger wrote: >>> On 08/22/2012 11:21 AM, Hauke Mehrtens wrote: On 07/18/2012 01:56 PM, Bastian Bittorf wrote: > hi devs! > > yesterday we had a breaktrough