openwrt.git
11 years agoadd .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in...
nbd [Tue, 8 May 2012 13:30:49 +0000 (13:30 +0000)]
add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files

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

11 years ago[package] ppp: remove stray bracked in ppp-up script, thanks swalker
jow [Mon, 7 May 2012 22:41:41 +0000 (22:41 +0000)]
[package] ppp: remove stray bracked in ppp-up script, thanks swalker

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

11 years agoar71xx: fix build error if PCI is disabled
juhosg [Mon, 7 May 2012 21:16:22 +0000 (21:16 +0000)]
ar71xx: fix build error if PCI is disabled

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

11 years agokernel: update linux 3.3 to 3.3.5
juhosg [Mon, 7 May 2012 20:11:43 +0000 (20:11 +0000)]
kernel: update linux 3.3 to 3.3.5

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

11 years agopxa: remove 2.6.37 support
juhosg [Mon, 7 May 2012 17:40:15 +0000 (17:40 +0000)]
pxa: remove 2.6.37 support

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

11 years agopxa: switch to 3.3 and mark it as broken
juhosg [Mon, 7 May 2012 17:40:09 +0000 (17:40 +0000)]
pxa: switch to 3.3 and mark it as broken

It is working in qemu, but it has not been tested on real hardware.

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

11 years agopxa: add support for 3.3
juhosg [Mon, 7 May 2012 17:40:06 +0000 (17:40 +0000)]
pxa: add support for 3.3

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

11 years agoatheros: Fix compilation
jow [Mon, 7 May 2012 17:06:39 +0000 (17:06 +0000)]
atheros: Fix compilation

With our recent switch to the 3.3 kernel target, some headers were
occidentally omitted.

Signed-off-by: Jonathan Bither <jonbither@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31640 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobase-files: wait for wifi modules to settle
jogo [Sun, 6 May 2012 21:25:42 +0000 (21:25 +0000)]
base-files: wait for wifi modules to settle

On slower devices wifi drivers might take too long for detecting
devices, resulting in the wifi detect call not seeing them.

This was observed on a bcm6348 with bcm4318 wifi. Adding a one second
pause was enough for b43 to expose the device.

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

11 years agobcm63xx: fix a race between PCI bus scan and fallback sprom registration
jogo [Sun, 6 May 2012 21:25:34 +0000 (21:25 +0000)]
bcm63xx: fix a race between PCI bus scan and fallback sprom registration

The fallback sprom handler was installed too late, resulting in ssb
failing to get a valid sprom on some devices.

Fixes #11384.

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

11 years agokernel: rewrite the phy packet hook, put it in the network stack to avoid having...
nbd [Sun, 6 May 2012 21:19:14 +0000 (21:19 +0000)]
kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes

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

11 years agopptp: fix installation path for netifd proto handler
nbd [Sun, 6 May 2012 21:19:04 +0000 (21:19 +0000)]
pptp: fix installation path for netifd proto handler

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

11 years agobrcm47xx: add gpio_request_one()
hauke [Sun, 6 May 2012 20:44:37 +0000 (20:44 +0000)]
brcm47xx: add gpio_request_one()

This fixes a compile error with kernel 3.3.

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

11 years agokernel: remove kernel modules and references to kernels <= 2.6.36
hauke [Sun, 6 May 2012 20:43:17 +0000 (20:43 +0000)]
kernel: remove kernel modules and references to kernels <= 2.6.36

OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.

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

11 years agokernel: remove kmod-usb-serial-airprime
hauke [Sun, 6 May 2012 20:40:54 +0000 (20:40 +0000)]
kernel: remove kmod-usb-serial-airprime

This was removed from kernel 2.6.27

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

11 years agokernel: remove kmod-usb-video
hauke [Sun, 6 May 2012 20:40:19 +0000 (20:40 +0000)]
kernel: remove kmod-usb-video

This was remove in kernel 2.6.38 and is not needed any more.

The last commit (r31631) has the wrong message, kmod-usb-phidget was removed in kernel 2.6.30.

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

