openwrt/staging/blocktrron.git
10 years agobrcm47xx: fix bcm4705 rebooting when initializing the switch.
Hauke Mehrtens [Sun, 6 Jul 2014 13:45:43 +0000 (13:45 +0000)]
brcm47xx: fix bcm4705 rebooting when initializing the switch.

When the Ethernet controller is powered down and someone wants to
access the mdio bus like the witch driver (b53) the system crashed if
PCI_D3hot was set before. This patch deactivates this power sawing mode
when a switch driver is in use.

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

10 years agob53: hardcode reset GPIO for Linksys WRT300N 1.1
Hauke Mehrtens [Sun, 6 Jul 2014 11:40:51 +0000 (11:40 +0000)]
b53: hardcode reset GPIO for Linksys WRT300N 1.1

According to the thread https://forum.openwrt.org/viewtopic.php?id=48281
b53 uses GPIO 7:
[    4.470000] b53_common: [DBG] b53_switch_reset_gpio using 7
and causes device to self-reboot. GPIO 8 was found in CFE boot log:
"Reset switch via GPIO 8 ..."

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

10 years agosamba36: update to minor version 3.6.24
Hauke Mehrtens [Sun, 6 Jul 2014 11:23:13 +0000 (11:23 +0000)]
samba36: update to minor version 3.6.24

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

10 years agomac80211: b43: add support for firmware 784.2
Hauke Mehrtens [Sun, 6 Jul 2014 10:58:14 +0000 (10:58 +0000)]
mac80211: b43: add support for firmware 784.2

This adds firmware 784.2 for b43 as an option.

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

10 years agomac80211: update linux-firmware
Hauke Mehrtens [Sun, 6 Jul 2014 10:34:34 +0000 (10:34 +0000)]
mac80211: update linux-firmware

This updates linux-firmware to version
7f388b4885cf64d6b7833612052d20d4197af96f from 2014-06-04.
In addition it adds new firmware for Intel, Broadcom and Realtek devices.

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

10 years agocns21xx: make patch apply again
Hauke Mehrtens [Sat, 5 Jul 2014 23:36:05 +0000 (23:36 +0000)]
cns21xx: make patch apply again

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

10 years agokernel: add missing config options
Hauke Mehrtens [Sat, 5 Jul 2014 23:35:36 +0000 (23:35 +0000)]
kernel: add missing config options

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

10 years agobrcm47xx: add LEDs for Netgear WNR3500L
Hauke Mehrtens [Sat, 5 Jul 2014 23:25:26 +0000 (23:25 +0000)]
brcm47xx: add LEDs for Netgear WNR3500L

https://dev.openwrt.org/ticket/14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41520

10 years agobroadcom-wl: improve setting leddc
Hauke Mehrtens [Sat, 5 Jul 2014 23:24:41 +0000 (23:24 +0000)]
broadcom-wl: improve setting leddc

Use leddc value from other routers and improve the script.

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

10 years agobroadcom-wl: fix led support
Hauke Mehrtens [Sat, 5 Jul 2014 22:55:40 +0000 (22:55 +0000)]
broadcom-wl: fix led support

Some devices have an nvram setting, which make broadcom-wl turn of the
led all the time. When the driver is switched on and we find such a
setting we replace it with a better value.

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

10 years agobrcm47xx: make it possible to unregister the adm switch
Hauke Mehrtens [Sat, 5 Jul 2014 21:35:15 +0000 (21:35 +0000)]
brcm47xx: make it possible to unregister the adm switch

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

10 years agobrcm47xx: fix LEDs on WRTSL54GS
Hauke Mehrtens [Sat, 5 Jul 2014 19:40:15 +0000 (19:40 +0000)]
brcm47xx: fix LEDs on WRTSL54GS

https://dev.openwrt.org/ticket/16991

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41516

10 years agobrcm47xx: increase fallback mac addresses by one
Hauke Mehrtens [Sat, 5 Jul 2014 19:36:49 +0000 (19:36 +0000)]
brcm47xx: increase fallback mac addresses by one

