15.05/openwrt.git
11 years agofirmware-utils: fix segfault introduced by v2 changes
John Crispin [Tue, 6 Aug 2013 14:32:50 +0000 (14:32 +0000)]
firmware-utils: fix segfault introduced by v2 changes

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37724 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: remove duplicate dir505 entry from board detection code
John Crispin [Tue, 6 Aug 2013 14:12:02 +0000 (14:12 +0000)]
ar71xx: remove duplicate dir505 entry from board detection code

https://dev.openwrt.org/ticket/14006

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

11 years agolantiq: add support for tplink images to .../image/Makefile
John Crispin [Tue, 6 Aug 2013 12:31:25 +0000 (12:31 +0000)]
lantiq: add support for tplink images to .../image/Makefile

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

11 years agolantiq: make the split patch recognize the tplink header
John Crispin [Tue, 6 Aug 2013 12:31:20 +0000 (12:31 +0000)]
lantiq: make the split patch recognize the tplink header

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

11 years agolantiq: fix TDW8970.dts commandline and partition name
John Crispin [Tue, 6 Aug 2013 12:31:16 +0000 (12:31 +0000)]
lantiq: fix TDW8970.dts commandline and partition name

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

11 years agolantiq: add tplink header id to sysupgrade and fix a comment
John Crispin [Tue, 6 Aug 2013 12:31:10 +0000 (12:31 +0000)]
lantiq: add tplink header id to sysupgrade and fix a comment

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

11 years agofirmware-utils: add support for TDW8970 to mktplinkfw
John Crispin [Tue, 6 Aug 2013 12:31:06 +0000 (12:31 +0000)]
firmware-utils: add support for TDW8970 to mktplinkfw

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

11 years agofirmware-utils: add v2 header support to firmware-utils
John Crispin [Tue, 6 Aug 2013 12:30:52 +0000 (12:30 +0000)]
firmware-utils: add v2 header support to firmware-utils

only image build works. inspect and md5 checksum support are not implemented yet

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

11 years agoath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream...
Felix Fietkau [Tue, 6 Aug 2013 10:31:10 +0000 (10:31 +0000)]
ath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream submission)

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

11 years agomac80211: refresh a patch that was using the wrong patch style
Felix Fietkau [Tue, 6 Aug 2013 10:31:06 +0000 (10:31 +0000)]
mac80211: refresh a patch that was using the wrong patch style

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

11 years agomac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)
Felix Fietkau [Tue, 6 Aug 2013 10:31:02 +0000 (10:31 +0000)]
mac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)

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

11 years agoath9k: add some more fixes for the tx queueing rework
Felix Fietkau [Tue, 6 Aug 2013 10:30:58 +0000 (10:30 +0000)]
ath9k: add some more fixes for the tx queueing rework

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

11 years agolantiq: add (incomplete) support for Aztech GR7000
Luka Perkov [Tue, 6 Aug 2013 10:17:16 +0000 (10:17 +0000)]
lantiq: add (incomplete) support for Aztech GR7000

*) can not connect to switch chip
*) only one usb port is working
*) wifi is not working

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

11 years agomac80211: rtlwifi depends on PCI or USB support in the Kconfig file
Hauke Mehrtens [Mon, 5 Aug 2013 21:57:48 +0000 (21:57 +0000)]
mac80211: rtlwifi depends on PCI or USB support in the Kconfig file

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

11 years agokernel: add some missing config symbols
Florian Fainelli [Mon, 5 Aug 2013 20:58:05 +0000 (20:58 +0000)]
kernel: add some missing config symbols

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37710 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agokernel: fix DMA error when BCM4331 is connected to BCM4706
Hauke Mehrtens [Mon, 5 Aug 2013 16:17:05 +0000 (16:17 +0000)]
kernel: fix DMA error when BCM4331 is connected to BCM4706

The BCM4331 supports a PCIe max request size of 512 bytes and uses
that, but the PCIe controller in the BCM4706 just supports 128 Bytes
and that causes a DMA error for packages bigger than 126 bytes. This
fixes the problem by setting the BCM4331 also to 128 Bytes.

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

