openwrt/svn-archive/archive.git
5 years agoat91: AT91SAM9G20-EK fixes
Hauke Mehrtens [Tue, 29 Apr 2014 21:02:05 +0000 (21:02 +0000)]
at91: AT91SAM9G20-EK fixes

From 272f548fe8d0b811e0589e535f650f0507f6bccd Mon Sep 17 00:00:00 2001
From: Owen Kirby <osk@exegin.com>
Date: Fri, 11 Apr 2014 17:59:55 -0700
Subject: [PATCH 2/3] [at91] AT91SAM9G20-EK fixes.

While testing the 3.10 kernel update, I found that the out-of-the-box device tree for the
the AT91SAM9G20EK uses a UBIFS rootfs and stores the DTB separately from the zImage.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 40597

5 years agoUpdate AT91 kernel to 3.10.34
Hauke Mehrtens [Tue, 29 Apr 2014 21:00:50 +0000 (21:00 +0000)]
Update AT91 kernel to 3.10.34

From 2064e6d069ec8df7f5e988547fe7f2a1a7ad890f Mon Sep 17 00:00:00 2001
From: Owen Kirby <osk@exegin.com>
Date: Thu, 10 Apr 2014 19:02:15 -0700
Subject: [PATCH 1/3] [at91]  Update AT91 kernel to 3.10.34.

This patch updates the kernel of the AT91 target to version 3.10.34.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 40596

5 years agoatheros: remove useless get_c0_compare_int fix
Felix Fietkau [Tue, 29 Apr 2014 16:19:36 +0000 (16:19 +0000)]
atheros: remove useless get_c0_compare_int fix

Remove get_c0_compare_int fix which is useless for latest kernels.

Tested on Ubnt Bullet2, which could successfully boot without this
workaround.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 40593

5 years agocns3xxx: ethernet - revert: clean up tx descs only when needed
Felix Fietkau [Tue, 29 Apr 2014 15:52:12 +0000 (15:52 +0000)]
cns3xxx: ethernet - revert: clean up tx descs only when needed

This reverts commit 0772ab938c0aedd7f4cc7127059d6ce8cf929dfa.

Trying to optimize calls to eth_complete_tx in this fasion causes a regression
where when sending only the tx queue can get disabled until a packet is
received. This original call to eth_schedule_poll() is scheduled so it
should not cause a performance issue.

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

5 years agoath9k: merge a fix for a race condition on init
Felix Fietkau [Tue, 29 Apr 2014 15:52:08 +0000 (15:52 +0000)]
ath9k: merge a fix for a race condition on init

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

5 years agoath9k: merge fixes for stability issues under heavy load
Felix Fietkau [Tue, 29 Apr 2014 15:52:03 +0000 (15:52 +0000)]
ath9k: merge fixes for stability issues under heavy load

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

5 years agonetifd: update to the latest version, fixes a use-after-free bug on wireless config...
Felix Fietkau [Tue, 29 Apr 2014 13:18:59 +0000 (13:18 +0000)]
netifd: update to the latest version, fixes a use-after-free bug on wireless config reload

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

5 years agokernel: deactivate fs cache config option
Hauke Mehrtens [Mon, 28 Apr 2014 21:40:09 +0000 (21:40 +0000)]
kernel: deactivate fs cache config option

r40587 added some kernel config options, on which these two ones depend.
This fixes the build of the buildbots.

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

5 years agofs: add kernel modules for AFS client
Zoltan Herpai [Mon, 28 Apr 2014 19:47:38 +0000 (19:47 +0000)]
fs: add kernel modules for AFS client

 - add/separate crypto modules
 - add fscache support
 - add rxrpc module which is required for AFS
 - add afs module

Signed-Off-By: Nathaniel Wesley Filardo <8S9K8UGO5JGPI3U067229BBACKMQIGVH@cmx.ietfng.org>
Acked-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 40587

5 years agoath9k: add a fix for tx queueing and aggregation
Felix Fietkau [Mon, 28 Apr 2014 16:35:25 +0000 (16:35 +0000)]
ath9k: add a fix for tx queueing and aggregation

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