Now the mac address is increased by two for the first fallback mac
address. It could be that the address increased should be used for the
wan port.

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

10 years agobroadcom-wl: fixup mac addresses.
Hauke Mehrtens [Sat, 5 Jul 2014 19:23:40 +0000 (19:23 +0000)]
broadcom-wl: fixup mac addresses.

Some series of devices are using the same mac address, which causes
conflicts for these devices we generate a new mac address based on the
base address. This patch adds this functionality to braodcom-wl.

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

10 years agobrcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address collisions.
Hauke Mehrtens [Sat, 5 Jul 2014 15:04:50 +0000 (15:04 +0000)]
brcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address collisions.

The address prefix 00:90:4C is used by Broadcom in their initial
configuration. When a mac address with the prefix 00:90:4C is used
all devices from the same series are sharing the same mac address.
To prevent mac address collisions we replace them with a mac address
based on the base address.

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

10 years agobrcm47xx: get switch name from swconfig first
Hauke Mehrtens [Sat, 5 Jul 2014 12:15:03 +0000 (12:15 +0000)]
brcm47xx: get switch name from swconfig first

Without this patch the switch config for the adm switch did not worked,
because hey are not names eth0.

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

10 years agoadm6996: the GPIO interface for the adm6996l does not support switch statistics.
Hauke Mehrtens [Sat, 5 Jul 2014 12:13:56 +0000 (12:13 +0000)]
adm6996: the GPIO interface for the adm6996l does not support switch statistics.

This patch deactivates the statistics, adds a missing lock
initialization and fixes a waring.

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

10 years agoscripts/abs2rel.pl: remove, it is unused
Felix Fietkau [Fri, 4 Jul 2014 12:11:40 +0000 (12:11 +0000)]
scripts/abs2rel.pl: remove, it is unused

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

