4 years agokernel: add linux 4.4 support
jogo []
kernel: add linux 4.4 support

Based on 4.4-rc3. Runtime tested on MIPS.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47701 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agopackage: kernel: update dependencies for 4.4
jogo []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47700 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoxtables-addons: update to 2.10
jogo []
xtables-addons: update to 2.10

Fixes compilation with linux 4.4.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47699 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel-version: drop 4.0 remnants
jogo []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47698 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobrcm63xx: Add NuCom R5010UNv2 support
jogo []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47697 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobrcm63xx: drop 3.18 support
jogo []
brcm63xx: drop 3.18 support

Drop 3.18 support; it will live on in CC.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47696 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoipq806x: ap148/r7500: fix eth0 for non gige speeds
jogo []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47695 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: update 4.1 to 4.1.13
hauke []
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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47694 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agomac80211: install new firmware for ath9k-htc on target
hauke []
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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47693 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobcm53xx: switch to ucidef_add_switch_ports()
jow []
bcm53xx: switch to ucidef_add_switch_ports()

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47692 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agompc85xx: fix up m25p80 device id (#21286)
nbd []
mpc85xx: fix up m25p80 device id (#21286)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47691 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: fix up m25p80 device ids (#20975)
nbd []
lantiq: fix up m25p80 device ids (#20975)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47690 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agotools: make-ext4fs: explicitely request C collation for sorting
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47689 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobcm53xx: update PCIe driver
hauke []
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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47688 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobcm53xx: update SMP patches
hauke []
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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47687 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobcm53xx: activate workarounds for erratas
hauke []
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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47686 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobcm53xx: move patch 132-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch
hauke []
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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47685 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agonetifd: update to the latest version, fixes an issue with moving a wifi iface to a different network
nbd []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47683 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobrcm47xx: add Netgear WN2500RP support
rmilecki []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47682 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agompc85xx: fix typo added in r47676
jow []
mpc85xx: fix typo added in r47676

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47681 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agompc85xx: record board id and model name in /etc/board.json
jow []
mpc85xx: record board id and model name in /etc/board.json

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47680 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new, config_generate: allow force tagged cpu ports
jow []
base-files: uci-defaults-new, config_generate: allow force tagged cpu ports

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47679 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agomwlwifi: update to latest revision, fixes a kernel panic
kaloz []
mwlwifi: update to latest revision, fixes a kernel panic

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47677 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agompc85xx: convert to ucidef_add_switch_ports()
jow []
mpc85xx: convert to ucidef_add_switch_ports()

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47676 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: only emit force_link for additional ifaces
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47675 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agomvebu: switch network and led config defaults to board detection framework
jow []
mvebu: switch network and led config defaults to board detection framework

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47674 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: fix unquoted variables
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47673 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: record board id and model name in /etc/board.json
jow []
ar71xx: record board id and model name in /etc/board.json

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47672 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: add board id and name helpers
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47671 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: remove duplicate patch
blogic []
ramips: remove duplicate patch

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47670 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoprocd: update to latest git HEAD
blogic []
procd: update to latest git HEAD

this adds a lot of ujail cleanups

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47669 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agomac80211: rt2x00: fix WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable bit
blogic []
mac80211: rt2x00: fix WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable bit

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47668 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: adapt VoCore to new second spi device code
blogic []
ramips: adapt VoCore to new second spi device code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47667 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: add second SPI clocks
blogic []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47666 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: add fix for missing include in spi-nor.h (#20973)
rmilecki []
kernel: add fix for missing include in spi-nor.h (#20973)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47665 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: revert a faulty upstream commit that was added with the spi-nor/m25p80 backport (fixes #20971)
nbd []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47664 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: switch network and led defaults to board detection framework
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47663 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agomwlwifi: update to latest version
kaloz []
mwlwifi: update to latest version

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47661 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new, config_generate: support for gpio leds
jow []
base-files: uci-defaults-new, config_generate: support for gpio leds

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47660 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: config_generate: regroup led generator code
jow []
base-files: config_generate: regroup led generator code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47659 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: remove ucidef_set_led_interface()
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47658 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: hg255d: replace ucidef_set_led_interface() with ucidef_set_led_netdev()
jow []
ramips: hg255d: replace ucidef_set_led_interface() with ucidef_set_led_netdev()

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47657 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: config_generate: support rssi leds
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47656 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: fix storing rssi leds and triggers in board.json
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47655 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: config_generate: reformat for better readability and quote variables
jow []
base-files: config_generate: reformat for better readability and quote variables

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47654 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobcm53xx: update bcm53xxspiflash to match spi-nor backported from 4.4-rc1
rmilecki []
bcm53xx: update bcm53xxspiflash to match spi-nor backported from 4.4-rc1

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47653 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: properly quote variables
jow []
base-files: uci-defaults-new: properly quote variables

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47652 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: add dsl-vrx200-firmware-xdsl-b: add Annex B version of VRX200 DSL firmware
hauke []
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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47650 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: dsl-vrx200-firmware-xdsl-a: rename to VRX200 and add annex a
hauke []
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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47649 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: config_generate: handle switch port attributes and better group json_select
jow []
base-files: config_generate: handle switch port attributes and better group json_select

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47648 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: config_generate: do not remove previously generated interfaces
jow []
base-files: config_generate: do not remove previously generated interfaces

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47647 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: config_generate: properly handle multiple switches
jow []
base-files: config_generate: properly handle multiple switches

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47646 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: add ucidef_add_switch_port_attr() helper
jow []
base-files: uci-defaults-new: add ucidef_add_switch_port_attr() helper

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47645 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: whitespace cleanup
jow []
base-files: uci-defaults-new: whitespace cleanup

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47644 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: uci-defaults-new: don't store switch attr numbers as strings
jow []
base-files: uci-defaults-new: don't store switch attr numbers as strings

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47643 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agogcc: make colors optional based on the GCC_COLORS env var
nbd []
gcc: make colors optional based on the GCC_COLORS env var

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47642 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoRevert "ar71xx: migrate led and network setup to board detection framework"
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47641 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoralink: renable nand support
blogic []
ralink: renable nand support

CONFIG_MTK_MTD_NAND was incorrectly disabled by r47619.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47640 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: config_generate: support autogenerating vlans
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47639 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: add ucidef_set_interface_wan() and ucidef_add_switch_ports()
jow []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47638 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-vdsl-app: update to version 4.16.6.3
blogic []
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47637 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-vdsl-app: add dsl_cpe_pipe.sh
blogic []
lantiq: ltq-vdsl-app: add dsl_cpe_pipe.sh

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47636 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-vdsl: update to version 4.16.6.3
blogic []
lantiq: ltq-vdsl: update to version 4.16.6.3

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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47635 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-vdsl-mei: update to version 1.4.8.5
blogic []
lantiq: ltq-vdsl-mei: update to version 1.4.8.5

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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47634 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-vdsl-mei: register char device automatically
blogic []
lantiq: ltq-vdsl-mei: register char device automatically

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47633 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-vdsl-mei: add mei_cpe_drv_test application
blogic []
lantiq: ltq-vdsl-mei: add mei_cpe_drv_test application

This application helps to debug some internal problems in the MEI driver.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47632 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: add dsl-vr9-firmware-xdsl
blogic []
lantiq: add dsl-vr9-firmware-xdsl

This adds the DSL firmware for the VR9/XRX200 SoCs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47631 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-ifxos: fix build warnings
blogic []
lantiq: ltq-ifxos: fix build warnings

This makes the build script use the same configure options as used by
Lantiq UGW and fixes some warnings and cleans up some of the patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47630 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoqos-scripts: remove faulty fallback of the device variable to eth0 (#20834)
nbd []
qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47629 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: fix compile error
hauke []
lantiq: fix compile error

This fixes a problem introduced in r47624.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47628 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: fix typo in image makefile (#18712)
nbd []
ramips: fix typo in image makefile (#18712)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47627 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: disable software protection bits for macronix flash chips at init
nbd []
kernel: disable software protection bits for macronix flash chips at init

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47626 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoath10k: fix memory allocation issues on platforms where DMA coherent memory is constrained
nbd []
ath10k: fix memory allocation issues on platforms where DMA coherent memory is constrained

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47625 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: update m25p80 in 4.1 to the latest version from 4.4-rc1
nbd []
kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47624 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: show hint when JFFS2-partition is full and overlayfs mounted read-only
blogic []
base-files: show hint when JFFS2-partition is full and overlayfs mounted read-only

since r45833 and r45848 the overlayfs is automatically mounted read-only
(and blocks remounts as r/w) when JFFS2 is full. see ticket #19564

because of this normal file deletion is not possible anymore.
if a user logins interactively (e.g. SSH) show a hint for this,
that files must be removed in /overlay/upper/...

v2: fix subject line

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47623 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: add GL-Domino Pi support V3
blogic []
ar71xx: add GL-Domino Pi support V3

This is the patch for GL-Domino Pi V3. Updated against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47622 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: add GL-AR300 support V3
blogic []
ar71xx: add GL-AR300 support V3

This is the patch for GL-AR300 V3, tested against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47621 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: add GL-AR150 support V3
blogic []
ar71xx: add GL-AR150 support V3

This is the 3rd version. Modified against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47620 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoralink: add support for netis WF-2881
blogic []
ralink: add support for netis WF-2881

netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN.
It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0.
The following patch adds support for this device.

this device only works on top of UBI.

Tested and working:
* ethernet
* both WiFi radios
* USB 3.0
* buttons (reset button)
* ethernet switch and USB diag LEDs
* UART
* GPIOs
* sysupgrade

Tested and not working
* failsafe

Signed-off-by: YounJae Rho <luxflow@live.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47619 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agooxnas: set irq of usb&sata to cpu1
blogic []
oxnas: set irq of usb&sata to cpu1

V2:
The KD-20 also has USB 3.0.I modiy the set_irq_affinity usb 2 to set_irq_affinity ?hci_hcd 2 to bind usb 2.0&3.0 to cpu1.

Signed-off-by: Shonn Lu <countrysideboy@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47618 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: add support for Youku YK1
blogic []
ramips: add support for Youku YK1

Changes since V1:
I resend this patch for current trunk.The former V1 patch is for CC branch.

Signed-off-by: Shonn Lu <countrysideboy@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47617 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: add second spi master sysclk
blogic []
ramips: add second spi master sysclk

for mt7620, rt3883 and rt5350

Signed-off-by: Michael Lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47616 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agowpa-supplicant: Get 802.11s ssid information from option mesh_id
blogic []
wpa-supplicant: Get 802.11s ssid information from option mesh_id

The scripts for authsae and iw use the option mesh_id to get set the
"meshid" during a mesh join. But the script for wpad-mesh ignores the
option mesh_id and instead uses the option ssid. Unify the mesh
configuration and let the wpa_supplicant script also use the mesh_id from
the configuration.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47615 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoauthsae: Use kbit/s as mcast_rate unit like wpad
blogic []
authsae: Use kbit/s as mcast_rate unit like wpad

The OpenWrt wireless configuration for mcast_rate is defined as Kbit/s when
using wpa_supplicant for IBSS/802.11s and iw for unencrypted IBSS/802.11s.
But when using authsae, the unit for the same option is redefined as
Mbit/s. Better use the same unit for this option independent of the backend
which is used.

Old values for mcast_rate (< 1000) are still interpreted Mbit/s to avoid
problems during upgrades from older versions.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47614 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoauthsae: Fix meshid in authsae config
blogic []
authsae: Fix meshid in authsae config

The variable $mesh_id was never defined in authsae_start_interface and thus
the option meshid in $authsae_conf_file was always set to "".

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47613 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: Build initramfs by default for Mikrotik devices
blogic []
ar71xx: Build initramfs by default for Mikrotik devices

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47612 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agouboot-imx6: fix build with gcc-5
blogic []
uboot-imx6: fix build with gcc-5

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47611 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobrcm2708: fix multi-device image generation
blogic []
brcm2708: fix multi-device image generation

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47610 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: config_generate: honour port_mask property (#20963)
jow []
base-files: config_generate: honour port_mask property (#20963)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47609 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoipq806x: another fix to the stmmac DMA configuration to fix remaining data corruption issues
nbd []
ipq806x: another fix to the stmmac DMA configuration to fix remaining data corruption issues

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47603 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoubox: update ubox to version 2015-11-22
hauke []
ubox: update ubox to version 2015-11-22

This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47600 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agomountd: update mountd to version 2015-11-22
hauke []
mountd: update mountd to version 2015-11-22

This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47599 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agofstools: update fstools to version 2015-11-22
hauke []
fstools: update fstools to version 2015-11-22

This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47598 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoRevert "mvebu: migrate led and network setup to board detection framework"
jow []
Revert "mvebu: migrate led and network setup to board detection framework"

Roll back the mvebu conversion to board detection code as we need to fix
some strcutural issues first.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47597 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: fix network default config of the TEW-732BR
jow []
ar71xx: fix network default config of the TEW-732BR

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47595 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoipq806x: fix a nasty stmmac data corruption bug caused by faulty DMA initialization
nbd []
ipq806x: fix a nasty stmmac data corruption bug caused by faulty DMA initialization

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47594 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoipq806x: update stmmac to the version from linux 4.3
nbd []
ipq806x: update stmmac to the version from linux 4.3

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47593 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoath10k-firmware: add board-2.bin for qca99x0
nbd []
ath10k-firmware: add board-2.bin for qca99x0

Keep board.bin as fallback for devices without OTP that load caldata
from flash

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47592 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobuild: add support for choosing a different url filename part than the output file
nbd []
build: add support for choosing a different url filename part than the output file

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47591 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: use the correct path in case of modified preinit options
nbd []
base-files: use the correct path in case of modified preinit options

If the user sets any preinit options in .config, the wrong path may get
applied due to wrong default value in image-config.in and due to Makefile
writing also the unchanged options into 00_preinit.conf

Modify the default path in image-config.in to match the current default
path set by r47080. Also modify the fall-back default in Makefile.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47590 3c298f89-4303-0410-b956-a3cf2f4a3e73

comments