openwrt/openwrt.git
8 years agolantiq: Add the SPI node to ar9.dtsi and vr9.dtsi
Felix Fietkau [Sun, 17 Jan 2016 19:55:17 +0000 (19:55 +0000)]
lantiq: Add the SPI node to ar9.dtsi and vr9.dtsi

This allows devices to use SPI without having to re-define (and thus
duplicating) the whole SPI node.
By default SPI is disabled (as before) because only few devices need it.

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

8 years agolantiq: Configure the PCIe reset GPIO using OF
Felix Fietkau [Sun, 17 Jan 2016 19:55:10 +0000 (19:55 +0000)]
lantiq: Configure the PCIe reset GPIO using OF

After the latest pinctrl backports there are only 50 (instead of 56 as
before) GPIOs/pins exported (thus the first GPIO on VRX200 SoCs is now
462, before it was 456). This means that any hardcoded GPIOs have to be
adjusted.
This broke the PCIe driver (which seems to be the only driver which uses
hardcoded GPIO numbers), it only reports:
ifx_pcie_wait_phy_link_up timeout
ifx_pcie_wait_phy_link_up timeout
ifx_pcie_wait_phy_link_up timeout
ifx_pcie_wait_phy_link_up timeout
ifx_pcie_wait_phy_link_up timeout
pcie_rc_initialize link up failed!!!!!

To prevent more of these issues in the future we remove the hardcoded
PCIe reset GPIO definition and simply pass it via device-tree (like the
PCI driver does).

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

8 years agolantiq: Use the new pinctrl compatible strings
Felix Fietkau [Sun, 17 Jan 2016 19:55:04 +0000 (19:55 +0000)]
lantiq: Use the new pinctrl compatible strings

These were introduced in upstream commit
be14811c03cf "pinctrl/lantiq: introduce new dedicated devicetree
bindings" and finally allow us to use the individual pins within our dts
(for example spi_clk, etc.).
Please note that this changes the number of GPIOs which are available for
some SoCs. VRX200 SoCs for example only have 50 pins, but previously 56
pins were exposed. This means that all places which are using hardcoded
GPIO numbers (which are not passed via device-tree) need to be adjusted
(because the first GPIO number is now 462, instead of 456).

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

8 years agolantiq: Backport upstream pinctrl-xway patches from 4.5
Felix Fietkau [Sun, 17 Jan 2016 19:54:59 +0000 (19:54 +0000)]
lantiq: Backport upstream pinctrl-xway patches from 4.5

Upstream commit be14811c03cf2 "pinctrl/lantiq: introduce new dedicated
devicetree bindings" allows us to use each pin in the pinmux. This is
useful for example in the "spi" group which contains some pins which
are inputs, and some which are outputs.
These can only be used once the new compatible strings for the pinctrl
node are used.
Additionally 0150-lantiq-pinctrl-xway.patch and the "GPIO PORT3 fix"
(which was part of 0012-pinctrl-lantiq-fix-up-pinmux.patch) were
replaced with their upstream variants which are also in 4.5.

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

8 years agolantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer
Felix Fietkau [Sun, 17 Jan 2016 19:23:14 +0000 (19:23 +0000)]
lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer

Upstream linux 4.2 commit 84be456f883c4685680fba8e5154b5f72e92957e
"remove <asm/scatterlist.h>" requires us to include linux/scatterlist.h
instead. This also works with older kernels (at least 4.1, thanks to
Hauke Mehrtens for testing).

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

8 years agobase-files: Fix sysupgrade overlay saving
Jo-Philipp Wich [Sun, 17 Jan 2016 18:24:30 +0000 (18:24 +0000)]
base-files: Fix sysupgrade overlay saving

A previous change to sysupgrade moved the overlay files into upper/
The -c switch generates a list of files to backup, but the sed
calls did not take this into consideration.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
SVN-Revision: 48281

