openwrt.git
10 years agoramips: allow to build Seama firmware images with arbitrary size
juhosg [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

10 years agoar71xx: add usb modules to dir 505 profile
blogic [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

10 years agoocteon: add a few missing symbols to the kernel config file
blogic [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

10 years agolantiq: several a803 related fixes
blogic [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

10 years agoar71xx: add support for dir 505 a1
blogic [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

10 years agogpio-button-hotplug: debounce the initial button state, the first reads at boot time...
nbd [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

10 years agoubus: fix typo
nbd [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

10 years agoubus: change section/category to base, libs
nbd [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

10 years agomac80211: fix rt2x00 dependency
juhosg [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

10 years agomac80211: rt2x00: fix LED polarity patch
juhosg [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

10 years agomac80211: enable RT{33,35,53,55}XX chip support in rt2800usb
juhosg [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

10 years agoar71xx: fix tl-wa901nd buttons code
juhosg [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

10 years agoar71xx: ubnt unifi outdoor register gpio button
juhosg [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

10 years agox86: change /dev/console to tty to fix job control
blogic [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

10 years agomac80211: add rtlwifi drivers
jogo [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

10 years agoimx6: sync usb chipidea with upstream
luka [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

10 years agogeneric: make the module reloc pacth work on mips64
blogic [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

10 years agoocteon: add support for the octeon mips64 SoC
blogic [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

10 years agoimx6: remove sdma binary
luka [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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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