openwrt.git
8 years agoralink: bump to the target to v4.3
blogic [Thu, 10 Dec 2015 19:06:32 +0000 (19:06 +0000)]
ralink: bump to the target to v4.3

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47831 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobr2684ctl: add atm-bridge disabled option
nbd [Thu, 10 Dec 2015 14:40:55 +0000 (14:40 +0000)]
br2684ctl: add atm-bridge disabled option

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47830 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobr2684ctl: fix config reload trigger
nbd [Thu, 10 Dec 2015 14:40:19 +0000 (14:40 +0000)]
br2684ctl: fix config reload trigger

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47829 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: ifup-shellscript - fix wrong usage of 'local'
nbd [Thu, 10 Dec 2015 12:53:30 +0000 (12:53 +0000)]
netifd: ifup-shellscript - fix wrong usage of 'local'

this error was not visible until recent bump to
busybox 1.24.1 stable which introduced a warning message
when keyword 'local' is not used with a shell-function.

this does not change behavior and is a cosmetic cleanup.
fixes the following output:

root@box:~ ifup <interface>
/sbin/ifup: local: line 362: not in a function
/sbin/ifup: local: line 362: not in a function
/sbin/ifup: local: line 1: not in a function

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47828 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/modules: fix crypto API RNG for >=4.2
nbd [Thu, 10 Dec 2015 12:40:55 +0000 (12:40 +0000)]
kernel/modules: fix crypto API RNG for >=4.2

Since kernel 4.2, DRBG is the default crypto API RNG, replacing krng. As
DRBG is not enabled, there is no crypto API RNG available when running
kernel 4.2 or later. Because of this, IPsec SAs fail to install. In
strongSwan, this results in a vague error that is difficult to debug:

received netlink error: No such file or directory (2)

Solve this by adding DRBG to the kmod-crypto-rng package. As enabling
DRBG in the kernel config also enables the Jitterentropy RNG, include it
in kmod-crypto-rng instead of having it in a separate package.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47827 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopopt: remove xgettext prereq check, it is not necessary
nbd [Thu, 10 Dec 2015 12:40:19 +0000 (12:40 +0000)]
popt: remove xgettext prereq check, it is not necessary

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47826 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/download.pl: cleanup GNOME source location definitions
nbd [Thu, 10 Dec 2015 12:40:08 +0000 (12:40 +0000)]
scripts/download.pl: cleanup GNOME source location definitions

Cleanup the @GNOME source download location definitions:
* remove dead and stale mirrors
* adjust to changes at directory structure
* add one new working mirror

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47825 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/mm-macros: update to 0.9.9
nbd [Thu, 10 Dec 2015 12:39:51 +0000 (12:39 +0000)]
tools/mm-macros: update to 0.9.9

Update mm-macros (mm-common) to 0.9.9.
Switch to use the @GNOME source download location.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47824 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: fix arch used during dts compilation
nbd [Thu, 10 Dec 2015 12:39:32 +0000 (12:39 +0000)]
build: fix arch used during dts compilation

Use kernel arch for dts compilation.
Also use Image/BuildDTB to build dts for ramips.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47823 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: use the linux-firmware tree from 2015-12-07
kaloz [Thu, 10 Dec 2015 12:17:24 +0000 (12:17 +0000)]
mac80211: use the linux-firmware tree from 2015-12-07

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47822 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric/4.1: refresh patches
kaloz [Thu, 10 Dec 2015 12:14:19 +0000 (12:14 +0000)]
generic/4.1: refresh patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47821 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: fixup wifi macs for Linksys boards
kaloz [Thu, 10 Dec 2015 12:13:16 +0000 (12:13 +0000)]
mvebu: fixup wifi macs for Linksys boards

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47820 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: add support for 4.4-rc
kaloz [Thu, 10 Dec 2015 12:11:39 +0000 (12:11 +0000)]
mvebu: add support for 4.4-rc

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47819 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: add support for 4.1 and switch over
kaloz [Thu, 10 Dec 2015 12:08:13 +0000 (12:08 +0000)]
mvebu: add support for 4.1 and switch over

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47818 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopenssl: add config option for no_hw support
hauke [Wed, 9 Dec 2015 22:26:40 +0000 (22:26 +0000)]
openssl: add config option for no_hw support