8 years agonetifd: fix PKG_VERSION (#21630)
Jo-Philipp Wich [Sun, 17 Jan 2016 17:15:01 +0000 (17:15 +0000)]
netifd: fix PKG_VERSION (#21630)

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

8 years agoar71xx/lzma-loader: fix O32 ABI conformance
Gabor Juhos [Sun, 17 Jan 2016 15:29:03 +0000 (15:29 +0000)]
ar71xx/lzma-loader: fix O32 ABI conformance

According to the calling convention of the o32 ABI the caller
function must reserve stack space for $a0-$a3 registers in case
the callee needs to save its arguments.

The assembly code of the loader does not reserve stack space for
these registers thus when the 'loader_main' function needs to save
its arguments, those will be stored in the 'workspace' area instead
of the stack.

Because the workspace area is also used by other part of the code, the
saved register values gets overwritten and this often leads to failed
kernel boots.

Fix the code to reserve stack space for the registers to avoid this
error.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 48279

8 years agouclient: update to the latest version, adds many fixes/features
Felix Fietkau [Sun, 17 Jan 2016 12:41:06 +0000 (12:41 +0000)]
uclient: update to the latest version, adds many fixes/features

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

8 years agokernel: add missing kernel config symbol for crypto-rng (fixes #21596)
Felix Fietkau [Sun, 17 Jan 2016 11:17:06 +0000 (11:17 +0000)]
kernel: add missing kernel config symbol for crypto-rng (fixes #21596)

Signed-off-by: Lucian Cristian <luci@createc.ro>
SVN-Revision: 48277

8 years agoar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4
Felix Fietkau [Sun, 17 Jan 2016 11:16:56 +0000 (11:16 +0000)]
ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4

Change MTD on WNDR4300 and WNDR3700v4 to fully utilize the 128MB flash.

Credit to @Tuochenlyu on GitHub.

Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
SVN-Revision: 48276

8 years agompc85xx: Add PTP node for TL-WD4900 in device tree
Felix Fietkau [Sun, 17 Jan 2016 11:16:52 +0000 (11:16 +0000)]
mpc85xx: Add PTP node for TL-WD4900 in device tree

PTP requires at least one timer to be 1PPS so describe it.
For testing, load kernel module gianfar_ptp and use ptp4l
from linuxptp.

Copied from FSL P1010RDB reference design.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
SVN-Revision: 48275

8 years agonetwork: add virtual tunnel interface (VTI) support
Felix Fietkau [Sun, 17 Jan 2016 11:06:02 +0000 (11:06 +0000)]
network: add virtual tunnel interface (VTI) support

This adds support for configuring VTI interfaces within /etc/config/network.
VTI interfaces are used to create IPsec tunnel interfaces. These interfaces
may be used for routing and other purposes.

Example config:
config interface 'vti1'
option proto 'vti'
option mtu '1500'
option tunlink 'wan'
option peeraddr '192.168.5.16'
option zone 'VPN'
option ikey 2
option okey 2

config interface 'vti1_static'
option proto 'static'
option ifname '@vti1'
option ipaddr '192.168.7.2/24'

The options ikey and okey correspond to the fwmark value of a ipsec policy.
The may be null if you do not want fwmarks.
Also peeraddr may be 0.0.0 if you want all ESP packets go through the
interface.
Example strongswan config:
conn vti
left=%any
leftcert=peer2.test.der
leftid=@peer2.test
right=192.168.5.16
rightid=@peer3.test
leftsubnet=0.0.0.0/0
rightsubnet=0.0.0.0/0
mark=2
auto=route

Signed-off-by: André Valentin <avalentin@marcant.net>
SVN-Revision: 48274

8 years agonetifd: update to the latest version, adds VTI support and a policy routing fix
Felix Fietkau [Sun, 17 Jan 2016 11:05:53 +0000 (11:05 +0000)]
netifd: update to the latest version, adds VTI support and a policy routing fix

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

8 years agokernel: add usb-net-sr9700 package
Felix Fietkau [Sun, 17 Jan 2016 11:03:41 +0000 (11:03 +0000)]
kernel: add usb-net-sr9700 package

Add support for
CoreChip-sz SR9700 based USB 1.1 10/100 ethernet devices

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
SVN-Revision: 48272

8 years agoca-certificates: update to version 20160104
Felix Fietkau [Sun, 17 Jan 2016 11:03:36 +0000 (11:03 +0000)]
ca-certificates: update to version 20160104

- update to latest version 20160104
- remove cpu dependency (PKGARCH:=all)
- set myself as package maintainer

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 48271

8 years agobuild: add @APACHE download facility
Felix Fietkau [Sun, 17 Jan 2016 10:47:32 +0000 (10:47 +0000)]
build: add @APACHE download facility

The Apache Software Foundation offers diverse download mirros.

For packaging Apache software a new alias @APACHE is defined.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
SVN-Revision: 48270

8 years agolantiq: Fixed brnImage signature for the VGV7510KW22BRN images
Felix Fietkau [Sun, 17 Jan 2016 10:47:10 +0000 (10:47 +0000)]
lantiq: Fixed brnImage signature for the VGV7510KW22BRN images

The old signature only worked because brnboot ignores the leading "5" in
the signature. We can see the correct signature when flashing a brnImage
via recovery web-interface, in this case brnboot reports:
[CGI-Signature Check] buf:[BRNDA6431], sigInFlash:[BRNDA6431]

Thanks to Mathias Kresin for reporting this.

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

8 years agoar8327: add IGMP Snooping support
Felix Fietkau [Sun, 17 Jan 2016 10:42:46 +0000 (10:42 +0000)]
ar8327: add IGMP Snooping support

This add support for IGMP Snooping on atheros switches (disabled by default),
which avoids flooding the network with multicast data.

Tested on TL-WDR4300: disabling IGMP Snooping results in multicast flooding
on each specific port, enabling it back again prevents each port from
receiving all multicast packets.

Partially based on: http://patchwork.ozlabs.org/patch/418122/

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

8 years agoSupport LibreSSL as provider of openssl
Felix Fietkau [Sun, 17 Jan 2016 10:42:32 +0000 (10:42 +0000)]
Support LibreSSL as provider of openssl

The build scripts check for openssl by grepping the string "OpenSSL" in
the output of openssl version command. LibreSSL fails this test as it
outputs something like "LibreSSL 2.2.4". This patch fix the
prereq-bulid.mk file so that it accepts LibreSSL as openssl provider as
well.

Signed-off-by: Marek Behun <kabel@blackhole.sk>
SVN-Revision: 48267

8 years agobrcm2708: add linux 4.4 support
Felix Fietkau [Sun, 17 Jan 2016 10:42:23 +0000 (10:42 +0000)]
brcm2708: add linux 4.4 support

- random-bcm2708 and spi-bcm2708 have been removed.
- sound-soc-bcm2708-i2s has been upstreamed as sound-soc-bcm2835-i2s.

Let's keep linux 4.1 for a while, since linux 4.4 appears to have some issues
with multicast traffic on RPi ethernet:
https://gist.github.com/Noltari/5b1cfdecce5ed4bc08fd

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

8 years agouml: update to linux 4.4
Felix Fietkau [Sun, 17 Jan 2016 10:41:52 +0000 (10:41 +0000)]
uml: update to linux 4.4

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

8 years agolantiq: Switch to the generic mtdsplit parser implementations
Felix Fietkau [Sun, 17 Jan 2016 10:41:46 +0000 (10:41 +0000)]
lantiq: Switch to the generic mtdsplit parser implementations

This removes the arch-specific mtdsplit parsers and enables the generic
implementations for brnImage, EVA and TP-Link instead.

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

8 years agokernel: mtdsplit_squashfs: Align with the erase-block size
Felix Fietkau [Sun, 17 Jan 2016 10:41:30 +0000 (10:41 +0000)]
kernel: mtdsplit_squashfs: Align with the erase-block size

On most image types the rootfs ends at an erase-block. However, at least
with brnImages this is not the case: while the partitions are aligned
with the erase-block size there is a 12 byte footer at the end of the
partition which must not be touched by any filesystem. This lead to a
rootfs_data partition which was not aligned properly (and thus ended up
being readonly):
0x000000480000-0x00000085a800 : "rootfs_data" (128 KiB EB)

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

8 years agokernel: mtdsplit: add support for EVA images
Felix Fietkau [Sun, 17 Jan 2016 10:41:08 +0000 (10:41 +0000)]
kernel: mtdsplit: add support for EVA images

This allows splitting EVA images (usually found in fritz devices). The
firmware will be split into a kernel and a separate rootfs partition.

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

8 years agokernel: mtdsplit: add support for brnImages
Felix Fietkau [Sun, 17 Jan 2016 10:40:51 +0000 (10:40 +0000)]
kernel: mtdsplit: add support for brnImages

This adds brnImage (used with the brnboot bootloader) firmware parsing
support. brnboot verifies the integrity of the firmware stored on the
"Code Image" partitions by looking at the 12 byte footer at the very end
of the partition. This footer contains the checksum of the original
brnImage (kernel + rootfs/squashfs) and must not be touched (by our JFFS2
rootfs_data - otherwise the image will not be bootable anymore).

Big thanks to Mathias Kresin for analyzing the brnImage structure and
finding out the information how to keep images valid even when adding a
nested rootfs_data partition.

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

8 years agokernel: disable bogus DEVTMPFS config overrides
Felix Fietkau [Sun, 17 Jan 2016 10:40:36 +0000 (10:40 +0000)]
kernel: disable bogus DEVTMPFS config overrides

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

8 years agodownload.pl: fix openssl sha256 digest output
Felix Fietkau [Sat, 16 Jan 2016 10:24:15 +0000 (10:24 +0000)]
download.pl: fix openssl sha256 digest output

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

8 years agoustream-ssl: fix copy&paste mistake in mbedtls variant title
Felix Fietkau [Sat, 16 Jan 2016 09:14:03 +0000 (09:14 +0000)]
ustream-ssl: fix copy&paste mistake in mbedtls variant title

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

8 years agopolarssl: update to 1.3.16, fixes intermediate certificate validation
Felix Fietkau [Sat, 16 Jan 2016 00:20:05 +0000 (00:20 +0000)]
polarssl: update to 1.3.16, fixes intermediate certificate validation

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

8 years agoustream-ssl: update to the latest version, adds mbedtls variant
Felix Fietkau [Sat, 16 Jan 2016 00:20:01 +0000 (00:20 +0000)]
ustream-ssl: update to the latest version, adds mbedtls variant

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

8 years agolibubox: update to the latest version, adds lua/ustream fixes and extends usock
Felix Fietkau [Sat, 16 Jan 2016 00:19:54 +0000 (00:19 +0000)]
libubox: update to the latest version, adds lua/ustream fixes and extends usock

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

8 years agombedtls: update to version 2.2.1
Felix Fietkau [Sat, 16 Jan 2016 00:19:47 +0000 (00:19 +0000)]
mbedtls: update to version 2.2.1

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

8 years agoscripts/download.pl: add SHA-256 support
Felix Fietkau [Sat, 16 Jan 2016 00:19:41 +0000 (00:19 +0000)]
scripts/download.pl: add SHA-256 support

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

8 years agopackages: bump uboot-sunxi to 2016.01
Zoltan Herpai [Fri, 15 Jan 2016 20:27:32 +0000 (20:27 +0000)]
packages: bump uboot-sunxi to 2016.01

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48252

8 years agomwlwifi: fix build with latest mac80211
Felix Fietkau [Fri, 15 Jan 2016 16:58:00 +0000 (16:58 +0000)]
mwlwifi: fix build with latest mac80211

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

8 years agomt76: update to the latest version, fixes build with latest mac80211
Felix Fietkau [Fri, 15 Jan 2016 16:53:44 +0000 (16:53 +0000)]
mt76: update to the latest version, fixes build with latest mac80211

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

8 years agoimx6: kernel: Add Micrel PHY used on Apalis SOM
Felix Fietkau [Fri, 15 Jan 2016 15:18:23 +0000 (15:18 +0000)]
imx6: kernel: Add Micrel PHY used on Apalis SOM

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Cc: Luka Perkov <luka@openwrt.org>
SVN-Revision: 48249

8 years agoimx6: add 4.4 support
Felix Fietkau [Fri, 15 Jan 2016 15:18:18 +0000 (15:18 +0000)]
imx6: add 4.4 support

Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx
 * GW552x
 * GW551x

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 48248

8 years agomac80211: update to wireless-testing 2016-01-10
Felix Fietkau [Fri, 15 Jan 2016 15:03:48 +0000 (15:03 +0000)]
mac80211: update to wireless-testing 2016-01-10

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

8 years agodnsmasq: Add option --min-port
Felix Fietkau [Fri, 15 Jan 2016 11:24:15 +0000 (11:24 +0000)]
dnsmasq: Add option --min-port

By default dnsmasq uses random ports for outbound dns queries;
when the minport UCI option is specified the ports used will
always be larger than the specified value.
This is usefull for systems behind firewalls.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 48244

8 years agodropbear: update version to 2015.71
Felix Fietkau [Fri, 15 Jan 2016 11:24:09 +0000 (11:24 +0000)]
dropbear: update version to 2015.71

Update dropbear to version 2015.71, released on 3 Dec 2015.
Refresh patches.

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

8 years agokernel: add missing kmod-video-videobuf2's object file in 4.4
Felix Fietkau [Fri, 15 Jan 2016 10:49:21 +0000 (10:49 +0000)]
kernel: add missing kmod-video-videobuf2's object file in 4.4

CONFIG_VIDEOBUF2_CORE produces two object files in Linux >= 4.4.
Conditionally add the new file to FILES of kmod-video-videobuf2.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
SVN-Revision: 48242

8 years agoarc770: move arc patches to target/linux/generic
Felix Fietkau [Fri, 15 Jan 2016 10:49:11 +0000 (10:49 +0000)]
arc770: move arc patches to target/linux/generic

Given those patches are relevant to any ARC platform and even
ISA version it makes perfect sense for patches to exist
in one place instead of being duplicated for each new ARC-based ASIC.

Note this is a prerequisite for upstreaming of ARC HS38 support in
OpenWRT.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48241

8 years agoarc770: bump linux kernel from 4.3 to 4.4
Felix Fietkau [Fri, 15 Jan 2016 10:49:01 +0000 (10:49 +0000)]
arc770: bump linux kernel from 4.3 to 4.4

This switch involved:
 [1] Regeneration of config (few options went away)
 [2] Regeneration of patches so they apply cleanly (different offsets)
 [3] Update of .dts files because we now explicitly specify
     memory regions in use as opposed to previously used offset
     from 0x8000_0000

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48240

8 years agokernel: compile out SNMP MIB related counting if debloat-proc is active - improves...
Felix Fietkau [Fri, 15 Jan 2016 10:47:14 +0000 (10:47 +0000)]
kernel: compile out SNMP MIB related counting if debloat-proc is active - improves network stack performance

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

8 years agoprocd: align early init PATH with rest of OpenWrt
Jo-Philipp Wich [Thu, 14 Jan 2016 12:52:18 +0000 (12:52 +0000)]
procd: align early init PATH with rest of OpenWrt

This fixes diverging executable search paths observed in programs
launched throughn etifd which in turn inherited the search path from
procd early on boot.

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

8 years agomt76: update to the latest version, fixes signal strength reporting
Felix Fietkau [Thu, 14 Jan 2016 11:59:10 +0000 (11:59 +0000)]
mt76: update to the latest version, fixes signal strength reporting

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

8 years agoath9k: add support for a newer tx gain table used in some TP-Link devices
Felix Fietkau [Thu, 14 Jan 2016 02:17:49 +0000 (02:17 +0000)]
ath9k: add support for a newer tx gain table used in some TP-Link devices

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

8 years agomt76: update to the latest version, adds mac address fixes and some performance tuning
Felix Fietkau [Thu, 14 Jan 2016 01:00:42 +0000 (01:00 +0000)]
mt76: update to the latest version, adds mac address fixes and some performance tuning

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

8 years agokernel: backport perf build fixes to 4.1
Felix Fietkau [Thu, 14 Jan 2016 01:00:38 +0000 (01:00 +0000)]
kernel: backport perf build fixes to 4.1

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

8 years agokernel: remove obsolete config symbols from 4.4
Felix Fietkau [Thu, 14 Jan 2016 01:00:13 +0000 (01:00 +0000)]
kernel: remove obsolete config symbols from 4.4

Only remove old symbols for 4.4 since older Kernels might be
removed sooner/later and 4.4 is the next LTS

build tested against:
 omap 4.4 CONFIG_ALL_KMODS
 x86_64

List of enabled & orphaned symbols:

-CONFIG_ARPD=y
-CONFIG_BT_L2CAP=y
-CONFIG_BT_SCO=y
-CONFIG_CAVIUM_OCTEON_HELPER=y
-CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
-CONFIG_DISABLE_DEV_COREDUMP=y
-CONFIG_EXPERIMENTAL=y
-CONFIG_EXT4_FS_XATTR=y
-CONFIG_GENERIC_HARDIRQS=y
-CONFIG_GENERIC_TIME=y
-CONFIG_HOTPLUG=y
-CONFIG_INITRAMFS_COMPRESSION_NONE=y
-CONFIG_INLINE_SPIN_UNLOCK=y
-CONFIG_LEDS_GPIO_OF=y
-CONFIG_LEDS_GPIO_PLATFORM=y
-CONFIG_MFD_SUPPORT=y
-CONFIG_MISC_DEVICES=y
-CONFIG_MTD_CHAR=y
-CONFIG_NETDEV_1000=y
-CONFIG_NET_ETHERNET=y
-CONFIG_NET_PCI=y
-CONFIG_NET_VENDOR_SILICOM=y
-CONFIG_SCSI_MULTI_LUN=y
-CONFIG_UIDGID_STRICT_TYPE_CHECKS=y
-CONFIG_USB_ARCH_HAS_EHCI=y
-CONFIG_USB_ARCH_HAS_OHCI=y
-CONFIG_USB_DEVICEFS=y
-CONFIG_USB_EZUSB=y

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 48230

8 years agolantiq: remove clk_round_rate() patch
Hauke Mehrtens [Wed, 13 Jan 2016 20:46:12 +0000 (20:46 +0000)]
lantiq: remove clk_round_rate() patch

This patch was merged into upstream Linux 4.1.
This fixes #21587 and was introduced in r48223.

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

8 years agoar71xx: fix ethernet MAC reset on DMA hang
Felix Fietkau [Wed, 13 Jan 2016 16:22:16 +0000 (16:22 +0000)]
ar71xx: fix ethernet MAC reset on DMA hang

Fully reset the chip like on a full up/down, but without the PHY
statemachine restart.

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

8 years agoar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips
Felix Fietkau [Wed, 13 Jan 2016 16:22:05 +0000 (16:22 +0000)]
ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips

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

8 years agoubus: update to the latest version, fixes an acl related crash
Felix Fietkau [Wed, 13 Jan 2016 11:32:41 +0000 (11:32 +0000)]
ubus: update to the latest version, fixes an acl related crash

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

8 years agokernel/3.18: update to version 3.18.25
Hauke Mehrtens [Tue, 12 Jan 2016 20:53:04 +0000 (20:53 +0000)]
kernel/3.18: update to version 3.18.25

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

8 years agokernel/4.3: update to version 4.3.3
Hauke Mehrtens [Tue, 12 Jan 2016 20:52:19 +0000 (20:52 +0000)]
kernel/4.3: update to version 4.3.3

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

8 years agokernel/4.1: update to version 4.1.15
Hauke Mehrtens [Tue, 12 Jan 2016 20:51:34 +0000 (20:51 +0000)]
kernel/4.1: update to version 4.1.15

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

8 years agokernel: refresh patches for kernel 4.4
Hauke Mehrtens [Tue, 12 Jan 2016 20:50:41 +0000 (20:50 +0000)]
kernel: refresh patches for kernel 4.4

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

8 years agoperf: fix strerror_r override detection, apparently part of tools/ relies on non...
Felix Fietkau [Tue, 12 Jan 2016 16:42:12 +0000 (16:42 +0000)]
perf: fix strerror_r override detection, apparently part of tools/ relies on non-GNU behavior

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

8 years agomac80211: resync regulatory db with master-2015-12-14
Imre Kaloz [Tue, 12 Jan 2016 14:28:09 +0000 (14:28 +0000)]
mac80211: resync regulatory db with master-2015-12-14

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

8 years agoperf: fix build errors on x86 and other platforms
Felix Fietkau [Tue, 12 Jan 2016 11:15:34 +0000 (11:15 +0000)]
perf: fix build errors on x86 and other platforms

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

8 years agopxa: moved to targets feed
Felix Fietkau [Tue, 12 Jan 2016 10:08:18 +0000 (10:08 +0000)]
pxa: moved to targets feed

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

8 years agox86: update to linux 4.4
Felix Fietkau [Tue, 12 Jan 2016 10:04:55 +0000 (10:04 +0000)]
x86: update to linux 4.4

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

8 years agokernel: add missing symbols for linux 4.4
Felix Fietkau [Tue, 12 Jan 2016 10:04:47 +0000 (10:04 +0000)]
kernel: add missing symbols for linux 4.4

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

8 years agodnsmasq: add local hostname record for own lan ula address as well
Jo-Philipp Wich [Tue, 12 Jan 2016 10:03:50 +0000 (10:03 +0000)]
dnsmasq: add local hostname record for own lan ula address as well

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

8 years agosdk: add base repository fallback
Jo-Philipp Wich [Tue, 12 Jan 2016 09:25:45 +0000 (09:25 +0000)]
sdk: add base repository fallback

When the build system cannot infer its own repository url then let it fall
back to http://git.openwrt.org/ for the base feed.

The path to openwrt.git is guessed from the VERSION_NUMBER variable:

 "unknown" or "r12345" -> http://git.openwrt.org/openwrt.git
 "15.05.1"             -> http://git.openwrt.org/15.05/openwrt.git

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

8 years agogettext-full: make autopoint and gettextize reloctable
Jo-Philipp Wich [Tue, 12 Jan 2016 07:51:56 +0000 (07:51 +0000)]
gettext-full: make autopoint and gettextize reloctable

The autopoint and gettextize host utilities contain hardcoded staging dir
paths which need to be overridden for the SDK environment.

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

8 years agobuild: remove SDK special case for kernel module packages
Felix Fietkau [Mon, 11 Jan 2016 23:11:13 +0000 (23:11 +0000)]
build: remove SDK special case for kernel module packages

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

8 years agotarget/sdk: include modules.builtin, it is necessary for packaging kernel modules
Felix Fietkau [Mon, 11 Jan 2016 23:11:09 +0000 (23:11 +0000)]
target/sdk: include modules.builtin, it is necessary for packaging kernel modules

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

8 years agolinux-firmware: fix mediatek/ralink package names
Felix Fietkau [Mon, 11 Jan 2016 20:51:19 +0000 (20:51 +0000)]
linux-firmware: fix mediatek/ralink package names

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

8 years agokernel: Update kernel 4.4 to 4.4.0
Felix Fietkau [Mon, 11 Jan 2016 20:13:17 +0000 (20:13 +0000)]
kernel: Update kernel 4.4 to 4.4.0

This removes one patch which was applied upstream with commit
67b9bcd36906e12a15ffec19463afbbd6a41660e. All other patches were
refreshed.

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

8 years agohostapd: fix disassociation with FullMAC drivers and multi-BSS
Rafał Miłecki [Mon, 11 Jan 2016 18:51:47 +0000 (18:51 +0000)]
hostapd: fix disassociation with FullMAC drivers and multi-BSS

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

8 years agoopenvpn: update to version 2.3.10
Felix Fietkau [Mon, 11 Jan 2016 18:37:28 +0000 (18:37 +0000)]
openvpn: update to version 2.3.10

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

8 years agouci: update to the latest version, adds a small optimization to uci commit
Felix Fietkau [Mon, 11 Jan 2016 12:29:59 +0000 (12:29 +0000)]
uci: update to the latest version, adds a small optimization to uci commit

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

8 years agodropbear: enable curve25519 support by default, increases compressed binary size...
Felix Fietkau [Sun, 10 Jan 2016 22:38:59 +0000 (22:38 +0000)]
dropbear: enable curve25519 support by default, increases compressed binary size by ~5 kb

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

8 years agodropbear: split out curve25519 support into a separate config option
Felix Fietkau [Sun, 10 Jan 2016 22:38:53 +0000 (22:38 +0000)]
dropbear: split out curve25519 support into a separate config option

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

8 years agofstools: fix off-by-one error in the version number
Felix Fietkau [Sun, 10 Jan 2016 18:04:36 +0000 (18:04 +0000)]
fstools: fix off-by-one error in the version number

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

8 years agofstools: update to the latest version, fixes filesystem state rewrite on every boot
Felix Fietkau [Sun, 10 Jan 2016 17:36:53 +0000 (17:36 +0000)]
fstools: update to the latest version, fixes filesystem state rewrite on every boot

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

8 years agox86: remove obsolete patches
Felix Fietkau [Sun, 10 Jan 2016 17:19:51 +0000 (17:19 +0000)]
x86: remove obsolete patches

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

8 years agox86: remove the rdc subtarget, it was broken for ages and nobody cared
Felix Fietkau [Sun, 10 Jan 2016 17:19:46 +0000 (17:19 +0000)]
x86: remove the rdc subtarget, it was broken for ages and nobody cared

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

8 years agotools/cmake: update version to 3.4.1
Felix Fietkau [Sun, 10 Jan 2016 17:19:40 +0000 (17:19 +0000)]
tools/cmake: update version to 3.4.1

Update cmake version to 3.4.1, released in Dec 2015.

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

8 years agoar71xx: fix ap152 support
Felix Fietkau [Sun, 10 Jan 2016 17:19:34 +0000 (17:19 +0000)]
ar71xx: fix ap152 support

- ethernet gigabit pll
- switch configuration
- sysupgrade

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

8 years agohostapd: fix post v2.4 security issues
Felix Fietkau [Sun, 10 Jan 2016 17:03:37 +0000 (17:03 +0000)]
hostapd: fix post v2.4 security issues

- WPS: Fix HTTP chunked transfer encoding parser (CVE-2015-4141)
- EAP-pwd peer: Fix payload length validation for Commit and Confirm
  (CVE-2015-4143)
- EAP-pwd server: Fix payload length validation for Commit and Confirm
  (CVE-2015-4143)
- EAP-pwd peer: Fix Total-Length parsing for fragment reassembly
  (CVE-2015-4144, CVE-2015-4145)
- EAP-pwd server: Fix Total-Length parsing for fragment reassembly
  (CVE-2015-4144, CVE-2015-4145)
- EAP-pwd peer: Fix asymmetric fragmentation behavior (CVE-2015-4146)
- NFC: Fix payload length validation in NDEF record parser (CVE-2015-8041)
- WNM: Ignore Key Data in WNM Sleep Mode Response frame if no PMF in use
  (CVE-2015-5310)
- EAP-pwd peer: Fix last fragment length validation (CVE-2015-5315)
- EAP-pwd server: Fix last fragment length validation (CVE-2015-5314)
- EAP-pwd peer: Fix error path for unexpected Confirm message (CVE-2015-5316)

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
SVN-Revision: 48185

8 years agomac80211: move b43legacy firmware to a separate package
Felix Fietkau [Sun, 10 Jan 2016 16:37:01 +0000 (16:37 +0000)]
mac80211: move b43legacy firmware to a separate package

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

8 years agomac80211: remove linux-firmware download
Felix Fietkau [Sun, 10 Jan 2016 16:36:54 +0000 (16:36 +0000)]
mac80211: remove linux-firmware download

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

8 years agomac80211: move broadcom firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:48 +0000 (16:36 +0000)]
mac80211: move broadcom firmware to the linux-firmware package

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

8 years agomac80211: move ti firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:40 +0000 (16:36 +0000)]
mac80211: move ti firmware to the linux-firmware package

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

8 years agomac80211: move mediatek/ralink firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:31 +0000 (16:36 +0000)]
mac80211: move mediatek/ralink firmware to the linux-firmware package

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

8 years agomac80211: move atheros/qca firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:25 +0000 (16:36 +0000)]
mac80211: move atheros/qca firmware to the linux-firmware package

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

