librecmc/librecmc.git
8 years agomalta: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 23:07:46 +0000 (23:07 +0000)]
malta: switch from uci-defaults to board.d

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

8 years agoat91: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 23:07:38 +0000 (23:07 +0000)]
at91: switch from uci-defaults to board.d

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

8 years agorealview: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 23:07:30 +0000 (23:07 +0000)]
realview: switch from uci-defaults to board.d

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

8 years agoimx6: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 23:07:20 +0000 (23:07 +0000)]
imx6: switch from uci-defaults to board.d

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

8 years agonetlogic: fix typo, copyright in board.d script
Jo-Philipp Wich [Thu, 3 Dec 2015 23:06:57 +0000 (23:06 +0000)]
netlogic: fix typo, copyright in board.d script

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

8 years agonetlogic: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 22:46:54 +0000 (22:46 +0000)]
netlogic: switch from uci-defaults to board.d

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

8 years agokirkwood, ipq806x: fix board.d script permissions
Jo-Philipp Wich [Thu, 3 Dec 2015 22:42:13 +0000 (22:42 +0000)]
kirkwood, ipq806x: fix board.d script permissions

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

8 years agoocteon: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 22:42:09 +0000 (22:42 +0000)]
octeon: switch from uci-defaults to board.d

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

8 years agokirkwood: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 22:27:18 +0000 (22:27 +0000)]
kirkwood: switch from uci-defaults to board.d

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

8 years agobase-files: board.d: support specifiying the protocol of lan and wan
Jo-Philipp Wich [Thu, 3 Dec 2015 22:27:06 +0000 (22:27 +0000)]
base-files: board.d: support specifiying the protocol of lan and wan

Some boards, e.g. the Sheeva Plug, require the lan interface to be set
to DHCP instead of a static address, therfore support that.

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

8 years agobase-files: board.d: support timer leds
Jo-Philipp Wich [Thu, 3 Dec 2015 22:27:02 +0000 (22:27 +0000)]
base-files: board.d: support timer leds

Add ucidef_set_led_timer() and handling for it to config_generate.

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

8 years agoipq806x: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 21:13:12 +0000 (21:13 +0000)]
ipq806x: switch from uci-defaults to board.d

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

8 years agobase-files: board.d: support ide leds
Jo-Philipp Wich [Thu, 3 Dec 2015 21:12:56 +0000 (21:12 +0000)]
base-files: board.d: support ide leds

Add ucidef_set_led_ide() to define "ide-disk" triggered leds.

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

8 years agobase-files: uci-defaults-new.sh: fix for handling multiple ifnames
Jo-Philipp Wich [Thu, 3 Dec 2015 21:12:51 +0000 (21:12 +0000)]
base-files: uci-defaults-new.sh: fix for handling multiple ifnames

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

8 years agoopenssl: update to version 1.0.2e
Hauke Mehrtens [Thu, 3 Dec 2015 21:01:57 +0000 (21:01 +0000)]
openssl: update to version 1.0.2e

This fixes the following security problems:
* CVE-2015-3193
* CVE-2015-3194
* CVE-2015-3195)

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

8 years agombedtls: update to version 2.1.3
Hauke Mehrtens [Thu, 3 Dec 2015 21:01:18 +0000 (21:01 +0000)]
mbedtls: update to version 2.1.3

This fixes some non critical bugs.

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

8 years agopolarssl: update to version 1.3.15
Hauke Mehrtens [Thu, 3 Dec 2015 21:00:45 +0000 (21:00 +0000)]
polarssl: update to version 1.3.15

This is a minor version update which fixes some small bugs. None of
these bugs were exploitable according to the release notes.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47724

