openwrt/staging/981213.git
11 years agomac80211: backport a few upstream fixes
Felix Fietkau [Fri, 2 Aug 2013 10:02:35 +0000 (10:02 +0000)]
mac80211: backport a few upstream fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37653

11 years agokernel: ocf: add missing kernel dependencies
Jonas Gorski [Thu, 1 Aug 2013 23:04:42 +0000 (23:04 +0000)]
kernel: ocf: add missing kernel dependencies

OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 37652

11 years agokernel: load libphy before tg3
Hauke Mehrtens [Thu, 1 Aug 2013 22:19:19 +0000 (22:19 +0000)]
kernel: load libphy before tg3

SVN-Revision: 37651

11 years agobrcm47xx: switch to kernel 3.10.4
Hauke Mehrtens [Thu, 1 Aug 2013 21:01:59 +0000 (21:01 +0000)]
brcm47xx: switch to kernel 3.10.4

This uses a new switch driver.
The old ADMTEK Adm6996 switch is not supported any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37650

11 years agobrcm47xx: use lib phy when tg3 is in use
Hauke Mehrtens [Thu, 1 Aug 2013 20:47:55 +0000 (20:47 +0000)]
brcm47xx: use lib phy when tg3 is in use

This is untested, but probably needed to make it work with the phy lib switch driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37649

11 years agokernel: b53: use devm_gpio_request_one() to request gpio
Hauke Mehrtens [Thu, 1 Aug 2013 20:46:56 +0000 (20:46 +0000)]
kernel: b53: use devm_gpio_request_one() to request gpio

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37648

11 years agobrcm47xx: improve detection of Linksys WRTSL54GS
Hauke Mehrtens [Thu, 1 Aug 2013 19:33:59 +0000 (19:33 +0000)]
brcm47xx: improve detection of Linksys WRTSL54GS

This closes #13319

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37647

11 years agobrcm47xx: remove support for kernel 3.9
Hauke Mehrtens [Thu, 1 Aug 2013 19:17:51 +0000 (19:17 +0000)]
brcm47xx: remove support for kernel 3.9

This is not needed any more.

SVN-Revision: 37646

11 years agokernel: b53: add support for GPIO reset
Hauke Mehrtens [Thu, 1 Aug 2013 19:05:34 +0000 (19:05 +0000)]
kernel: b53: add support for GPIO reset

This is needed for some switches used on bcm47xx SoCs like the one on the Asus RT-N66U.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37645

11 years agobrcm47xx: add function to get a gpio pin by name
Hauke Mehrtens [Thu, 1 Aug 2013 19:04:12 +0000 (19:04 +0000)]
brcm47xx: add function to get a gpio pin by name

bcm47xx_nvram_gpio_pin() returns a gpio pin number for a given name based
on configuration data in nvram.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37644

11 years agogpio-button-hotplug: use gpio_button_get_value() to initialize last_state.
John Crispin [Thu, 1 Aug 2013 14:31:28 +0000 (14:31 +0000)]
gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.

TL-WR720N-v3 has a slider switch composed of 2 GPIO buttons which can be
used to swtich between 3 positions.  At leat 1 button is in pressed state
in any of those positions.  Initialize 'last_state' as 0 (released) will
cause the device to automatically enter failsafe mode on every bootup.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 37643

11 years agogpio-button-hotplug: use gpio_button_get_value() to fetch state.
John Crispin [Thu, 1 Aug 2013 14:31:24 +0000 (14:31 +0000)]
gpio-button-hotplug: use gpio_button_get_value() to fetch state.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 37642

11 years agogpio-button-hotplug: add inline function gpio_button_get_value().
John Crispin [Thu, 1 Aug 2013 14:31:20 +0000 (14:31 +0000)]
gpio-button-hotplug: add inline function gpio_button_get_value().

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 37641

11 years agoramips: add Poray IP2202 support
John Crispin [Thu, 1 Aug 2013 14:31:15 +0000 (14:31 +0000)]
ramips: add Poray IP2202 support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37640

11 years agoramips: add Poray X8 support
John Crispin [Thu, 1 Aug 2013 14:31:09 +0000 (14:31 +0000)]
ramips: add Poray X8 support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37639

11 years agoramips: add Poray X5/X6 Support
John Crispin [Thu, 1 Aug 2013 14:31:04 +0000 (14:31 +0000)]
ramips: add Poray X5/X6 Support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37638