8 years agomac80211: move marvell firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:17 +0000 (16:36 +0000)]
mac80211: move marvell firmware to the linux-firmware package

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

8 years agomac80211: move intel firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:08 +0000 (16:36 +0000)]
mac80211: move intel firmware to the linux-firmware package

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

8 years agomac80211: move realtek firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:00 +0000 (16:36 +0000)]
mac80211: move realtek firmware to the linux-firmware package

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

8 years agolinux-firmware: add commented out BuildPackage section for metadata scanning
Felix Fietkau [Sun, 10 Jan 2016 16:35:53 +0000 (16:35 +0000)]
linux-firmware: add commented out BuildPackage section for metadata scanning

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

8 years agolinux-firmware: remove duplication in package metadata
Felix Fietkau [Sun, 10 Jan 2016 16:35:46 +0000 (16:35 +0000)]
linux-firmware: remove duplication in package metadata

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

8 years agolinux-firmware: move realtek firmware packages to realtek.mk
Felix Fietkau [Sun, 10 Jan 2016 16:35:40 +0000 (16:35 +0000)]
linux-firmware: move realtek firmware packages to realtek.mk

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

8 years agolinux-firmware: update to the latest version, sync with subdir used by the mac80211...
Felix Fietkau [Sun, 10 Jan 2016 16:35:31 +0000 (16:35 +0000)]
linux-firmware: update to the latest version, sync with subdir used by the mac80211 package

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

8 years agobuild: ignore the linux package in the sdk only for generating package data, not...
Felix Fietkau [Sun, 10 Jan 2016 16:35:24 +0000 (16:35 +0000)]
build: ignore the linux package in the sdk only for generating package data, not for dependencies

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

8 years agoscripts/metadata.pl: add support for ignoring source packages when generating metadata
Felix Fietkau [Sun, 10 Jan 2016 16:35:16 +0000 (16:35 +0000)]
scripts/metadata.pl: add support for ignoring source packages when generating metadata

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