10 years agosamba36: disable acl support to avoid picking up a dependency on libacl (#16988)
Felix Fietkau [Fri, 4 Jul 2014 11:42:57 +0000 (11:42 +0000)]
samba36: disable acl support to avoid picking up a dependency on libacl (#16988)

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

10 years agosamba36: do not pick up libattr as a dependency
Felix Fietkau [Fri, 4 Jul 2014 09:55:14 +0000 (09:55 +0000)]
samba36: do not pick up libattr as a dependency

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

10 years agoar71xx/rb532: move rc32434-fix-broken-pci.patch to the correct target
John Crispin [Fri, 4 Jul 2014 08:28:40 +0000 (08:28 +0000)]
ar71xx/rb532: move rc32434-fix-broken-pci.patch to the correct target

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

10 years agobrcm63xx: disable AUDIT
Jonas Gorski [Fri, 4 Jul 2014 08:23:19 +0000 (08:23 +0000)]
brcm63xx: disable AUDIT

Reduces kernel size by about 24k (6k compressed).

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

10 years agoar71xx: MIPS: RC32434: fix broken PCI resource initialization
John Crispin [Fri, 4 Jul 2014 06:33:00 +0000 (06:33 +0000)]
ar71xx: MIPS: RC32434: fix broken PCI resource initialization

https://patchwork.linux-mips.org/patch/6940/

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

10 years agobuild: temporarily disable PKG_CHECK_FORMAT_SECURITY until after the release
Felix Fietkau [Fri, 4 Jul 2014 06:23:57 +0000 (06:23 +0000)]
build: temporarily disable PKG_CHECK_FORMAT_SECURITY until after the release

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

10 years agorpcd: fix parsing of executable plugin output
Jo-Philipp Wich [Thu, 3 Jul 2014 22:21:04 +0000 (22:21 +0000)]
rpcd: fix parsing of executable plugin output

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

10 years agobrcm47xx: add LEDs for Asus RT-N15U and update RT-N66U
Hauke Mehrtens [Thu, 3 Jul 2014 21:41:33 +0000 (21:41 +0000)]
brcm47xx: add LEDs for Asus RT-N15U and update RT-N66U

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

10 years agobrcm47xx: migrate basic network settings from old releases
Hauke Mehrtens [Thu, 3 Jul 2014 21:40:59 +0000 (21:40 +0000)]
brcm47xx: migrate basic network settings from old releases

Old OpenWrt releases were using network configs that are not valid
anymore. They were specifying ports tagging in a different way (or were
not tagging CPU at all) and were using VID 0 which is a reserved value.

Modifying network configuration to apply all needed changes would be
pretty tricky. Script /etc/init.d/netconfig that generates new config is
quite complex itself.
So instead let's save the most important settings, regenerate config
from the scratch and restore values. This should work for 99% of users.

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

10 years agokernel: add missing config option
Hauke Mehrtens [Thu, 3 Jul 2014 20:22:33 +0000 (20:22 +0000)]
kernel: add missing config option

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

10 years agoubus: update to the latest version, fixes compile error regressions
Felix Fietkau [Thu, 3 Jul 2014 18:57:47 +0000 (18:57 +0000)]
ubus: update to the latest version, fixes compile error regressions

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

10 years agorealview: set LAN interface to be in DHCP
Florian Fainelli [Thu, 3 Jul 2014 17:19:10 +0000 (17:19 +0000)]
realview: set LAN interface to be in DHCP

Realview is mostly used as a QEMU development platform, which will provide a
built-in DHCP server to NAT or bridge the connection outside of the emulated
environment.

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

10 years agorealview: disable SWP emulation
Florian Fainelli [Thu, 3 Jul 2014 17:18:58 +0000 (17:18 +0000)]
realview: disable SWP emulation

This is not needed since our toolchain produces the expected binaries for the
target CPU.

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

10 years agowrt55agv2-spidevs: fix compile issues
John Crispin [Thu, 3 Jul 2014 11:56:56 +0000 (11:56 +0000)]
wrt55agv2-spidevs: fix compile issues

i think this breakage was introduced when linux moved to uapi header

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

10 years agoubus: update to the latest version, increases maximum message size and adds a few...
Felix Fietkau [Thu, 3 Jul 2014 10:49:41 +0000 (10:49 +0000)]
ubus: update to the latest version, increases maximum message size and adds a few fixes

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

10 years agofirewall: fix issue with parsing network options
Jo-Philipp Wich [Thu, 3 Jul 2014 09:21:44 +0000 (09:21 +0000)]
firewall: fix issue with parsing network options

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

10 years agorc.common: when reloading a service using procd, fall back to calling start instead...
Felix Fietkau [Thu, 3 Jul 2014 06:21:49 +0000 (06:21 +0000)]
rc.common: when reloading a service using procd, fall back to calling start instead of restart

This avoids unnecessary service restarts

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

10 years agomac80211: update regulatory database to master-2014-06-13
Hauke Mehrtens [Wed, 2 Jul 2014 22:27:32 +0000 (22:27 +0000)]
mac80211: update regulatory database to master-2014-06-13

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

10 years agobrcm47xx: add CONFIG_LEDS_GPIO_REGISTER
Hauke Mehrtens [Wed, 2 Jul 2014 22:07:46 +0000 (22:07 +0000)]
brcm47xx: add CONFIG_LEDS_GPIO_REGISTER

CONFIG_LEDS_GPIO_REGISTER is selected by the bcm47xx arch code.

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

10 years agobrcm47xx: refresh patches
Hauke Mehrtens [Wed, 2 Jul 2014 22:03:03 +0000 (22:03 +0000)]
brcm47xx: refresh patches

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

10 years agobrcm47xx: backport BCM47XX Linksys WRT54G series patches
Hauke Mehrtens [Wed, 2 Jul 2014 21:54:59 +0000 (21:54 +0000)]
brcm47xx: backport BCM47XX Linksys WRT54G series patches

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41486

10 years agoiwinfo: fix string format for country code
Hauke Mehrtens [Wed, 2 Jul 2014 21:43:17 +0000 (21:43 +0000)]
iwinfo: fix string format for country code

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

10 years agob43-tools: update to version 019
Hauke Mehrtens [Wed, 2 Jul 2014 20:52:50 +0000 (20:52 +0000)]
b43-tools: update to version 019

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

10 years agoigmpproxy: automatically add firewall rules for multicast routing based on the curren...
Felix Fietkau [Wed, 2 Jul 2014 19:18:23 +0000 (19:18 +0000)]
igmpproxy: automatically add firewall rules for multicast routing based on the current config

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

10 years agoprocd: add a shell helper function to emit a config.change event
Felix Fietkau [Wed, 2 Jul 2014 19:18:20 +0000 (19:18 +0000)]
procd: add a shell helper function to emit a config.change event

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

10 years agoprocd: add shell functions to add instance data
Felix Fietkau [Wed, 2 Jul 2014 19:18:16 +0000 (19:18 +0000)]
procd: add shell functions to add instance data

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

10 years agofirewall: update to the latest version, adds support for fetching firewall rules...
Felix Fietkau [Wed, 2 Jul 2014 19:18:13 +0000 (19:18 +0000)]
firewall: update to the latest version, adds support for fetching firewall rules from procd

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

10 years agoiptables: refresh patches
Felix Fietkau [Wed, 2 Jul 2014 19:18:09 +0000 (19:18 +0000)]
iptables: refresh patches

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

10 years agoprocd: update to the latest version, adds support for dumping per-instance service...
Felix Fietkau [Wed, 2 Jul 2014 19:18:05 +0000 (19:18 +0000)]
procd: update to the latest version, adds support for dumping per-instance service data with an optional type filter

also fixes a crash on stopping a service with triggers after reloading it

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

10 years agokernel: disable CONFIG_IRQ_ALL_CPUS by default
John Crispin [Wed, 2 Jul 2014 18:52:36 +0000 (18:52 +0000)]
kernel: disable CONFIG_IRQ_ALL_CPUS by default

this fixes the mpc85xx build error

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

10 years agoramips: add missing rt3352 usb phy node to dts
John Crispin [Wed, 2 Jul 2014 16:37:30 +0000 (16:37 +0000)]
ramips: add missing rt3352 usb phy node to dts

Signed-off-by: michael <igvtee@gmail.com>
SVN-Revision: 41476

10 years agoramips: fix target rt5350 only have 28 gpios
John Crispin [Wed, 2 Jul 2014 16:37:26 +0000 (16:37 +0000)]
ramips: fix target rt5350 only have 28 gpios

Signed-off-by: michael <igvtee@gmail.com>
SVN-Revision: 41475

10 years agolantiq: UbinizeImage instead of lantiq-specific ubinize.cfg files
John Crispin [Wed, 2 Jul 2014 16:37:23 +0000 (16:37 +0000)]
lantiq: UbinizeImage instead of lantiq-specific ubinize.cfg files

New make target in lantiq to use UbinizeImage and SysupgradeNand.
Only enabled for BTHOMEHUBV2B for the moment but should be useable
for other lantiq nand boards.

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

10 years agolantiq: more PKG_CHECK_FORMAT_SECURITY fixes
John Crispin [Wed, 2 Jul 2014 16:33:20 +0000 (16:33 +0000)]
lantiq: more PKG_CHECK_FORMAT_SECURITY fixes

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

10 years agolantiq: add support for /tmp/sysinfo
John Crispin [Wed, 2 Jul 2014 16:33:11 +0000 (16:33 +0000)]
lantiq: add support for /tmp/sysinfo

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

10 years agoralink: make xhci platform depend on mt7621
John Crispin [Wed, 2 Jul 2014 14:32:43 +0000 (14:32 +0000)]
ralink: make xhci platform depend on mt7621

this broke CONFIG_ALL builds for mt7620

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

10 years agoubox: fix remote logging
John Crispin [Wed, 2 Jul 2014 12:56:20 +0000 (12:56 +0000)]
ubox: fix remote logging

in r41439 a flag for enabling remote logging was added,
but the actual check was done on a different variable.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 41467

10 years agoiproute2: re-enable PIC, it is only applied to libnetlink.a and required for collectd
Jo-Philipp Wich [Wed, 2 Jul 2014 12:41:36 +0000 (12:41 +0000)]
iproute2: re-enable PIC, it is only applied to libnetlink.a and required for collectd

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

10 years agoinclude: remove SDK exception from package install targets
Jo-Philipp Wich [Wed, 2 Jul 2014 11:39:28 +0000 (11:39 +0000)]
include: remove SDK exception from package install targets

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

10 years agoiptables: pass --disable-ipv6 is CONFIG_IPV6 is unset
Jo-Philipp Wich [Wed, 2 Jul 2014 11:39:24 +0000 (11:39 +0000)]
iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset

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

10 years agostrace: fix build failure on arm
Felix Fietkau [Wed, 2 Jul 2014 08:19:43 +0000 (08:19 +0000)]
strace: fix build failure on arm

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

10 years agolantiq: more PKG_CHECK_FORMAT_SECURITY related fixes
John Crispin [Wed, 2 Jul 2014 08:17:36 +0000 (08:17 +0000)]
lantiq: more PKG_CHECK_FORMAT_SECURITY related fixes

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

10 years agoar71xx: add missing config symbol
John Crispin [Wed, 2 Jul 2014 08:00:44 +0000 (08:00 +0000)]
ar71xx: add missing config symbol

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

10 years agolantiq: fix missing symbols
John Crispin [Wed, 2 Jul 2014 07:43:32 +0000 (07:43 +0000)]
lantiq: fix missing symbols

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

10 years agoralink: add Wansview NCS601W IP Camera
John Crispin [Wed, 2 Jul 2014 07:42:44 +0000 (07:42 +0000)]
ralink: add Wansview NCS601W IP Camera

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

10 years agoralink: register wifi firmware for WRTnode
John Crispin [Tue, 1 Jul 2014 18:17:55 +0000 (18:17 +0000)]
ralink: register wifi firmware for WRTnode

After r41444 wifi working on WRTnode. Tested.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41452

10 years agoltq-vdsl-mei: disable PKG_CHECK_FORMAT_SECURITY
John Crispin [Tue, 1 Jul 2014 18:05:09 +0000 (18:05 +0000)]
ltq-vdsl-mei: disable PKG_CHECK_FORMAT_SECURITY

the build breaks when PKG_CHECK_FORMAT_SECURITY:=1

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

10 years agoar71xx: Add support for MikroTik RouterBOARD SXT Lite
John Crispin [Tue, 1 Jul 2014 13:38:30 +0000 (13:38 +0000)]
ar71xx: Add support for MikroTik RouterBOARD SXT Lite

This patch adds support for the MikroTik RouterBOARD SXT Lite.

The new RB911L series is also supported as a result.

v2 of this patch fixes the wmac offset to match what is on the sticker.
v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh
v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly
v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41450

10 years agolantiq: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget
John Crispin [Tue, 1 Jul 2014 13:18:38 +0000 (13:18 +0000)]
lantiq: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget

Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

These drivers are not needed for ASE, Danube and AR9.
As side effect PHY11G and PHY22F firmwares are not included in the
kernel image, which saves 64 KB.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41449

10 years agoramips: set default vid of each vlan, so it won't need be set explicitly.
John Crispin [Tue, 1 Jul 2014 13:18:27 +0000 (13:18 +0000)]
ramips: set default vid of each vlan, so it won't need be set explicitly.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>
SVN-Revision: 41448

10 years agoramips: add WHR-1166 support
John Crispin [Tue, 1 Jul 2014 10:26:42 +0000 (10:26 +0000)]
ramips: add WHR-1166 support

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

10 years agoramips: sync the WHR-600D flash layout with that of the vendor FW
John Crispin [Tue, 1 Jul 2014 10:26:38 +0000 (10:26 +0000)]
ramips: sync the WHR-600D flash layout with that of the vendor FW

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

10 years agoramips: add wmac to mt7620a device tree
John Crispin [Tue, 1 Jul 2014 10:26:33 +0000 (10:26 +0000)]
ramips: add wmac to mt7620a device tree

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41445

10 years agoramips: add wmac to mt7620n device tree
John Crispin [Tue, 1 Jul 2014 10:26:30 +0000 (10:26 +0000)]
ramips: add wmac to mt7620n device tree

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

10 years agoramips: enable wmac clock for mt7620
John Crispin [Tue, 1 Jul 2014 10:26:25 +0000 (10:26 +0000)]
ramips: enable wmac clock for mt7620

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

10 years agomac80211: enable driver compilation for mt7620
John Crispin [Tue, 1 Jul 2014 10:26:21 +0000 (10:26 +0000)]
mac80211: enable driver compilation for mt7620

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

10 years agomac80211: add support for mt7620
John Crispin [Tue, 1 Jul 2014 10:26:18 +0000 (10:26 +0000)]
mac80211: add support for mt7620

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

10 years agobase-files: fix ramfs / nand upgrade
John Crispin [Tue, 1 Jul 2014 10:26:14 +0000 (10:26 +0000)]
base-files: fix ramfs / nand upgrade

/lib/{imx6,lantiq,...}.sh are needed in the ramfs for sysupgrade to work.

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

10 years agoubox: add a flag that allows us to disable remote log while keeping the ip settings...
John Crispin [Tue, 1 Jul 2014 10:26:10 +0000 (10:26 +0000)]
ubox: add a flag that allows us to disable remote log while keeping the ip settings inside uci

this makes webui foo a lot easier

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

10 years agoppp: fix keep alive option
John Crispin [Tue, 1 Jul 2014 10:26:07 +0000 (10:26 +0000)]
ppp: fix keep alive option

currently the keepalive option needs to be removed to fully disable it. this patch allows us to set it to 0.

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

10 years agokernel: add japanese codepages
John Crispin [Tue, 1 Jul 2014 10:26:03 +0000 (10:26 +0000)]
kernel: add japanese codepages

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

10 years agoset led triggers for the Linksys WRT1900AC
Imre Kaloz [Tue, 1 Jul 2014 09:45:41 +0000 (09:45 +0000)]
set led triggers for the Linksys WRT1900AC

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

10 years agoadjust default profile, and add an evalboard one
Imre Kaloz [Tue, 1 Jul 2014 09:43:38 +0000 (09:43 +0000)]
adjust default profile, and add an evalboard one

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

10 years agotry to load the orion glue automatically
Imre Kaloz [Tue, 1 Jul 2014 09:36:38 +0000 (09:36 +0000)]
try to load the orion glue automatically

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

10 years agodrop unneeded file
Imre Kaloz [Tue, 1 Jul 2014 09:35:22 +0000 (09:35 +0000)]
drop unneeded file

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

10 years agoodhcpd: some minor DHCP/DHCPv6 fixes
Steven Barth [Tue, 1 Jul 2014 08:15:28 +0000 (08:15 +0000)]
odhcpd: some minor DHCP/DHCPv6 fixes

SVN-Revision: 41432

10 years agoopenvpn: fix compile error with musl
Felix Fietkau [Mon, 30 Jun 2014 15:34:03 +0000 (15:34 +0000)]
openvpn: fix compile error with musl

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

10 years agobrcm63xx: fix Livebox 1 support
Jonas Gorski [Mon, 30 Jun 2014 13:34:43 +0000 (13:34 +0000)]
brcm63xx: fix Livebox 1 support

The Livebox 1 support is currently broken. Fixed with this patch

Fixes:
- Redboot partitioning broken: fixed
- Replaced custom ephy reset with platform code
- USB code breaks the building process: fixed
- Led colors
- Removed unneded EHCI code since bcm6348 only has OHCI

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: drop unneded parts since merge, fixup to apply to current head]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41424

10 years agobrcm63xx: 3.10: backport multi-board support
Jonas Gorski [Mon, 30 Jun 2014 13:34:37 +0000 (13:34 +0000)]
brcm63xx: 3.10: backport multi-board support

There have been no reported regressions, so backport it to 3.10.

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

10 years agobrcm63xx: Add support for Comtrend WAP-5813n
Jonas Gorski [Mon, 30 Jun 2014 13:34:34 +0000 (13:34 +0000)]
brcm63xx: Add support for Comtrend WAP-5813n

This adds support for Comtrend WAP-5813n.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: refresh patches]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41421

