openwrt/staging/ldir.git
12 years agosibyte: add 3.3 support
Gabor Juhos [Sat, 12 May 2012 10:49:26 +0000 (10:49 +0000)]
sibyte: add 3.3 support

SVN-Revision: 31680

12 years agoixp4xx: fix ixp4xx_crypto build error
Gabor Juhos [Sat, 12 May 2012 10:49:23 +0000 (10:49 +0000)]
ixp4xx: fix ixp4xx_crypto build error

SVN-Revision: 31679

12 years agoremove kmod-mvswitch, it does not work on kernels <3.2 and is not necessary as a...
Felix Fietkau [Fri, 11 May 2012 22:08:06 +0000 (22:08 +0000)]
remove kmod-mvswitch, it does not work on kernels <3.2 and is not necessary as a module anyway

SVN-Revision: 31678

12 years agodownload.pl: - cleanup cache handling code - use alternative m// and s/// delimiters...
Jo-Philipp Wich [Fri, 11 May 2012 18:17:15 +0000 (18:17 +0000)]
download.pl: - cleanup cache handling code - use alternative m// and s/// delimiters to get rid of tedious slash escaping - use multi-argument form of system() where possible to avoid quoting & escaping issues - avoid a temporary variable

SVN-Revision: 31677

12 years agoorion: remove the broken broken flag
Gabor Juhos [Thu, 10 May 2012 20:20:43 +0000 (20:20 +0000)]
orion: remove the broken broken flag

It is working on the Linksys WRT350N v2 at least:
http://pastebin.com/KCAbJZs9

Additionally, the flag was added to a wrong place
so it had no effect.

Thanks to StrikerNL for testing.

SVN-Revision: 31674

12 years agokirkwood: fix Kconfig symbol for NSA-310
Gabor Juhos [Wed, 9 May 2012 16:16:52 +0000 (16:16 +0000)]
kirkwood: fix Kconfig symbol for NSA-310

SVN-Revision: 31673

12 years agoAdd 3.3 config files
John Crispin [Wed, 9 May 2012 12:52:24 +0000 (12:52 +0000)]
Add 3.3 config files

SVN-Revision: 31672

12 years agoAdd missing 3.3 patches
John Crispin [Wed, 9 May 2012 12:52:21 +0000 (12:52 +0000)]
Add missing 3.3 patches

SVN-Revision: 31671

12 years agoDrop 2.6.32 support
John Crispin [Wed, 9 May 2012 12:52:19 +0000 (12:52 +0000)]
Drop 2.6.32 support

SVN-Revision: 31670

12 years agokirkwood: add support for the ZyXEL NSA-310
Gabor Juhos [Wed, 9 May 2012 11:38:43 +0000 (11:38 +0000)]
kirkwood: add support for the ZyXEL NSA-310

SVN-Revision: 31669

12 years agokirkwood: add RaidSonic ICY BOX IB-NAS62x0 board support
Gabor Juhos [Wed, 9 May 2012 11:38:41 +0000 (11:38 +0000)]
kirkwood: add RaidSonic ICY BOX IB-NAS62x0 board support

Based on a patch by Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31668

12 years agokirkwood: enable GPIO sysfs interface
Gabor Juhos [Wed, 9 May 2012 11:38:40 +0000 (11:38 +0000)]
kirkwood: enable GPIO sysfs interface

SVN-Revision: 31667

12 years agokirkwood: nuke 2.6.37 support
Gabor Juhos [Wed, 9 May 2012 11:38:39 +0000 (11:38 +0000)]
kirkwood: nuke 2.6.37 support

SVN-Revision: 31666

12 years agokirkwood: switch to 3.3
Gabor Juhos [Wed, 9 May 2012 11:38:37 +0000 (11:38 +0000)]
kirkwood: switch to 3.3

SVN-Revision: 31665

12 years agokirkwood: add 3.3 support
Gabor Juhos [Wed, 9 May 2012 11:38:36 +0000 (11:38 +0000)]
kirkwood: add 3.3 support

Based on the 3.2.9 patches by Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31664

12 years agoixp4xx: nuke 2.6.37 support
Gabor Juhos [Wed, 9 May 2012 10:48:44 +0000 (10:48 +0000)]
ixp4xx: nuke 2.6.37 support

SVN-Revision: 31663

12 years agoixp4xx: switch to 3.3
Gabor Juhos [Wed, 9 May 2012 10:48:43 +0000 (10:48 +0000)]
ixp4xx: switch to 3.3

SVN-Revision: 31662

