librecmc/librecmc.git
8 years agobuild: disable the use of -iremap for UML (#21851)
Felix Fietkau [Sat, 13 Feb 2016 22:23:32 +0000 (22:23 +0000)]
build: disable the use of -iremap for UML (#21851)

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

8 years agoar71xx: add missing kernel symbol (#21849)
Jo-Philipp Wich [Fri, 12 Feb 2016 19:55:07 +0000 (19:55 +0000)]
ar71xx: add missing kernel symbol (#21849)

Also reorder subtarget kernel configs.

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

8 years agobusybox: fix broken default for FEATURE_IP_ROUTE_DIR (#21845)
Jo-Philipp Wich [Fri, 12 Feb 2016 19:46:31 +0000 (19:46 +0000)]
busybox: fix broken default for FEATURE_IP_ROUTE_DIR (#21845)

Changeset r47775 introduced a wrong default value "n" for the ip applets
config search path, breaking the handling of named routing tables and other
objects having alias configurations.

Fix the issue by providing a proper default value aligned with the value
used by full iproute2.

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

8 years agoramips: Support LEDs on D-Link DIR-860L B1
John Crispin [Fri, 12 Feb 2016 09:29:23 +0000 (09:29 +0000)]
ramips: Support LEDs on D-Link DIR-860L B1

Adds the required gpio definitions.

Signed-off-by: Johannes Wienke <languitar@semipol.de>
SVN-Revision: 48715

8 years agolinux/crypto: Add echainiv module provided by 4.4 kernels
John Crispin [Fri, 12 Feb 2016 08:31:54 +0000 (08:31 +0000)]
linux/crypto: Add echainiv module provided by 4.4 kernels

This module is needed for IPsec ESP support, i.e..

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

8 years agokernel: add dsa driver support
John Crispin [Fri, 12 Feb 2016 08:31:49 +0000 (08:31 +0000)]
kernel: add dsa driver support

The Linux Distributed Switch Architecture drivers provide richer support than
the swconfig driver API in that each switch port gets its own interface which
allows protocols such as STP, LLDP, 802.1x etc.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 48713

8 years agopackage/libs/gmp: update libgmp to 6.1.0
John Crispin [Fri, 12 Feb 2016 08:31:39 +0000 (08:31 +0000)]
package/libs/gmp: update libgmp to 6.1.0

Update also the library version of gmp to 6.1.0.
Switch download to use the GNU alias.

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

8 years agoar71xx: Support for Ubiquiti UniFi AP AC LITE
John Crispin [Fri, 12 Feb 2016 08:31:32 +0000 (08:31 +0000)]
ar71xx: Support for Ubiquiti UniFi AP AC LITE

Add support for the Ubiquiti UniFi AP AC LITE
Signed-off-by: P.Wassi <p.wassi at gmx.at>
SVN-Revision: 48711

8 years agolinux/netsupport: Add support for MPLS protocol
John Crispin [Fri, 12 Feb 2016 08:31:17 +0000 (08:31 +0000)]
linux/netsupport: Add support for MPLS protocol

This adds support for MPLS protocol including usage of lightweight tunnels.
Kernel size of vmlinuz.bin grows by ~8k.

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

8 years agopackage/devel/gdb: update to 7.10.1
John Crispin [Fri, 12 Feb 2016 08:31:11 +0000 (08:31 +0000)]
package/devel/gdb: update to 7.10.1

Minor bugfix update, released in Dec 2015
https://www.gnu.org/software/gdb/news/

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

8 years agotoolchain/gdb: update to 7.10.1
John Crispin [Fri, 12 Feb 2016 08:31:06 +0000 (08:31 +0000)]
toolchain/gdb: update to 7.10.1

Minor bugfix update, released in Dec 2015
https://www.gnu.org/software/gdb/news/

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

8 years agoutil-linux: Subpackage for blkdiscard
John Crispin [Fri, 12 Feb 2016 08:30:56 +0000 (08:30 +0000)]
util-linux: Subpackage for blkdiscard

Adding subpackage to make it possible to enable blkdiscard utility.

Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz>
SVN-Revision: 48707

8 years agoar71xx: Make code formatting consistent on ath79/machtypes.h
John Crispin [Fri, 12 Feb 2016 08:30:38 +0000 (08:30 +0000)]
ar71xx: Make code formatting consistent on ath79/machtypes.h

Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
SVN-Revision: 48706

8 years agoar71xx: Added support for TL-WA801NDv3
John Crispin [Fri, 12 Feb 2016 08:30:28 +0000 (08:30 +0000)]
ar71xx: Added support for TL-WA801NDv3

Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
SVN-Revision: 48705

8 years agovti: fix kmod dependencies
John Crispin [Fri, 12 Feb 2016 08:30:18 +0000 (08:30 +0000)]
vti: fix kmod dependencies

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 48704

8 years agokernel/modules: add kmod-ip6-vti
John Crispin [Fri, 12 Feb 2016 08:30:09 +0000 (08:30 +0000)]
kernel/modules: add kmod-ip6-vti

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 48703

8 years agokernel/modules: rename kmod-ipvti to kmod-ip-vti
John Crispin [Fri, 12 Feb 2016 08:30:00 +0000 (08:30 +0000)]
kernel/modules: rename kmod-ipvti to kmod-ip-vti

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 48702

8 years agoar71xx: WNR2000v3: exclude USB modules from image
John Crispin [Fri, 12 Feb 2016 08:29:54 +0000 (08:29 +0000)]
ar71xx: WNR2000v3: exclude USB modules from image

Netgear WNR2000v3 has no USB port yet default system image
includes USB kernel modules. This patch fixes that.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 48701

8 years agouse "-gt" instead of ">" with [ in /lib/functions/lantiq_dsl.sh
John Crispin [Fri, 12 Feb 2016 08:29:44 +0000 (08:29 +0000)]
use "-gt" instead of ">" with [ in /lib/functions/lantiq_dsl.sh

Avoids inadvertent file creation when executing
`/etc/init.d/dsl_control status`.

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
SVN-Revision: 48700

8 years agovideo: kmod-pwm does not exist anymore
John Crispin [Fri, 12 Feb 2016 08:29:38 +0000 (08:29 +0000)]
video: kmod-pwm does not exist anymore

it was removed in r43947

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 48699

8 years agoramips: Add support for Netgear EX2700
John Crispin [Fri, 12 Feb 2016 08:29:33 +0000 (08:29 +0000)]
ramips: Add support for Netgear EX2700

This patch adds support for the Netgear EX2700 and builds an approriate
sysupgrade image.

What's missing is the option to build a factory image flashable via the
router's stock web interface, but this approach is hindered by the fact
that u-boot operforms an additional integrity check, which expects a
uImage header in the last 64 bytes of the "kernel" partition, which
the bootloader expects to be 960k, a size exceeded by the standard
OpenWrt kernel.

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
SVN-Revision: 48698

8 years agozynq: add new target
John Crispin [Fri, 12 Feb 2016 08:29:24 +0000 (08:29 +0000)]
zynq: add new target

Add support for Xilinx ZC702 Dev board

Zynq target is using 4.4 kernel and mainline 2016.1 u-boot.

Patch is tested with Xilinx ZC702 Dev board with SD boot mode.

known issues:
 - no QSPI driver in 4.4 kernel: no QSPI flash support
 - USB is not working in 4.4 kernel

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
 create mode 100644 package/boot/uboot-zynq/Makefile
 create mode 100644 target/linux/zynq/Makefile
 create mode 100644 target/linux/zynq/base-files.mk
 create mode 100755 target/linux/zynq/base-files/etc/board.d/02_network
 create mode 100644 target/linux/zynq/base-files/etc/config/network
 create mode 100644 target/linux/zynq/base-files/etc/inittab
 create mode 100644 target/linux/zynq/config-4.4
 create mode 100644 target/linux/zynq/image/Makefile
 create mode 100755 target/linux/zynq/image/mkits.sh
 create mode 100644 target/linux/zynq/patches-4.4/0001-arm-dts-zynq-zc702.dts-Set-default-rdinit-to-sbin-in.patch
 create mode 100644 target/linux/zynq/profiles/zc702.mk

SVN-Revision: 48697

8 years agokernel: gpio-button-hotplug: update to use threaded irq's
John Crispin [Fri, 12 Feb 2016 08:29:11 +0000 (08:29 +0000)]
kernel: gpio-button-hotplug: update to use threaded irq's

Many gpio controllers 'cansleep' due to the fact that they are behind busses
e.g. i2c etc.

Using threaded irq's allows for 'sleep-able' gpio's to be used.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 48696

8 years agoag71xx: fix build error with debugfs code
Felix Fietkau [Thu, 11 Feb 2016 22:48:36 +0000 (22:48 +0000)]
ag71xx: fix build error with debugfs code

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

8 years agoag71xx: increase rx ring size to improve performance
Felix Fietkau [Thu, 11 Feb 2016 15:02:07 +0000 (15:02 +0000)]
ag71xx: increase rx ring size to improve performance

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

8 years agoag71xx: store ring size order instead of ring size to avoid div/mod
Felix Fietkau [Thu, 11 Feb 2016 15:02:00 +0000 (15:02 +0000)]
ag71xx: store ring size order instead of ring size to avoid div/mod

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

8 years agoag71xx: increase tx ring size to improve performance
Felix Fietkau [Thu, 11 Feb 2016 15:01:54 +0000 (15:01 +0000)]
ag71xx: increase tx ring size to improve performance

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

8 years agoag71xx: optimize icache footprint of the receive poll function
Felix Fietkau [Thu, 11 Feb 2016 15:01:48 +0000 (15:01 +0000)]
ag71xx: optimize icache footprint of the receive poll function

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

8 years agokernel: fix uninitialized variable in bridge multicast-to-unicast patch on 4.3
Felix Fietkau [Thu, 11 Feb 2016 15:00:19 +0000 (15:00 +0000)]
kernel: fix uninitialized variable in bridge multicast-to-unicast patch on 4.3

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

8 years agokernel: Revert "kernel: set root on NFS when enabled"
Florian Fainelli [Thu, 11 Feb 2016 03:05:29 +0000 (03:05 +0000)]
kernel: Revert "kernel: set root on NFS when enabled"

This reverts r48591, users needing NFS root will know how to configure
their platform and kernel command-line appropriately.

Reported-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 48689

8 years agomtd: fix Seama format after replacing EOF with sysupgrade data
Rafał Miłecki [Wed, 10 Feb 2016 11:35:50 +0000 (11:35 +0000)]
mtd: fix Seama format after replacing EOF with sysupgrade data

Seama header has MD5 similarly to TRX and its CRC32. We need to update
it after replacing anything in Seama entity content to make bootloader
accept it.

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

8 years agolibubox: properly handle "null" values in blobmsg_add_json_element()
Jo-Philipp Wich [Tue, 9 Feb 2016 22:42:48 +0000 (22:42 +0000)]
libubox: properly handle "null" values in blobmsg_add_json_element()

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

8 years agoubox: fix kmodloader resource leaks (#21826)
Jo-Philipp Wich [Tue, 9 Feb 2016 13:03:24 +0000 (13:03 +0000)]
ubox: fix kmodloader resource leaks (#21826)

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

8 years agobase-files: add netifd's default prelocal table to /etc/iproute2/rt_tables
Jo-Philipp Wich [Tue, 9 Feb 2016 12:34:05 +0000 (12:34 +0000)]
base-files: add netifd's default prelocal table to /etc/iproute2/rt_tables

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

8 years agomvebu: fix WRT1900AC v1 LED driver module
Jo-Philipp Wich [Tue, 9 Feb 2016 12:33:53 +0000 (12:33 +0000)]
mvebu: fix WRT1900AC v1 LED driver module

Update OpenWRT build tree to reflect changes in TLC-591xx LED family driver.

In kernels < 4.0 the driver was present in form of a patch for the TLC-59116 chip,
and was upstreamed later in kernels > 4.0 to support the entire chip family.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
[jow: fix Kconfig symbol name]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48684

8 years agoubox: fix open() error handling (#21826)
Jo-Philipp Wich [Tue, 9 Feb 2016 12:33:25 +0000 (12:33 +0000)]
ubox: fix open() error handling (#21826)

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

8 years agox86: preserve partition table on sysupgrade
Jo-Philipp Wich [Tue, 9 Feb 2016 12:33:17 +0000 (12:33 +0000)]
x86: preserve partition table on sysupgrade

With this patch sysupgrade will write directly to the partitions
instead of to the main disk.  The UUID is copied from the image
to the MBR as well.  This prevents the mbr from being completely
overwritten and losing the partition table.  The -p option has
been added to maintain the original behavior and overwite the
entire disk with the new image.  Tests have been added to ensure
that the image partitions match up with the active partitions.

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

8 years agoramips: fix build error on oversized images by putting the dir-860l-b1 size check...
Felix Fietkau [Mon, 8 Feb 2016 19:18:21 +0000 (19:18 +0000)]
ramips: fix build error on oversized images by putting the dir-860l-b1 size check at the end of the chain

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

8 years agokernel: enable CONFIG_KALLSYMS_UNCOMPRESSED=y
Felix Fietkau [Mon, 8 Feb 2016 18:44:21 +0000 (18:44 +0000)]
kernel: enable CONFIG_KALLSYMS_UNCOMPRESSED=y

It was enabled ages ago when it was added.
It still saves about 10k after LZMA, so let's enable it again.

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

8 years agodropbear: honor CONFIG_TARGET_INIT_PATH
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:57 +0000 (14:28 +0000)]
dropbear: honor CONFIG_TARGET_INIT_PATH

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

8 years agobase-files: honor CONFIG_TARGET_INIT_PATH
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:50 +0000 (14:28 +0000)]
base-files: honor CONFIG_TARGET_INIT_PATH

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

8 years agoprocd: honor CONFIG_TARGET_INIT_PATH
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:42 +0000 (14:28 +0000)]
procd: honor CONFIG_TARGET_INIT_PATH

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

8 years agorules.mk: add TARGET_INIT_PATH toplevel variables
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:35 +0000 (14:28 +0000)]
rules.mk: add TARGET_INIT_PATH toplevel variables

Add a new variable TARGET_INIT_PATH which holds the default $PATH variable
value configured in menuconfig.

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

8 years agogeneric: add missing kconfig symbol
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:29 +0000 (14:28 +0000)]
generic: add missing kconfig symbol

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

8 years agomt76: update to the latest version, fixes fragmented rx issues
Felix Fietkau [Mon, 8 Feb 2016 13:38:22 +0000 (13:38 +0000)]
mt76: update to the latest version, fixes fragmented rx issues

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

8 years agomac80211: improve a-msdu rx performance by avoiding unnecessary data copying
Felix Fietkau [Mon, 8 Feb 2016 13:38:11 +0000 (13:38 +0000)]
mac80211: improve a-msdu rx performance by avoiding unnecessary data copying

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

8 years agomac80211: fix a memory leak in a-msdu rx
Felix Fietkau [Mon, 8 Feb 2016 13:38:03 +0000 (13:38 +0000)]
mac80211: fix a memory leak in a-msdu rx

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

8 years agomac80211: update A-MSDU tx patch to the latest version
Felix Fietkau [Mon, 8 Feb 2016 13:37:55 +0000 (13:37 +0000)]
mac80211: update A-MSDU tx patch to the latest version

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

8 years agomac80211: refresh patch
Felix Fietkau [Mon, 8 Feb 2016 13:37:47 +0000 (13:37 +0000)]
mac80211: refresh patch

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

8 years agolinux: fix kmod-backlight-pwm
Jo-Philipp Wich [Mon, 8 Feb 2016 10:58:34 +0000 (10:58 +0000)]
linux: fix kmod-backlight-pwm

Also remove erroneous =m overrides from kconfig symbol list.

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

8 years agox86: remove unrelated config override
Jo-Philipp Wich [Mon, 8 Feb 2016 10:58:27 +0000 (10:58 +0000)]
x86: remove unrelated config override

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

8 years agobrcm2708: add missing symbols
John Crispin [Mon, 8 Feb 2016 09:22:56 +0000 (09:22 +0000)]
brcm2708: add missing symbols

enable CONFIG_PWM
enable the RASPI PWM stuff
fix buildbot w. 4.1

compile tested only

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

8 years agoramips: HLK-RM04 - Enable GPIO14 for WPS button
John Crispin [Mon, 8 Feb 2016 08:26:27 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Enable GPIO14 for WPS button

The top half of UARTF on the HLK-RM04 is used for GPIO.

  mode 1   mode 2
   RIN     GPIO14
   DSR_N   GPIO13
   DCD_N   GPIO12
   DTR_N   GPIO11
   RXD     GPIO10
   CTS_N   GPIO09
   TXD     GPIO08
   RTS_N   GPIO07

This patch applies 3'b101 mode to UARTF:

   GPIO14
   GPIO13
   GPIO12
   GPIO11
   RXD
   CTS_N
   TXD
   RTS_N

Because the base rt5350.dtsi file forces 3'b000 mode, remove the pin setting from this file and apply it directly to the files that inherit from it (WIZFI630A.dts and WT1520.dtsi).  This change makes the rt5350.dtsi file consistent with the mt7620a.dtsi file.

Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48665

8 years agorampis: HLK-RM04 - Setup I2C as GPIO
John Crispin [Mon, 8 Feb 2016 08:26:19 +0000 (08:26 +0000)]
rampis: HLK-RM04 - Setup I2C as GPIO

The I2C function of the RT5350 SoC on the HLK-RM04 is used for GPIO1 and GPIO2.

Take note that the I2C_SD pin is GPIO1 on the RT5350 and is exposed on the HLK-RM04 as GPIO0
Likewise the I2C_SCLK pin is GPIO2 on the RT5350 and is exposed on the HLK-RM04 as GPIO1

 group   mode 1    mode 2   hlk-rm04 pin & export
  i2c    i2c_sd    gpio1   (pin 8, hlk-rm04:gpio0)
  i2c    i2c_sclk  gpio2   (pin 9, hlk-rm04:gpio1)

reference:
  http://www.hlktech.net/product_detail.php?ProId=39
  http://cdn.sparkfun.com/datasheets/Wireless/WiFi/RT5350.pdf

Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48664

8 years agoramips: HLK-RM04 - Fix push button functions
John Crispin [Mon, 8 Feb 2016 08:26:11 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Fix push button functions

The RESET button of the HLK-RM04 is connected to GPIO0, linux function 0x198
The WPS button of the HLK-RM04 is connected to GPIO14, linux function 0x211

Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48663

8 years agoramips: HLK-RM04 - Remove power LED config
John Crispin [Mon, 8 Feb 2016 08:26:02 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Remove power LED config

The power LED on the HLK-RM04 is hard wired to the power bus and is not under GPIO control, remove the bogus config for it.
(Note that GPIO0 is actually connected to the RESET button.)

Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48662

8 years agobase-files: For sysfixtime use hwclock if RTC available
John Crispin [Mon, 8 Feb 2016 08:25:53 +0000 (08:25 +0000)]
base-files: For sysfixtime use hwclock if RTC available

On systems that have an RTC prefer it to the file-based time fixup (i.e.
use hwclock when there is a permanent clock instead of the faked up time
logic that is needed when there is not RTC).

We can't rely on hctosys kernel feature either as we're usually using
RTC as kernel modules which are usually being loaded after hctosys was
run, leading in the following error:

  hctosys: unable to open rtc device (rtc0)

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 48661

8 years agotools/gmp: update to 6.1.0
John Crispin [Mon, 8 Feb 2016 08:25:46 +0000 (08:25 +0000)]
tools/gmp: update to 6.1.0

Update gmp to version 6.1.0, released in November 2015.

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

8 years agotools/cmake: update to 3.4.3
John Crispin [Mon, 8 Feb 2016 08:25:39 +0000 (08:25 +0000)]
tools/cmake: update to 3.4.3

Update cmake to 3.4.3.

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

8 years agolantiq: VGV7510KW22/VGV7519 update spi pinmux group
John Crispin [Mon, 8 Feb 2016 08:25:31 +0000 (08:25 +0000)]
lantiq: VGV7510KW22/VGV7519 update spi pinmux group

With the backport of the kernel 4.5 pinctrl-xway patches (3551609d &
826bca29) the pinmux group "spi" was splitted into "spi_di", "spi_do" &
"spi_clk". But the no longer existing group "spi" is still used by some
device tree source files.

This fixes the detection of the wireless chipset of the VGV7510KW22.

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

8 years agolantiq: BTHOMEHUBV5A - explicit select the flash device
John Crispin [Mon, 8 Feb 2016 08:25:22 +0000 (08:25 +0000)]
lantiq: BTHOMEHUBV5A - explicit select the flash device

The stock u-boot doesn't disable unused flash banks. Therefore, the nand
driver tries to initialize a not connected NOR flash and the device
hangs on boot.

Workaround the issue by selecting the second flash bank (NAND).

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48657

8 years agolantiq: fix wrong parameter order in xway_nand driver
John Crispin [Mon, 8 Feb 2016 08:25:15 +0000 (08:25 +0000)]
lantiq: fix wrong parameter order in xway_nand driver

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

8 years agorelayd: update to the latest version, fixes some more connectivity issues (#21817)
Felix Fietkau [Mon, 8 Feb 2016 08:03:06 +0000 (08:03 +0000)]
relayd: update to the latest version, fixes some more connectivity issues (#21817)

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

8 years agolinux-firmware: package BCM4366 firmware
Rafał Miłecki [Mon, 8 Feb 2016 07:30:49 +0000 (07:30 +0000)]
linux-firmware: package BCM4366 firmware

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

8 years agomac80211: fix flowrings infinite loops in brcmfmac on BCM4366
Rafał Miłecki [Sun, 7 Feb 2016 23:12:38 +0000 (23:12 +0000)]
mac80211: fix flowrings infinite loops in brcmfmac on BCM4366

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

8 years agoar71xx: register only the built-in switch MDIO bus, hook up eth0 to it, should hopefu...
Felix Fietkau [Sun, 7 Feb 2016 21:00:11 +0000 (21:00 +0000)]
ar71xx: register only the built-in switch MDIO bus, hook up eth0 to it, should hopefully fix regression reported in #21520

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

8 years agoar71xx: fix MDIO bus probe on QCA956x
Felix Fietkau [Sun, 7 Feb 2016 21:00:01 +0000 (21:00 +0000)]
ar71xx: fix MDIO bus probe on QCA956x

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

8 years agoar71xx: fold patch 622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch into files/
Felix Fietkau [Sun, 7 Feb 2016 20:59:51 +0000 (20:59 +0000)]
ar71xx: fold patch 622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch into files/

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

8 years agobusybox: fix route tables in ip rule show output
Felix Fietkau [Sun, 7 Feb 2016 20:15:21 +0000 (20:15 +0000)]
busybox: fix route tables in ip rule show output

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

8 years agomac80211: merge a fix for minstrel expected throughput reporting
Felix Fietkau [Sun, 7 Feb 2016 14:30:01 +0000 (14:30 +0000)]
mac80211: merge a fix for minstrel expected throughput reporting

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

8 years agomac80211: merge a few mesh fixes
Felix Fietkau [Sun, 7 Feb 2016 14:29:51 +0000 (14:29 +0000)]
mac80211: merge a few mesh fixes

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

8 years agobase-files: set mac address in default network config via device sections
Felix Fietkau [Sun, 7 Feb 2016 14:18:43 +0000 (14:18 +0000)]
base-files: set mac address in default network config via device sections

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

8 years agompc85xx: fix TL-WDR4900 mac address assignment to match original firmware
Felix Fietkau [Sun, 7 Feb 2016 14:18:36 +0000 (14:18 +0000)]
mpc85xx: fix TL-WDR4900 mac address assignment to match original firmware

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

8 years agoudev: delete package, it is old and not used by any core packages/targets
Felix Fietkau [Sun, 7 Feb 2016 13:29:34 +0000 (13:29 +0000)]
udev: delete package, it is old and not used by any core packages/targets

udev or eudev will be added to the packages feed instead

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

8 years agoiptables: using external kernel tree should not alter patch behaviour.
Felix Fietkau [Sun, 7 Feb 2016 13:29:27 +0000 (13:29 +0000)]
iptables: using external kernel tree should not alter patch behaviour.

iptables is the only exception in the package tree, causing patch
behaviour to be inconsistent on this package.

Signed-off-by: Rick van der Zwet <rick.vanderzwet@anywi.com>
SVN-Revision: 48643

8 years agobuild: don't add -fno-plt for ARC
Felix Fietkau [Sun, 7 Feb 2016 13:29:16 +0000 (13:29 +0000)]
build: don't add -fno-plt for ARC

Curent ARC toolchain fails to build libstdc++ if -fno-plt is used.
Lots of following error messages appear:
------------------->8------------------
...
staging_dir/toolchain-arc_arc700_gcc-arc-2015.06_uClibc-1.0.9/arc-openwrt-linux-uclibc/bin/ld:
BFD (GNU Binutils) 2.23.2 assertion fail elf32-arc.c:2786
collect2: error: ld returned 1 exit status
------------------->8------------------

In newer binutils (still in development) for ARC rewritten from
scratch this seem to not happen, so once new binutils for ARC hit
the street this patch might be reverted.

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: 48642

8 years agoath9k: merge fix for noise floor calibration
Felix Fietkau [Sun, 7 Feb 2016 13:29:08 +0000 (13:29 +0000)]
ath9k: merge fix for noise floor calibration

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

8 years agomac80211: add first brcmfmac patches for 14e4:4365 BCM4366 support
Rafał Miłecki [Sat, 6 Feb 2016 17:10:10 +0000 (17:10 +0000)]
mac80211: add first brcmfmac patches for 14e4:4365 BCM4366 support

It's not really supported yet as it still fails with:
brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize

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

8 years agomtd: detect image format when writing
Rafał Miłecki [Sat, 6 Feb 2016 16:29:12 +0000 (16:29 +0000)]
mtd: detect image format when writing

Recently TRX checking code was changed to detect Seama format and don't
abort whole writing operation because of it. This isn't a good long-term
solution. It's a poor idea to teach every format handler recognizing all
possible formats. Instead it should be handled in a generic code which
should run check depending on the detected format.

This will also allow further improvements like fixing formats other than
TRX after replacing JFFS2.

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

8 years agomt76: update to the latest version, adds A-MSDU support
Felix Fietkau [Fri, 5 Feb 2016 16:43:47 +0000 (16:43 +0000)]
mt76: update to the latest version, adds A-MSDU support

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

8 years agomac80211: add A-MSDU tx support
Felix Fietkau [Fri, 5 Feb 2016 16:43:38 +0000 (16:43 +0000)]
mac80211: add A-MSDU tx support

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

8 years agomac80211: parse legacy and HT rates in monitor mode injected frames
Felix Fietkau [Fri, 5 Feb 2016 16:43:25 +0000 (16:43 +0000)]
mac80211: parse legacy and HT rates in monitor mode injected frames

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

8 years agorelayd: update to the latest version, fixes route table issues when connecting to...
Felix Fietkau [Fri, 5 Feb 2016 15:59:41 +0000 (15:59 +0000)]
relayd: update to the latest version, fixes route table issues when connecting to the router

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

8 years agobcm53xx: add Netgear R8500 GPIOs
Rafał Miłecki [Fri, 5 Feb 2016 12:33:50 +0000 (12:33 +0000)]
bcm53xx: add Netgear R8500 GPIOs

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

8 years agokernel: add missing config symbol (#21797)
Felix Fietkau [Fri, 5 Feb 2016 11:50:50 +0000 (11:50 +0000)]
kernel: add missing config symbol (#21797)

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

8 years agoprocd: update to the latest version, fixes a memory leak in trigger handling
Felix Fietkau [Thu, 4 Feb 2016 20:20:03 +0000 (20:20 +0000)]
procd: update to the latest version, fixes a memory leak in trigger handling

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

8 years agomac80211: add performance improvements for A-MSDU rx
Felix Fietkau [Thu, 4 Feb 2016 20:17:25 +0000 (20:17 +0000)]
mac80211: add performance improvements for A-MSDU rx

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

8 years agosunxi: update orangepi-plus profile to reflect the real uboot package
Zoltan Herpai [Wed, 3 Feb 2016 23:57:35 +0000 (23:57 +0000)]
sunxi: update orangepi-plus profile to reflect the real uboot package

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

8 years agobcm53xx: start working on Netgear R8500
Rafał Miłecki [Wed, 3 Feb 2016 22:32:07 +0000 (22:32 +0000)]
bcm53xx: start working on Netgear R8500

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

8 years agoswconfig: support setting SWITCH_TYPE_LINK attributes
Rafał Miłecki [Wed, 3 Feb 2016 09:38:42 +0000 (09:38 +0000)]
swconfig: support setting SWITCH_TYPE_LINK attributes

Supported syntax is inspired by ethtool. Example usages:
swconfig dev switch0 port 2 set link "duplex half speed 100"
swconfig dev switch0 port 2 set link "autoneg on"

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

8 years agob53: support setting port link
Rafał Miłecki [Wed, 3 Feb 2016 09:33:56 +0000 (09:33 +0000)]
b53: support setting port link

When dealing with Broadcom hardware we can simply use swconfig's generic
helper, we just need to do some validation of requested state.

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

8 years agob53: provide PHY access to swconfig
Rafał Miłecki [Wed, 3 Feb 2016 09:33:50 +0000 (09:33 +0000)]
b53: provide PHY access to swconfig

Thanks to this change swconfig can access port PHYs e.g. when setting
port link state with a generic helper.

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

8 years agoswconfig: add (PHY) generic helper setting port link
Rafał Miłecki [Wed, 3 Feb 2016 09:33:38 +0000 (09:33 +0000)]
swconfig: add (PHY) generic helper setting port link

It's quite common for switches to have PHY per port so adding a generic
helper setting link state will help many drivers. It just needs an API
to access PHYs which this patch also adds.

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

8 years agosunxi: bump to 4.4
Zoltan Herpai [Wed, 3 Feb 2016 01:24:42 +0000 (01:24 +0000)]
sunxi: bump to 4.4

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

8 years agopackages: uboot-sunxi: fix SATA powerup on Bananapro
Zoltan Herpai [Tue, 2 Feb 2016 23:13:29 +0000 (23:13 +0000)]
packages: uboot-sunxi: fix SATA powerup on Bananapro

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

8 years agosunxi: add support for Orange Pi Plus (H3)
Zoltan Herpai [Tue, 2 Feb 2016 22:25:05 +0000 (22:25 +0000)]
sunxi: add support for Orange Pi Plus (H3)

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

8 years agouci: update to the latest version, fixes uci show output for anonymous sections ...
Felix Fietkau [Tue, 2 Feb 2016 17:14:47 +0000 (17:14 +0000)]
uci: update to the latest version, fixes uci show output for anonymous sections (#21781)

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

8 years agocyassl: update to wolfssl version 3.8.0
Hauke Mehrtens [Mon, 1 Feb 2016 22:38:28 +0000 (22:38 +0000)]
cyassl: update to wolfssl version 3.8.0

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

8 years agocurl: add support for mbedtls
Hauke Mehrtens [Mon, 1 Feb 2016 22:37:41 +0000 (22:37 +0000)]
curl: add support for mbedtls

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

8 years agocurl: update curl to version 7.47.0
Hauke Mehrtens [Mon, 1 Feb 2016 22:37:05 +0000 (22:37 +0000)]
curl: update curl to version 7.47.0

This fixes the following security problems:

CVE-2016-0754: remote file name path traversal in curl tool for Windows
http://curl.haxx.se/docs/adv_20160127A.html

CVE-2016-0755: NTLM credentials not-checked for proxy connection re-use
http://curl.haxx.se/docs/adv_20160127B.html

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