10 years agobrcm63xx: CPVA502+ board fixes
Jonas Gorski [Mon, 30 Jun 2014 13:34:28 +0000 (13:34 +0000)]
brcm63xx: CPVA502+ board fixes

Some fixes for Telsey CPVA502+ bcm6348 routers:
- reset the external PHY (eth1) with proper platform code, not using a led definiton
- eth1 is an external phy, not a switch, deleted forced link speed
- fixed led color

Patch made for 3.14 kernel patches.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: also fix 3.14, refresh patches]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41420

10 years agoopenvpn: update to version 2.3.4
Felix Fietkau [Mon, 30 Jun 2014 12:43:03 +0000 (12:43 +0000)]
openvpn: update to version 2.3.4

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

10 years agobusybox: fix validation in sysntpd init script
Luka Perkov [Mon, 30 Jun 2014 10:11:18 +0000 (10:11 +0000)]
busybox: fix validation in sysntpd init script

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

10 years agoprocd: fix uci_validation
John Crispin [Mon, 30 Jun 2014 09:57:29 +0000 (09:57 +0000)]
procd: fix uci_validation

Regardles of the return code from validate_data _error variable will be 0 due
to 'local' command in the previous line. With this patch we are able to catch
the return code from validate_data tool.

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

10 years agoubox: update to latest git
John Crispin [Mon, 30 Jun 2014 09:57:25 +0000 (09:57 +0000)]
ubox: update to latest git