5 years agomxs: enable usbgadget feature for Duckbills
Zoltan Herpai [Mon, 28 Apr 2014 07:43:29 +0000 (07:43 +0000)]
mxs: enable usbgadget feature for Duckbills

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 40585

5 years agomac80211: Fix build errors due to missing string function declarations
Hauke Mehrtens [Sun, 27 Apr 2014 21:53:58 +0000 (21:53 +0000)]
mac80211: Fix build errors due to missing string function declarations

Building mac80211 failed, due to missing function declarations in compat/backport-3.15.c
This patch adds the linux/string.h header file to provide these function declarations

Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com>
SVN-Revision: 40584

5 years agoauthsae: Update to latest version
Hauke Mehrtens [Sun, 27 Apr 2014 20:49:14 +0000 (20:49 +0000)]
authsae: Update to latest version

Ping tested, add a cool fix
https://github.com/cozybit/authsae/commit/295164a83717ce59ca280468fc2f7edcea6b3cbf

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 40579

5 years agobase-files: remove duplicate stop_service() function.
Felix Fietkau [Sun, 27 Apr 2014 18:48:57 +0000 (18:48 +0000)]
base-files: remove duplicate stop_service() function.

It was introduced in commit 2f966e8, "base-files: add a post start hook
for procd managed services".

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

5 years agohostapd: fix eglibc 2.15 support
Felix Fietkau [Sun, 27 Apr 2014 18:30:50 +0000 (18:30 +0000)]
hostapd: fix eglibc 2.15 support

This patch fixes compilation failure for hostapd when using eglibc 2.15.

Signed-off-by: Zachery Stoddard <zacherystoddard@gmail.com>
SVN-Revision: 40575

5 years agoath9k: add ANI fix for ar913x to improve stability
Felix Fietkau [Sun, 27 Apr 2014 14:39:06 +0000 (14:39 +0000)]
ath9k: add ANI fix for ar913x to improve stability

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

5 years agonetifd: update to the latest version, fixes some route table and dynamic interface...
Felix Fietkau [Sat, 26 Apr 2014 19:48:11 +0000 (19:48 +0000)]
netifd: update to the latest version, fixes some route table and dynamic interface issues

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

5 years agohostapd: update to version 2014-04-24, fixes some dfs related issues
Felix Fietkau [Sat, 26 Apr 2014 19:48:06 +0000 (19:48 +0000)]
hostapd: update to version 2014-04-24, fixes some dfs related issues

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

5 years agolibubox: update to the latest version, adds a key/value store implementation and...
Felix Fietkau [Sat, 26 Apr 2014 14:56:29 +0000 (14:56 +0000)]
libubox: update to the latest version, adds a key/value store implementation and fixes an uloop issue

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

5 years agobuild: clarify the file prereq check message
Felix Fietkau [Thu, 24 Apr 2014 19:41:57 +0000 (19:41 +0000)]
build: clarify the file prereq check message

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

5 years agobuild: add a prereq check for file (#15692)
Felix Fietkau [Thu, 24 Apr 2014 19:28:11 +0000 (19:28 +0000)]
build: add a prereq check for file (#15692)

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

5 years agoodhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker)
Steven Barth [Thu, 24 Apr 2014 09:36:01 +0000 (09:36 +0000)]
odhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker)

SVN-Revision: 40567

5 years ago6rd: Select first IPv4 address from configured tunlink interface as local tunnel...
Steven Barth [Thu, 24 Apr 2014 09:11:44 +0000 (09:11 +0000)]
6rd: Select first IPv4 address from configured tunlink interface as local tunnel address

Gives the user the control to select the correct WAN IPv4 address to be used by the 6rd tunnel when mutiple WAN interfaces are configured

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40566

5 years agobcm53xx: add default config for switch
Hauke Mehrtens [Wed, 23 Apr 2014 22:02:18 +0000 (22:02 +0000)]
bcm53xx: add default config for switch

This scripts adds a default config for the switch.

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

5 years agobcm53xx: add initial support for kernel 3.14
Hauke Mehrtens [Wed, 23 Apr 2014 21:53:50 +0000 (21:53 +0000)]
bcm53xx: add initial support for kernel 3.14

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