11 years agoramips: add Poray M4 4M/8M support
John Crispin [Thu, 1 Aug 2013 14:30:58 +0000 (14:30 +0000)]
ramips: add Poray M4 4M/8M support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37637

11 years agoramips: add Poray M3 support
John Crispin [Thu, 1 Aug 2013 14:30:53 +0000 (14:30 +0000)]
ramips: add Poray M3 support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37636

11 years agoramips: add basics for Poray devices
John Crispin [Thu, 1 Aug 2013 14:30:46 +0000 (14:30 +0000)]
ramips: add basics for Poray devices

This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37635

11 years agolantiq: fix VG3503J ethernet/gphy led support
John Crispin [Thu, 1 Aug 2013 14:30:40 +0000 (14:30 +0000)]
lantiq: fix VG3503J ethernet/gphy led support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37634

11 years agoralink: add mt7620a_mt7610e profile
John Crispin [Thu, 1 Aug 2013 14:30:33 +0000 (14:30 +0000)]
ralink: add mt7620a_mt7610e profile

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37633

11 years agoimx23: add lradc support
Zoltan Herpai [Thu, 1 Aug 2013 09:36:37 +0000 (09:36 +0000)]
imx23: add lradc support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 37632

11 years agokernel: add missing iio config symbols for 3.10
Zoltan Herpai [Thu, 1 Aug 2013 06:58:08 +0000 (06:58 +0000)]
kernel: add missing iio config symbols for 3.10

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 37631

11 years agolibubox: update to the latest version, fixes a fd deletion race condition in uloop
Felix Fietkau [Wed, 31 Jul 2013 22:07:13 +0000 (22:07 +0000)]
libubox: update to the latest version, fixes a fd deletion race condition in uloop

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37629

11 years agouhttpd: update to the latest version, fixes a crash on early cgi/lua process termination
Felix Fietkau [Wed, 31 Jul 2013 22:07:09 +0000 (22:07 +0000)]
uhttpd: update to the latest version, fixes a crash on early cgi/lua process termination

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37628

11 years agobase-files: implement -l (--list-backup) sysupgrade parameter to list the files that...
Jo-Philipp Wich [Wed, 31 Jul 2013 18:11:55 +0000 (18:11 +0000)]
base-files: implement -l (--list-backup) sysupgrade parameter to list the files that would be backed up

SVN-Revision: 37627

11 years agobroadcom-wl: fix compile error with kernel 3.10
Hauke Mehrtens [Wed, 31 Jul 2013 17:42:55 +0000 (17:42 +0000)]
broadcom-wl: fix compile error with kernel 3.10

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37626

11 years agobrcm47xx: run mtd fixtrx linux every time
Hauke Mehrtens [Wed, 31 Jul 2013 17:41:52 +0000 (17:41 +0000)]
brcm47xx: run mtd fixtrx linux every time

With this patch it is possible to boot a device with kernel 3.10 a second time.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37625

11 years agobase-files: abort sysupgrade if file specified with --restore-config is not found
Jo-Philipp Wich [Wed, 31 Jul 2013 14:10:34 +0000 (14:10 +0000)]
base-files: abort sysupgrade if file specified with --restore-config is not found

SVN-Revision: 37624

11 years agoubox: update to git head
Jo-Philipp Wich [Wed, 31 Jul 2013 10:44:50 +0000 (10:44 +0000)]
ubox: update to git head

- fixes extroot tag file corruption with long uuids

SVN-Revision: 37623

11 years agoimx23: add SoC sound support
Zoltan Herpai [Wed, 31 Jul 2013 09:52:46 +0000 (09:52 +0000)]
imx23: add SoC sound support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 37622

11 years agogcc: merge a bugfix for a MIPS specific internal compiler error
Felix Fietkau [Wed, 31 Jul 2013 08:54:56 +0000 (08:54 +0000)]
gcc: merge a bugfix for a MIPS specific internal compiler error

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37621

11 years agobase-files: implement -T (--test) sysupgrade parameter to verify image without actual...
Jo-Philipp Wich [Tue, 30 Jul 2013 16:42:05 +0000 (16:42 +0000)]
base-files: implement -T (--test) sysupgrade parameter to verify image without actually flashing it

SVN-Revision: 37620

11 years agokernel: update remaning platforms accidentally left out of r37617
Felix Fietkau [Tue, 30 Jul 2013 08:00:25 +0000 (08:00 +0000)]
kernel: update remaning platforms accidentally left out of r37617

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37619