11 years agoramips: re-implement PCI mux
Gabor Juhos [Mon, 5 Aug 2013 12:49:19 +0000 (12:49 +0000)]
ramips: re-implement PCI mux

Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37708 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: allow to build Seama firmware images with arbitrary size
Gabor Juhos [Mon, 5 Aug 2013 12:35:22 +0000 (12:35 +0000)]
ramips: allow to build Seama firmware images with arbitrary size

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37707 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add usb modules to dir 505 profile
John Crispin [Mon, 5 Aug 2013 11:08:30 +0000 (11:08 +0000)]
ar71xx: add usb modules to dir 505 profile

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

11 years agoocteon: add a few missing symbols to the kernel config file
John Crispin [Mon, 5 Aug 2013 10:42:09 +0000 (10:42 +0000)]
octeon: add a few missing symbols to the kernel config file

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

11 years agolantiq: several a803 related fixes
John Crispin [Mon, 5 Aug 2013 10:42:00 +0000 (10:42 +0000)]
lantiq: several a803 related fixes

based on work from Matti Laasko that he posted in the wiki

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

11 years agoar71xx: add support for dir 505 a1
John Crispin [Mon, 5 Aug 2013 10:41:48 +0000 (10:41 +0000)]
ar71xx: add support for dir 505 a1

this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

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

11 years agogpio-button-hotplug: debounce the initial button state, the first reads at boot time...
Felix Fietkau [Mon, 5 Aug 2013 10:32:13 +0000 (10:32 +0000)]
gpio-button-hotplug: debounce the initial button state, the first reads at boot time might be wrong

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

11 years agoubus: fix typo
Felix Fietkau [Mon, 5 Aug 2013 10:08:04 +0000 (10:08 +0000)]
ubus: fix typo

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

11 years agoubus: change section/category to base, libs
Felix Fietkau [Mon, 5 Aug 2013 10:07:33 +0000 (10:07 +0000)]
ubus: change section/category to base, libs

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

11 years agomac80211: fix rt2x00 dependency
Gabor Juhos [Mon, 5 Aug 2013 09:24:19 +0000 (09:24 +0000)]
mac80211: fix rt2x00 dependency

The current dependency prevents building of the
rt2800{pci,usb} drivers for RT3883. Change the
dependency to fix this.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37699 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: rt2x00: fix LED polarity patch
Gabor Juhos [Mon, 5 Aug 2013 09:09:41 +0000 (09:09 +0000)]
mac80211: rt2x00: fix LED polarity patch

The patch causes compiler warning ...

  <...>/drivers/net/wireless/rt2x00/rt2800lib.c: In function 'rt2800_init_eeprom':
  <...>/drivers/net/wireless/rt2x00/rt2800lib.c:5971:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