5 years agoralink: add dir-645 to the eeprom hotplug script
John Crispin [Wed, 23 Apr 2014 07:52:56 +0000 (07:52 +0000)]
ralink: add dir-645 to the eeprom hotplug script

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

5 years agomac80211: allow to select the rt2x00-soc module for the ramips/rt3883 subtarget
John Crispin [Wed, 23 Apr 2014 07:52:47 +0000 (07:52 +0000)]
mac80211: allow to select the rt2x00-soc module for the ramips/rt3883 subtarget

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

5 years agomac80211: refresh rt2x00 patches
John Crispin [Wed, 23 Apr 2014 07:52:37 +0000 (07:52 +0000)]
mac80211: refresh rt2x00 patches

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

5 years agomac80211: rt2x00: add support for the RT3662/RT3883 SoCs
John Crispin [Wed, 23 Apr 2014 07:52:18 +0000 (07:52 +0000)]
mac80211: rt2x00: add support for the RT3662/RT3883 SoCs

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

5 years agoramips: register clock device for the WMAC on RT3883
John Crispin [Wed, 23 Apr 2014 07:51:57 +0000 (07:51 +0000)]
ramips: register clock device for the WMAC on RT3883

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

5 years agonetifd: update to latest version, adds support for disabling interfaces
Felix Fietkau [Tue, 22 Apr 2014 17:28:14 +0000 (17:28 +0000)]
netifd: update to latest version, adds support for disabling interfaces

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

5 years agoramips: Add support for the 7Links PX-4885 wireless router.
John Crispin [Tue, 22 Apr 2014 08:08:51 +0000 (08:08 +0000)]
ramips: Add support for the 7Links PX-4885 wireless router.

The 7Links PX-4885 is a small battery-powered wireless router.
It is based on a RT5350F WiSoC and features one ethernet port and one
USB port. It is a Hame MPR-A1 clone, except it has different GPIOs,
a different battery and more RAM (32 MB).
This patch adds a profile for this board, the corresponding device tree
file and the adequate base-files changes (incl. sysupgrade).

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>
SVN-Revision: 40554

5 years agolantiq: BT Home Hub 2B - overlayfs on top of ubi
John Crispin [Tue, 22 Apr 2014 08:08:46 +0000 (08:08 +0000)]
lantiq: BT Home Hub 2B - overlayfs on top of ubi

BT Home Hub 2B: use overlayfs on top of ubi.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 40553

5 years agoramips: build factory-compatible image for AR725W
John Crispin [Tue, 22 Apr 2014 08:08:42 +0000 (08:08 +0000)]
ramips: build factory-compatible image for AR725W

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40552

5 years agofirmware-utils: add Gemtek header tool
John Crispin [Tue, 22 Apr 2014 08:08:39 +0000 (08:08 +0000)]
firmware-utils: add Gemtek header tool

Generates webflash-compatible images for a few RT2880 routers based
on Gemtek OEM boards.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40551

5 years agoramips: add Airlink101 AR725W userland support
John Crispin [Tue, 22 Apr 2014 08:08:35 +0000 (08:08 +0000)]
ramips: add Airlink101 AR725W userland support

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40550

5 years agoramips: Add Airlink101 AR725W board support
John Crispin [Tue, 22 Apr 2014 08:08:31 +0000 (08:08 +0000)]
ramips: Add Airlink101 AR725W board support

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40549

5 years agoAdd Zyxel P-2812HNU-Fx images
John Crispin [Tue, 22 Apr 2014 08:08:27 +0000 (08:08 +0000)]
Add Zyxel P-2812HNU-Fx images

P-2812HNU-Fx images are already supported but not generated.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40548

5 years agoAdd Fritz!Box 3370 images
John Crispin [Tue, 22 Apr 2014 08:08:23 +0000 (08:08 +0000)]
Add Fritz!Box 3370 images

Fritz!Box 3370 images are already supported but not generated.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40547

5 years agoRefresh patches
John Crispin [Tue, 22 Apr 2014 08:08:19 +0000 (08:08 +0000)]
Refresh patches

Refresh uboot-lantiq patches.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40546

5 years agoCreate firmware directory if it doesn't exist
John Crispin [Tue, 22 Apr 2014 08:08:15 +0000 (08:08 +0000)]
Create firmware directory if it doesn't exist