11 years agomac80211: rt2x00: add missing of.h header
Felix Fietkau [Mon, 29 Jul 2013 22:45:57 +0000 (22:45 +0000)]
mac80211: rt2x00: add missing of.h header

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37618

11 years agokernel: update to linux 3.10.4, refresh patches
Felix Fietkau [Mon, 29 Jul 2013 22:42:22 +0000 (22:42 +0000)]
kernel: update to linux 3.10.4, refresh patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37617

11 years agoath9k: fix several issues in the tx queueing rework
Felix Fietkau [Mon, 29 Jul 2013 19:44:05 +0000 (19:44 +0000)]
ath9k: fix several issues in the tx queueing rework

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37616

11 years agolantiq: setup gphy leds on TPlink TDW8970
John Crispin [Mon, 29 Jul 2013 13:10:42 +0000 (13:10 +0000)]
lantiq: setup gphy leds on TPlink TDW8970

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37612

11 years agolantiq: add gphy pinmux definitions
John Crispin [Mon, 29 Jul 2013 13:10:37 +0000 (13:10 +0000)]
lantiq: add gphy pinmux definitions

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37611

11 years agolantiq: set sane default for phy leds
John Crispin [Mon, 29 Jul 2013 13:10:32 +0000 (13:10 +0000)]
lantiq: set sane default for phy leds

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37610

11 years agoramips: fix indenting of spi partitions inside dts files
John Crispin [Mon, 29 Jul 2013 13:10:26 +0000 (13:10 +0000)]
ramips: fix indenting of spi partitions inside dts files

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37609

11 years agomac80211: rt2x00: fix default register settings for rt5350
John Crispin [Mon, 29 Jul 2013 13:10:12 +0000 (13:10 +0000)]
mac80211: rt2x00: fix default register settings for rt5350

Comparing the RTSDK driver and mac80211 revealed, that this register needs
to have a special setup on rt5350.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37608

11 years agomac80211: rt2x00: enable setting wifi led polarity from OF
John Crispin [Mon, 29 Jul 2013 13:09:16 +0000 (13:09 +0000)]
mac80211: rt2x00: enable setting wifi led polarity from OF

This patch enables setting the wifi led polarity from OF.
It can be used in a DTS' wmac section like this:

   ralink,led-polarity = <1>;

Valid values are 0 or 1.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37607

11 years agolibubox: update to latest version, adds extra sanity checks to blob/blobmsg iterator...
Felix Fietkau [Mon, 29 Jul 2013 12:49:04 +0000 (12:49 +0000)]
libubox: update to latest version, adds extra sanity checks to blob/blobmsg iterator macros

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37604

11 years agort2x00: merge fix for queue stopping
Felix Fietkau [Mon, 29 Jul 2013 12:49:01 +0000 (12:49 +0000)]
rt2x00: merge fix for queue stopping

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37603

11 years agokernel: add missing config symbols for 3.10
Felix Fietkau [Mon, 29 Jul 2013 12:48:57 +0000 (12:48 +0000)]
kernel: add missing config symbols for 3.10

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37602

11 years agogcc: add a bugfix for an internal compiler error on mips64
Felix Fietkau [Mon, 29 Jul 2013 10:11:07 +0000 (10:11 +0000)]
gcc: add a bugfix for an internal compiler error on mips64

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37601

11 years agobuild: unify target independent optimization options
Felix Fietkau [Mon, 29 Jul 2013 09:38:29 +0000 (09:38 +0000)]
build: unify target independent optimization options

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37600

11 years agotools: make padjffs2 depend on findutils
Felix Fietkau [Mon, 29 Jul 2013 09:38:24 +0000 (09:38 +0000)]
tools: make padjffs2 depend on findutils

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37599

11 years agokernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
Felix Fietkau [Mon, 29 Jul 2013 09:38:21 +0000 (09:38 +0000)]
kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37598

11 years agomac80211: add support for verbose builds using V=sc
Felix Fietkau [Mon, 29 Jul 2013 09:38:08 +0000 (09:38 +0000)]
mac80211: add support for verbose builds using V=sc

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37597

11 years agoiproute2: update to 3.10.0
Luka Perkov [Sun, 28 Jul 2013 23:27:35 +0000 (23:27 +0000)]
iproute2: update to 3.10.0

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37590

11 years agozlib: update to 1.2.8
Luka Perkov [Sun, 28 Jul 2013 23:27:34 +0000 (23:27 +0000)]
zlib: update to 1.2.8

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37589

