openwrt/staging/blocktrron.git
11 years agobrcm63xx: reduce the number of Ethernet DMA channels from 16 to 8
Florian Fainelli [Thu, 20 Jun 2013 18:47:36 +0000 (18:47 +0000)]
brcm63xx: reduce the number of Ethernet DMA channels from 16 to 8

We currently used 16 DMA Ethernet channels, but the hardware only
supports up to 8 (with 2 per enet and the remaining for USB slave).

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36979

11 years agomac80211: add rt2x00-mmio package to store the common parts for SoC and PCI access
Hauke Mehrtens [Thu, 20 Jun 2013 15:03:28 +0000 (15:03 +0000)]
mac80211: add rt2x00-mmio package to store the common parts for SoC and PCI access

This should fix a build error on ramips.

SVN-Revision: 36978

11 years agoath9k: fix cabq depth accounting
Felix Fietkau [Thu, 20 Jun 2013 13:10:31 +0000 (13:10 +0000)]
ath9k: fix cabq depth accounting

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

11 years agoacx-mac80211: make it compile with the new backports mac80211
Hauke Mehrtens [Wed, 19 Jun 2013 21:37:56 +0000 (21:37 +0000)]
acx-mac80211: make it compile with the new backports mac80211

SVN-Revision: 36976

11 years agomac80211: libertas-sd depends on mmc
Hauke Mehrtens [Wed, 19 Jun 2013 21:36:52 +0000 (21:36 +0000)]
mac80211: libertas-sd depends on mmc

SVN-Revision: 36975

11 years agomac80211: copy the backport-include files to staging_dir
Hauke Mehrtens [Wed, 19 Jun 2013 21:36:22 +0000 (21:36 +0000)]
mac80211: copy the backport-include files to staging_dir

SVN-Revision: 36974

11 years agomac80211: do not use CPTCFG_SSB and CPTCFG_BCMA
Hauke Mehrtens [Wed, 19 Jun 2013 21:33:31 +0000 (21:33 +0000)]
mac80211: do not use CPTCFG_SSB and CPTCFG_BCMA

ssb and bcma are not build by compat-wireless / backports and the
config symbols are also not taken from there. Use the in kernel config
symbols. This fixes a build error in brcmsmac/led.c

SVN-Revision: 36973

11 years agomac80211: do not build RT2X00_LIB_XXX when XXX is not available in the kernel.
Hauke Mehrtens [Wed, 19 Jun 2013 21:29:34 +0000 (21:29 +0000)]
mac80211: do not build RT2X00_LIB_XXX when XXX is not available in the kernel.

It was possible to select RT2X00_LIB_PCI without PCI being selected.

This closes #13720
mrkiko thanks for testing.

SVN-Revision: 36972

11 years ago6relayd: correctly set downstream routes for DHCPv6-PD
Steven Barth [Wed, 19 Jun 2013 13:08:33 +0000 (13:08 +0000)]
6relayd: correctly set downstream routes for DHCPv6-PD

SVN-Revision: 36969

