openwrt.git
8 years agobusybox: rename ntp init script back to sysntpd (#13920)
jow [Sun, 4 Aug 2013 12:40:24 +0000 (12:40 +0000)]
busybox: rename ntp init script back to sysntpd (#13920)

Renaming the init script to ntp broke LuCI time sync functionality and collides with other ntp packages

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

8 years agobrcm47xx: change board detection for some Asus devices
hauke [Sun, 4 Aug 2013 12:36:13 +0000 (12:36 +0000)]
brcm47xx: change board detection for some Asus devices

This closes #13316

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37680 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: process transitive dependencies after local dependencies
nbd [Sun, 4 Aug 2013 12:17:26 +0000 (12:17 +0000)]
build: process transitive dependencies after local dependencies

This improves duplicate dependency detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37679 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: suppress conditional dependencies if there are unconditional dependencies...
nbd [Sun, 4 Aug 2013 12:17:22 +0000 (12:17 +0000)]
build: suppress conditional dependencies if there are unconditional dependencies on the same symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37678 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: kmod-appletalk: fix dependencies
hauke [Sun, 4 Aug 2013 09:51:07 +0000 (09:51 +0000)]
kernel: kmod-appletalk: fix dependencies

When CONFIG_LLC gets build as a module, also p8022.ko and psnap.ko are
getting build as a module. kmod-appletalk depends on llc.ko and
psnap.ko, but at least psnap.ko,was not packed. On most systems
CONFIG_LLC will be build into the kernel so this problem does not show
up.

This fixes the missing dependency of kmod-appletalk on psnap.ko

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37673 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: do not build FW_LOADER as a module.
hauke [Sun, 4 Aug 2013 09:41:10 +0000 (09:41 +0000)]
kernel: do not build FW_LOADER as a module.

CONFIG_FW_LOADER=y is set in the generic config and our packages in
packages/kernel/linux are depending on it to be compiled into the
kernel.
This fixes some dependency problem where kmod-r8169 misses
firmware_class.ko.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37672 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: update to latest version
nbd [Sun, 4 Aug 2013 08:55:28 +0000 (08:55 +0000)]
ubus: update to latest version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37671 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-diag: show error message in case something goes wrong with gpio irq
hauke [Sat, 3 Aug 2013 17:12:07 +0000 (17:12 +0000)]
broadcom-diag: show error message in case something goes wrong with gpio irq

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37668 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-diag: add gpio config for Asus RT-N66U
hauke [Sat, 3 Aug 2013 17:10:37 +0000 (17:10 +0000)]
broadcom-diag: add gpio config for Asus RT-N66U

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37667 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-diag: add gpio config for Linksys E4200v1
hauke [Sat, 3 Aug 2013 17:09:39 +0000 (17:09 +0000)]
broadcom-diag: add gpio config for Linksys E4200v1

GPIO for Linksys E4200v1, tested and works. This closes #13454 and #13894

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37666 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: cleanup, fix compiler warning
nbd [Sat, 3 Aug 2013 11:56:27 +0000 (11:56 +0000)]
gpio-button-hotplug: cleanup, fix compiler warning

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37665 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: fix active_low handling, possibly broken in r37643
nbd [Sat, 3 Aug 2013 11:49:50 +0000 (11:49 +0000)]
gpio-button-hotplug: fix active_low handling, possibly broken in r37643

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37664 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx23: add missing DTS config for lradc
wigyori [Sat, 3 Aug 2013 10:37:25 +0000 (10:37 +0000)]
imx23: add missing DTS config for lradc

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37663 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx23: add hw crypto (dcp) support
wigyori [Sat, 3 Aug 2013 10:35:18 +0000 (10:35 +0000)]
imx23: add hw crypto (dcp) support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37662 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set
hauke [Sat, 3 Aug 2013 10:10:16 +0000 (10:10 +0000)]
kernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set

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

8 years agokernel: add missing config options
hauke [Fri, 2 Aug 2013 20:13:54 +0000 (20:13 +0000)]
kernel: add missing config options

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

8 years agokernel: add missing module to video-core for kernel < 3.6
hauke [Fri, 2 Aug 2013 20:08:20 +0000 (20:08 +0000)]
kernel: add missing module to video-core for kernel < 3.6

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37659 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix usb-chipidea compilation with kernel <= 3.9
hauke [Fri, 2 Aug 2013 20:07:11 +0000 (20:07 +0000)]
kernel: fix usb-chipidea compilation with kernel <= 3.9

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37658 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing config option
hauke [Fri, 2 Aug 2013 16:51:47 +0000 (16:51 +0000)]
kernel: add missing config option

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

8 years agokernel: add missing config option
hauke [Fri, 2 Aug 2013 16:16:23 +0000 (16:16 +0000)]
kernel: add missing config option

brcm47xx does not use CONFIG_B53_SPI_DRIVER, but it could be selected if spi is build as a module

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37656 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-diag: add support for the ASUS RT-N12
hauke [Fri, 2 Aug 2013 15:44:04 +0000 (15:44 +0000)]
broadcom-diag: add support for the ASUS RT-N12

This adds button and led info, which I determined
by manually poking the gpio values.

Signed-off-by: Josh Stone <cuviper@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37655 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-diag: increase version number
hauke [Fri, 2 Aug 2013 15:06:14 +0000 (15:06 +0000)]
broadcom-diag: increase version number

There are some changes in there and this should be rebuild.

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

8 years agomac80211: backport a few upstream fixes
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37653 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: ocf: add missing kernel dependencies
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37652 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

8 years agobrcm47xx: switch to kernel 3.10.4
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37650 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: use lib phy when tg3 is in use
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37649 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: b53: use devm_gpio_request_one() to request gpio
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37648 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: improve detection of Linksys WRTSL54GS
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37647 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

This is not needed any more.

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

8 years agokernel: b53: add support for GPIO reset
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37645 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: add function to get a gpio pin by name
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37644 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: use gpio_button_get_value() to initialize last_state.
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37643 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: use gpio_button_get_value() to fetch state.
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37642 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: add inline function gpio_button_get_value().
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37641 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37640 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37639 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add Poray X5/X6 Support
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37638 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add Poray M4 4M/8M support
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37637 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37636 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add basics for Poray devices
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37635 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix VG3503J ethernet/gphy led support
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37634 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37633 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37632 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing iio config symbols for 3.10
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37631 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibubox: update to the latest version, fixes a fd deletion race condition in uloop
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37629 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouhttpd: update to the latest version, fixes a crash on early cgi/lua process termination
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37628 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: implement -l (--list-backup) sysupgrade parameter to list the files that...
jow [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

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

8 years agobroadcom-wl: fix compile error with kernel 3.10
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37626 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: run mtd fixtrx linux every time
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37625 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

8 years agoubox: update to git head
jow [Wed, 31 Jul 2013 10:44:50 +0000 (10:44 +0000)]
ubox: update to git head

- fixes extroot tag file corruption with long uuids

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

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

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37622 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc: merge a bugfix for a MIPS specific internal compiler error
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37621 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: implement -T (--test) sysupgrade parameter to verify image without actual...
jow [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

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

8 years agokernel: update remaning platforms accidentally left out of r37617
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37619 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: rt2x00: add missing of.h header
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37618 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: update to linux 3.10.4, refresh patches
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37617 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath9k: fix several issues in the tx queueing rework
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37616 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: setup gphy leds on TPlink TDW8970
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37612 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37611 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: set sane default for phy leds
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37610 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix indenting of spi partitions inside dts files
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37609 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: rt2x00: fix default register settings for rt5350
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37608 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: rt2x00: enable setting wifi led polarity from OF
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37607 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibubox: update to latest version, adds extra sanity checks to blob/blobmsg iterator...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37604 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agort2x00: merge fix for queue stopping
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37603 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing config symbols for 3.10
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37602 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc: add a bugfix for an internal compiler error on mips64
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37601 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: unify target independent optimization options
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37600 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools: make padjffs2 depend on findutils
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37599 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37598 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add support for verbose builds using V=sc
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37597 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[package] iproute2: update to 3.10.0
luka [Sun, 28 Jul 2013 23:27:35 +0000 (23:27 +0000)]
[package] iproute2: update to 3.10.0

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

8 years ago[package] zlib: update to 1.2.8
luka [Sun, 28 Jul 2013 23:27:34 +0000 (23:27 +0000)]
[package] zlib: update to 1.2.8

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

8 years ago[package] e2fsprogs: update to 1.42.8 and add e4defrag
luka [Sun, 28 Jul 2013 23:27:29 +0000 (23:27 +0000)]
[package] e2fsprogs: update to 1.42.8 and add e4defrag

Signed-off-by: Peter Wagner <tripolar@gmx.at>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37588 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

8 years agobcm53xx: update patches
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37586 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: use clocksource patch as it was committed upstream
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37585 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add initial bgmac patches
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37584 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: activate pci and usb in kernel config
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37583 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

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

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

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

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

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

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

8 years agoar71xx: add profile and build image for the WNR612 v2 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37577 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add user-space support for the WNR612 v2 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37576 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add kernel support for the Netgear WNR612 v2 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37575 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add profile and build image for the TL-WR710N board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37574 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add user-space support for the TL-WR710N board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37573 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add kernel support for the TP-LINK TL-WR710N v1 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37572 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: build image for the MERCURY MW4530R board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37571 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add model detection for the MERCURY MW4530R board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37570 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: TEW632BRP has buttons 'active low', fix board config
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37569 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37568 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: gpio driver should not set gpio to input when irq is querired
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37567 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add back dwc_otg driver
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37566 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: MPR-A2 should use memory auto detection
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37565 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: enable usb phy support on rt5350
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37564 3c298f89-4303-0410-b956-a3cf2f4a3e73