Fixes package refreshing.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40545

5 years agoDepend on lantiq board
John Crispin [Tue, 22 Apr 2014 08:08:10 +0000 (08:08 +0000)]
Depend on lantiq board

Depend on lantiq board.

ARV7510 depends on ARV4510 because (according to OpenWrt wiki) both boards are identical except for the unsupported WiFi. Moreover, ARV7510 isn't especifically supported and ARV4510 images valid.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40544

5 years agoFix vr9_phy22f_a2x.bin firmware linking
John Crispin [Tue, 22 Apr 2014 08:08:06 +0000 (08:08 +0000)]
Fix vr9_phy22f_a2x.bin firmware linking

vr9_phy22f_a2x.bin needs to be linked in order to get ethernet support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40543

5 years agolinux/generic: add MIB counters and port status to ADM6996 switch
John Crispin [Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)]
linux/generic: add MIB counters and port status to ADM6996 switch

This patch adds port status information and MIB counters to the ADM6996
switch driver.

The driver supports also the older ADM6996L-variant, but I'm not able to
test this patch on that chip. According to the datasheet the same
registers exist there as well, so I think it should work, but any
feedback is appreciated.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40542

5 years agolantiq: fix maximum ethernet header length
John Crispin [Tue, 22 Apr 2014 08:07:53 +0000 (08:07 +0000)]
lantiq: fix maximum ethernet header length

The total ethernet frame length should be written to the hardware
register LTQ_ETOP_IGPLEN instead of just the value of the MTU. This
patch fixes network issues on various Danube boards, especially when
VLAN tagging is enabled.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40541

5 years ago[3.14]: add missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:16:03 +0000 (18:16 +0000)]
[3.14]: add missing symbols in prepping for afs patchset

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 40540

5 years ago[3.10]: add missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:14:17 +0000 (18:14 +0000)]
[3.10]: add missing symbols in prepping for afs patchset

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 40539

5 years ago[3.13]: add missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:13:19 +0000 (18:13 +0000)]
[3.13]: add missing symbols in prepping for afs patchset

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 40538

5 years ago[tools] scons: upgrade to 2.3.1
Luka Perkov [Sat, 19 Apr 2014 21:39:12 +0000 (21:39 +0000)]
[tools] scons: upgrade to 2.3.1

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

5 years ago[tools] mpc: upgrade to 1.0.2
Luka Perkov [Sat, 19 Apr 2014 21:39:11 +0000 (21:39 +0000)]
[tools] mpc: upgrade to 1.0.2

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

5 years ago[tools] flex: upgrade to version 2.5.39
Luka Perkov [Sat, 19 Apr 2014 21:39:10 +0000 (21:39 +0000)]
[tools] flex: upgrade to version 2.5.39

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

5 years agokobs-ng: Add support for overriding size
Luka Perkov [Sat, 19 Apr 2014 21:39:09 +0000 (21:39 +0000)]
kobs-ng: Add support for overriding size

By default kobs-ng will use the size of /dev/mtd0 for the IMX bootstreams.
This patch allows overriding that size in order to reserve space at the end
of the mtd partition for u-boot.img in the case of using an SPL bootloader.

For example, to flash an SPL bootloader that loads u-boot.img from 0xe0000
(14MB) offset in a 16MB /dev/mtd0:

  kobs-ng init -v -x --search_exponent=1 --chip_0_size=0xe00000 SPL
  nandwrite --start=0xe00000 --pad /dev/mtd0 u-boot.img

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

5 years agoimx6-gateworks: enable new canbus packages
Luka Perkov [Sat, 19 Apr 2014 21:39:04 +0000 (21:39 +0000)]
imx6-gateworks: enable new canbus packages

The canbus package was recently changed to a more active project. This patch
updates the default package names to include the same functionality as before.

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

5 years agofeeds.conf.default: the telephony feed is now on git.openwrt.org
Felix Fietkau [Sat, 19 Apr 2014 17:26:11 +0000 (17:26 +0000)]
feeds.conf.default: the telephony feed is now on git.openwrt.org

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