11 years agolinux-3.8: backport a leds-gpio.c crash fix (fixes #13721)
Felix Fietkau [Tue, 18 Jun 2013 22:23:38 +0000 (22:23 +0000)]
linux-3.8: backport a leds-gpio.c crash fix (fixes #13721)

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

11 years agotools/mkimage: add back a fixed version of 040-include_order.patch to fix build error...
Felix Fietkau [Tue, 18 Jun 2013 21:53:46 +0000 (21:53 +0000)]
tools/mkimage: add back a fixed version of 040-include_order.patch to fix build errors on some systems (#12232)

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

11 years agonetifd: update to latest version, fixes a NULL pointer deref bug
Felix Fietkau [Tue, 18 Jun 2013 16:24:48 +0000 (16:24 +0000)]
netifd: update to latest version, fixes a NULL pointer deref bug

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

11 years agofirewall: update to git head
Jo-Philipp Wich [Tue, 18 Jun 2013 14:30:51 +0000 (14:30 +0000)]
firewall: update to git head

- fixes misprocessing of unknown symbolic protocol names

SVN-Revision: 36963

11 years agofirewall: update to git head
Jo-Philipp Wich [Tue, 18 Jun 2013 14:14:35 +0000 (14:14 +0000)]
firewall: update to git head

- fixes calculation of IPv4 netmasks derived from 0.0.0.0/0 CIDRs

SVN-Revision: 36960

11 years agoodhcp6c: Add option to override interface identifier in RA-client
Steven Barth [Tue, 18 Jun 2013 12:51:14 +0000 (12:51 +0000)]
odhcp6c: Add option to override interface identifier in RA-client

SVN-Revision: 36959

11 years agobrcm63xx: refresh 3.9 patches
Florian Fainelli [Tue, 18 Jun 2013 10:54:28 +0000 (10:54 +0000)]
brcm63xx: refresh 3.9 patches

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36958

11 years agobrcm63xx: provide a default sane MAC address for Cable Modem devices
Florian Fainelli [Tue, 18 Jun 2013 10:54:24 +0000 (10:54 +0000)]
brcm63xx: provide a default sane MAC address for Cable Modem devices

Cable modem devices currently poke at some random location in RAM and
may end up having an invalid MAC address which is not suitable. Provide
a default one which is sane.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36957

11 years agolibubox: update to latest version, fixes uloop recursion issues
Felix Fietkau [Tue, 18 Jun 2013 10:52:40 +0000 (10:52 +0000)]
libubox: update to latest version, fixes uloop recursion issues

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

11 years agoustream-ssl: update to latest version, fixes uhttpd infinite loop issues
Felix Fietkau [Tue, 18 Jun 2013 10:52:33 +0000 (10:52 +0000)]
ustream-ssl: update to latest version, fixes uhttpd infinite loop issues

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

11 years agobrcm63xx: create initramfs HCS images
Florian Fainelli [Mon, 17 Jun 2013 22:57:04 +0000 (22:57 +0000)]
brcm63xx: create initramfs HCS images

Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36954

11 years agonetifd: IPv6: Fix sorting order in last commit.
Steven Barth [Mon, 17 Jun 2013 21:29:14 +0000 (21:29 +0000)]
netifd: IPv6: Fix sorting order in last commit.

SVN-Revision: 36952

11 years agonetifd: Satisfy IPv6 assignments ordered by prefix length
Steven Barth [Mon, 17 Jun 2013 21:16:22 +0000 (21:16 +0000)]
netifd: Satisfy IPv6 assignments ordered by prefix length

SVN-Revision: 36950

11 years agobrcm63xx: simplify HCS image creation
Florian Fainelli [Mon, 17 Jun 2013 19:32:56 +0000 (19:32 +0000)]
brcm63xx: simplify HCS image creation

$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36949

11 years agobrcm63xx: remove support for 3.8 kernel
Florian Fainelli [Mon, 17 Jun 2013 19:32:47 +0000 (19:32 +0000)]
brcm63xx: remove support for 3.8 kernel

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36948

11 years agobrcm63xx: switch to 3.9 kernel
Florian Fainelli [Mon, 17 Jun 2013 19:32:42 +0000 (19:32 +0000)]
brcm63xx: switch to 3.9 kernel

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36947

11 years agobrcm63xx: fix missing antislash in BCM6345 ethernet patch
Florian Fainelli [Mon, 17 Jun 2013 19:32:35 +0000 (19:32 +0000)]
brcm63xx: fix missing antislash in BCM6345 ethernet patch

This would cause build failure when disabling support for particular
CPUs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36946

11 years agohostapd: correctly handle macfile uci option
Jo-Philipp Wich [Mon, 17 Jun 2013 11:59:29 +0000 (11:59 +0000)]
hostapd: correctly handle macfile uci option

Make hostapd.sh correctly handle the macfile uci option.

Such option specifies the macfile name to pass into the
hostapd configuration file. Moreover, if a maclist option
has been specified, copy the macfile before appending new
entries.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
SVN-Revision: 36944

11 years agodnsmasq: use host-record instead of address
Jo-Philipp Wich [Mon, 17 Jun 2013 11:55:30 +0000 (11:55 +0000)]
dnsmasq: use host-record instead of address

Using "--address" for individual host A records is broken, use "--host-record" instead.
The following patch changes dnsmasq.init to build individual host records using "--host-record" instead of "--address".

Signed-off-by: Adam Gensler <openwrt at gnslr.us>
[jow: shorter description, simplified shell script code]

SVN-Revision: 36943

11 years agobase-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() to take...
Jo-Philipp Wich [Mon, 17 Jun 2013 11:33:36 +0000 (11:33 +0000)]
base-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() to take ipv6-prefix-assignment into account, add further helper functions to fetch all ips of a given interface

SVN-Revision: 36942

11 years agoath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions
Felix Fietkau [Sun, 16 Jun 2013 12:56:16 +0000 (12:56 +0000)]
ath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions

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

11 years agomac80211: fix disabling rfkill support
Felix Fietkau [Sun, 16 Jun 2013 09:25:41 +0000 (09:25 +0000)]
mac80211: fix disabling rfkill support

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

11 years agomac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Felix Fietkau [Sat, 15 Jun 2013 20:14:06 +0000 (20:14 +0000)]
mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure

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

11 years agokirkwood: disable the CONFIG_IP_ADVANCED_ROUTER kernel config override (#13702)
Felix Fietkau [Sat, 15 Jun 2013 11:50:50 +0000 (11:50 +0000)]
kirkwood: disable the CONFIG_IP_ADVANCED_ROUTER kernel config override (#13702)

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

11 years agofirewall: update to git head
Jo-Philipp Wich [Thu, 13 Jun 2013 18:54:49 +0000 (18:54 +0000)]
firewall: update to git head

- properly process intermediate "!" options in argument list (fixes negated ipsets)

SVN-Revision: 36935

11 years agofirewall: update to git head
Jo-Philipp Wich [Thu, 13 Jun 2013 12:49:00 +0000 (12:49 +0000)]
firewall: update to git head

- fixes handling of reject target for rule sections with specific destination zone

SVN-Revision: 36933

11 years agouhttpd: expose missing options to uci
Jo-Philipp Wich [Thu, 13 Jun 2013 11:55:12 +0000 (11:55 +0000)]
uhttpd: expose missing options to uci

SVN-Revision: 36932

11 years agoodhcp6c: add sanity checks for NDP and MTU parameters from RAs
Steven Barth [Thu, 13 Jun 2013 06:38:48 +0000 (06:38 +0000)]
odhcp6c: add sanity checks for NDP and MTU parameters from RAs

SVN-Revision: 36930

11 years agobrcm47xx: run make kernel_oldconfig for 3.9 kernel config
Hauke Mehrtens [Wed, 12 Jun 2013 14:51:50 +0000 (14:51 +0000)]
brcm47xx: run make kernel_oldconfig for 3.9 kernel config

SVN-Revision: 36928

11 years agobrcm47xx: remove support for kernel 3.6
Hauke Mehrtens [Wed, 12 Jun 2013 14:48:45 +0000 (14:48 +0000)]
brcm47xx: remove support for kernel 3.6

SVN-Revision: 36927

11 years agobrcm47xx: add initial support for kernel 3.9
Hauke Mehrtens [Wed, 12 Jun 2013 14:47:53 +0000 (14:47 +0000)]
brcm47xx: add initial support for kernel 3.9

SVN-Revision: 36926

11 years agokernel: add dependencies for kernel 3.10
Hauke Mehrtens [Wed, 12 Jun 2013 13:59:34 +0000 (13:59 +0000)]
kernel: add dependencies for kernel 3.10

SVN-Revision: 36925

11 years ago6relayd: make route preference and prefix on-link flag configurable
Steven Barth [Tue, 11 Jun 2013 20:52:27 +0000 (20:52 +0000)]
6relayd: make route preference and prefix on-link flag configurable

SVN-Revision: 36922

11 years agobase-files: remove unnecessary early sysctl-hack
Steven Barth [Tue, 11 Jun 2013 14:10:45 +0000 (14:10 +0000)]
base-files: remove unnecessary early sysctl-hack

SVN-Revision: 36920

11 years agobase-files: set default IPv6 forwarding value to 1
Steven Barth [Tue, 11 Jun 2013 13:30:18 +0000 (13:30 +0000)]
base-files: set default IPv6 forwarding value to 1

SVN-Revision: 36918

11 years agouci: update to fix excessive reorder delta entry duplication (#13678)
Felix Fietkau [Tue, 11 Jun 2013 12:51:08 +0000 (12:51 +0000)]
uci: update to fix excessive reorder delta entry duplication (#13678)

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

11 years agolibubox: update to latest version, fixes an uloop use-after-free bug
Felix Fietkau [Tue, 11 Jun 2013 11:46:54 +0000 (11:46 +0000)]
libubox: update to latest version, fixes an uloop use-after-free bug

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

11 years agolinux: add ipv6 failed-policy routing action (by Jonas Gorski)
Steven Barth [Tue, 11 Jun 2013 09:27:53 +0000 (09:27 +0000)]
linux: add ipv6 failed-policy routing action (by Jonas Gorski)

SVN-Revision: 36911

11 years agoiproute2: add drop-failed rule action (patch by Jonas Gorski)
Steven Barth [Tue, 11 Jun 2013 09:27:46 +0000 (09:27 +0000)]
iproute2: add drop-failed rule action (patch by Jonas Gorski)

SVN-Revision: 36910

11 years agonetifd: update to latest version, uses the new uci/blob code from libuci
Felix Fietkau [Mon, 10 Jun 2013 12:42:30 +0000 (12:42 +0000)]
netifd: update to latest version, uses the new uci/blob code from libuci

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

11 years agouci: update to latest version, adds uci<->blobmsg conversion code from netifd
Felix Fietkau [Mon, 10 Jun 2013 12:42:25 +0000 (12:42 +0000)]
uci: update to latest version, adds uci<->blobmsg conversion code from netifd

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

11 years agolibubox: update to latest version, adds some helper function
Felix Fietkau [Mon, 10 Jun 2013 12:42:20 +0000 (12:42 +0000)]
libubox: update to latest version, adds some helper function

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

11 years agoppp: correctly handle address when reloading
Steven Barth [Mon, 10 Jun 2013 10:42:34 +0000 (10:42 +0000)]
ppp: correctly handle address when reloading

SVN-Revision: 36904

11 years agonetifd: improve reloading behaviour
Steven Barth [Mon, 10 Jun 2013 10:42:15 +0000 (10:42 +0000)]
netifd: improve reloading behaviour

SVN-Revision: 36903

11 years agolantiq: atm: Use a tasklet to handle incoming packets. Fix #12917.
John Crispin [Mon, 10 Jun 2013 08:25:17 +0000 (08:25 +0000)]
lantiq: atm: Use a tasklet to handle incoming packets. Fix #12917.

Incoming packets are now processes in a tasklet instead of in the
irq handler; this should improve latency.

This patch is based on a previous version of ltq-atm driver, which
did implement a tasklet.

It has been tested on a arv4518pw with a
Lantiq Danube for about a month and it seems to work well.

Signed-off-by: Luca Dariz <luca.dariz@gmail.com>
Tested-by: Luca Dariz <luca.dariz@gmail.com>
SVN-Revision: 36902

11 years agolantiq: Fixes to athxk EEPROM loading
John Crispin [Mon, 10 Jun 2013 08:25:12 +0000 (08:25 +0000)]
lantiq: Fixes to athxk EEPROM loading

Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.

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

11 years agolantiq: make kernel_oldconfig
John Crispin [Mon, 10 Jun 2013 08:25:07 +0000 (08:25 +0000)]
lantiq: make kernel_oldconfig

Seems the existing kernel config for 3.8 was cp'ed from 3.7; this patch
is the result of "make kernel_oldconfig" with defaults for new options.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 36900

11 years agolantiq: diag.sh with both red and green power LEDs
John Crispin [Mon, 10 Jun 2013 08:25:02 +0000 (08:25 +0000)]
lantiq: diag.sh with both red and green power LEDs

This provides a boot LED sequence suitable for devices with both red and
green LEDs for power. This assumes no "default-on" settings in the
device tree.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 36899

11 years agoramips: add HAME MPR-A2 support
John Crispin [Mon, 10 Jun 2013 08:24:56 +0000 (08:24 +0000)]
ramips: add HAME MPR-A2 support

This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2

Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>
SVN-Revision: 36898

11 years agoramips: add support for belkin F7C027 wemo/homeautomatisation plug
John Crispin [Mon, 10 Jun 2013 08:24:50 +0000 (08:24 +0000)]
ramips: add support for belkin F7C027 wemo/homeautomatisation plug

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 36897

11 years agoprocd: make the preinit rules wildcard all buttons for failsafe
John Crispin [Mon, 10 Jun 2013 08:24:44 +0000 (08:24 +0000)]
procd: make the preinit rules wildcard all buttons for failsafe

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

11 years agoprocd: update to latest git revision
John Crispin [Mon, 10 Jun 2013 08:24:39 +0000 (08:24 +0000)]
procd: update to latest git revision

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

11 years agoubox: update to latest git revision
John Crispin [Mon, 10 Jun 2013 08:24:35 +0000 (08:24 +0000)]
ubox: update to latest git revision

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

11 years agosysupgrade: create state file so procd knows when a sysupgrade is in progress
John Crispin [Mon, 10 Jun 2013 08:24:31 +0000 (08:24 +0000)]
sysupgrade: create state file so procd knows when a sysupgrade is in progress

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

11 years agomodules: make all led and button modules used during boot priority 1
John Crispin [Mon, 10 Jun 2013 08:24:25 +0000 (08:24 +0000)]
modules: make all led and button modules used during boot priority 1

This makes sure the modules are symlinked in /etc/modules-boot.d/

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

11 years agobase-files: fix failsafe via button press
John Crispin [Mon, 10 Jun 2013 08:24:13 +0000 (08:24 +0000)]
base-files: fix failsafe via button press

entering failsafe by pressing a button during boot was broken for procd as init

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

11 years agobase-files: change PATH order
John Crispin [Mon, 10 Jun 2013 08:24:02 +0000 (08:24 +0000)]
base-files: change PATH order

This allows packages to override busybox applets by placing the new
binaries in /usr/{sbin,bin}

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

11 years agoiwinfo: add phyname attribute, this is useful to group networks by radio phy
Jo-Philipp Wich [Sun, 9 Jun 2013 14:39:14 +0000 (14:39 +0000)]
iwinfo: add phyname attribute, this is useful to group networks by radio phy

SVN-Revision: 36889

11 years agolibiwinfo: ignore log messages from wpa_supplicant while scanning
Jo-Philipp Wich [Sun, 9 Jun 2013 14:39:09 +0000 (14:39 +0000)]
libiwinfo: ignore log messages from wpa_supplicant while scanning

wpa_supplicant may send log and event messages intermixed with the
expected scan results.  This makes "iwinfo wlan0 scan" and LuCI
"site survey" display nothing when many AP's are around.

Eliminate the CTRL-EVENT-BSS-ADDED events, interspersed log messages,
lines with unexpected format.  Increase timeout to handle the max
number of channels (2.4, 3.6, 4.9, 5 GHz).  Insure receive buffer is
null-terminated.

Signed-off-by: Jean-Pierre Tosoni <jp.tosoni@acksys.fr>
SVN-Revision: 36888

11 years agonetifd: Improve IPv6 source-routing policies
Steven Barth [Sat, 8 Jun 2013 13:26:33 +0000 (13:26 +0000)]
netifd: Improve IPv6 source-routing policies

SVN-Revision: 36884

11 years agonetifd: bring wifi down before shutting down
Jonas Gorski [Sat, 8 Jun 2013 11:44:12 +0000 (11:44 +0000)]
netifd: bring wifi down before shutting down

works around wifiX references not being freed on network restart.

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

11 years agolantiq: fix formating in .dts files
Luka Perkov [Sat, 8 Jun 2013 11:36:07 +0000 (11:36 +0000)]
lantiq: fix formating in .dts files

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

11 years agoath9k: fix paprd descriptor setup
Felix Fietkau [Fri, 7 Jun 2013 16:11:56 +0000 (16:11 +0000)]
ath9k: fix paprd descriptor setup

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

11 years agoath9k: improve multicast buffering handling, take care of the MORE_DATA flag properly
Felix Fietkau [Fri, 7 Jun 2013 16:04:06 +0000 (16:04 +0000)]
ath9k: improve multicast buffering handling, take care of the MORE_DATA flag properly

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

11 years agoar71xx: disable routerboard support in the generic subtarget, enable it for the nand...
Felix Fietkau [Fri, 7 Jun 2013 13:42:50 +0000 (13:42 +0000)]
ar71xx: disable routerboard support in the generic subtarget, enable it for the nand subtarget only

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

11 years agokernel/generic: add a few missing kernel config symbols
Felix Fietkau [Fri, 7 Jun 2013 13:42:39 +0000 (13:42 +0000)]
kernel/generic: add a few missing kernel config symbols

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

11 years agobrcm63xx: add user-space support for Netgear CVG834G
Florian Fainelli [Thu, 6 Jun 2013 22:22:20 +0000 (22:22 +0000)]
brcm63xx: add user-space support for Netgear CVG834G

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36877

11 years agobrcm63xx: add kernel space and image support for the Netgear CVG834G
Florian Fainelli [Thu, 6 Jun 2013 22:22:14 +0000 (22:22 +0000)]
brcm63xx: add kernel space and image support for the Netgear CVG834G

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36876

11 years agobrcm63xx: add Broadcom cable modem firmware format header
Florian Fainelli [Thu, 6 Jun 2013 22:22:09 +0000 (22:22 +0000)]
brcm63xx: add Broadcom cable modem firmware format header

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36875

11 years agobrcm63xx: add support for BCM3368
Florian Fainelli [Thu, 6 Jun 2013 22:21:58 +0000 (22:21 +0000)]
brcm63xx: add support for BCM3368

Add support for the Broadcom BCM3368 cable modem chipset, includes:
- Ethernet
- SPI
- UARTs
- GPIOs
- PCI

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36874

11 years agotools: add Broadcom cable modem firmware image creator
Florian Fainelli [Thu, 6 Jun 2013 22:21:52 +0000 (22:21 +0000)]
tools: add Broadcom cable modem firmware image creator

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36873

11 years agofirewall: udpate to git head (#13652, #13654, #13658)
Jo-Philipp Wich [Thu, 6 Jun 2013 14:12:02 +0000 (14:12 +0000)]
firewall: udpate to git head (#13652, #13654, #13658)

  - optimizes chain usage for ingress rules
  - adds limit match support for redirect rules
  - fixes automatic redirect dest detection on little endian systems
  - leaves base chains in place on reload to allow user rules to target e.g. "reject"

SVN-Revision: 36871

11 years agofirewall: copy libext*.a from staging dir and drop kernel.mk includes, solves problem...
Jo-Philipp Wich [Thu, 6 Jun 2013 14:02:29 +0000 (14:02 +0000)]
firewall: copy libext*.a from staging dir and drop kernel.mk includes, solves problem with colliding CONFIG_IPV6 symbols

SVN-Revision: 36868

11 years agoiptables: install libext*.a into staging dir
Jo-Philipp Wich [Thu, 6 Jun 2013 14:02:24 +0000 (14:02 +0000)]
iptables: install libext*.a into staging dir

SVN-Revision: 36867

11 years agobase-files: use less entropy when generating ULAs
Steven Barth [Thu, 6 Jun 2013 09:52:00 +0000 (09:52 +0000)]
base-files: use less entropy when generating ULAs

SVN-Revision: 36865

11 years agogcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
Felix Fietkau [Wed, 5 Jun 2013 23:37:12 +0000 (23:37 +0000)]
gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro

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

11 years agotarget: don't build jffs2 nor images by default
Jonas Gorski [Wed, 5 Jun 2013 20:58:59 +0000 (20:58 +0000)]
target: don't build jffs2 nor images by default

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

11 years agoomap24xx: convert to use the new jffs2_nand
Jonas Gorski [Wed, 5 Jun 2013 20:58:55 +0000 (20:58 +0000)]
omap24xx: convert to use the new jffs2_nand

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

11 years agokirkwood: convert to use the new jffs2_nand
Jonas Gorski [Wed, 5 Jun 2013 20:58:53 +0000 (20:58 +0000)]
kirkwood: convert to use the new jffs2_nand

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

11 years agotarget: split jffs2 NAND out of jffs2
Jonas Gorski [Wed, 5 Jun 2013 20:58:03 +0000 (20:58 +0000)]
target: split jffs2 NAND out of jffs2

Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

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

11 years agoath9k: fix a regression in the powersave handling related changes
Felix Fietkau [Wed, 5 Jun 2013 19:16:20 +0000 (19:16 +0000)]
ath9k: fix a regression in the powersave handling related changes

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

11 years agoath9k: merge a fix for ar9550 eeprom access
Felix Fietkau [Wed, 5 Jun 2013 19:16:16 +0000 (19:16 +0000)]
ath9k: merge a fix for ar9550 eeprom access

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

11 years agokmod-usb-net-cdc-mbim: fix module loading
Nicolas Thill [Wed, 5 Jun 2013 14:34:50 +0000 (14:34 +0000)]
kmod-usb-net-cdc-mbim: fix module loading

cdc_mbim should be loaded after cdc_ncm (closes: #13562)

SVN-Revision: 36856

11 years agofirewall: update to git head (#13652)
Jo-Philipp Wich [Wed, 5 Jun 2013 11:40:40 +0000 (11:40 +0000)]
firewall: update to git head (#13652)

  - simplifies using ipsets for rules and redirects, match direction can be specified in-place like option ipset 'setname src dst dst'
  - uses zone_name_src_ACTION chains for input rules, this fixes logging with log enabled src zones

SVN-Revision: 36854

11 years agothere's no reason to have these generic files in the bin dir either
Imre Kaloz [Wed, 5 Jun 2013 06:46:41 +0000 (06:46 +0000)]
there's no reason to have these generic files in the bin dir either

SVN-Revision: 36852

11 years agoonly copy uImages to the bin dir on ramdisk builds
Imre Kaloz [Wed, 5 Jun 2013 06:17:12 +0000 (06:17 +0000)]
only copy uImages to the bin dir on ramdisk builds

SVN-Revision: 36851

11 years agodon't copy the zImages to the bin dir, factory u-boots can't use them
Imre Kaloz [Wed, 5 Jun 2013 06:04:48 +0000 (06:04 +0000)]
don't copy the zImages to the bin dir, factory u-boots can't use them

SVN-Revision: 36850

11 years agoRevert "[tools] mklibs: upgrade to 0.1.37"
Felix Fietkau [Wed, 5 Jun 2013 00:21:23 +0000 (00:21 +0000)]
Revert "[tools] mklibs: upgrade to 0.1.37"

It breaks on trying to find ldso

SVN-Revision: 36849

11 years agoar71xx: add support for WIFI button on tp-link tl-mr3220v2
Gabor Juhos [Tue, 4 Jun 2013 13:25:54 +0000 (13:25 +0000)]
ar71xx: add support for WIFI button on tp-link tl-mr3220v2

The TP-LINK TL-MR3220 v2 has a button on the left side
labeled "WIFI". This is GPIO 24. This patch adds the
support for this button.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36848

11 years agogeneric: add port mirroring/monitoring capability to rtl8366rb switch
Gabor Juhos [Tue, 4 Jun 2013 13:25:52 +0000 (13:25 +0000)]
generic: add port mirroring/monitoring capability to rtl8366rb switch

This patch adds swlib attributes to the RTL8366RB switch/PHY found in the
TL-WR1043ND router that allow to mirror ethernet packets to a monitor port.

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36847

11 years agofirewall3: fix accidentally changed install directive
Jo-Philipp Wich [Tue, 4 Jun 2013 12:30:50 +0000 (12:30 +0000)]
firewall3: fix accidentally changed install directive

SVN-Revision: 36840