11 years agokernel: remove kmod-usb-video
hauke [Sun, 6 May 2012 20:37:08 +0000 (20:37 +0000)]
kernel: remove kmod-usb-video

This was remove in kernel 2.6.38 and is not needed any more.

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

11 years agokernel: add video-videobuf2
hauke [Sun, 6 May 2012 20:35:54 +0000 (20:35 +0000)]
kernel: add video-videobuf2

This should fix #11349 and #11142

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

11 years agokernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions
hauke [Sun, 6 May 2012 20:34:55 +0000 (20:34 +0000)]
kernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions

This module is available on all supported kernel versions

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

11 years agokernel: add kmod-video-gspca-konica and remove kmod-video-konica
hauke [Sun, 6 May 2012 20:34:00 +0000 (20:34 +0000)]
kernel: add kmod-video-gspca-konica and remove kmod-video-konica

kmod-video-konica was removed from kernel 2.6.38 and is now replaced by kmod-video-gspca-konica

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

11 years agokernel: remove kmod-video-ov511 and kmod-video-ovcamchip
hauke [Sun, 6 May 2012 20:33:17 +0000 (20:33 +0000)]
kernel: remove kmod-video-ov511 and kmod-video-ovcamchip

These two modules where removed from kernel with kernel version 2.6.36, use kmod-video-gspca-ov519 instead.

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

11 years agoatheros: clean up the patches some more
nbd [Sun, 6 May 2012 17:15:00 +0000 (17:15 +0000)]
atheros: clean up the patches some more

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

11 years agoatheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer...
nbd [Sun, 6 May 2012 17:08:30 +0000 (17:08 +0000)]
atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels

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

11 years ago[tools] scons: fix compatibility with python 3, upstream still does not support it...
jow [Sun, 6 May 2012 17:04:37 +0000 (17:04 +0000)]
[tools] scons: fix compatibility with python 3, upstream still does not support it...

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

11 years agoAR7: don't mark as broken
jogo [Sun, 6 May 2012 14:04:19 +0000 (14:04 +0000)]
AR7: don't mark as broken

Linux 3.3.4 boots fine on my AR7 device.

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

11 years agoubus: update to latest version, add LUAPATH to cmake options - fixes #11398
nbd [Sun, 6 May 2012 08:27:40 +0000 (08:27 +0000)]
ubus: update to latest version, add LUAPATH to cmake options - fixes #11398

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

11 years agoscons: override the platform instead of using the host one - fixes build issues on...
nbd [Sat, 5 May 2012 21:02:35 +0000 (21:02 +0000)]
scons: override the platform instead of using the host one - fixes build issues on non-linux systems

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

11 years ago[package] ubus: update to current git, package up libubus-lua
jow [Sat, 5 May 2012 20:47:38 +0000 (20:47 +0000)]
[package] ubus: update to current git, package up libubus-lua

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

11 years agotools: add scons (patch by Dave Taht)
nbd [Sat, 5 May 2012 17:37:34 +0000 (17:37 +0000)]
tools: add scons (patch by Dave Taht)

This makes it more possible to build scons based applications
for openwrt.

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

11 years agoar7: remove 2.6.37 support
juhosg [Sat, 5 May 2012 17:32:43 +0000 (17:32 +0000)]
ar7: remove 2.6.37 support

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

11 years agoar7: switch to 3.3 and mark the target as broken
juhosg [Sat, 5 May 2012 17:32:41 +0000 (17:32 +0000)]
ar7: switch to 3.3 and mark the target as broken

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

11 years agoar7: add 3.3 support
juhosg [Sat, 5 May 2012 17:32:39 +0000 (17:32 +0000)]
ar7: add 3.3 support

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

11 years agoar7: fix kernel_entry extraction
juhosg [Sat, 5 May 2012 17:32:36 +0000 (17:32 +0000)]
ar7: fix kernel_entry extraction

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