11 years agoe2fsprogs: update to 1.42.8 and add e4defrag
Luka Perkov [Sun, 28 Jul 2013 23:27:29 +0000 (23:27 +0000)]
e2fsprogs: update to 1.42.8 and add e4defrag

Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 37588

11 years agobcm53xx: compile b53 switch driver
Hauke Mehrtens [Sun, 28 Jul 2013 22:14:55 +0000 (22:14 +0000)]
bcm53xx: compile b53 switch driver

SVN-Revision: 37587

11 years agobcm53xx: update patches
Hauke Mehrtens [Sun, 28 Jul 2013 22:13:52 +0000 (22:13 +0000)]
bcm53xx: update patches

This reorders the patchs and adds some new ones.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37586

11 years agobcm53xx: use clocksource patch as it was committed upstream
Hauke Mehrtens [Sun, 28 Jul 2013 21:22:50 +0000 (21:22 +0000)]
bcm53xx: use clocksource patch as it was committed upstream

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37585

11 years agobcm53xx: add initial bgmac patches
Hauke Mehrtens [Sun, 28 Jul 2013 21:20:15 +0000 (21:20 +0000)]
bcm53xx: add initial bgmac patches

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37584

11 years agobcm53xx: activate pci and usb in kernel config
Hauke Mehrtens [Sun, 28 Jul 2013 21:10:42 +0000 (21:10 +0000)]
bcm53xx: activate pci and usb in kernel config

This is not working, just compiling

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37583

11 years agoimx6: update default packages
Luka Perkov [Sun, 28 Jul 2013 20:34:21 +0000 (20:34 +0000)]
imx6: update default packages

SVN-Revision: 37582

11 years agoimx6: add support for EHCI USB
Luka Perkov [Sun, 28 Jul 2013 20:34:19 +0000 (20:34 +0000)]
imx6: add support for EHCI USB

SVN-Revision: 37581

11 years agokernel: add usb-mxs-phy package
Luka Perkov [Sun, 28 Jul 2013 20:34:18 +0000 (20:34 +0000)]
kernel: add usb-mxs-phy package

SVN-Revision: 37580

11 years agokernel: update usb-chipidea package
Luka Perkov [Sun, 28 Jul 2013 20:34:17 +0000 (20:34 +0000)]
kernel: update usb-chipidea package

SVN-Revision: 37579

11 years agokernel: update usb2 package
Luka Perkov [Sun, 28 Jul 2013 20:34:09 +0000 (20:34 +0000)]
kernel: update usb2 package

SVN-Revision: 37578

11 years agoar71xx: add profile and build image for the WNR612 v2 board
Gabor Juhos [Sun, 28 Jul 2013 10:23:38 +0000 (10:23 +0000)]
ar71xx: add profile and build image for the WNR612 v2 board

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37577

11 years agoar71xx: add user-space support for the WNR612 v2 board
Gabor Juhos [Sun, 28 Jul 2013 10:23:37 +0000 (10:23 +0000)]
ar71xx: add user-space support for the WNR612 v2 board

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37576

11 years agoar71xx: add kernel support for the Netgear WNR612 v2 board
Gabor Juhos [Sun, 28 Jul 2013 10:23:36 +0000 (10:23 +0000)]
ar71xx: add kernel support for the Netgear WNR612 v2 board

Netgear WNR612 v2:
 - cpu Atheros AR7240 (Python) @400MHz
 - flash 4MB
 - ram 32MB
 - ethernet 10/100: 1xwan + 2xlan (only two)
 - radio AR9285

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37575

11 years agoar71xx: add profile and build image for the TL-WR710N board
Gabor Juhos [Sun, 28 Jul 2013 10:23:34 +0000 (10:23 +0000)]
ar71xx: add profile and build image for the TL-WR710N board

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37574

11 years agoar71xx: add user-space support for the TL-WR710N board
Gabor Juhos [Sun, 28 Jul 2013 10:23:33 +0000 (10:23 +0000)]
ar71xx: add user-space support for the TL-WR710N board

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37573

11 years agoar71xx: add kernel support for the TP-LINK TL-WR710N v1 board
Gabor Juhos [Sun, 28 Jul 2013 10:23:32 +0000 (10:23 +0000)]
ar71xx: add kernel support for the TP-LINK TL-WR710N v1 board

Small router sold in EU: AR9330@400MHz, 1x USB2.0,
2x ethernet, 8MB flash, 32MB ram, one led, one button.

See: http://galeria.tech-blog.pl/TP-Link_TL-WR710N-EU/

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37572

