openwrt/staging/neocturne.git
9 years agoupdate mtd-utils to 1.5.2
Hauke Mehrtens [Sat, 5 Dec 2015 15:44:58 +0000 (15:44 +0000)]
update mtd-utils to 1.5.2

 - update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73)
 - remove patches that went upstream
 - fixes build from scratch as of broken patches

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
[use the final version of 1.5.2 instead, fix header of jffs2_lzma_(de,)compress()]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47790

9 years agokernel: fix linux 4.4 mac80211 build error
Felix Fietkau [Sat, 5 Dec 2015 13:11:28 +0000 (13:11 +0000)]
kernel: fix linux 4.4 mac80211 build error

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

9 years agolldpd: add STOP=01 param in init script
Felix Fietkau [Sat, 5 Dec 2015 09:57:19 +0000 (09:57 +0000)]
lldpd: add STOP=01 param in init script

This should ensure that lldpd is among the first processes to stop,
so that it has time to send the shutdown LLDPU to the other side,
before the network goes down.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47786

9 years agolantiq: add VDSL2 vectoring status information
Felix Fietkau [Sat, 5 Dec 2015 09:52:42 +0000 (09:52 +0000)]
lantiq: add VDSL2 vectoring status information

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47785

9 years agolantiq: ltq-vdsl-mei: enable vectoring support
Felix Fietkau [Sat, 5 Dec 2015 09:52:36 +0000 (09:52 +0000)]
lantiq: ltq-vdsl-mei: enable vectoring support

Dynamic Spectrum Management is a precondition for G.993.5 (VDSL2 vectoring).

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47784

9 years agolantiq: get rid of the dsl_fw mtd partition
Felix Fietkau [Sat, 5 Dec 2015 09:52:30 +0000 (09:52 +0000)]
lantiq: get rid of the dsl_fw mtd partition

Now that we have redistributable vdsl/adsl firmware blobs in /lib/firmware,
we can drop the dsl_fw partition and extend the firmware partition.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 47783

9 years agoiw: add VHT80 support for 802.11s
Felix Fietkau [Sat, 5 Dec 2015 09:52:18 +0000 (09:52 +0000)]
iw: add VHT80 support for 802.11s

Support next to the non-HT/HT channel widths like HT20 or NOHT also VHT80
channels during the mesh join

    iw dev mesh0 mesh join "meshnet" freq 5180 80MHz

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

9 years agomac80211: Allow to select VHT80 in IBSS mode
Felix Fietkau [Sat, 5 Dec 2015 09:52:10 +0000 (09:52 +0000)]
mac80211: Allow to select VHT80 in IBSS mode

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

9 years agoiw: add VHT80 support for IBSS
Felix Fietkau [Sat, 5 Dec 2015 09:52:02 +0000 (09:52 +0000)]
iw: add VHT80 support for IBSS

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

9 years agoiw: display interface TX power if available
Felix Fietkau [Sat, 5 Dec 2015 09:51:53 +0000 (09:51 +0000)]
iw: display interface TX power if available

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

9 years agoiw: sync nl80211.h with compat-wireless 2015-10-26
Felix Fietkau [Sat, 5 Dec 2015 09:51:48 +0000 (09:51 +0000)]
iw: sync nl80211.h with compat-wireless 2015-10-26

Fix the id of NL80211_ATTR_WIPHY_ANTENNA_GAIN for antenna_gain command when
using compat-wireless 2015-10-26.

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

9 years agoiw: update to version 4.3
Felix Fietkau [Sat, 5 Dec 2015 09:51:39 +0000 (09:51 +0000)]
iw: update to version 4.3

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

9 years agomac80211: Allow enabling tracing for the drivers that support it
Felix Fietkau [Sat, 5 Dec 2015 09:51:35 +0000 (09:51 +0000)]
mac80211: Allow enabling tracing for the drivers that support it

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

9 years agobusybox: Update config for 1.24.1
Felix Fietkau [Sat, 5 Dec 2015 09:51:30 +0000 (09:51 +0000)]
busybox: Update config for 1.24.1

r47288 updated to Busybox 1.24.1 but did not update the configuration.

The configuration is updated by running

cd config
../convert_menuconfig.pl .../build_dir/target-*/busybox-1.24.1
cd ..
./convert_defaults.pl < .../build_dir/target-*/busybox-1.24.1/.config > \
    Config-defaults.in

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 47775