The hardware support is required by some 3rd party engines (tpm)

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47817 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: fix various ACL processing problems
jow [Wed, 9 Dec 2015 19:42:00 +0000 (19:42 +0000)]
ubus: fix various ACL processing problems

Bump ubus to current Git HEAD in order to:

 * Fix a null pointer access when user ACLs are loaded into memory
 * Fix wrong permission handling for uid=0, gid!=0 peers
 * Fix return code for permission defined cases
 * Fix socket error handling when the server connection dies
 * Make ACL file path configurable
 * Remove invalid usages of poll() when using a zero timeout

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47816 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix passing of VHT80 in IBSS mode
jow [Wed, 9 Dec 2015 15:19:41 +0000 (15:19 +0000)]
mac80211: fix passing of VHT80 in IBSS mode

The "iw" utility expects the VHT80 to be specified as uppercase "80MHZ",
change the script to reflect that.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47814 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix disabling HT in IBSS mode (#21340)
jow [Wed, 9 Dec 2015 15:18:43 +0000 (15:18 +0000)]
mac80211: fix disabling HT in IBSS mode (#21340)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47813 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: revert fq_codel quantum override to prevent it from causing too much cpu...
nbd [Tue, 8 Dec 2015 00:14:41 +0000 (00:14 +0000)]
kernel: revert fq_codel quantum override to prevent it from causing too much cpu load with higher speed (#21326)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47811 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: update BCM5301X SMP patch to fixed version from stblinux
rmilecki [Mon, 7 Dec 2015 20:43:49 +0000 (20:43 +0000)]
bcm53xx: update BCM5301X SMP patch to fixed version from stblinux

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47810 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: fix selecting HAVE_SMP symbol in Kconfig
rmilecki [Mon, 7 Dec 2015 19:56:12 +0000 (19:56 +0000)]
bcm53xx: fix selecting HAVE_SMP symbol in Kconfig

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47809 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: use backported BCM5301X patches from stblinux soc/next
rmilecki [Mon, 7 Dec 2015 19:20:40 +0000 (19:20 +0000)]
bcm53xx: use backported BCM5301X patches from stblinux soc/next

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47807 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: make bcm47xxpart patch apply after recent backports
rmilecki [Mon, 7 Dec 2015 18:38:20 +0000 (18:38 +0000)]
brcm47xx: make bcm47xxpart patch apply after recent backports

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47806 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: add missing 4.1 symbols
kaloz [Mon, 7 Dec 2015 10:13:55 +0000 (10:13 +0000)]
generic: add missing 4.1 symbols

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47802 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: bump 4.4 to rc4
kaloz [Mon, 7 Dec 2015 10:11:43 +0000 (10:11 +0000)]
generic: bump 4.4 to rc4

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47801 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add bcm47xxpart patches sent for 4.5 merge window
rmilecki [Mon, 7 Dec 2015 09:31:52 +0000 (09:31 +0000)]
kernel: add bcm47xxpart patches sent for 4.5 merge window

This replaces old bcm53xx patch for scanning whole flash and makes
bcm47xxpart compatible with NAND.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47800 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix switch port mapping for tl-wdr4300/3600
nbd [Sun, 6 Dec 2015 14:25:36 +0000 (14:25 +0000)]
ar71xx: fix switch port mapping for tl-wdr4300/3600

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47799 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing config option.
hauke [Sun, 6 Dec 2015 13:49:03 +0000 (13:49 +0000)]
kernel: add missing config option.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47798 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar7-atm: fix build with gcc 5
hauke [Sun, 6 Dec 2015 13:41:26 +0000 (13:41 +0000)]
ar7-atm: fix build with gcc 5

Remove the usage of the __TIME__ and __DATE__ macro.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47797 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing config options for kernel 4.4
hauke [Sun, 6 Dec 2015 13:32:36 +0000 (13:32 +0000)]
kernel: add missing config options for kernel 4.4

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47796 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix build of mac80211-hwsim on kernel 4.4
hauke [Sun, 6 Dec 2015 13:31:58 +0000 (13:31 +0000)]
mac80211: fix build of mac80211-hwsim on kernel 4.4

This genl_notify() backport should not be applied for kernel 4.4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47795 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix logic error in dsl board.d code
jow [Sun, 6 Dec 2015 08:41:22 +0000 (08:41 +0000)]
lantiq: fix logic error in dsl board.d code

Starting with r47755 the pppoe wan interface section isn't any longer added to
the network config on firstboot, using the default configuration. Since the
commit message does not mention such a change, I assume that this wasn't
intentionally.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47793 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocyassl: update to wolfSSL version 3.7.0
hauke [Sat, 5 Dec 2015 15:45:31 +0000 (15:45 +0000)]
cyassl: update to wolfSSL version 3.7.0

This version and version 3.6.8 are fixing the following security problems:
* CVE-2015-7744
* CVE-2015-6925

The activation of SSLv3 support is needed for curl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47791 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoupdate mtd-utils to 1.5.2
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47790 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix linux 4.4 mac80211 build error
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47789 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolldpd: add STOP=01 param in init script
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47786 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: add VDSL2 vectoring status information
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47785 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ltq-vdsl-mei: enable vectoring support
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47784 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: get rid of the dsl_fw mtd partition
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47783 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiw: add VHT80 support for 802.11s
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47782 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Allow to select VHT80 in IBSS mode
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47781 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiw: add VHT80 support for IBSS
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47780 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiw: display interface TX power if available
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47779 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiw: sync nl80211.h with compat-wireless 2015-10-26
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47778 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiw: update to version 4.3
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47777 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Allow enabling tracing for the drivers that support it
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47776 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobusybox: Update config for 1.24.1
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47775 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47774 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: enable build with linux 4.4
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47772 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: update to 2015-12-03
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47771 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix a race condition in the SPI driver leading to rx FIFO overflows (and...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47770 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: debloat the ltq-vdsl-app binary
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47769 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: re-enable spi-xway for TD-W89X0 now that it is fixed
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47768 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix xway spi driver timeout issues
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47767 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: clean up the xrx200 ethernet driver and fix stability issues
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47766 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobr2684ctl: convert init script to procd, add hotplug/reload support
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47765 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. loading vr9...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47764 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: convert gpio switch config to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47763 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoboard.d: add support for gpio_switch sections
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47762 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomcs814x: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47761 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosunxi: fix board.d permissions
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47760 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoorion: convert initial network configuration to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47759 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosunxi: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47758 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar7: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47757 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath25: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47756 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47755 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47754 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoall: remove redundant board.d/00_model files
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47753 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: board.d: auto-set model id and name if /tmp/sysinfo is available
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47752 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: drop bridge hack for removing ipv6 dependency
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47751 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: board.d: support dsl modems, atm bridges and pppoe protocol
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47750 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: mvswitch: merge 3.10+ compile fix into the code
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47749 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: drop unneeded modification of mtd_add_partition function
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47748 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: drop old uimage splitter from 4.4
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47747 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomalta: board.d: fix typo
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47746 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: add missing board_config_flush(), remove dead code
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47745 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoall: remove dummy ucidef_set_interface_loopback() from board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47744 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoarc770: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47743 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomxs: convert from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47742 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomalta: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47741 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoat91: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47740 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agorealview: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47739 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47738 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetlogic: fix typo, copyright in board.d script
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47737 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetlogic: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47736 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood, ipq806x: fix board.d script permissions
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47735 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoocteon: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47734 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47733 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: board.d: support specifiying the protocol of lan and wan
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47732 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: board.d: support timer leds
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47731 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: switch from uci-defaults to board.d
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47730 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: board.d: support ide leds
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47729 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: uci-defaults-new.sh: fix for handling multiple ifnames
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47728 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopenssl: update to version 1.0.2e
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47726 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agombedtls: update to version 2.1.3
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47725 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopolarssl: update to version 1.3.15
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47724 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: board.d: add missing include (#21296)
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47723 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoboard.d: remove redundant ucidef_set_interfaces_lan_wan() calls
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47722 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoboard.d: merge ucidef_add_switch() and ucidef_add_switch_ports()
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47721 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47720 3c298f89-4303-0410-b956-a3cf2f4a3e73