11 years agoar71xx: build image for the MERCURY MW4530R board
Gabor Juhos [Sun, 28 Jul 2013 10:23:31 +0000 (10:23 +0000)]
ar71xx: build image for the MERCURY MW4530R board

Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37571

11 years agoar71xx: add model detection for the MERCURY MW4530R board
Gabor Juhos [Sun, 28 Jul 2013 10:23:29 +0000 (10:23 +0000)]
ar71xx: add model detection for the MERCURY MW4530R board

Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37570

11 years agoar71xx: TEW632BRP has buttons 'active low', fix board config
Gabor Juhos [Sun, 28 Jul 2013 10:23:22 +0000 (10:23 +0000)]
ar71xx: TEW632BRP has buttons 'active low', fix board config

Looks like trunk@37090 has changed the logic that determines
if router's button was pressed. This resulted in TEW632BRP
always booting into failsafe mode because it detected pressed
button (which was not pressed).

Measure with voltmeter has shown that buttons on this router
are actually active-low. This patch reflects this fact in
board configuration and fixes 'load info failsafe mode' issue.

Note: it looks like Trendnet TEW632BRP and a close relative
to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may
exist on those routers as well. This patch doesn't affect
routers other than 632BRP and unfortunately I do not have
hardware to test this issue with other routers.

This patch fixes #13893 and is tested on actuall Trendnet
TEW632BRP.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37569

11 years agoramips: add MPR-A1 support
John Crispin [Sat, 27 Jul 2013 09:23:52 +0000 (09:23 +0000)]
ramips: add MPR-A1 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37568

11 years agoralink: gpio driver should not set gpio to input when irq is querired
John Crispin [Sat, 27 Jul 2013 09:23:45 +0000 (09:23 +0000)]
ralink: gpio driver should not set gpio to input when irq is querired

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37567

11 years agoramips: add back dwc_otg driver
John Crispin [Sat, 27 Jul 2013 09:23:40 +0000 (09:23 +0000)]
ramips: add back dwc_otg driver

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37566

11 years agoramips: MPR-A2 should use memory auto detection
John Crispin [Sat, 27 Jul 2013 09:23:34 +0000 (09:23 +0000)]
ramips: MPR-A2 should use memory auto detection

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37565

11 years agoramips: enable usb phy support on rt5350
John Crispin [Sat, 27 Jul 2013 09:23:29 +0000 (09:23 +0000)]
ramips: enable usb phy support on rt5350

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37564

11 years agoralink: switch back to dwc_otg ... dwc2 seems to not work well with 3G modems
John Crispin [Sat, 27 Jul 2013 09:23:24 +0000 (09:23 +0000)]
ralink: switch back to dwc_otg ... dwc2 seems to not work well with 3G modems

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37563

11 years agostrict_strtoul is obsolete, use kstrtoul instead
John Crispin [Sat, 27 Jul 2013 09:23:18 +0000 (09:23 +0000)]
strict_strtoul is obsolete, use kstrtoul instead

based on http://patchwork.openwrt.org/patch/3827/

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37562

11 years agoramips: unbreak asiarf dts files
John Crispin [Fri, 26 Jul 2013 15:19:19 +0000 (15:19 +0000)]
ramips: unbreak asiarf dts files

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37561

11 years agoopenvpn: update to 2.3.2
Felix Fietkau [Fri, 26 Jul 2013 12:35:22 +0000 (12:35 +0000)]
openvpn: update to 2.3.2

this patches updates openvpn to v2.3.2
and adds a PKG_MD5SUM to the Makefile

This release fixes a memory access violation when cipher none is used
on ar71xx - at least with my config

Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 37560

11 years ago6relayd: Overridden DNS should affect DHCPv6
Steven Barth [Fri, 26 Jul 2013 11:59:25 +0000 (11:59 +0000)]
6relayd: Overridden DNS should affect DHCPv6

SVN-Revision: 37558