8 years agoar71xx: board.d: add missing include (#21296)
Jo-Philipp Wich [Thu, 3 Dec 2015 19:23:44 +0000 (19:23 +0000)]
ar71xx: board.d: add missing include (#21296)

Include /lib/functions/system.sh in 02_network to define missing
mtd_get_mac_binary() procedure.

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

8 years agoboard.d: remove redundant ucidef_set_interfaces_lan_wan() calls
Jo-Philipp Wich [Thu, 3 Dec 2015 17:30:56 +0000 (17:30 +0000)]
board.d: remove redundant ucidef_set_interfaces_lan_wan() calls

This removes calls to ucidef_set_interfaces_lan_wan() and
ucidef_set_interfaces_lan() on boards where all relevant info can be
inferred from the switch definition.

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

8 years agoboard.d: merge ucidef_add_switch() and ucidef_add_switch_ports()
Jo-Philipp Wich [Thu, 3 Dec 2015 17:30:24 +0000 (17:30 +0000)]
board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()

This changes uci-defaults-new.sh, config_generate and all relevant board.d
files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into
a single function.

Also removes now superfluous enable and reset arguments.

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

8 years agobase-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()
Jo-Philipp Wich [Thu, 3 Dec 2015 17:30:08 +0000 (17:30 +0000)]
base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()

Out of 69 switch definitions, only 3 pass something different than "1" as
values for reset and enable, with one of those three being invalid.

This change ...

 * removes the reset and enable arguments from ucidef_add_switch()
 * unconditionally writes reset:1 and enable:1 to JSON
 * converts the three users of nonstandard values to ucidef_add_switch_attr()

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

8 years agobase-files: uci-defaults-new, config_generate: refactor code and drop old vlans
Jo-Philipp Wich [Thu, 3 Dec 2015 16:25:19 +0000 (16:25 +0000)]
base-files: uci-defaults-new, config_generate: refactor code and drop old vlans

Remove support for now unused ucidef_add_switch_vlan(), move port->vlan and
vlan->interfaces conversion to uci-defaults-new.sh and massively simplify
config_generate.

This change prepares the following upcoming steps:

 * Eliminate use of ucidef_set_interface_lan_wan() for switch only devices
 * Merge ucidef_add_switch() with ucidef_add_switch_ports()

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

8 years agobase-files: config_generate: add missing chunks of force tag support
Jo-Philipp Wich [Thu, 3 Dec 2015 15:46:43 +0000 (15:46 +0000)]
base-files: config_generate: add missing chunks of force tag support

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

8 years agoramips: switch ucidef_add_switch_vlan() to ucidef_add_switch_ports()
Jo-Philipp Wich [Thu, 3 Dec 2015 15:46:29 +0000 (15:46 +0000)]
ramips: switch ucidef_add_switch_vlan() to ucidef_add_switch_ports()

This migrates the final board.d user of ucidef_add_switch_vlan() to the new
ucidef_add_switch_ports() approach, fixing some logic errors for a few boards
along the way.

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

8 years agokernel: backport support for m25p80 compatible="jedec,spi-nor" in DT
Felix Fietkau [Thu, 3 Dec 2015 14:47:37 +0000 (14:47 +0000)]
kernel: backport support for m25p80 compatible="jedec,spi-nor" in DT

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

8 years agouClibc-ng: update to 1.0.9
Felix Fietkau [Thu, 3 Dec 2015 14:47:29 +0000 (14:47 +0000)]
uClibc-ng: update to 1.0.9

Update to 1.0.9, switch to XZ tarball.

Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
SVN-Revision: 47715

8 years agokernel: add overlayfs stacking fix from upstream
Felix Fietkau [Thu, 3 Dec 2015 13:54:33 +0000 (13:54 +0000)]
kernel: add overlayfs stacking fix from upstream

Overlayfs stacking was broken in 4.1.12 but now fixed in upstream branch.
Stacking allows experimenting with configurations without the need to
reset a device to factory config.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47714

8 years agobcm53xx: move BCM5301X patches to use 08x prefix
Rafał Miłecki [Thu, 3 Dec 2015 11:03:07 +0000 (11:03 +0000)]
bcm53xx: move BCM5301X patches to use 08x prefix

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

8 years agomac80211: put the !LINUX_4_4 dependency in the right place
Jonas Gorski [Thu, 3 Dec 2015 11:01:34 +0000 (11:01 +0000)]
mac80211: put the !LINUX_4_4 dependency in the right place

Make sure all sub packages are marked as not building for 4.4.

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

8 years agobcm53xx: use backported versiions or R8000 & dt-bindings patches
Rafał Miłecki [Thu, 3 Dec 2015 10:51:52 +0000 (10:51 +0000)]
bcm53xx: use backported versiions or R8000 & dt-bindings patches

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

8 years agobcm53xx: fix typo in BCM5310X (patch name and subject)
Rafał Miłecki [Thu, 3 Dec 2015 10:51:42 +0000 (10:51 +0000)]
bcm53xx: fix typo in BCM5310X (patch name and subject)

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

8 years agobcm53xx: move & update accepted USB patch for GPIO control
Rafał Miłecki [Thu, 3 Dec 2015 10:51:32 +0000 (10:51 +0000)]
bcm53xx: move & update accepted USB patch for GPIO control

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

8 years agobcm53xx: use backported BCM5301X patches from stblinux devicetree/next
Rafał Miłecki [Thu, 3 Dec 2015 10:19:16 +0000 (10:19 +0000)]
bcm53xx: use backported BCM5301X patches from stblinux devicetree/next

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

8 years agobcm53xx: use backported BCM5301X patches from stblinux soc/next
Rafał Miłecki [Thu, 3 Dec 2015 10:18:57 +0000 (10:18 +0000)]
bcm53xx: use backported BCM5301X patches from stblinux soc/next

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

8 years agobcm53xx: set vcc-gpio properties in one patch
Rafał Miłecki [Thu, 3 Dec 2015 08:36:41 +0000 (08:36 +0000)]
bcm53xx: set vcc-gpio properties in one patch

No reason to handle Buffalo WXR-1900DHP in separated patch.

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

8 years agobcm53xx: drop fixed clock from DTS for Buffalo WXR-1900DHP
Rafał Miłecki [Thu, 3 Dec 2015 08:36:34 +0000 (08:36 +0000)]
bcm53xx: drop fixed clock from DTS for Buffalo WXR-1900DHP

We don't use fixed clock in 4.4 (and 4.3) anymore.

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

8 years agobcm53xx: update linux 4.4 config
Rafał Miłecki [Thu, 3 Dec 2015 08:19:30 +0000 (08:19 +0000)]
bcm53xx: update linux 4.4 config

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

8 years agobcm53xx: add linux 4.4 support
Rafał Miłecki [Thu, 3 Dec 2015 08:19:25 +0000 (08:19 +0000)]
bcm53xx: add linux 4.4 support

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

8 years agobrcm63xx: add linux 4.4 support
Jonas Gorski [Wed, 2 Dec 2015 22:24:46 +0000 (22:24 +0000)]
brcm63xx: add linux 4.4 support

Only netboot tested. Flash at your own risk.

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

8 years agokernel: add linux 4.4 support
Jonas Gorski [Wed, 2 Dec 2015 22:23:22 +0000 (22:23 +0000)]
kernel: add linux 4.4 support

Based on 4.4-rc3. Runtime tested on MIPS.

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

8 years agopackage: kernel: update dependencies for 4.4
Jonas Gorski [Wed, 2 Dec 2015 22:19:31 +0000 (22:19 +0000)]
package: kernel: update dependencies for 4.4

Update dependencies for linux 4.4 and mark as broken where source code
needs updating.

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

8 years agoxtables-addons: update to 2.10
Jonas Gorski [Wed, 2 Dec 2015 22:19:11 +0000 (22:19 +0000)]
xtables-addons: update to 2.10

Fixes compilation with linux 4.4.

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

8 years agokernel-version: drop 4.0 remnants
Jonas Gorski [Wed, 2 Dec 2015 22:19:01 +0000 (22:19 +0000)]
kernel-version: drop 4.0 remnants

We don't support 4.0 anymore and it is EOL anyway.

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

8 years agobrcm63xx: Add NuCom R5010UNv2 support
Jonas Gorski [Wed, 2 Dec 2015 22:18:20 +0000 (22:18 +0000)]
brcm63xx: Add NuCom R5010UNv2 support

This patch adds support for the NuCom R5010UNv2.

It's a BCM6328 based board. It has an onboard BCM43217 wifi chip. For this
wifi chip looks like the brcmsmac driver isn't still supported, b43 drivers are used
for the profile of the router.

It's worth mentioning this board was affected by a bug solved with
https://dev.openwrt.org/changeset/46707

Tested-by: Angel Fontan <angel.fontan@gmail.com>
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47697

8 years agobrcm63xx: drop 3.18 support
Jonas Gorski [Wed, 2 Dec 2015 22:16:37 +0000 (22:16 +0000)]
brcm63xx: drop 3.18 support

Drop 3.18 support; it will live on in CC.

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

8 years agoipq806x: ap148/r7500: fix eth0 for non gige speeds
Jonas Gorski [Wed, 2 Dec 2015 22:16:23 +0000 (22:16 +0000)]
ipq806x: ap148/r7500: fix eth0 for non gige speeds

Eth0 is attached to mac0 of the switch with a fixed link and and not to
phy4 in single phy mode, so configuring it to anything but 1000FD will
break the connection, which will happen if a only 100 Mbit capapble device
is plugged into the wan port.

Fix this by not taking the state from phy4 and just configuring a fixed link
for eth0.

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

8 years agokernel: update 4.1 to 4.1.13
Hauke Mehrtens [Wed, 2 Dec 2015 21:52:41 +0000 (21:52 +0000)]
kernel: update 4.1 to 4.1.13

- two upstreamed patches removed
- compile tested all targets using 4.1
- run tested ar71xx

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47694

8 years agomac80211: install new firmware for ath9k-htc on target
Hauke Mehrtens [Wed, 2 Dec 2015 20:32:11 +0000 (20:32 +0000)]
mac80211: install new firmware for ath9k-htc on target

For quite some time new firmware for ath9k-htc devices
is available in
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/

Moreover ath9k-htc kernel driver expects this new v1.4
firmware to exist in /lib/firmware/ath9k_htc.

What happens currently:
---------------------------->8--------------------------
[    7.830000] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[    7.840000] usb 1-1: Direct firmware load for
ath9k_htc/htc_9271-1.4.0.fw failed with error -2
[    7.850000] usb 1-1: Falling back to user helper
[    7.870000] usbcore: registered new interface driver ath9k_htc
[    7.880000] firmware ath9k_htc!htc_9271-1.4.0.fw:
firmware_loading_store: map pages failed
[    7.890000] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[    8.200000] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size:
50980
[    8.440000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33
credits
[   10.720000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[   10.740000] ath9k_htc 1-1:1.0: FW RMW support: Off
[   10.760000] ieee80211 phy0: Atheros AR9271 Rev:1
---------------------------->8--------------------------

And with that patch new firmware is used instead:
---------------------------->8--------------------------
[   33.920000] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[   34.230000] usb 1-1: ath9k_htc: Transferred FW:
ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[   34.480000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33
credits
[   34.740000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[   34.750000] ath9k_htc 1-1:1.0: FW RMW support: On
---------------------------->8--------------------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47693

8 years agobcm53xx: switch to ucidef_add_switch_ports()
Jo-Philipp Wich [Wed, 2 Dec 2015 18:51:12 +0000 (18:51 +0000)]
bcm53xx: switch to ucidef_add_switch_ports()

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

8 years agompc85xx: fix up m25p80 device id (#21286)
Felix Fietkau [Wed, 2 Dec 2015 17:35:37 +0000 (17:35 +0000)]
mpc85xx: fix up m25p80 device id (#21286)

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

8 years agolantiq: fix up m25p80 device ids (#20975)
Felix Fietkau [Wed, 2 Dec 2015 17:20:39 +0000 (17:20 +0000)]
lantiq: fix up m25p80 device ids (#20975)

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

8 years agotools: make-ext4fs: explicitely request C collation for sorting
Jo-Philipp Wich [Wed, 2 Dec 2015 16:10:09 +0000 (16:10 +0000)]
tools: make-ext4fs: explicitely request C collation for sorting

Do not rely on the system default collaction when sorting directory entries
but explicitely request "C" collation.

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

8 years agobcm53xx: update PCIe driver
Hauke Mehrtens [Wed, 2 Dec 2015 15:24:53 +0000 (15:24 +0000)]
bcm53xx: update PCIe driver

This updates the iProc PCIe driver to the version currently submitted
for kernel 4.5.

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

8 years agobcm53xx: update SMP patches
Hauke Mehrtens [Wed, 2 Dec 2015 15:23:08 +0000 (15:23 +0000)]
bcm53xx: update SMP patches

Broadcom submitted new SMP patches for this SoC to upstream Linux, add
them to OpenWrt.

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

8 years agobcm53xx: activate workarounds for erratas
Hauke Mehrtens [Wed, 2 Dec 2015 15:19:29 +0000 (15:19 +0000)]
bcm53xx: activate workarounds for erratas

This also deactivates some workaround for erratas only seen in older
CPU cores and L2 cores not used in this SoC.

This partly reverts commit r44947.

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

8 years agobcm53xx: move patch 132-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch
Hauke Mehrtens [Wed, 2 Dec 2015 15:14:58 +0000 (15:14 +0000)]
bcm53xx: move patch 132-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch

This patch is currently placed directly behind the SMP patches and has
nothing to do with SMP, move it to an other position.

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

8 years agonetifd: update to the latest version, fixes an issue with moving a wifi iface to...
Felix Fietkau [Wed, 2 Dec 2015 13:52:08 +0000 (13:52 +0000)]
netifd: update to the latest version, fixes an issue with moving a wifi iface to a different network

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

8 years agobrcm47xx: add Netgear WN2500RP support
Rafał Miłecki [Wed, 2 Dec 2015 09:24:52 +0000 (09:24 +0000)]
brcm47xx: add Netgear WN2500RP support

We generate V1 image only for now. We lack buttons support for V2.

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

8 years agompc85xx: fix typo added in r47676
Jo-Philipp Wich [Tue, 1 Dec 2015 09:22:53 +0000 (09:22 +0000)]
mpc85xx: fix typo added in r47676

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

8 years agompc85xx: record board id and model name in /etc/board.json
Jo-Philipp Wich [Mon, 30 Nov 2015 12:49:19 +0000 (12:49 +0000)]
mpc85xx: record board id and model name in /etc/board.json

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

8 years agobase-files: uci-defaults-new, config_generate: allow force tagged cpu ports
Jo-Philipp Wich [Mon, 30 Nov 2015 12:32:12 +0000 (12:32 +0000)]
base-files: uci-defaults-new, config_generate: allow force tagged cpu ports

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

8 years agomwlwifi: update to latest revision, fixes a kernel panic
Imre Kaloz [Mon, 30 Nov 2015 11:57:32 +0000 (11:57 +0000)]
mwlwifi: update to latest revision, fixes a kernel panic

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

8 years agompc85xx: convert to ucidef_add_switch_ports()
Jo-Philipp Wich [Mon, 30 Nov 2015 11:09:29 +0000 (11:09 +0000)]
mpc85xx: convert to ucidef_add_switch_ports()

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

8 years agobase-files: uci-defaults-new: only emit force_link for additional ifaces
Jo-Philipp Wich [Mon, 30 Nov 2015 10:55:43 +0000 (10:55 +0000)]
base-files: uci-defaults-new: only emit force_link for additional ifaces

Only se4t the force_link property for non-lan, non-wan ifaces as it is
unnecessary in the default cases.

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

8 years agomvebu: switch network and led config defaults to board detection framework
Jo-Philipp Wich [Mon, 30 Nov 2015 10:43:31 +0000 (10:43 +0000)]
mvebu: switch network and led config defaults to board detection framework

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

8 years agobase-files: uci-defaults-new: fix unquoted variables
Jo-Philipp Wich [Mon, 30 Nov 2015 10:43:18 +0000 (10:43 +0000)]
base-files: uci-defaults-new: fix unquoted variables

Properly quote variables in ucidef_set_interface_lan() and
ucidef_set_interface_lan(), otherwise interfaces with multiple devices
are not properly written into the configuration.

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

8 years agoar71xx: record board id and model name in /etc/board.json
Jo-Philipp Wich [Mon, 30 Nov 2015 10:17:20 +0000 (10:17 +0000)]
ar71xx: record board id and model name in /etc/board.json

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

8 years agobase-files: uci-defaults-new: add board id and name helpers
Jo-Philipp Wich [Mon, 30 Nov 2015 10:17:05 +0000 (10:17 +0000)]
base-files: uci-defaults-new: add board id and name helpers

Add ucidef_set_board_id() and ucidef_set_model_name() procedures to store
model information in the board.json file.

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

8 years agoramips: remove duplicate patch
John Crispin [Sat, 28 Nov 2015 23:26:03 +0000 (23:26 +0000)]
ramips: remove duplicate patch

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

8 years agoprocd: update to latest git HEAD
John Crispin [Sat, 28 Nov 2015 23:25:04 +0000 (23:25 +0000)]
procd: update to latest git HEAD

this adds a lot of ujail cleanups

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

8 years agomac80211: rt2x00: fix WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable bit
John Crispin [Sat, 28 Nov 2015 23:24:59 +0000 (23:24 +0000)]
mac80211: rt2x00: fix WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable bit

Signed-off-by: evaxige <evaxige@qq.com>
SVN-Revision: 47668

8 years agoramips: adapt VoCore to new second spi device code
John Crispin [Sat, 28 Nov 2015 23:24:52 +0000 (23:24 +0000)]
ramips: adapt VoCore to new second spi device code

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

8 years agoramips: add second SPI clocks
John Crispin [Sat, 28 Nov 2015 23:24:40 +0000 (23:24 +0000)]
ramips: add second SPI clocks

These clocks were missing in the changes introduced in r47573-47580

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

9 years agokernel: add fix for missing include in spi-nor.h (#20973)
Rafał Miłecki [Thu, 26 Nov 2015 17:13:05 +0000 (17:13 +0000)]
kernel: add fix for missing include in spi-nor.h (#20973)

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

9 years agokernel: revert a faulty upstream commit that was added with the spi-nor/m25p80 backpo...
Felix Fietkau [Thu, 26 Nov 2015 16:40:11 +0000 (16:40 +0000)]
kernel: revert a faulty upstream commit that was added with the spi-nor/m25p80 backport (fixes #20971)

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

9 years agoar71xx: switch network and led defaults to board detection framework
Jo-Philipp Wich [Thu, 26 Nov 2015 14:42:28 +0000 (14:42 +0000)]
ar71xx: switch network and led defaults to board detection framework

Also translate ucidef_add_switch_vlan() to ucidef_add_switch_ports() for better
switch topology mapping and improved default config generation.

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

9 years agomwlwifi: update to latest version
Imre Kaloz [Thu, 26 Nov 2015 14:08:37 +0000 (14:08 +0000)]
mwlwifi: update to latest version

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

9 years agobase-files: uci-defaults-new, config_generate: support for gpio leds
Jo-Philipp Wich [Thu, 26 Nov 2015 13:53:06 +0000 (13:53 +0000)]
base-files: uci-defaults-new, config_generate: support for gpio leds

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

9 years agobase-files: config_generate: regroup led generator code
Jo-Philipp Wich [Thu, 26 Nov 2015 13:53:02 +0000 (13:53 +0000)]
base-files: config_generate: regroup led generator code

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

9 years agobase-files: uci-defaults-new: remove ucidef_set_led_interface()
Jo-Philipp Wich [Thu, 26 Nov 2015 12:46:09 +0000 (12:46 +0000)]
base-files: uci-defaults-new: remove ucidef_set_led_interface()

The only user was the hg255d board and config_generate did not even emit
proper uci for it.

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

9 years agoramips: hg255d: replace ucidef_set_led_interface() with ucidef_set_led_netdev()
Jo-Philipp Wich [Thu, 26 Nov 2015 12:46:04 +0000 (12:46 +0000)]
ramips: hg255d: replace ucidef_set_led_interface() with ucidef_set_led_netdev()

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

9 years agobase-files: config_generate: support rssi leds
Jo-Philipp Wich [Thu, 26 Nov 2015 12:04:43 +0000 (12:04 +0000)]
base-files: config_generate: support rssi leds

Add support for emitting rssi monitor and led configuration sections.

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

9 years agobase-files: uci-defaults-new: fix storing rssi leds and triggers in board.json
Jo-Philipp Wich [Thu, 26 Nov 2015 12:04:38 +0000 (12:04 +0000)]
base-files: uci-defaults-new: fix storing rssi leds and triggers in board.json

Remove extra nesting of rssi leds in the led object and move rssi monitor
declaration to its own object.

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

9 years agobase-files: config_generate: reformat for better readability and quote variables
Jo-Philipp Wich [Thu, 26 Nov 2015 12:04:32 +0000 (12:04 +0000)]
base-files: config_generate: reformat for better readability and quote variables

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

9 years agobcm53xx: update bcm53xxspiflash to match spi-nor backported from 4.4-rc1
Rafał Miłecki [Thu, 26 Nov 2015 11:43:16 +0000 (11:43 +0000)]
bcm53xx: update bcm53xxspiflash to match spi-nor backported from 4.4-rc1

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

9 years agobase-files: uci-defaults-new: properly quote variables
Jo-Philipp Wich [Thu, 26 Nov 2015 11:17:54 +0000 (11:17 +0000)]
base-files: uci-defaults-new: properly quote variables

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

9 years agolantiq: add dsl-vrx200-firmware-xdsl-b: add Annex B version of VRX200 DSL firmware
Hauke Mehrtens [Wed, 25 Nov 2015 22:36:38 +0000 (22:36 +0000)]
lantiq: add dsl-vrx200-firmware-xdsl-b: add Annex B version of VRX200 DSL firmware

This adds the Annex B version of the VRX200 firmware.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
SVN-Revision: 47650

9 years agolantiq: dsl-vrx200-firmware-xdsl-a: rename to VRX200 and add annex a
Hauke Mehrtens [Wed, 25 Nov 2015 22:33:17 +0000 (22:33 +0000)]
lantiq: dsl-vrx200-firmware-xdsl-a: rename to VRX200 and add annex a

This just renamed the package to indicate that this is the annex a version.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
SVN-Revision: 47649

9 years agobase-files: config_generate: handle switch port attributes and better group json_select
Jo-Philipp Wich [Wed, 25 Nov 2015 15:43:50 +0000 (15:43 +0000)]
base-files: config_generate: handle switch port attributes and better group json_select

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

9 years agobase-files: config_generate: do not remove previously generated interfaces
Jo-Philipp Wich [Wed, 25 Nov 2015 15:43:43 +0000 (15:43 +0000)]
base-files: config_generate: do not remove previously generated interfaces

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

9 years agobase-files: config_generate: properly handle multiple switches
Jo-Philipp Wich [Wed, 25 Nov 2015 15:43:33 +0000 (15:43 +0000)]
base-files: config_generate: properly handle multiple switches

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

9 years agobase-files: uci-defaults-new: add ucidef_add_switch_port_attr() helper
Jo-Philipp Wich [Wed, 25 Nov 2015 15:43:28 +0000 (15:43 +0000)]
base-files: uci-defaults-new: add ucidef_add_switch_port_attr() helper

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

9 years agobase-files: uci-defaults-new: whitespace cleanup
Jo-Philipp Wich [Wed, 25 Nov 2015 15:43:21 +0000 (15:43 +0000)]
base-files: uci-defaults-new: whitespace cleanup

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

9 years agobase-files: uci-defaults-new: don't store switch attr numbers as strings
Jo-Philipp Wich [Wed, 25 Nov 2015 15:43:15 +0000 (15:43 +0000)]
base-files: uci-defaults-new: don't store switch attr numbers as strings

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

9 years agogcc: make colors optional based on the GCC_COLORS env var
Felix Fietkau [Wed, 25 Nov 2015 14:12:44 +0000 (14:12 +0000)]
gcc: make colors optional based on the GCC_COLORS env var

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

9 years agoRevert "ar71xx: migrate led and network setup to board detection framework"
Jo-Philipp Wich [Wed, 25 Nov 2015 11:53:59 +0000 (11:53 +0000)]
Revert "ar71xx: migrate led and network setup to board detection framework"

The board detect code needs more fixes in order to work properly.

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

9 years agoralink: renable nand support
John Crispin [Tue, 24 Nov 2015 22:00:55 +0000 (22:00 +0000)]
ralink: renable nand support

CONFIG_MTK_MTD_NAND was incorrectly disabled by r47619.

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

9 years agobase-files: config_generate: support autogenerating vlans
Jo-Philipp Wich [Tue, 24 Nov 2015 21:16:38 +0000 (21:16 +0000)]
base-files: config_generate: support autogenerating vlans

Add support for generating vlans solely from the port layout description
given through ucidef_add_switch_ports().

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

9 years agobase-files: add ucidef_set_interface_wan() and ucidef_add_switch_ports()
Jo-Philipp Wich [Tue, 24 Nov 2015 21:16:35 +0000 (21:16 +0000)]
base-files: add ucidef_set_interface_wan() and ucidef_add_switch_ports()

Add further helper functions to uci-defaults-new.sh for easier declarations
of complex switch layouts.

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

9 years agolantiq: ltq-vdsl-app: update to version 4.16.6.3
John Crispin [Tue, 24 Nov 2015 20:41:30 +0000 (20:41 +0000)]
lantiq: ltq-vdsl-app: update to version 4.16.6.3

In this upstream dsl driver app version the autoboot is deactivated activate
it again.
In addition to the update this also fixes some build warnings and makes it
use the same configure option as used in Lantiq UGW.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
SVN-Revision: 47637