5 years agonetifd: update to the latest version, fixes some more issues related to l3_dev handling
Felix Fietkau [Sat, 19 Apr 2014 09:58:40 +0000 (09:58 +0000)]
netifd: update to the latest version, fixes some more issues related to l3_dev handling

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

5 years agobase-files: remove duplicate wps button handler (#15621)
Felix Fietkau [Fri, 18 Apr 2014 17:27:38 +0000 (17:27 +0000)]
base-files: remove duplicate wps button handler (#15621)

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

5 years agobuild: reimplement package build directory override
Felix Fietkau [Fri, 18 Apr 2014 14:58:01 +0000 (14:58 +0000)]
build: reimplement package build directory override

Remove leftover pieces from package-version-override.mk support
Add a new variable USE_SOURCE_DIR to use a custom build directory.

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

5 years agofstools: fix extroot with opkg-installed block-mount (#15550)
Jo-Philipp Wich [Thu, 17 Apr 2014 17:59:47 +0000 (17:59 +0000)]
fstools: fix extroot with opkg-installed block-mount (#15550)

The /sbin/block binary now requires and additional shared library, therfore set
LD_LIBRARY_PATH accordingly when invoking it from the temporary overlay.

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

5 years agolantiq: remove uboot lzma patch, apparently its not needed after all
John Crispin [Wed, 16 Apr 2014 12:11:24 +0000 (12:11 +0000)]
lantiq: remove uboot lzma patch, apparently its not needed after all

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

5 years agouboot-lantiq: backport lzma fix
John Crispin [Wed, 16 Apr 2014 12:01:24 +0000 (12:01 +0000)]
uboot-lantiq: backport lzma fix

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

5 years agolantiq: ARV7519RW22: several fixes
John Crispin [Wed, 16 Apr 2014 12:01:09 +0000 (12:01 +0000)]
lantiq: ARV7519RW22: several fixes

- Fix ethernet ports.
- Clean DTS files.
- WiFi is lantiq based (not supported yet), remove ath9k.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40519

5 years agosunxi: remove mainlined patches
Zoltan Herpai [Mon, 14 Apr 2014 21:36:39 +0000 (21:36 +0000)]
sunxi: remove mainlined patches

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 40512

5 years agods-lite: disable NAT according to RFC 7084
Steven Barth [Mon, 14 Apr 2014 10:11:54 +0000 (10:11 +0000)]
ds-lite: disable NAT according to RFC 7084

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 40511

5 years agofirewall: add support for nat-rules and netifd-proto-originating rules
Steven Barth [Mon, 14 Apr 2014 10:11:34 +0000 (10:11 +0000)]
firewall: add support for nat-rules and netifd-proto-originating rules

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 40510

5 years agoar71xx: rb91x: fix ethernet packet loss issues
Gabor Juhos [Sun, 13 Apr 2014 20:41:52 +0000 (20:41 +0000)]
ar71xx: rb91x: fix ethernet packet loss issues

The RB91x boards are suffering from ethernet packet loss after a cold
boot. The cause of the problem is that the AR8035 PHYs requires special
register settings to work reliably on these boards.

Enable the RGMII TX, RX delays and disable SmartEE functionality of
the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register
to fix the issue.

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

5 years agoar71xx/mikrotik: enable the AT803x PHY driver
Gabor Juhos [Sun, 13 Apr 2014 20:41:51 +0000 (20:41 +0000)]
ar71xx/mikrotik: enable the AT803x PHY driver

It will be used on the RB91x boards.

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

5 years agoar71xx: allow to configure AR803x PHYs via platform data
Gabor Juhos [Sun, 13 Apr 2014 20:41:50 +0000 (20:41 +0000)]
ar71xx: allow to configure AR803x PHYs via platform data

Add a patch for the at803x phy driver, in order to be able
to configure some register settings via platform data.

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

5 years agoar71xx: add phy_mmd_{read,write} helpers
Gabor Juhos [Sun, 13 Apr 2014 20:41:48 +0000 (20:41 +0000)]
ar71xx: add phy_mmd_{read,write} helpers

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

5 years agoar71xx: enable console on the RB91x boards
Gabor Juhos [Sun, 13 Apr 2014 20:41:42 +0000 (20:41 +0000)]
ar71xx: enable console on the RB91x boards

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

5 years agoralink: add port_init for rt2880
John Crispin [Sun, 13 Apr 2014 18:01:08 +0000 (18:01 +0000)]
ralink: add port_init for rt2880

Forgotten patch to fix ethernet for rt2880.
Based on previously submitted patch from Claudio.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40504

5 years agoiw: sync nl80211.h (fixes settting antenna_gain)
Felix Fietkau [Sun, 13 Apr 2014 09:53:51 +0000 (09:53 +0000)]
iw: sync nl80211.h (fixes settting antenna_gain)

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

5 years agoar71xx: add profile and build image for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:09 +0000 (08:29 +0000)]
ar71xx: add profile and build image for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: remove the non-existing zyxelnand subtarget specific stuff]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40502

5 years agouboot-envtools: add support for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:08 +0000 (08:29 +0000)]
uboot-envtools: add support for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40501

5 years agoar71xx: add user-space support for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:07 +0000 (08:29 +0000)]
ar71xx: add user-space support for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40500

