openwrt.git
12 years agorb532: add 3.3 support
juhosg [Sat, 5 May 2012 11:43:23 +0000 (11:43 +0000)]
rb532: add 3.3 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31592 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: remove broken flag
juhosg [Sat, 5 May 2012 11:43:21 +0000 (11:43 +0000)]
mpc83xx: remove broken flag

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31591 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: populate network config from an uci-default script
juhosg [Sat, 5 May 2012 11:43:19 +0000 (11:43 +0000)]
mpc83xx: populate network config from an uci-default script

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31590 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: cleanup rb333.dts
juhosg [Sat, 5 May 2012 11:43:16 +0000 (11:43 +0000)]
mpc83xx: cleanup rb333.dts

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31589 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: fix MAC addresses on the RB333
juhosg [Sat, 5 May 2012 11:43:13 +0000 (11:43 +0000)]
mpc83xx: fix MAC addresses on the RB333

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31588 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: fix build warnings in RB333/600 dtb wrappers
juhosg [Sat, 5 May 2012 11:43:10 +0000 (11:43 +0000)]
mpc83xx: fix build warnings in RB333/600 dtb wrappers

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31587 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/2.6.32: fix layer7 patch
juhosg [Sat, 5 May 2012 07:20:13 +0000 (07:20 +0000)]
linux/2.6.32: fix layer7 patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31586 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[omap4]: upgrade to 3.3, enable framebuffer
kaloz [Thu, 3 May 2012 21:51:58 +0000 (21:51 +0000)]
[omap4]: upgrade to 3.3, enable framebuffer

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31576 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[mac80211]: switch to the new linux-firmware git tree, use the new wl12xx firmware...
kaloz [Thu, 3 May 2012 21:50:41 +0000 (21:50 +0000)]
[mac80211]: switch to the new linux-firmware git tree, use the new wl12xx firmware files

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31575 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: add missing NULL terminator to partition parser list
jogo [Thu, 3 May 2012 21:03:50 +0000 (21:03 +0000)]
adm5120: add missing NULL terminator to partition parser list

Fixes #11372.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31574 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobrcm47xx: add support for kernel 3.3
hauke [Thu, 3 May 2012 20:18:41 +0000 (20:18 +0000)]
brcm47xx: add support for kernel 3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31573 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] uhttpd: display errors in init script, code formatting changes, bump packag...
jow [Thu, 3 May 2012 17:19:22 +0000 (17:19 +0000)]
[package] uhttpd: display errors in init script, code formatting changes, bump package version

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31572 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agouhttpd: added uhttpd.docroot
jow [Thu, 3 May 2012 17:19:20 +0000 (17:19 +0000)]
uhttpd: added uhttpd.docroot

Passes the document-root to the Lua handler by placing it in uhttpd.docroot.

It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31571 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoFixed: [PATCH 2/3] uhttpd URL-codec enhancements.
jow [Thu, 3 May 2012 17:19:18 +0000 (17:19 +0000)]
Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.

My apologies, the 2nd of those patches had a syntax error -- that's what
I get for making a last-minute edit, even to the comments, without
testing! :-p

Here is the corrected patch.

-- David

From d259cff104d2084455476b82e92a3a27524f4263 Mon Sep 17 00:00:00 2001
From: David Favro <openwrt@meta-dynamic.com>
Date: Fri, 27 Apr 2012 14:17:52 -0400
Subject: [PATCH] uhttpd URL-codec enhancements.

* uh_urlencode() and uh_urldecode() now return an error condition for
  buffer-overflow and malformed-encoding rather than normal return with corrupt
  or truncated data.  As HTTP request processing is currently implemented, this
  causes a 404 HTTP status returned to the client, while 400 is more
  appropriate.

* Exposed urlencode() to Lua.

* Lua's uhttpd.urlencode() and .urldecode() now raise an error condition for
  buffer-overflow and malformed-encoding rather than normal return with
  incorrect data.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31570 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agouhttpd URL-codec bug fixes.
jow [Thu, 3 May 2012 17:19:16 +0000 (17:19 +0000)]
uhttpd URL-codec bug fixes.

* Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested
  input-buffer index against output-buffer length].  In reality, this would not
  typically cause an overflow on decode, where the output string would be
  expected to be shorter than the input string; and uh_urlencode() seems to have
  been unreferenced in the source.

* Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the
  input-string.  While this could manifest in C code, the result was most
  egregious when called from Lua, where it caused an extra null byte to be
  embedded at the end of the output string.

* uh_urlencode() cleanup: removed redundant bitwise-and.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31569 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agopackage/pptp: remove a stray bracket
juhosg [Thu, 3 May 2012 13:29:36 +0000 (13:29 +0000)]
package/pptp: remove a stray bracket

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31568 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoFix iptables abuse of kernel header files. Use exported headers instead.
juhosg [Thu, 3 May 2012 09:43:10 +0000 (09:43 +0000)]
Fix iptables abuse of kernel header files. Use exported headers instead.

[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoFix pptp handling of routes to server.
juhosg [Thu, 3 May 2012 09:39:01 +0000 (09:39 +0000)]
Fix pptp handling of routes to server.

The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.

Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoAdd ppp-mod-pppol2tp subpackage to ppp
juhosg [Thu, 3 May 2012 09:38:58 +0000 (09:38 +0000)]
Add ppp-mod-pppol2tp subpackage to ppp

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: W306R V2.0 - GPIO and Network fixes
juhosg [Wed, 2 May 2012 19:17:59 +0000 (19:17 +0000)]
ramips: W306R V2.0 - GPIO and Network fixes

Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
       removing a line(default is correct), and reversed the
       Lan/wan layout LLLLW to WLLLL.

Added: image/Makefile now builds -factory.bin files. I am
       unsure of the accepted way to change the makefile but
       the name of the image needs to be 'linkn Kernel Image'
       in order to be accepted by the OEM firmware.

Known issue: eth0 (internal switch i think has mac address:
       00:11:22:33:44:55  but i think it should be same as
       the lan).
Known issue: Pressing the reset button has no noticable effect,
       i would expect the router to boot failsafe if being
       pressed on boot, reboot if short press and reset all
       to default if long press.

[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]

Signed-off-by: David Pearce <david_18051985@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31557 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: Make serial console for DIR-300-B1 work again
juhosg [Wed, 2 May 2012 19:17:58 +0000 (19:17 +0000)]
ramips: Make serial console for DIR-300-B1 work again

Make serial console for DIR-300-B1 work again.

With some recent change, "console=ttyS1,57600" was removed from the
default kernel command line, this adds the necessary mkcmdline
incantation to image/Makefile to add it there for this target.
This is quite likely broken for other targets as well.

Without this the console switches to ttyS0 instead of ttyS1 and
kernel output is missing, and the userspace comes up with 9600 baud
instead of 57600.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31556 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: remove 2.6.36 support
juhosg [Wed, 2 May 2012 18:27:26 +0000 (18:27 +0000)]
mpc83xx: remove 2.6.36 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31555 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: switch to 3.3
juhosg [Wed, 2 May 2012 18:27:25 +0000 (18:27 +0000)]
mpc83xx: switch to 3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31554 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: add support for 3.3
juhosg [Wed, 2 May 2012 18:27:22 +0000 (18:27 +0000)]
mpc83xx: add support for 3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31553 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: add more missing symbols
juhosg [Wed, 2 May 2012 18:27:19 +0000 (18:27 +0000)]
linux/3.3: add more missing symbols

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31552 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] openssl: update to 1.0.1b
florian [Wed, 2 May 2012 15:40:32 +0000 (15:40 +0000)]
[package] openssl: update to 1.0.1b

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31551 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[brcm63xx] use a define for the poll and debounce interval
florian [Wed, 2 May 2012 15:40:26 +0000 (15:40 +0000)]
[brcm63xx] use a define for the poll and debounce interval

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31550 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[scripts] ext-toolchain.sh: don't pass CFLAGS when wrapping ld
jow [Tue, 1 May 2012 22:45:55 +0000 (22:45 +0000)]
[scripts] ext-toolchain.sh: don't pass CFLAGS when wrapping ld

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31549 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: add more missing symbols
juhosg [Tue, 1 May 2012 08:00:26 +0000 (08:00 +0000)]
linux/3.3: add more missing symbols

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31548 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomove CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
juhosg [Tue, 1 May 2012 08:00:25 +0000 (08:00 +0000)]
move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31547 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[coldfire]: switch to 2.6.38
kaloz [Tue, 1 May 2012 07:00:17 +0000 (07:00 +0000)]
[coldfire]: switch to 2.6.38

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agorelayd: move the interface fixup to the right place
nbd [Mon, 30 Apr 2012 18:27:12 +0000 (18:27 +0000)]
relayd: move the interface fixup to the right place

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31545 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agorelayd: use config_load+fixup_interface instead of scan_interfaces to speed up startu...
nbd [Mon, 30 Apr 2012 18:24:00 +0000 (18:24 +0000)]
relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31544 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobase-files-network: add a fixup_interface function like with the netifd compatibility...
nbd [Mon, 30 Apr 2012 18:23:56 +0000 (18:23 +0000)]
base-files-network: add a fixup_interface function like with the netifd compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31543 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agorelayd: use an init script instead of a legacy network proto handler (fixes #11276)
nbd [Mon, 30 Apr 2012 18:23:52 +0000 (18:23 +0000)]
relayd: use an init script instead of a legacy network proto handler (fixes #11276)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31542 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agokernel: update linux 3.3 to 3.3.4
juhosg [Mon, 30 Apr 2012 08:38:11 +0000 (08:38 +0000)]
kernel: update linux 3.3 to 3.3.4

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoath9k: merge a ar93xx ht40 performance fix
nbd [Mon, 30 Apr 2012 08:20:34 +0000 (08:20 +0000)]
ath9k: merge a ar93xx ht40 performance fix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31540 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211: fix station lookup issues
nbd [Mon, 30 Apr 2012 07:57:09 +0000 (07:57 +0000)]
mac80211: fix station lookup issues

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31539 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211: load lib80211 after cfg80211 (#11342)
nbd [Sun, 29 Apr 2012 21:00:17 +0000 (21:00 +0000)]
mac80211: load lib80211 after cfg80211 (#11342)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31537 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux: rtl836x: add a generic reset_switch function
juhosg [Sun, 29 Apr 2012 18:29:31 +0000 (18:29 +0000)]
linux: rtl836x: add a generic reset_switch function

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31536 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
juhosg [Sun, 29 Apr 2012 18:29:29 +0000 (18:29 +0000)]
linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31535 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux: rtl836x: add a reset_chip callback to rtl8366_smi_ops
juhosg [Sun, 29 Apr 2012 18:29:26 +0000 (18:29 +0000)]
linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31534 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: allow to disable link polling on unused PHYs
juhosg [Sun, 29 Apr 2012 18:29:24 +0000 (18:29 +0000)]
ar71xx: allow to disable link polling on unused PHYs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agorb532: remove 2.6.35 support
juhosg [Sun, 29 Apr 2012 16:56:07 +0000 (16:56 +0000)]
rb532: remove 2.6.35 support

The generic 2.6.35 support has been remove long time ago.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31532 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: refresh patches
juhosg [Sun, 29 Apr 2012 16:56:03 +0000 (16:56 +0000)]
linux/3.3: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31531 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agordc: add 3.3 support
juhosg [Sun, 29 Apr 2012 15:59:49 +0000 (15:59 +0000)]
rdc: add 3.3 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31530 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc85xx: add support for 3.3
juhosg [Sun, 29 Apr 2012 15:55:28 +0000 (15:55 +0000)]
mpc85xx: add support for 3.3

Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31529 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoorion: add 3.3 support
juhosg [Sun, 29 Apr 2012 15:20:40 +0000 (15:20 +0000)]
orion: add 3.3 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31528 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: yet another missing symbol
juhosg [Sun, 29 Apr 2012 15:08:24 +0000 (15:08 +0000)]
linux/3.3: yet another missing symbol

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31527 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agopackage/kernel: add module for the Pericom PT7C4338 RTC chip
juhosg [Sun, 29 Apr 2012 15:08:23 +0000 (15:08 +0000)]
package/kernel: add module for the Pericom PT7C4338 RTC chip

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31526 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: add support for the Pericom PT7C4338 I2C RTC chip
juhosg [Sun, 29 Apr 2012 15:08:22 +0000 (15:08 +0000)]
linux/3.3: add support for the Pericom PT7C4338 I2C RTC chip

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31525 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agopackage/kernel: add i2c module support for Freescale MPC processors
juhosg [Sun, 29 Apr 2012 15:08:21 +0000 (15:08 +0000)]
package/kernel: add i2c module support for Freescale MPC processors

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31524 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc85xx: add kmod-booke-wdt to the default packages
juhosg [Sun, 29 Apr 2012 15:00:38 +0000 (15:00 +0000)]
mpc85xx: add kmod-booke-wdt to the default packages

Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31523 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agopackage/kernel: add module for the Booke watchdog
juhosg [Sun, 29 Apr 2012 15:00:37 +0000 (15:00 +0000)]
package/kernel: add module for the Booke watchdog

Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31522 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc85xx: don't override CONFIG_WATHCDOG
juhosg [Sun, 29 Apr 2012 15:00:36 +0000 (15:00 +0000)]
mpc85xx: don't override CONFIG_WATHCDOG

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31521 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux: move CONFIG_BOOKE_WDT to the generic config
juhosg [Sun, 29 Apr 2012 15:00:34 +0000 (15:00 +0000)]
linux: move CONFIG_BOOKE_WDT to the generic config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31520 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/2.6.36: R.I.P.
juhosg [Sun, 29 Apr 2012 15:00:33 +0000 (15:00 +0000)]
linux/2.6.36: R.I.P.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31519 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux: add broken flag to targets which are using 2.6.36
juhosg [Sun, 29 Apr 2012 15:00:32 +0000 (15:00 +0000)]
linux: add broken flag to targets which are using 2.6.36

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31518 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211: fix WDS AP authentication issues (#11261, #11318)
nbd [Sun, 29 Apr 2012 13:47:37 +0000 (13:47 +0000)]
mac80211: fix WDS AP authentication issues (#11261, #11318)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31517 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agonetifd: update to latest version, fixes address/route list handling issues and fixes...
nbd [Sun, 29 Apr 2012 12:20:10 +0000 (12:20 +0000)]
netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agohostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
nbd [Sun, 29 Apr 2012 11:14:53 +0000 (11:14 +0000)]
hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31515 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agopppd: fix parsing the ipv6-{up,down}-script option
nbd [Sun, 29 Apr 2012 10:08:33 +0000 (10:08 +0000)]
pppd: fix parsing the ipv6-{up,down}-script option

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31514 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: create a new subtarget for the RB1xx devices
juhosg [Sun, 29 Apr 2012 07:36:46 +0000 (07:36 +0000)]
adm5120: create a new subtarget for the RB1xx devices

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31513 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: share a common kernel config between the subtargets
juhosg [Sun, 29 Apr 2012 07:36:44 +0000 (07:36 +0000)]
adm5120: share a common kernel config between the subtargets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31512 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: merge 3.3 patches
juhosg [Sun, 29 Apr 2012 07:36:43 +0000 (07:36 +0000)]
adm5120: merge 3.3 patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31511 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: remove 2.6.32 support
juhosg [Sun, 29 Apr 2012 07:36:37 +0000 (07:36 +0000)]
adm5120: remove 2.6.32 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31510 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: switch to 3.3.3
juhosg [Sun, 29 Apr 2012 07:36:36 +0000 (07:36 +0000)]
adm5120: switch to 3.3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31509 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: fix macronix bootloc patch
juhosg [Sun, 29 Apr 2012 07:36:35 +0000 (07:36 +0000)]
adm5120: fix macronix bootloc patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31508 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UN
juhosg [Sun, 29 Apr 2012 07:36:33 +0000 (07:36 +0000)]
ramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UN

Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31507 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobroadcom-diag: add missing break into switch case statement.
hauke [Sat, 28 Apr 2012 23:30:05 +0000 (23:30 +0000)]
broadcom-diag: add missing break into switch case statement.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31506 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package/*] remove special treatment when using glibc - support got dropped
mirko [Sat, 28 Apr 2012 22:24:16 +0000 (22:24 +0000)]
[package/*] remove special treatment when using glibc - support got dropped

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain/glibc*] purge support for glibc - use eglibc instead!
mirko [Sat, 28 Apr 2012 22:24:12 +0000 (22:24 +0000)]
[toolchain/glibc*] purge support for glibc - use eglibc instead!

for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain/eglibc] drop support for eglibc version trunk/HEAD
mirko [Sat, 28 Apr 2012 20:47:48 +0000 (20:47 +0000)]
[toolchain/eglibc] drop support for eglibc version trunk/HEAD

When selecting a specific eglibc version, it comes with a specific SVN
revision that should not be modified as it (more or less) correspond to
a tagged release. This patch disable the possibility to select a specific
SVN revision on known eglib versions.

This patch also disables the possibility to select the trunk branch of
eglibc. There are multiple reasons for that:

* trunk/HEAD may not even compile

* the OpenWrt built system makes using trunk/HEAD a difficult thing, as
OpenWRT fetches the source tree and store it in a compressed tar archive.
Subsequent build get the source from the tar archive - not from SVN,
making the use of trunk/HEAD largelly innefective.

* we cannot know the corresponding version of trunk/HEAD, meaning that
we'll face compiling issues when we'll try to copy the libc files -
unless the build system is fixed with this specific issue in mind.

Signed-off-by: Emmanuel Deloget <logout@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31502 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain/eglibc] set version string of eglibc version 2.14 to 2.14.1
mirko [Sat, 28 Apr 2012 20:18:06 +0000 (20:18 +0000)]
[toolchain/eglibc] set version string of eglibc version 2.14 to 2.14.1

eglibc version number depends on the branch and on the maintenance release
(i.e. the SVN revision). Changing the revision may change the maintenance
version. This patch correlate the SVN revision to the correct version
number - without this change  eglibc 2.14 provoke build errors when
building the base-files package (example, for 2.14):

$ make package/base-files/compile V=1
   make[1] package/base-files/compile
   make[2] -C package/opkg host-compile
   make[2] -C package/base-files-network compile
   make[2] -C package/base-files compile
cp: cannot stat `/home/me/openwrt/trunk/staging_dir/toolchain-arm_v7-a_gcc-4.6-linaro_eglibc-trunk_eabi/lib/ld-2.14.so': No such file or directory

Signed-off-by: Emmanuel Deloget <logout@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31501 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain/eglibc] drop eglibc version 2.12
mirko [Sat, 28 Apr 2012 20:10:32 +0000 (20:10 +0000)]
[toolchain/eglibc] drop eglibc version 2.12

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31500 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[packages/{e2fsprogs,util-linux,util-linux-ng}] update/rename those packages
mirko [Sat, 28 Apr 2012 19:54:54 +0000 (19:54 +0000)]
[packages/{e2fsprogs,util-linux,util-linux-ng}] update/rename those packages

This patch makes several changes to the util-linux(-ng) package:
 * rename to util-linux (official name now, util-linux-ng got merged)
 * bump to last stable version 2.21.1 (was 2.13.0.1 before)
 * add several new packages
 * sort packages within Makefile
 * remove patches which got merged upstream

This patch makes some changes to the e2fsprogs package:
 * bump to last stable version 1.42.2
 * libraries moved from e2fsprogs to util-linux - take care of that

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31499 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm8668: merge 3.3 fixes
juhosg [Sat, 28 Apr 2012 10:41:43 +0000 (10:41 +0000)]
adm8668: merge 3.3 fixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31497 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm8668: nuke 2.6.36 support
juhosg [Sat, 28 Apr 2012 10:39:47 +0000 (10:39 +0000)]
adm8668: nuke 2.6.36 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31496 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm8668: switch to 3.3
juhosg [Sat, 28 Apr 2012 10:38:53 +0000 (10:38 +0000)]
adm8668: switch to 3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31495 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] base-files: fix typo in 05_firstboot_skip script (#11359)
florian [Fri, 27 Apr 2012 16:49:16 +0000 (16:49 +0000)]
[package] base-files: fix typo in 05_firstboot_skip script (#11359)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31492 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[brcm63xx] switch to gpio-keys-polled
florian [Fri, 27 Apr 2012 16:44:48 +0000 (16:44 +0000)]
[brcm63xx] switch to gpio-keys-polled

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31491 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] fix kmod-pcmcia-serial for 3.3+ kernels
florian [Fri, 27 Apr 2012 16:44:44 +0000 (16:44 +0000)]
[package] fix kmod-pcmcia-serial for 3.3+ kernels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31490 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain] gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
jow [Fri, 27 Apr 2012 12:05:34 +0000 (12:05 +0000)]
[toolchain] gcc: fix getenv() patches for 4.4.7 and 4.5-linaro

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31489 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: yet another missing symbol
juhosg [Fri, 27 Apr 2012 06:31:43 +0000 (06:31 +0000)]
linux/3.3: yet another missing symbol

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31488 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobuild: fix bad file descriptor issues with the verbosity changes
nbd [Thu, 26 Apr 2012 18:13:17 +0000 (18:13 +0000)]
build: fix bad file descriptor issues with the verbosity changes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31486 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agocmake: add support for V=cs
nbd [Thu, 26 Apr 2012 17:54:03 +0000 (17:54 +0000)]
cmake: add support for V=cs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31485 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobuild: rework verbosity level selection
nbd [Thu, 26 Apr 2012 17:53:56 +0000 (17:53 +0000)]
build: rework verbosity level selection

V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobrcm47xx: BCMA - Modified PCI CFG space access
hauke [Wed, 25 Apr 2012 20:32:17 +0000 (20:32 +0000)]
brcm47xx: BCMA - Modified PCI CFG space access

The existing code (prior to the patch) does an "ioremap_nocache" on a
subset of a memory region that I think has already been mapped, and then
un-maps that smaller region when it is finished.

Thanks Nathan Hintz for the patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31481 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm8668: add support for 3.3
juhosg [Wed, 25 Apr 2012 18:53:49 +0000 (18:53 +0000)]
adm8668: add support for 3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31480 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm8668: build gzip compressed uImage for testing
juhosg [Wed, 25 Apr 2012 18:53:48 +0000 (18:53 +0000)]
adm8668: build gzip compressed uImage for testing

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31479 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm8668: use a suffix for initramfs images
juhosg [Wed, 25 Apr 2012 18:53:46 +0000 (18:53 +0000)]
adm8668: use a suffix for initramfs images

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31478 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] kernel: fix packaging of 8250.ko with Linux 3.x
jow [Wed, 25 Apr 2012 13:43:15 +0000 (13:43 +0000)]
[package] kernel: fix packaging of 8250.ko with Linux 3.x
This commit fixes build breakage in package/kernel leading to missing
subsequent kmods like kmod-usb-serial, this should fix the missing
packages in ar71xx builds.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31477 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: enable MIB counters in the built-in switch of the AR934x
juhosg [Wed, 25 Apr 2012 13:02:11 +0000 (13:02 +0000)]
ar71xx: enable MIB counters in the built-in switch of the AR934x

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31476 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: remove 2.6.38 support
juhosg [Wed, 25 Apr 2012 12:57:35 +0000 (12:57 +0000)]
adm5120: remove 2.6.38 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31475 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: add 3.3 support
juhosg [Wed, 25 Apr 2012 12:57:33 +0000 (12:57 +0000)]
adm5120: add 3.3 support

Partially based on the 3.1 patches by Hartmut Knaack <knaack.h [at] gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31474 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: fix compiler warnings in the plat_nand driver
juhosg [Wed, 25 Apr 2012 12:57:29 +0000 (12:57 +0000)]
linux/3.3: fix compiler warnings in the plat_nand driver

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31473 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoadm5120: make 5GXi depends on CPU_LITTLE_ENDIAN
juhosg [Wed, 25 Apr 2012 12:57:26 +0000 (12:57 +0000)]
adm5120: make 5GXi depends on CPU_LITTLE_ENDIAN

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31472 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobrcm47xx: A couple of other (inconsequential) BCMA patches
hauke [Tue, 24 Apr 2012 21:56:42 +0000 (21:56 +0000)]
brcm47xx: A couple of other (inconsequential) BCMA patches

Noticed these while reviewing the code.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31471 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobrcm47xx: b44 fix workaround detection on some brcm47xx boards
hauke [Tue, 24 Apr 2012 20:35:46 +0000 (20:35 +0000)]
brcm47xx: b44 fix workaround detection on some brcm47xx boards

Because of api change of nvram_getenv, the workaround failed to detect the hardware.

Based on patch by b.sander

Fixes #11268.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31470 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[scripts/feeds] re-enable shallow git clones ('--depth 1')
mirko [Tue, 24 Apr 2012 18:19:16 +0000 (18:19 +0000)]
[scripts/feeds] re-enable shallow git clones ('--depth 1')

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31469 3c298f89-4303-0410-b956-a3cf2f4a3e73