11 years agopackage/ar7-atm: allow to build on 3.3
juhosg [Sat, 5 May 2012 17:32:33 +0000 (17:32 +0000)]
package/ar7-atm: allow to build on 3.3

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

11 years agopackage/ar7-atm: refresh patches
juhosg [Sat, 5 May 2012 17:32:29 +0000 (17:32 +0000)]
package/ar7-atm: refresh patches

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

11 years agoar71xx: add profile and build image for the TL-WR1041N v2 board
juhosg [Sat, 5 May 2012 17:02:41 +0000 (17:02 +0000)]
ar71xx: add profile and build image for the TL-WR1041N v2 board

Patch-by: Vince Huang <axishero@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31610 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agofirmware-utils/mktplinkfw: add support for the TL-WR1041N v2
juhosg [Sat, 5 May 2012 17:02:38 +0000 (17:02 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WR1041N v2

Patch-by: Vince Huang <axishero@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31609 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add support for the TP-Link TL-WR1041N v2 board
juhosg [Sat, 5 May 2012 17:02:35 +0000 (17:02 +0000)]
ar71xx: add support for the TP-Link TL-WR1041N v2 board

Patch-by: Vince Huang <axishero@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31608 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agopptp: kill the call manager process on shutdown
nbd [Sat, 5 May 2012 16:56:42 +0000 (16:56 +0000)]
pptp: kill the call manager process on shutdown

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

11 years agopptp: add netifd support
nbd [Sat, 5 May 2012 16:56:28 +0000 (16:56 +0000)]
pptp: add netifd support

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

11 years agopptp: remove the defaultroute option from options.pptp, this is managed by generic...
nbd [Sat, 5 May 2012 16:56:24 +0000 (16:56 +0000)]
pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code

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

11 years agonetifd: update to latest version, adds support for host route dependencies
nbd [Sat, 5 May 2012 16:56:20 +0000 (16:56 +0000)]
netifd: update to latest version, adds support for host route dependencies

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

11 years agoar71xx: update 3.3 patches
juhosg [Sat, 5 May 2012 13:56:35 +0000 (13:56 +0000)]
ar71xx: update 3.3 patches

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

11 years agoar71xx: fix a typo in the db120 mach file
juhosg [Sat, 5 May 2012 13:56:30 +0000 (13:56 +0000)]
ar71xx: fix a typo in the db120 mach file

Reported-by: Sven Eckelmann <sven@narfation.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31601 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agopptp: compile with the openwrt cflags instead of -O0
nbd [Sat, 5 May 2012 13:06:33 +0000 (13:06 +0000)]
pptp: compile with the openwrt cflags instead of -O0

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

11 years agobrcm47xx: update target to kernel 3.3
hauke [Sat, 5 May 2012 12:53:37 +0000 (12:53 +0000)]
brcm47xx: update target to kernel 3.3

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

11 years agoinclude/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE
juhosg [Sat, 5 May 2012 12:48:35 +0000 (12:48 +0000)]
include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE

This fixes the following errors:

  CALL    arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer axpression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h

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

11 years agolinux/2.6.32: R.I.P.
juhosg [Sat, 5 May 2012 11:43:34 +0000 (11:43 +0000)]
linux/2.6.32: R.I.P.

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

11 years agordc: remove 2.6.32 support
juhosg [Sat, 5 May 2012 11:43:32 +0000 (11:43 +0000)]
rdc: remove 2.6.32 support

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

11 years agordc: switch to 3.3 and mark the target as broken
juhosg [Sat, 5 May 2012 11:43:30 +0000 (11:43 +0000)]
rdc: switch to 3.3 and mark the target as broken

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

11 years agorb532: remove 2.6.32 support
juhosg [Sat, 5 May 2012 11:43:29 +0000 (11:43 +0000)]
rb532: remove 2.6.32 support

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

11 years agorb532: switch to 3.3 and mark the target broken
juhosg [Sat, 5 May 2012 11:43:26 +0000 (11:43 +0000)]
rb532: switch to 3.3 and mark the target broken

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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