12 years agompc85xx: remove 2.6.38 support
Gabor Juhos [Wed, 9 May 2012 10:48:41 +0000 (10:48 +0000)]
mpc85xx: remove 2.6.38 support

SVN-Revision: 31661

12 years agompc85xx: switch to 3.3 and add broken flag
Gabor Juhos [Wed, 9 May 2012 10:48:39 +0000 (10:48 +0000)]
mpc85xx: switch to 3.3 and add broken flag

It is compile tested only.

SVN-Revision: 31660

12 years agoorion: nuke 3.0 support
Gabor Juhos [Wed, 9 May 2012 10:48:38 +0000 (10:48 +0000)]
orion: nuke 3.0 support

SVN-Revision: 31659

12 years agoorion: switch to 3.3 and add broken flag
Gabor Juhos [Wed, 9 May 2012 10:48:37 +0000 (10:48 +0000)]
orion: switch to 3.3 and add broken flag

It is compile tested only.

SVN-Revision: 31658

12 years agopackage/kernel: add package for the ADT7473/7475/7476/7490 sensors
Gabor Juhos [Wed, 9 May 2012 10:48:36 +0000 (10:48 +0000)]
package/kernel: add package for the ADT7473/7475/7476/7490 sensors

SVN-Revision: 31657

12 years agopackage/kernel: add package for the LM85 sensor
Gabor Juhos [Wed, 9 May 2012 10:48:34 +0000 (10:48 +0000)]
package/kernel: add package for the LM85 sensor

SVN-Revision: 31656

12 years agopackage/kernel: move hwmon-vid into a separate package
Gabor Juhos [Wed, 9 May 2012 10:48:33 +0000 (10:48 +0000)]
package/kernel: move hwmon-vid into a separate package

SVN-Revision: 31655

12 years agolinux/3.3: add missing RTC symbol
Gabor Juhos [Wed, 9 May 2012 10:48:30 +0000 (10:48 +0000)]
linux/3.3: add missing RTC symbol

SVN-Revision: 31654