11 years agouhttpd: update to latest version, fixes issues with POST and keep-alive (#13940)
Felix Fietkau [Fri, 26 Jul 2013 10:03:07 +0000 (10:03 +0000)]
uhttpd: update to latest version, fixes issues with POST and keep-alive (#13940)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37556

11 years agoauthsae: add myself as a maintainer
Felix Fietkau [Fri, 26 Jul 2013 10:03:03 +0000 (10:03 +0000)]
authsae: add myself as a maintainer

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37555

11 years agoauthsae: adapt uci scripts to use authsae
Felix Fietkau [Fri, 26 Jul 2013 10:02:59 +0000 (10:02 +0000)]
authsae: adapt uci scripts to use authsae

This patch modifies the uci scripts to be able to
start meshd-nl80211 for encrypted mesh networks,
therefor a new script (authsae.sh) is inserted.

Signed-off-by: Emanuel Taube <emanuel.taube@gmail.com>
[etienne.champetier@free.fr: just update mac80211.sh path]
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 37554

11 years agoauthsae 80211s authentication daemon
Felix Fietkau [Fri, 26 Jul 2013 10:02:55 +0000 (10:02 +0000)]
authsae 80211s authentication daemon

This patch adds authsae open80211s authentication daemon (http://open80211s.org)
It's a rework of Peter Naulls patch (http://patchwork.openwrt.org/patch/1350/)
I've excluded the sample conf file as it's useless when used with mac80211.sh (Emanuel Taube patch)
It now link against libnl-tiny instead of libnl (patch merged in authsae git)
Authsae is 58 Ko (OPENSSL_WITH_EC option adds 35Ko to libopenssl)

Signed-off-by: Peter Naulls <peter@chocky.org>
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 37553

11 years agolibconfig: add from /packages, update to latest version, add myself as maintainer
Felix Fietkau [Fri, 26 Jul 2013 10:02:51 +0000 (10:02 +0000)]
libconfig: add from /packages, update to latest version, add myself as maintainer

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37552

11 years agoubox: update to git head
Jo-Philipp Wich [Fri, 26 Jul 2013 09:09:05 +0000 (09:09 +0000)]
ubox: update to git head

- discard vfat labels with only spaces
- support using swap files
- support extroot when required kmods and block-mount are installed on jffs2

SVN-Revision: 37551

11 years agoar71xx: add profile and fixup image generation for the TL-MR10U board
Gabor Juhos [Fri, 26 Jul 2013 07:32:01 +0000 (07:32 +0000)]
ar71xx: add profile and fixup image generation for the TL-MR10U board

Create a separate board profile and update the profile
name in image/makefile. Also use the correct machtype
string in kernel command line.

Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37550

11 years agofirmware-utils/mktplinkfw: add support for the TL-MR10U board
Gabor Juhos [Fri, 26 Jul 2013 07:32:00 +0000 (07:32 +0000)]
firmware-utils/mktplinkfw: add support for the TL-MR10U board

Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37549

11 years agoar71xx: add user-space support for the TL-MR10U board
Gabor Juhos [Fri, 26 Jul 2013 07:31:59 +0000 (07:31 +0000)]
ar71xx: add user-space support for the TL-MR10U board

Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37548

11 years agoar71xx: add kernel support for the TL-MR10U board
Gabor Juhos [Fri, 26 Jul 2013 07:31:57 +0000 (07:31 +0000)]
ar71xx: add kernel support for the TL-MR10U board

Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

[juhosg: extend WR703N code to handle the TL-MR10U
instead of adding a separate mach-tl-mr10u file]]

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37547

11 years agokernel: update 3.10 to 3.10.3
Gabor Juhos [Fri, 26 Jul 2013 07:19:58 +0000 (07:19 +0000)]
kernel: update 3.10 to 3.10.3

Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37546

11 years agokernel: be consistent with formatting style
Luka Perkov [Fri, 26 Jul 2013 01:09:50 +0000 (01:09 +0000)]
kernel: be consistent with formatting style

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37545

11 years agolantiq: remove stale phy register setup properties from dts files
John Crispin [Thu, 25 Jul 2013 20:54:51 +0000 (20:54 +0000)]
lantiq: remove stale phy register setup properties from dts files

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37544

11 years agolantiq: add TP-Link TDW8970 image generation
John Crispin [Thu, 25 Jul 2013 20:29:24 +0000 (20:29 +0000)]
lantiq: add TP-Link TDW8970 image generation

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37543

11 years agolantiq: add profile for TP-Link TDW8970
John Crispin [Thu, 25 Jul 2013 20:29:20 +0000 (20:29 +0000)]
lantiq: add profile for TP-Link TDW8970

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37542

11 years agolantiq: add devicetree for TP-Link TDW8970
John Crispin [Thu, 25 Jul 2013 20:29:15 +0000 (20:29 +0000)]
lantiq: add devicetree for TP-Link TDW8970

Signed-of-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37541

11 years agolantiq: fix initramfs image generation for lzmaloader based images
John Crispin [Thu, 25 Jul 2013 20:29:10 +0000 (20:29 +0000)]
lantiq: fix initramfs image generation for lzmaloader based images

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37540