5 years agoar71xx: add kernel support for ZyXEL NBG 6716
Gabor Juhos [Sun, 13 Apr 2014 08:29:05 +0000 (08:29 +0000)]
ar71xx: add kernel support for ZyXEL NBG 6716

With this patch OpenWRT supports the following on the ZyXEL NBG 6716:
-WiFi 2G (ath9k)
-WiFi 5G (ath10k)
-NAND flash
-2 Ethernet interfaces
-USB 2.0
-LEDs including switch
-reasonale defaults at first boot

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg:
  - rename and refresh kernel patch,
  - fix a few typos,
  - change button key codes,
  - use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40499

5 years agolantiq: enable switch on td8970
John Crispin [Sat, 12 Apr 2014 21:22:21 +0000 (21:22 +0000)]
lantiq: enable switch on td8970

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

5 years ago802.11s: fix authsae support in netifd
John Crispin [Sat, 12 Apr 2014 21:22:17 +0000 (21:22 +0000)]
802.11s: fix authsae support in netifd

This patch implements support for 802.11s protected mesh wireless networks (using authsae) in the netifd framework.

Until meshd-nl80211 implements a proper -P option for the PID file, this uses shell backgrounding in order to be able to get the PID for the process.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 40497

5 years agorpcd: update to the latest version
John Crispin [Sat, 12 Apr 2014 21:22:12 +0000 (21:22 +0000)]
rpcd: update to the latest version

This is required to make object "session" procedure "access" dump ACLs
when no "object" or no "function" parameters are passed.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 40496

5 years agoFix ARV7519RW images
John Crispin [Sat, 12 Apr 2014 21:22:08 +0000 (21:22 +0000)]
Fix ARV7519RW images

This patch moves ARV7519RW definitions to VR9 section from the AR9 section and removes a whitespace that breaks jffs2 image generation.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40495

5 years agoFix Asus rt-n15 board support
John Crispin [Sat, 12 Apr 2014 21:22:04 +0000 (21:22 +0000)]
Fix Asus rt-n15 board support

* gpio leds and buttons
* ethernet

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40494

5 years agort2880 DT fixes
John Crispin [Sat, 12 Apr 2014 21:22:00 +0000 (21:22 +0000)]
rt2880 DT fixes

* add pinctrl
* fix ethernet port
* make wifi available by default

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40493

5 years agoFix pinmux-rt2880
John Crispin [Sat, 12 Apr 2014 21:21:56 +0000 (21:21 +0000)]
Fix pinmux-rt2880

The last arg to FUNC() is count, not last pin.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40492

5 years agoAdd wmac clock for rt2880
John Crispin [Sat, 12 Apr 2014 21:21:53 +0000 (21:21 +0000)]
Add wmac clock for rt2880

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40491

5 years agosparse: add as a new package selectable from the config
John Crispin [Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)]
sparse: add as a new package selectable from the config

This change does multiple things, all related to enable sparse usage as
a static analysis tool selectable from the OpenWrt configuration:
*add a KERNEL_SPARSE option in the config to add sparse to the kernel
 build (through the C=1 option usage)
*add sparse as a new host tools. It will get selected automatically when
 the above option will be enabled

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40490