12 years agoadd further countermeasures against the git core.autocrlf option (fixes #9075)
Felix Fietkau [Tue, 8 May 2012 13:30:54 +0000 (13:30 +0000)]
add further countermeasures against the git core.autocrlf option (fixes #9075)

SVN-Revision: 31650

12 years agoadd .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in...
Felix Fietkau [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

SVN-Revision: 31649

12 years agoppp: remove stray bracked in ppp-up script, thanks swalker
Jo-Philipp Wich [Mon, 7 May 2012 22:41:41 +0000 (22:41 +0000)]
ppp: remove stray bracked in ppp-up script, thanks swalker

SVN-Revision: 31647

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

SVN-Revision: 31646

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

SVN-Revision: 31645

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

SVN-Revision: 31643

12 years agopxa: switch to 3.3 and mark it as broken
Gabor Juhos [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.

SVN-Revision: 31642

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

SVN-Revision: 31641

12 years agoatheros: Fix compilation
Jo-Philipp Wich [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>
SVN-Revision: 31640

12 years agobase-files: wait for wifi modules to settle
Jonas Gorski [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.

SVN-Revision: 31639

12 years agobcm63xx: fix a race between PCI bus scan and fallback sprom registration
Jonas Gorski [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.

SVN-Revision: 31638

12 years agokernel: rewrite the phy packet hook, put it in the network stack to avoid having...
Felix Fietkau [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

SVN-Revision: 31637

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

SVN-Revision: 31636

12 years agobrcm47xx: add gpio_request_one()
Hauke Mehrtens [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.

SVN-Revision: 31635

12 years agokernel: remove kernel modules and references to kernels <= 2.6.36
Hauke Mehrtens [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.

SVN-Revision: 31634

12 years agokernel: remove kmod-usb-serial-airprime
Hauke Mehrtens [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

SVN-Revision: 31633

12 years agokernel: remove kmod-usb-video
Hauke Mehrtens [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.

SVN-Revision: 31632

12 years agokernel: remove kmod-usb-video
Hauke Mehrtens [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.

SVN-Revision: 31631

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

This should fix #11349 and #11142

SVN-Revision: 31630

12 years agokernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions
Hauke Mehrtens [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

SVN-Revision: 31629

12 years agokernel: add kmod-video-gspca-konica and remove kmod-video-konica
Hauke Mehrtens [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

SVN-Revision: 31628

12 years agokernel: remove kmod-video-ov511 and kmod-video-ovcamchip
Hauke Mehrtens [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.

SVN-Revision: 31627

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

SVN-Revision: 31626

12 years agoatheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer...
Felix Fietkau [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

SVN-Revision: 31625

12 years agoscons: fix compatibility with python 3, upstream still does not support it...
Jo-Philipp Wich [Sun, 6 May 2012 17:04:37 +0000 (17:04 +0000)]
scons: fix compatibility with python 3, upstream still does not support it...

SVN-Revision: 31624

12 years agoAR7: don't mark as broken
Jonas Gorski [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.

SVN-Revision: 31623

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

SVN-Revision: 31622

12 years agoscons: override the platform instead of using the host one - fixes build issues on...
Felix Fietkau [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

SVN-Revision: 31620

12 years agoubus: update to current git, package up libubus-lua
Jo-Philipp Wich [Sat, 5 May 2012 20:47:38 +0000 (20:47 +0000)]
ubus: update to current git, package up libubus-lua

SVN-Revision: 31619

12 years agotools: add scons (patch by Dave Taht)
Felix Fietkau [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.

SVN-Revision: 31618

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

SVN-Revision: 31617

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

SVN-Revision: 31616

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

SVN-Revision: 31615

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

SVN-Revision: 31614

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

SVN-Revision: 31613

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

SVN-Revision: 31612

12 years agoar71xx: add profile and build image for the TL-WR1041N v2 board
Gabor Juhos [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>
SVN-Revision: 31610

12 years agofirmware-utils/mktplinkfw: add support for the TL-WR1041N v2
Gabor Juhos [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>
SVN-Revision: 31609

12 years agoar71xx: add support for the TP-Link TL-WR1041N v2 board
Gabor Juhos [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>
SVN-Revision: 31608

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

SVN-Revision: 31606

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

SVN-Revision: 31605

12 years agopptp: remove the defaultroute option from options.pptp, this is managed by generic...
Felix Fietkau [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

SVN-Revision: 31604

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

SVN-Revision: 31603

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

SVN-Revision: 31602

12 years agoar71xx: fix a typo in the db120 mach file
Gabor Juhos [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>
SVN-Revision: 31601

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

SVN-Revision: 31600

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

SVN-Revision: 31599

12 years agoinclude/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE
Gabor Juhos [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

SVN-Revision: 31598

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

SVN-Revision: 31597

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

SVN-Revision: 31596

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

SVN-Revision: 31595

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

SVN-Revision: 31594

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

SVN-Revision: 31593

12 years agorb532: add 3.3 support
Gabor Juhos [Sat, 5 May 2012 11:43:23 +0000 (11:43 +0000)]
rb532: add 3.3 support

SVN-Revision: 31592

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

SVN-Revision: 31591

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

SVN-Revision: 31590

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

SVN-Revision: 31589

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

SVN-Revision: 31588

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

SVN-Revision: 31587

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

SVN-Revision: 31586

12 years agoupgrade to 3.3, enable framebuffer
Imre Kaloz [Thu, 3 May 2012 21:51:58 +0000 (21:51 +0000)]
upgrade to 3.3, enable framebuffer

SVN-Revision: 31576

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

SVN-Revision: 31575

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

Fixes #11372.

SVN-Revision: 31574

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

SVN-Revision: 31573

12 years agouhttpd: display errors in init script, code formatting changes, bump package version
Jo-Philipp Wich [Thu, 3 May 2012 17:19:22 +0000 (17:19 +0000)]
uhttpd: display errors in init script, code formatting changes, bump package version

SVN-Revision: 31572

12 years agouhttpd: added uhttpd.docroot
Jo-Philipp Wich [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>
SVN-Revision: 31571

8 years agoFixed: [PATCH 2/3] uhttpd URL-codec enhancements.
Jo-Philipp Wich [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.

SVN-Revision: 31570

12 years agouhttpd URL-codec bug fixes.
Jo-Philipp Wich [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>
SVN-Revision: 31569

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

SVN-Revision: 31568

12 years agoFix iptables abuse of kernel header files. Use exported headers instead.
Gabor Juhos [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>
SVN-Revision: 31566

12 years agoFix pptp handling of routes to server.
Gabor Juhos [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>
SVN-Revision: 31565

12 years agoAdd ppp-mod-pppol2tp subpackage to ppp
Gabor Juhos [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>
SVN-Revision: 31564

12 years agoramips: W306R V2.0 - GPIO and Network fixes
Gabor Juhos [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>
SVN-Revision: 31557

12 years agoramips: Make serial console for DIR-300-B1 work again
Gabor Juhos [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>
SVN-Revision: 31556

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

SVN-Revision: 31555