librecmc/librecmc.git
11 years agokernel: add imx-sdma-fw package
Luka Perkov [Sun, 11 Aug 2013 15:10:42 +0000 (15:10 +0000)]
kernel: add imx-sdma-fw package

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

11 years agoimx6: fix sdma
Luka Perkov [Sun, 11 Aug 2013 15:10:38 +0000 (15:10 +0000)]
imx6: fix sdma

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

11 years agomusl: mark as broken, many packages do not compile with it
Felix Fietkau [Sat, 10 Aug 2013 19:16:46 +0000 (19:16 +0000)]
musl: mark as broken, many packages do not compile with it

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

11 years agox86: Fix CONFIG_X86_GRUB_SERIAL=""
Felix Fietkau [Sat, 10 Aug 2013 18:35:29 +0000 (18:35 +0000)]
x86: Fix CONFIG_X86_GRUB_SERIAL=""

With

    .config:CONFIG_X86_GRUB_SERIAL=""

which (AFAICT) is the way to tell GRUB not to use a serial console, in

    target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),)

$(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote),
making the condition unconditionally false.

This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through
qstrip before testing.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
SVN-Revision: 37749

11 years agoar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
Felix Fietkau [Sat, 10 Aug 2013 15:31:38 +0000 (15:31 +0000)]
ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value

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

11 years agoath9k: fix an rx descriptor processing race condition
Felix Fietkau [Sat, 10 Aug 2013 14:00:33 +0000 (14:00 +0000)]
ath9k: fix an rx descriptor processing race condition

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

11 years agomcs814x: enable POSIX file locking
Florian Fainelli [Fri, 9 Aug 2013 20:45:17 +0000 (20:45 +0000)]
mcs814x: enable POSIX file locking

opkg (and possible other tools) are currently broken as it requires
file locking support enabled in the kernel.
Without this results in a message like:

root@OpenWrt:/etc/config# opkg update
Collected errors:
 * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied.

With this patch opkg is fully functional on this platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37745

11 years agohostapd: fix typo in version number
Felix Fietkau [Thu, 8 Aug 2013 20:45:15 +0000 (20:45 +0000)]
hostapd: fix typo in version number

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

11 years agohostapd: fix ubus reconnect handling
Felix Fietkau [Thu, 8 Aug 2013 20:45:12 +0000 (20:45 +0000)]
hostapd: fix ubus reconnect handling

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

11 years agoubus: update to latest version, fixes a bug in reconnect after ubusd dies
Felix Fietkau [Thu, 8 Aug 2013 20:45:09 +0000 (20:45 +0000)]
ubus: update to latest version, fixes a bug in reconnect after ubusd dies

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

11 years agohostapd: add a build variant for wpa_supplicant with p2p (aka Wi-Fi Direct) support
Felix Fietkau [Thu, 8 Aug 2013 16:24:50 +0000 (16:24 +0000)]
hostapd: add a build variant for wpa_supplicant with p2p (aka Wi-Fi Direct) support

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

11 years agohostapd: update to latest version (20130707)
Felix Fietkau [Thu, 8 Aug 2013 16:04:19 +0000 (16:04 +0000)]
hostapd: update to latest version (20130707)

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

11 years agoinclude: cmake: pass toolchain directory to default root find path as well
Jo-Philipp Wich [Wed, 7 Aug 2013 13:54:51 +0000 (13:54 +0000)]
include: cmake: pass toolchain directory to default root find path as well

SVN-Revision: 37737

11 years agohostapd: Settings for DAE/CoA server
Felix Fietkau [Tue, 6 Aug 2013 18:55:30 +0000 (18:55 +0000)]
hostapd: Settings for DAE/CoA server

hostapd supports "Dynamic Authorization Extensions", making it possible
to forcibly disconnect a user by sending it a RADIUS "Disconnect-Request"
packet.

I've added three new variables to enable setting of the
"radius_das_client" and "radius_das_port" variables in the hostapd
configuration, which enable these extensions.

* dae_client - IP of the client that can send disconnect requests
* dae_secret - shared secret for DAE packets

These are combined into the "radius_das_client" option in hostapd.conf
To enable the server, both dae_client and dae_secret must be set.

* dae_port - optional, default value is 3799 as specified in RFC 5176

Signed-off-by: Martijn van de Streek <martijn@vandestreek.net>
SVN-Revision: 37734