5 years agoDon't try to generate whr-g300n image if it's going to be more than 4M
John Crispin [Sat, 12 Apr 2014 21:21:44 +0000 (21:21 +0000)]
Don't try to generate whr-g300n image if it's going to be more than 4M

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40489

5 years agouboot-lantiq: enable parallel building
John Crispin [Sat, 12 Apr 2014 21:21:40 +0000 (21:21 +0000)]
uboot-lantiq: enable parallel building

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40488

5 years agouboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq
John Crispin [Sat, 12 Apr 2014 21:21:35 +0000 (21:21 +0000)]
uboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40487

5 years agouboot-lantiq: add packages for AudioCodes MP-252
John Crispin [Sat, 12 Apr 2014 21:21:31 +0000 (21:21 +0000)]
uboot-lantiq: add packages for AudioCodes MP-252

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40486

5 years agouboot-lantiq: add packages for various Arcadyan boards
John Crispin [Sat, 12 Apr 2014 21:21:26 +0000 (21:21 +0000)]
uboot-lantiq: add packages for various Arcadyan boards

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40485

5 years agouboot-lantiq: add packages for Lantiq EASY80920
John Crispin [Sat, 12 Apr 2014 21:21:23 +0000 (21:21 +0000)]
uboot-lantiq: add packages for Lantiq EASY80920

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40484

5 years agouboot-lantiq: add packages for Lantiq EASY50712
John Crispin [Sat, 12 Apr 2014 21:21:18 +0000 (21:21 +0000)]
uboot-lantiq: add packages for Lantiq EASY50712

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40483

5 years agouboot-lantiq: update to v2013.10
John Crispin [Sat, 12 Apr 2014 21:21:14 +0000 (21:21 +0000)]
uboot-lantiq: update to v2013.10

Patches created from tree:
git@github.com:danielschwierzeck/u-boot-lantiq.git
v2013.10..u-boot-lantiq-v2013.10-openwrt4

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40482

5 years agoar71xx: build firmware image for the WNDR3700 v4 board
Gabor Juhos [Sat, 12 Apr 2014 20:22:41 +0000 (20:22 +0000)]
ar71xx: build firmware image for the WNDR3700 v4 board

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

5 years agoar71xx/image: allow to use more arguments for some macros
Gabor Juhos [Sat, 12 Apr 2014 20:00:37 +0000 (20:00 +0000)]
ar71xx/image: allow to use more arguments for some macros

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

5 years agoar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files
Gabor Juhos [Sat, 12 Apr 2014 19:58:23 +0000 (19:58 +0000)]
ar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files

Apart from the wireless chip, the WNDR3700 v4 and the WNDR4300
is the same device. Indicate this in the kernel files.

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

5 years agoar71xx: wndr4300: enable 5V power for the USB port
Gabor Juhos [Sat, 12 Apr 2014 19:58:20 +0000 (19:58 +0000)]
ar71xx: wndr4300: enable 5V power for the USB port

The 5V power of the USB is controlled by a GPIO pin of
the external WiFi chip. Setup the GPIO bitmasks in the
platform data of the WiFi chip to ensure that the 5V
power gets enabled by the ath9k driver.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

5 years agoar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
Gabor Juhos [Sat, 12 Apr 2014 17:53:34 +0000 (17:53 +0000)]
ar71xx: wndr4300: use KEY_RFKILL code for the Wireless button

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

5 years agoar71xx: add default LED config for WiFi LEDs on the WNDR4300
Gabor Juhos [Sat, 12 Apr 2014 17:42:36 +0000 (17:42 +0000)]
ar71xx: add default LED config for WiFi LEDs on the WNDR4300

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

5 years agoar71xx: wndr4300: add LED for 2.4Ghz wifi interface
Gabor Juhos [Sat, 12 Apr 2014 17:42:35 +0000 (17:42 +0000)]
ar71xx: wndr4300: add LED for 2.4Ghz wifi interface

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

5 years agoar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs
Gabor Juhos [Sat, 12 Apr 2014 17:42:34 +0000 (17:42 +0000)]
ar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs

The bootloader does not initializes the output function
correctly for all LEDs. DO that from the board setup code.

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