openwrt/staging/florian.git
10 years agox86/kvm_guest: add support for 3.10 and switch to it
Gabor Juhos [Mon, 23 Dec 2013 17:05:16 +0000 (17:05 +0000)]
x86/kvm_guest: add support for 3.10 and switch to it

Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/4635/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39157

10 years agohostapd: fix wep with netifd
Felix Fietkau [Mon, 23 Dec 2013 12:11:28 +0000 (12:11 +0000)]
hostapd: fix wep with netifd

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 39156

10 years agowpa_supplicant: fix interface combination parsing issues
Felix Fietkau [Sat, 21 Dec 2013 19:42:45 +0000 (19:42 +0000)]
wpa_supplicant: fix interface combination parsing issues

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

10 years agoopkg: switch to git repository (#14655)
Jo-Philipp Wich [Sat, 21 Dec 2013 13:47:46 +0000 (13:47 +0000)]
opkg: switch to git repository (#14655)

Upstream development now takes place in a git repository which was clone
from the old svn repository. Switch the source location to the git tree
using the commit that corresponds to the old svn r618 revision.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39153

10 years agodnsmasq: rework init procedure
Jo-Philipp Wich [Sat, 21 Dec 2013 13:31:28 +0000 (13:31 +0000)]
dnsmasq: rework init procedure

- cache udhcp check results to speed up subsequent reloads
- enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed
- implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed
- launch dnsmasq from interface hotplug to avoid race conditions with network bringup

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39152

10 years agochange fixup method and fix CFLAGS handling
Imre Kaloz [Fri, 20 Dec 2013 20:25:44 +0000 (20:25 +0000)]
change fixup method and fix CFLAGS handling

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39151

10 years agoath9k: merge a timer handling fixes
Felix Fietkau [Fri, 20 Dec 2013 16:02:32 +0000 (16:02 +0000)]
ath9k: merge a timer handling fixes

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

10 years agoar71xx: allow to use large ethernet frames on AR934x SoCs
Gabor Juhos [Fri, 20 Dec 2013 11:41:23 +0000 (11:41 +0000)]
ar71xx: allow to use large ethernet frames on AR934x SoCs

The hardware supports large ethernet frames. Override
the maximum frame length and packet lenght mask in the
platform data to allow to use large MTU on the ethernet
interfaces.

Limit the feature to AR934x SoCs for now. It should work
on some other SoCs as well, but those has not been tested
yet.

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

10 years agoar71xx: ag71xx: fix max frame length setup of the built-in switches
Gabor Juhos [Fri, 20 Dec 2013 11:41:22 +0000 (11:41 +0000)]
ar71xx: ag71xx: fix max frame length setup of the built-in switches

The currently used bitmask of the maximum frame length field
is wrong for both models. On AR724x/AR933x the largest frame
size is 2047 bytes, on the AR934x it is 16383 bytes.

Make the MTU setup code model specific, and use the correct
bitmask for both models. Also change the value to the maximum.

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

10 years agoar71xx: ag71xx: calculate max frame len register value from the MTU
Gabor Juhos [Fri, 20 Dec 2013 11:41:20 +0000 (11:41 +0000)]
ar71xx: ag71xx: calculate max frame len register value from the MTU

Set the MAX_FRAME_LEN register to zero in ag71xx_hw_init()
and write the correct value into that from the ag71xx_open()
and ag71xx_fast_reset() functions.

Also recalculate the RX buffer size based on the actual
maximum frame length value to optimize memory allocation.
Additionaly, disallow to change the MTU value while the
interface it running.

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

10 years agoar71xx: ag71xx: add ag71xx_max_frame_len() helper
Gabor Juhos [Fri, 20 Dec 2013 11:41:18 +0000 (11:41 +0000)]
ar71xx: ag71xx: add ag71xx_max_frame_len() helper

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

10 years agoar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data
Gabor Juhos [Fri, 20 Dec 2013 11:41:17 +0000 (11:41 +0000)]
ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data

This will allow to use SoC specific values for both.

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

10 years agoar71xx: ag71xx: store descriptor packet length mask in ag71xx struct
Gabor Juhos [Fri, 20 Dec 2013 11:41:16 +0000 (11:41 +0000)]
ar71xx: ag71xx: store descriptor packet length mask in ag71xx struct

The currently used bitmask is not correct for all SoCs.
Introduce a new field in struct ag71xx and store the
bitmask in that. Use the current value for now, it will
be adjusted for each SoCs in further patches.

Aslo use the new field directly in the ag71xx_rx_packets
and ag71xx_hard_start_xmit() functions and remove the
ag71xx_desc_pktlen() helper.

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

10 years agohandle new libs required for new kernels
Imre Kaloz [Fri, 20 Dec 2013 06:09:41 +0000 (06:09 +0000)]
handle new libs required for new kernels

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39142

10 years agodon't fail if there are no dtbs
Imre Kaloz [Fri, 20 Dec 2013 05:50:24 +0000 (05:50 +0000)]
don't fail if there are no dtbs

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39141

10 years agoar71xx: add missing tx gain table flag for buffalo wzr-hp-g450h
Felix Fietkau [Thu, 19 Dec 2013 17:18:12 +0000 (17:18 +0000)]
ar71xx: add missing tx gain table flag for buffalo wzr-hp-g450h

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

10 years agoath9k: merge another round of upstream (or -pending) fixes and cleanups
Felix Fietkau [Thu, 19 Dec 2013 17:18:07 +0000 (17:18 +0000)]
ath9k: merge another round of upstream (or -pending) fixes and cleanups

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

10 years agoimx6: refresh patches
Luka Perkov [Thu, 19 Dec 2013 02:03:26 +0000 (02:03 +0000)]
imx6: refresh patches

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

10 years agokernel: backport upstream inet fix
Luka Perkov [Thu, 19 Dec 2013 02:03:25 +0000 (02:03 +0000)]
kernel: backport upstream inet fix

Without it in some occasions oops is shown on network restart. Problem was
noticed on imx6 targed.

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

10 years agoimx6: proper fix for io-remap
Luka Perkov [Thu, 19 Dec 2013 02:03:16 +0000 (02:03 +0000)]
imx6: proper fix for io-remap

The previous patch was not the proper fix for PCI devices that require io
resources.  The new patch is the proper fix backported from mainline.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39133

10 years agoprocd: fix service file tracking
Jo-Philipp Wich [Wed, 18 Dec 2013 15:38:28 +0000 (15:38 +0000)]
procd: fix service file tracking

The instance_config_move() function in the procd instance managing code is
missing a blobmsg_list_move() call to update the tracked file items with the
newly calculated checksums in case of a file change.

Without that change, services are always reloaded after the first change to
a tracked file regardless of whether there are any subsequent changes or not.

Add a missing instance of blobmsg_list_free() as well.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39132

10 years agonetifd: add reload trigger for /etc/config/wireless as well
Jo-Philipp Wich [Wed, 18 Dec 2013 12:38:29 +0000 (12:38 +0000)]
netifd: add reload trigger for /etc/config/wireless as well

SVN-Revision: 39131

10 years agoar71xx: enable images for WD My Net N750
Gabor Juhos [Tue, 17 Dec 2013 22:14:13 +0000 (22:14 +0000)]
ar71xx: enable images for WD My Net N750

Now that the switch works correctly we can enable the images for this
board.

Flashing from the factory firmware, the factory failsafe loader and
sysupgrade was tested successfully.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4617/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39130

10 years agoar71xx: fix WD My Net N750 switch led cfg
Gabor Juhos [Tue, 17 Dec 2013 22:14:12 +0000 (22:14 +0000)]
ar71xx: fix WD My Net N750 switch led cfg

Now that the switch is working correctly I had the chance to actually
test the LED config.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4616/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39129

10 years agoar71xx: implement switch fix for WD My Net N750
Gabor Juhos [Tue, 17 Dec 2013 22:14:11 +0000 (22:14 +0000)]
ar71xx: implement switch fix for WD My Net N750

The bootloader on the WD My Net N750 disables the ports on it's internal
AR8327N switch by powering them down. The stock firmware then brings the
ports back up again by starting the auto negotiation process on each
port.

This fix implements just that.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4615/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39128

10 years agoar71xx: implement callback in mdio reset
Gabor Juhos [Tue, 17 Dec 2013 22:14:10 +0000 (22:14 +0000)]
ar71xx: implement callback in mdio reset

This enables us to add fixups to the board specific code for boards that
require special treatment of PHYs on mdio bus reset.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
http://patchwork.openwrt.org/patch/4614/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39127

10 years agoar71xx: make ag71xx_mdio_platform_data visible
Gabor Juhos [Tue, 17 Dec 2013 22:14:07 +0000 (22:14 +0000)]
ar71xx: make ag71xx_mdio_platform_data visible

This enables us to modify the ag71xx_mdio_platform_data from within the
board support files.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4613/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39126

10 years agobusybox: add back support for top-level menuconfig based config overrides (can be...
Felix Fietkau [Tue, 17 Dec 2013 20:37:27 +0000 (20:37 +0000)]
busybox: add back support for top-level menuconfig based config overrides (can be used by custom packages to alter the config)

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

10 years agogpio-button-hotplug: fix crash on remove
Jonas Gorski [Tue, 17 Dec 2013 19:05:03 +0000 (19:05 +0000)]
gpio-button-hotplug: fix crash on remove

Don't call gpio_keys_remove recursively. Setting the platform
data to NULL triggered an oops on the second iteration, so there was
no infinate loop.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39124

10 years agobusybox: restore init scripts
Jo-Philipp Wich [Tue, 17 Dec 2013 17:17:00 +0000 (17:17 +0000)]
busybox: restore init scripts

Since the removal of the busybox menuconfig entries, the init scripts
for cron, telnet and ntp are not packaged anymore. Unconditionally
ship them from now on.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39123

10 years agofirewall: fix handling of tcp_ecn parameter
Jo-Philipp Wich [Tue, 17 Dec 2013 16:59:47 +0000 (16:59 +0000)]
firewall: fix handling of tcp_ecn parameter

The firewall3 implementation as well as the shell implementation predating it
used to process the tcp_ecnoption as boolean while it actually is an integer.

Change the code to parse tcp_ecn as integer.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39122

10 years agoar71xx: ag71xx: compute the RX buffer size from the maximum frame size
Gabor Juhos [Tue, 17 Dec 2013 16:27:46 +0000 (16:27 +0000)]
ar71xx: ag71xx: compute the RX buffer size from the maximum frame size

Currently, the AG71XX_RX_PKT_SIZE value limits the received
frame size to 1514/1516 bytes with/without a VLAN header
respectively. However the hardware limit is controlled by
the value the AG71XX_REG_MAC_MFL register which contains
the value of the max_frame_len field.

Compute the RX buffer size from the max_frame_len field
to get rid of the 1514/1516 byte limitation. Also remove
the unused AG71XX_RX_PKT_SIZE definition.

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

10 years agoar71xx: ag71xx: store RX buffer size in the ag71xx struct
Gabor Juhos [Tue, 17 Dec 2013 16:27:44 +0000 (16:27 +0000)]
ar71xx: ag71xx: store RX buffer size in the ag71xx struct

This allows to change the value dynamically.

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

10 years agoiproute2: reduce .ipk package size from ~100k down to ~60k
Felix Fietkau [Tue, 17 Dec 2013 15:59:29 +0000 (15:59 +0000)]
iproute2: reduce .ipk package size from ~100k down to ~60k

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

10 years agobusybox: disable module utils, kmodloader provides them
Felix Fietkau [Tue, 17 Dec 2013 15:59:25 +0000 (15:59 +0000)]
busybox: disable module utils, kmodloader provides them

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

10 years agoar71xx: ag71xx: store maximum frame length in the ag71xx struct
Gabor Juhos [Tue, 17 Dec 2013 15:18:16 +0000 (15:18 +0000)]
ar71xx: ag71xx: store maximum frame length in the ag71xx struct

This will allow to use different values for the
different SoCs.

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

10 years agoar71xx: ag71xx: use mdio bus name in ar7240_probe messages
Gabor Juhos [Tue, 17 Dec 2013 15:12:52 +0000 (15:12 +0000)]
ar71xx: ag71xx: use mdio bus name in ar7240_probe messages

The ar7240_probe function uses the network device name
in the kernel log messages, however the name is not yet
initialized when the ar7240_probe function is called.
Use the mdio bus name in the messages to avoid ugly
log lines like the following one:

  eth%d: Found an AR7240/AR9330 built-in switch

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39116

10 years agoag71xx: ag71xx: use device name for debugfs entry
Gabor Juhos [Tue, 17 Dec 2013 15:12:50 +0000 (15:12 +0000)]
ag71xx: ag71xx: use device name for debugfs entry

The ag71xx debugfs code uses the network device name
for the device specific debugfs directory. Since r38689
'ar71xx: ag71xx: fix a race involving netdev registration'
the debugfs initialization happens before the ethernet
device gets registered and the network device name contains
'eth%d' at this point. If the board setup code registers
multiple ag71xx devices, the debugfs code tries to create
the device specific dir with the same name which causes
an error like this:

  eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
  ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
  ag71xx: probe of ag71xx.0 failed with error -12

Use the device name for the debugfs directory to avoid the
collisions. Also add an error message and change the return
code if the debugfs_create_dir call fails.

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39115

10 years agobusybox: fix typo in Config.in (#14628)
Felix Fietkau [Tue, 17 Dec 2013 07:17:00 +0000 (07:17 +0000)]
busybox: fix typo in Config.in (#14628)

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

10 years agoimx6: ventana: add canbus utils
Luka Perkov [Tue, 17 Dec 2013 02:47:20 +0000 (02:47 +0000)]
imx6: ventana: add canbus utils

Some of the Gateworks Ventana boards have CAN bus support, therefore
we will install the userspace utils.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39113

10 years agoimx6: ventana: add default kernel modules for GSC
Luka Perkov [Tue, 17 Dec 2013 02:47:18 +0000 (02:47 +0000)]
imx6: ventana: add default kernel modules for GSC

All Gateworks Ventana boards have a Gateworks System Controller
which emulates the following:
 - ds1672 RTC
 - pca953x GPIO expander
 - hardware monitor
 - at24 eeprom

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39112

10 years agoimx6: add rtc feature support
Luka Perkov [Tue, 17 Dec 2013 02:47:17 +0000 (02:47 +0000)]
imx6: add rtc feature support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39111

10 years agokernel: add rtc-ds1672 module support
Luka Perkov [Tue, 17 Dec 2013 02:47:16 +0000 (02:47 +0000)]
kernel: add rtc-ds1672 module support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39110

10 years agoimx6: drop upstreamed patch
Luka Perkov [Tue, 17 Dec 2013 02:47:15 +0000 (02:47 +0000)]
imx6: drop upstreamed patch

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

10 years agoautomake: update to 1.11.6
Luka Perkov [Tue, 17 Dec 2013 02:47:13 +0000 (02:47 +0000)]
automake: update to 1.11.6

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

10 years agobusybox: add support for config overrides via env/busybox-config
Felix Fietkau [Mon, 16 Dec 2013 19:27:35 +0000 (19:27 +0000)]
busybox: add support for config overrides via env/busybox-config

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

10 years agobusybox: remove busybox menuconfig from top level menuconfig
Felix Fietkau [Mon, 16 Dec 2013 19:09:57 +0000 (19:09 +0000)]
busybox: remove busybox menuconfig from top level menuconfig

This will help with avoiding bogus bug reports caused by stale configs
and bad cases of user tinkering :)

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

10 years agouClibc: disable sha256 and sha512 for libcrypt - saves about 13k uncompressed in...
Felix Fietkau [Mon, 16 Dec 2013 18:49:10 +0000 (18:49 +0000)]
uClibc: disable sha256 and sha512 for libcrypt - saves about 13k uncompressed in libcrypt

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

10 years agohostapd: move old wifi setup scripts to hostapd-common-old
Felix Fietkau [Mon, 16 Dec 2013 18:42:43 +0000 (18:42 +0000)]
hostapd: move old wifi setup scripts to hostapd-common-old

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

10 years agoar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards
Gabor Juhos [Mon, 16 Dec 2013 18:08:51 +0000 (18:08 +0000)]
ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards

It is only on RB911G-5HPnD and RB912UAG-5HPnD boards.
The LEDs and the USB port is not working yet.

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

10 years agodnsmasq: switch to /lib/functions/network.sh
Jo-Philipp Wich [Mon, 16 Dec 2013 16:47:41 +0000 (16:47 +0000)]
dnsmasq: switch to /lib/functions/network.sh

This commit changes the dnsmasq init script to use the interface
status exposed by netifd. The old references to scan_interfaces()
and (indirect) accesses to uci state variables are removed and
replaced with corresponding network_*() calls.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39101

10 years agobase-files: ipcalc.sh: support bit length as netmask parameter
Jo-Philipp Wich [Mon, 16 Dec 2013 16:29:23 +0000 (16:29 +0000)]
base-files: ipcalc.sh: support bit length as netmask parameter

SVN-Revision: 39100

10 years agobase-files: add network_get_protocol() to /lib/functions/network.sh
Jo-Philipp Wich [Mon, 16 Dec 2013 16:28:45 +0000 (16:28 +0000)]
base-files: add network_get_protocol() to /lib/functions/network.sh

SVN-Revision: 39099

10 years agomac80211: fix AP mode scanning issues
Felix Fietkau [Mon, 16 Dec 2013 15:45:57 +0000 (15:45 +0000)]
mac80211: fix AP mode scanning issues

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

10 years agoar71xx: add NAND driver for the Mikrotik RB91x boards
Gabor Juhos [Mon, 16 Dec 2013 12:57:24 +0000 (12:57 +0000)]
ar71xx: add NAND driver for the Mikrotik RB91x boards

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

10 years agoar71xx: rb2011: use board name from the hardware config
Gabor Juhos [Mon, 16 Dec 2013 12:41:48 +0000 (12:41 +0000)]
ar71xx: rb2011: use board name from the hardware config

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

10 years agoar71xx: rb2011: simplify setup code
Gabor Juhos [Mon, 16 Dec 2013 10:28:42 +0000 (10:28 +0000)]
ar71xx: rb2011: simplify setup code

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

10 years agoar71xx: rb2011: use the new RouterBOOT helpers
Gabor Juhos [Mon, 16 Dec 2013 10:28:41 +0000 (10:28 +0000)]
ar71xx: rb2011: use the new RouterBOOT helpers

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

10 years agoralink: fix dir810 networking
John Crispin [Mon, 16 Dec 2013 10:16:33 +0000 (10:16 +0000)]
ralink: fix dir810 networking

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

10 years agoar71xx: rb95x: use the rb_get_wlan_data helper
Gabor Juhos [Mon, 16 Dec 2013 10:11:02 +0000 (10:11 +0000)]
ar71xx: rb95x: use the rb_get_wlan_data helper

Also remove unused RB_* defines.

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

10 years agoar71xx: add some RouterBOOT specific helper functions
Gabor Juhos [Mon, 16 Dec 2013 10:11:01 +0000 (10:11 +0000)]
ar71xx: add some RouterBOOT specific helper functions

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

10 years agokernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h
Gabor Juhos [Mon, 16 Dec 2013 10:11:00 +0000 (10:11 +0000)]
kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h

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

10 years agoar71xx: refresh m25p80 patches
Gabor Juhos [Mon, 16 Dec 2013 10:10:58 +0000 (10:10 +0000)]
ar71xx: refresh m25p80 patches

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

10 years agonetifd: update to latest version, fixes a null pointer crash
Felix Fietkau [Mon, 16 Dec 2013 10:08:13 +0000 (10:08 +0000)]
netifd: update to latest version, fixes a null pointer crash

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

10 years agoar71xx: rb95x: nuke rb95x_gpio_init
Gabor Juhos [Mon, 16 Dec 2013 08:17:40 +0000 (08:17 +0000)]
ar71xx: rb95x: nuke rb95x_gpio_init

Set up the chipselect GPIO directly in rb95x_nand_init
instead.

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

10 years agokernel/3.1[02]: add Winbond W25X05 SPI flash support
Gabor Juhos [Mon, 16 Dec 2013 08:16:09 +0000 (08:16 +0000)]
kernel/3.1[02]: add Winbond W25X05 SPI flash support

It is used on newer RouterBOARDs.

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

10 years agokernel: remove obsolete yaffs options from target configs
Gabor Juhos [Mon, 16 Dec 2013 07:51:21 +0000 (07:51 +0000)]
kernel: remove obsolete yaffs options from target configs

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

10 years agokernel: update yaffs code
Gabor Juhos [Mon, 16 Dec 2013 07:51:19 +0000 (07:51 +0000)]
kernel: update yaffs code

Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit bc76682d93955cfb33051beb503ad9f8a5450578
  Merge: 3a8580e ffa781d
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Jul 11 17:46:25 2013 +1200

      Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2

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

10 years agokernel/3.9: remove yaffs patches
Gabor Juhos [Mon, 16 Dec 2013 07:42:43 +0000 (07:42 +0000)]
kernel/3.9: remove yaffs patches

It is not used by any platform.

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

10 years agokernel/3.6: remove yaffs support
Gabor Juhos [Mon, 16 Dec 2013 07:42:42 +0000 (07:42 +0000)]
kernel/3.6: remove yaffs support

It is not used by any platform.

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

10 years agokernel/3.3: remove yaffs support
Gabor Juhos [Mon, 16 Dec 2013 07:42:41 +0000 (07:42 +0000)]
kernel/3.3: remove yaffs support

It is not used by any platform.

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

10 years agoar71xx/mikrotik: disable unused MTD options
Gabor Juhos [Mon, 16 Dec 2013 07:39:22 +0000 (07:39 +0000)]
ar71xx/mikrotik: disable unused MTD options

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

10 years agoar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not set
Gabor Juhos [Mon, 16 Dec 2013 07:37:31 +0000 (07:37 +0000)]
ar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not set

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

10 years agoar71xx: add userspace support for WD My Net N750
Gabor Juhos [Mon, 16 Dec 2013 07:16:43 +0000 (07:16 +0000)]
ar71xx: add userspace support for WD My Net N750

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: remove the image generation part until the ethernet
         switch issue is resolved]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39078

10 years agoar71xx: add kernel support for WD My Net N750
Gabor Juhos [Mon, 16 Dec 2013 07:16:42 +0000 (07:16 +0000)]
ar71xx: add kernel support for WD My Net N750

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: use a separate patch for kernel changes]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39077

10 years agogeneric: ar8216: Enable jumbo frames on AR8327 by default
Gabor Juhos [Sun, 15 Dec 2013 22:18:04 +0000 (22:18 +0000)]
generic: ar8216: Enable jumbo frames on AR8327 by default

This patch enables jumbo frames on AR8327 switch by default.
I have tested it on TP-Link TL-WDR3600.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39076

10 years agoar71xx: build image for the TP-Link TL-WA901ND v3 board
Gabor Juhos [Sun, 15 Dec 2013 21:34:20 +0000 (21:34 +0000)]
ar71xx: build image for the TP-Link TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4507/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39075

10 years agoar71xx: add user-space support for the TP-Link TL-WA901ND v3 board
Gabor Juhos [Sun, 15 Dec 2013 21:34:19 +0000 (21:34 +0000)]
ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4508/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39074

10 years agoar71xx: add kernel support for the TL-WA901ND v3 board
Gabor Juhos [Sun, 15 Dec 2013 21:34:18 +0000 (21:34 +0000)]
ar71xx: add kernel support for the TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39073

10 years agoar71xx: move TL-WA801ND v2 setup code
Gabor Juhos [Sun, 15 Dec 2013 21:34:17 +0000 (21:34 +0000)]
ar71xx: move TL-WA801ND v2 setup code

The TL-WA801ND v2 board has only one LAN port which makes
it more similar to the TL-WR[78]50RE devices. Move the
board setup code into the mach-tl-wax50re.c file.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39072

10 years agoar71xx: refactor TL-WAx50RE setup code
Gabor Juhos [Sun, 15 Dec 2013 21:34:15 +0000 (21:34 +0000)]
ar71xx: refactor TL-WAx50RE setup code

This way it is a bit easier to add other TP-LINK devices based on the
Atheros AP123 reference board with one LAN port.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39071

10 years agoppl: update to 1.1
Luka Perkov [Sun, 15 Dec 2013 21:07:34 +0000 (21:07 +0000)]
ppl: update to 1.1

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

10 years agocloog: update to 0.18.1
Luka Perkov [Sun, 15 Dec 2013 21:07:32 +0000 (21:07 +0000)]
cloog: update to 0.18.1

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

10 years agofirmware-utils/mkplinkfw: add TL-WA801ND v2 support
Gabor Juhos [Sun, 15 Dec 2013 20:39:13 +0000 (20:39 +0000)]
firmware-utils/mkplinkfw: add TL-WA801ND v2 support

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4503/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39066

10 years agoar71xx: build firmware image for the TL-WA801ND v2
Gabor Juhos [Sun, 15 Dec 2013 20:39:12 +0000 (20:39 +0000)]
ar71xx: build firmware image for the TL-WA801ND v2

Patch to add the profile for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4502/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39065

10 years agoar71xx: add user space support for the TL-WA801ND v2
Gabor Juhos [Sun, 15 Dec 2013 20:39:11 +0000 (20:39 +0000)]
ar71xx: add user space support for the TL-WA801ND v2

Patch to add the user space support for the TL-WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4501/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39064

10 years agoar71xx: add kernel support for the TL-WA801ND v2 board
Gabor Juhos [Sun, 15 Dec 2013 20:39:10 +0000 (20:39 +0000)]
ar71xx: add kernel support for the TL-WA801ND v2 board

Patch to add kernel support for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4500/
[juhosg:
  - the TL-WA801ND v2 does not have a sliding switch, it uses a push button
    for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that,
  - rename kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39063

10 years agoath9k: fix interrupt storms on AR913x
Felix Fietkau [Sun, 15 Dec 2013 20:23:00 +0000 (20:23 +0000)]
ath9k: fix interrupt storms on AR913x

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

10 years agoConvert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
Steven Barth [Sun, 15 Dec 2013 19:38:53 +0000 (19:38 +0000)]
Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface

SVN-Revision: 39061

10 years agobrcm47xx: deactivate early printk support
Hauke Mehrtens [Sun, 15 Dec 2013 19:19:16 +0000 (19:19 +0000)]
brcm47xx: deactivate early printk support

This breaks some devices where the serial console is not at port 0 but
somewhere else.

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

10 years agokernel: update kernel 3.10 to 3.10.24
Hauke Mehrtens [Sun, 15 Dec 2013 19:16:30 +0000 (19:16 +0000)]
kernel: update kernel 3.10 to 3.10.24

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

10 years agoodhcp6c: add source routing support
Steven Barth [Sun, 15 Dec 2013 19:10:20 +0000 (19:10 +0000)]
odhcp6c: add source routing support

SVN-Revision: 39058

10 years agouhttpd: don't process ubus_* and lua_* options if corresponding plugin is not install...
Jo-Philipp Wich [Sun, 15 Dec 2013 15:32:37 +0000 (15:32 +0000)]
uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed (#14618)

SVN-Revision: 39057

10 years agobison: update to 3.0.2
Luka Perkov [Sun, 15 Dec 2013 03:59:49 +0000 (03:59 +0000)]
bison: update to 3.0.2

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

10 years agoupgrade 3.12 targets to 3.12.5
Imre Kaloz [Sat, 14 Dec 2013 17:37:14 +0000 (17:37 +0000)]
upgrade 3.12 targets to 3.12.5

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39055

10 years agoath9k: merge another round of cleanups and fixes submitted to linux-wireless
Felix Fietkau [Sat, 14 Dec 2013 17:07:08 +0000 (17:07 +0000)]
ath9k: merge another round of cleanups and fixes submitted to linux-wireless

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

10 years agoath9k: merge an interrupt processing fix for AR5008-AR9002
Felix Fietkau [Sat, 14 Dec 2013 16:40:27 +0000 (16:40 +0000)]
ath9k: merge an interrupt processing fix for AR5008-AR9002

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

10 years agokernel: move BLKCIPHER into crypto-core to avoid pulling in crypto-manager for arc4...
Felix Fietkau [Sat, 14 Dec 2013 16:40:24 +0000 (16:40 +0000)]
kernel: move BLKCIPHER into crypto-core to avoid pulling in crypto-manager for arc4 (used by mac80211)

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

10 years agodrop the bootscript, new u-boots won't need it
Imre Kaloz [Sat, 14 Dec 2013 16:29:35 +0000 (16:29 +0000)]
drop the bootscript, new u-boots won't need it

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39051

10 years agonetifd: update to the latest version, adds a revert of the link state handling patche...
Felix Fietkau [Sat, 14 Dec 2013 14:59:05 +0000 (14:59 +0000)]
netifd: update to the latest version, adds a revert of the link state handling patches which caused regressions in combination with wifi devices

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