... and runtime errors on PCI/USB devices:

  [   11.810000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3071, rev 021c detected
  [   11.830000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
  [   11.880000] rt2x00mmio_regbusy_read() Indirect register access failed: offset=0x00007010, value=0x01ff0001
  [   12.080000] usb 1-1: reset high-speed USB device number 2 using ehci-platform
  [   12.250000] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detecte
  [   12.300000] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 000f detected
  [   12.350000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x1a93b47
  [   12.430000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47
  [   12.480000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37698 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: enable RT{33,35,53,55}XX chip support in rt2800usb
Gabor Juhos [Mon, 5 Aug 2013 09:09:40 +0000 (09:09 +0000)]
mac80211: enable RT{33,35,53,55}XX chip support in rt2800usb

Closes #13951.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37697 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: fix tl-wa901nd buttons code
Gabor Juhos [Mon, 5 Aug 2013 09:09:39 +0000 (09:09 +0000)]
ar71xx: fix tl-wa901nd buttons code

This patch fixes the code of the buttons for TP-Link WA901ND.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37696 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: ubnt unifi outdoor register gpio button
Gabor Juhos [Mon, 5 Aug 2013 09:09:37 +0000 (09:09 +0000)]
ar71xx: ubnt unifi outdoor register gpio button

This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37695 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86: change /dev/console to tty to fix job control
John Crispin [Sun, 4 Aug 2013 17:05:33 +0000 (17:05 +0000)]
x86: change /dev/console to tty to fix job control

Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37693 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: add rtlwifi drivers
Jonas Gorski [Sun, 4 Aug 2013 15:32:36 +0000 (15:32 +0000)]
mac80211: add rtlwifi drivers

Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
[jogo@openwrt.org: add missing DRIVER_11N_SUPPORT select, add missing
   usb dependencies, backport upstream fixes for Kconfig
   issues]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37687 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoimx6: sync usb chipidea with upstream
Luka Perkov [Sun, 4 Aug 2013 14:20:15 +0000 (14:20 +0000)]
imx6: sync usb chipidea with upstream

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

11 years agogeneric: make the module reloc pacth work on mips64
John Crispin [Sun, 4 Aug 2013 13:54:42 +0000 (13:54 +0000)]
generic: make the module reloc pacth work on mips64

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

11 years agoocteon: add support for the octeon mips64 SoC
John Crispin [Sun, 4 Aug 2013 13:54:32 +0000 (13:54 +0000)]
octeon: add support for the octeon mips64 SoC

This is the SoC used be the ESR Lite made by ubnt.com

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

11 years agoimx6: remove sdma binary
Luka Perkov [Sun, 4 Aug 2013 13:28:26 +0000 (13:28 +0000)]
imx6: remove sdma binary

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

11 years agobusybox: rename ntp init script back to sysntpd (#13920)
Jo-Philipp Wich [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

11 years agobrcm47xx: change board detection for some Asus devices
Hauke Mehrtens [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

11 years agobuild: process transitive dependencies after local dependencies
Felix Fietkau [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

11 years agobuild: suppress conditional dependencies if there are unconditional dependencies...
Felix Fietkau [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

11 years agokernel: kmod-appletalk: fix dependencies
Hauke Mehrtens [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

11 years agokernel: do not build FW_LOADER as a module.
Hauke Mehrtens [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

11 years agoubus: update to latest version
Felix Fietkau [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

11 years agobroadcom-diag: show error message in case something goes wrong with gpio irq
Hauke Mehrtens [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

11 years agobroadcom-diag: add gpio config for Asus RT-N66U
Hauke Mehrtens [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

11 years agobroadcom-diag: add gpio config for Linksys E4200v1
Hauke Mehrtens [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

11 years agogpio-button-hotplug: cleanup, fix compiler warning
Felix Fietkau [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

11 years agogpio-button-hotplug: fix active_low handling, possibly broken in r37643
Felix Fietkau [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

11 years agoimx23: add missing DTS config for lradc
Zoltan HERPAI [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

11 years agoimx23: add hw crypto (dcp) support
Zoltan HERPAI [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

11 years agokernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set
Hauke Mehrtens [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

11 years agokernel: add missing config options
Hauke Mehrtens [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

11 years agokernel: add missing module to video-core for kernel < 3.6
Hauke Mehrtens [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

11 years agokernel: fix usb-chipidea compilation with kernel <= 3.9
Hauke Mehrtens [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

11 years agokernel: add missing config option
Hauke Mehrtens [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

11 years agokernel: add missing config option
Hauke Mehrtens [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

11 years agobroadcom-diag: add support for the ASUS RT-N12
Hauke Mehrtens [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

11 years agobroadcom-diag: increase version number
Hauke Mehrtens [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

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37653 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37652 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37650 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37649 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37648 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37647 3c298f89-4303-0410-b956-a3cf2f4a3e73

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.

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

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37645 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37644 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37643 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37642 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37641 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37640 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37639 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37638 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37637 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37636 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37635 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37634 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37633 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37632 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37631 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37629 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37628 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37626 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37625 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37622 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37621 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37619 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37618 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37617 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37616 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37612 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37611 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37610 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37609 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37608 3c298f89-4303-0410-b956-a3cf2f4a3e73