this adds validation fixes

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

10 years agobuild: Introduce PKG_CHECK_FORMAT_SECURITY
Felix Fietkau [Mon, 30 Jun 2014 08:19:52 +0000 (08:19 +0000)]
build: Introduce PKG_CHECK_FORMAT_SECURITY

The idea is to get rid of
http://en.wikipedia.org/wiki/Uncontrolled_format_string
by using "-Wformat -Werror=format-security" by default

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

10 years agobuild: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
Felix Fietkau [Mon, 30 Jun 2014 08:19:48 +0000 (08:19 +0000)]
build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages

The idea is to gradually fix the packages

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

10 years agorbcfg: fix format string bug
Felix Fietkau [Mon, 30 Jun 2014 08:19:44 +0000 (08:19 +0000)]
rbcfg: fix format string bug

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

10 years agoodhcpd: fix build failure with musl
Steven Barth [Mon, 30 Jun 2014 07:56:33 +0000 (07:56 +0000)]
odhcpd: fix build failure with musl

SVN-Revision: 41409

10 years agoscripts: unset GREP_OPTIONS in env and feeds (fixes #16924)
Felix Fietkau [Mon, 30 Jun 2014 06:50:22 +0000 (06:50 +0000)]
scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)

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

10 years agomvebu: drop 3.10 support
Luka Perkov [Sun, 29 Jun 2014 23:29:57 +0000 (23:29 +0000)]
mvebu: drop 3.10 support

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

10 years agobase-files: define yes/no as valid boolean options
Luka Perkov [Sun, 29 Jun 2014 23:05:05 +0000 (23:05 +0000)]
base-files: define yes/no as valid boolean options

ubox validate_data defines yes/no as valid boolean options, do the same in
config_get_bool too.

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