11 years agohostapd: Fix WDS/WEP usage
Felix Fietkau [Tue, 6 Aug 2013 17:59:12 +0000 (17:59 +0000)]
hostapd: Fix WDS/WEP usage

WEP in WDS is currently broken in hostapd. Add a patch
to fix the issue.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 37733

11 years agomac80211: Handle concurrent AP/STA beaconing properly
Felix Fietkau [Tue, 6 Aug 2013 17:59:09 +0000 (17:59 +0000)]
mac80211: Handle concurrent AP/STA beaconing properly

Use the "start_disabled" option in hostapd that was added
in the earlier patch.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 37732

11 years agohostapd: Refresh patches
Felix Fietkau [Tue, 6 Aug 2013 17:59:05 +0000 (17:59 +0000)]
hostapd: Refresh patches

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 37731

11 years agohostapd: Add an option to disable beaconing
Felix Fietkau [Tue, 6 Aug 2013 17:59:02 +0000 (17:59 +0000)]
hostapd: Add an option to disable beaconing

Add a patch for hostapd that introduces a config option
"start_disabled" which can be used to bring up an AP
interface with beaconing disabled. This is useful in
a Repeater-AP setup where the Repeater AP has to start
beaconing only after the WDS link has been established.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 37730

11 years agolantiq: fix TD-W8970 image generation to work with the new tool
John Crispin [Tue, 6 Aug 2013 16:25:45 +0000 (16:25 +0000)]
lantiq: fix TD-W8970 image generation to work with the new tool

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

11 years agofirmware-utils: add a tool TP-Link v2 image generation
John Crispin [Tue, 6 Aug 2013 16:25:35 +0000 (16:25 +0000)]
firmware-utils: add a tool TP-Link v2 image generation

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

11 years agofirmware-utils: remove v2 support
John Crispin [Tue, 6 Aug 2013 16:25:24 +0000 (16:25 +0000)]
firmware-utils: remove v2 support

we will use gabors patch instead

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

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>
SVN-Revision: 37724

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>
SVN-Revision: 37723

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>
SVN-Revision: 37722

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>
SVN-Revision: 37721

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>
SVN-Revision: 37720

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>
SVN-Revision: 37719

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>
SVN-Revision: 37718

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>
SVN-Revision: 37717

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>
SVN-Revision: 37716

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>
SVN-Revision: 37715

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>
SVN-Revision: 37714

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>
SVN-Revision: 37713

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>
SVN-Revision: 37712

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>
SVN-Revision: 37711

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>
SVN-Revision: 37710

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>
SVN-Revision: 37709

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>
SVN-Revision: 37708

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>
SVN-Revision: 37707

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>
SVN-Revision: 37706

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>
SVN-Revision: 37705

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
SVN-Revision: 37704

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>
SVN-Revision: 37703

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>
SVN-Revision: 37702

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>
SVN-Revision: 37701

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>
SVN-Revision: 37700

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>
SVN-Revision: 37699

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>
SVN-Revision: 37698

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>
SVN-Revision: 37697

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>
SVN-Revision: 37696

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>
SVN-Revision: 37695

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>
SVN-Revision: 37693

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>
SVN-Revision: 37687

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>
SVN-Revision: 37686

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>
SVN-Revision: 37685

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>
SVN-Revision: 37684

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

SVN-Revision: 37682

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

SVN-Revision: 37681

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>
SVN-Revision: 37680

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>
SVN-Revision: 37679

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>
SVN-Revision: 37678

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>
SVN-Revision: 37673

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>
SVN-Revision: 37672

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>
SVN-Revision: 37671

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>
SVN-Revision: 37668

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>
SVN-Revision: 37667

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>
SVN-Revision: 37666

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>
SVN-Revision: 37665

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>
SVN-Revision: 37664

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>
SVN-Revision: 37663

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>
SVN-Revision: 37662

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

SVN-Revision: 37661

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

SVN-Revision: 37660

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>
SVN-Revision: 37659

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>
SVN-Revision: 37658

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

SVN-Revision: 37657

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>
SVN-Revision: 37656

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>
SVN-Revision: 37655

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.

SVN-Revision: 37654

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

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

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

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

Fixes the following build error:

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

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

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

SVN-Revision: 37651

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

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

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

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

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

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

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

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

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

This closes #13319

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

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

This is not needed any more.

SVN-Revision: 37646

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Support for Poray devices was worked on by:

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

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

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

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

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

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