9 years agolantiq: remove 3.18 support
Felix Fietkau [Sat, 5 Dec 2015 09:51:25 +0000 (09:51 +0000)]
lantiq: remove 3.18 support

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

9 years agomac80211: enable build with linux 4.4
Felix Fietkau [Fri, 4 Dec 2015 22:40:38 +0000 (22:40 +0000)]
mac80211: enable build with linux 4.4

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

9 years agomac80211: update to 2015-12-03
Felix Fietkau [Fri, 4 Dec 2015 22:39:37 +0000 (22:39 +0000)]
mac80211: update to 2015-12-03

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

9 years agolantiq: fix a race condition in the SPI driver leading to rx FIFO overflows (and...
Felix Fietkau [Fri, 4 Dec 2015 20:26:22 +0000 (20:26 +0000)]
lantiq: fix a race condition in the SPI driver leading to rx FIFO overflows (and subsequent timeouts)

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

9 years agolantiq: debloat the ltq-vdsl-app binary
Felix Fietkau [Fri, 4 Dec 2015 20:26:17 +0000 (20:26 +0000)]
lantiq: debloat the ltq-vdsl-app binary

Use the 'typical' compile configuration instead of 'full', which most
notably excludes the soap support.

/sbin/vdsl_cpe_control shrinks down to ~50%, from 178kb(!) to 90kb.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 47769

9 years agolantiq: re-enable spi-xway for TD-W89X0 now that it is fixed
Felix Fietkau [Fri, 4 Dec 2015 18:35:20 +0000 (18:35 +0000)]
lantiq: re-enable spi-xway for TD-W89X0 now that it is fixed

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

9 years agolantiq: fix xway spi driver timeout issues
Felix Fietkau [Fri, 4 Dec 2015 18:35:12 +0000 (18:35 +0000)]
lantiq: fix xway spi driver timeout issues

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

9 years agolantiq: clean up the xrx200 ethernet driver and fix stability issues
Felix Fietkau [Fri, 4 Dec 2015 17:44:06 +0000 (17:44 +0000)]
lantiq: clean up the xrx200 ethernet driver and fix stability issues

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

9 years agobr2684ctl: convert init script to procd, add hotplug/reload support
Felix Fietkau [Fri, 4 Dec 2015 17:44:00 +0000 (17:44 +0000)]
br2684ctl: convert init script to procd, add hotplug/reload support

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

9 years agolantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. loading vr9...
Felix Fietkau [Fri, 4 Dec 2015 17:42:51 +0000 (17:42 +0000)]
lantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. loading vr9 drivers

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

9 years agoar71xx: convert gpio switch config to board.d
Jo-Philipp Wich [Fri, 4 Dec 2015 15:02:42 +0000 (15:02 +0000)]
ar71xx: convert gpio switch config to board.d

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

9 years agoboard.d: add support for gpio_switch sections
Jo-Philipp Wich [Fri, 4 Dec 2015 15:02:32 +0000 (15:02 +0000)]
board.d: add support for gpio_switch sections

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

9 years agomcs814x: switch from uci-defaults to board.d
Jo-Philipp Wich [Fri, 4 Dec 2015 15:02:13 +0000 (15:02 +0000)]
mcs814x: switch from uci-defaults to board.d

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

9 years agosunxi: fix board.d permissions
Jo-Philipp Wich [Fri, 4 Dec 2015 14:39:20 +0000 (14:39 +0000)]
sunxi: fix board.d permissions

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

9 years agoorion: convert initial network configuration to board.d
Jo-Philipp Wich [Fri, 4 Dec 2015 14:39:14 +0000 (14:39 +0000)]
orion: convert initial network configuration to board.d

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

9 years agosunxi: switch from uci-defaults to board.d
Jo-Philipp Wich [Fri, 4 Dec 2015 14:32:52 +0000 (14:32 +0000)]
sunxi: switch from uci-defaults to board.d

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

9 years agoar7: switch from uci-defaults to board.d
Jo-Philipp Wich [Fri, 4 Dec 2015 14:27:47 +0000 (14:27 +0000)]
ar7: switch from uci-defaults to board.d

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

9 years agoath25: switch from uci-defaults to board.d
Jo-Philipp Wich [Fri, 4 Dec 2015 14:15:09 +0000 (14:15 +0000)]
ath25: switch from uci-defaults to board.d

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

9 years agolantiq: switch from uci-defaults to board.d
Jo-Philipp Wich [Fri, 4 Dec 2015 12:32:44 +0000 (12:32 +0000)]
lantiq: switch from uci-defaults to board.d

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

9 years agobrcm63xx: switch from uci-defaults to board.d
Jo-Philipp Wich [Fri, 4 Dec 2015 12:32:36 +0000 (12:32 +0000)]
brcm63xx: switch from uci-defaults to board.d

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47754

9 years agoall: remove redundant board.d/00_model files
Jo-Philipp Wich [Fri, 4 Dec 2015 11:07:06 +0000 (11:07 +0000)]
all: remove redundant board.d/00_model files

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

9 years agobase-files: board.d: auto-set model id and name if /tmp/sysinfo is available
Jo-Philipp Wich [Fri, 4 Dec 2015 11:06:57 +0000 (11:06 +0000)]
base-files: board.d: auto-set model id and name if /tmp/sysinfo is available

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

9 years agokernel: drop bridge hack for removing ipv6 dependency
Jonas Gorski [Fri, 4 Dec 2015 10:06:03 +0000 (10:06 +0000)]
kernel: drop bridge hack for removing ipv6 dependency

Now that IPV6 isn't build as a module anymore, we don't need to decouple
bridge from ipv6 anymore.

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

9 years agobase-files: board.d: support dsl modems, atm bridges and pppoe protocol
Jo-Philipp Wich [Fri, 4 Dec 2015 09:56:55 +0000 (09:56 +0000)]
base-files: board.d: support dsl modems, atm bridges and pppoe protocol

This adds support for specifying the dsl modem, atm bridge configs and setting
the pppoe protocol for wan.

These additions are required to port the Lantiq target to board.d.

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

9 years agokernel: mvswitch: merge 3.10+ compile fix into the code
Jonas Gorski [Fri, 4 Dec 2015 09:45:07 +0000 (09:45 +0000)]
kernel: mvswitch: merge 3.10+ compile fix into the code

The lowest we support is 3.18, so no need to keep it as a separate
patch.

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

9 years agokernel: drop unneeded modification of mtd_add_partition function
Rafał Miłecki [Fri, 4 Dec 2015 09:33:08 +0000 (09:33 +0000)]
kernel: drop unneeded modification of mtd_add_partition function

In old days mtd_add_partition was checking for partitions overlapping
which was breaking our splitting feature. We had to modify this function
by adding an extra bool dup_check parameter. Upstream commit:
3a434f66e6da ("mtd: part: Remove partition overlap checks")
removed that check so we don't need our modification anymore.

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

9 years agokernel: drop old uimage splitter from 4.4
Rafał Miłecki [Fri, 4 Dec 2015 09:33:04 +0000 (09:33 +0000)]
kernel: drop old uimage splitter from 4.4

For a long time we have a dedicated firmware splitter for uimage as a
replacement for the one builtin into mtd subsystem. For a year we got a
proper warning for users sticking to the old one (r43700). It should be
really safe to drop it now, especially since we do it for 4.4 only.

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

9 years agomalta: board.d: fix typo
Jo-Philipp Wich [Fri, 4 Dec 2015 09:05:43 +0000 (09:05 +0000)]
malta: board.d: fix typo

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

9 years agokirkwood: add missing board_config_flush(), remove dead code
Jo-Philipp Wich [Thu, 3 Dec 2015 23:13:04 +0000 (23:13 +0000)]
kirkwood: add missing board_config_flush(), remove dead code

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

9 years agoall: remove dummy ucidef_set_interface_loopback() from board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 23:13:00 +0000 (23:13 +0000)]
all: remove dummy ucidef_set_interface_loopback() from board.d

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

9 years agoarc770: switch from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 23:08:02 +0000 (23:08 +0000)]
arc770: switch from uci-defaults to board.d

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

9 years agomxs: convert from uci-defaults to board.d
Jo-Philipp Wich [Thu, 3 Dec 2015 23:07:53 +0000 (23:07 +0000)]
mxs: convert from uci-defaults to board.d

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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