5 years agokernel: update kernel 4.4 to version 4.4.6
Hauke Mehrtens [Thu, 17 Mar 2016 21:41:07 +0000 (21:41 +0000)]
kernel: update kernel 4.4 to version 4.4.6

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 49032

5 years agoar71xx: Use PHY fixups for Open Mesh MR1750
John Crispin [Wed, 16 Mar 2016 09:27:14 +0000 (09:27 +0000)]
ar71xx: Use PHY fixups for Open Mesh MR1750

The delays of PHY/MAC on the MR1750 are done by u-boot and OpenWrt in
different ways. u-boot only modifies the ETH_CFG of the QCA955x based on
the link speed. But OpenWrt can only modify the PHY delays based on the
link speed.

This can lead to communication problems when u-boot initializes the ETH_CFG
for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY
delays to an incompatible value.

Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and
only rely on the AT803x PHY settings.

Signed-off-by: Sven Eckelmann <>
SVN-Revision: 49031

5 years agoar71xx: Use PHY fixups for Open Mesh MR900
John Crispin [Wed, 16 Mar 2016 09:27:11 +0000 (09:27 +0000)]
ar71xx: Use PHY fixups for Open Mesh MR900

The delays of PHY/MAC on the MR900 are done by u-boot and OpenWrt in
different ways. u-boot only modifies the ETH_CFG of the QCA955x based on
the link speed. But OpenWrt can only modify the PHY delays based on the
link speed.

This can lead to communication problems when u-boot initializes the ETH_CFG
for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY
delays to an incompatible value.

Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and
only rely on the AT803x PHY settings.

Signed-off-by: Sven Eckelmann <>
SVN-Revision: 49030

5 years agoar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x
John Crispin [Wed, 16 Mar 2016 09:27:08 +0000 (09:27 +0000)]
ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x

Some u-boot versions for QCA955x change the delays based on the link speed
during boot. This usually breaks the support of other linkspeeds when
OpenWrt is booted. It also conflicts with the
at803x_platform_data::fixup_rgmii_tx_delay. OpenWrt has to set its own
values in QCA955X_GMAC_REG_ETH_CFG.

The default RGMII values from the Atheros u-boot are currently used to
preset the existing mach files. These may have to be adjusted for boards
using different values but which are not currently set them explicitely in

Signed-off-by: Sven Eckelmann <>
Cc: Gabor Juhos <>
Cc: Imre Kaloz <>
Cc: Christian Beier <>
Cc: Chris R Blake <>
Cc: Benjamin Berg <>
Cc: Heiner Kallweit <>
Cc: Cezary Jackiewicz <>
Cc: Matthias Schiffer <>
Cc: Dirk Neukirchen <>
Cc: Christian Mehlis <>
Cc: Luka Perkov <>
Cc: Felix Fietkau <>
SVN-Revision: 49029

5 years agoar71xx: Clear bits in ath79_setup_qca955x_eth_cfg
John Crispin [Wed, 16 Mar 2016 09:27:04 +0000 (09:27 +0000)]
ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg

Some u-boot versions for QCA955x set currently not cleared bits depending
on the used link speed. This breaks the rx/tx under OpenWrt. The mach-*.c
file is responsible to select the correct configuration bits and thus the
ath79_setup_qca955x_eth_cfg has to clear the unset.

Signed-off-by: Sven Eckelmann <>
SVN-Revision: 49028

5 years agoar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFG
John Crispin [Wed, 16 Mar 2016 09:27:01 +0000 (09:27 +0000)]
ar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFG

Signed-off-by: Sven Eckelmann <>
SVN-Revision: 49027

5 years agoar71xx: Add support for the OMYlink OMY-X1
John Crispin [Wed, 16 Mar 2016 09:26:58 +0000 (09:26 +0000)]
ar71xx: Add support for the OMYlink OMY-X1

This patch adds support for the OMYlink OMY-X1

Signed-off-by: L. D. Pinney <>
SVN-Revision: 49026

5 years agotools/flex: update to 2.6.1
John Crispin [Wed, 16 Mar 2016 09:26:51 +0000 (09:26 +0000)]
tools/flex: update to 2.6.1

Update flex to 2.6.1
* Flex has moved to Github, adjust download link
* Remove patch that has been applied upstream
* Disable building tests to avoid circular dependency to bison
  - disable also docs and examples at the same time

Signed-off-by: Hannu Nyman <>
SVN-Revision: 49025

5 years agoramips: Add support for Xiaomi MiWiFi Nano
John Crispin [Wed, 16 Mar 2016 09:26:48 +0000 (09:26 +0000)]
ramips: Add support for Xiaomi MiWiFi Nano

Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash

Signed-off-by: Noble Pepper <>
v3  includes changes suggested by L. D. Pinney & Karl Palsson-
Eliminate en25q64 (4MB) flash chip
Remove hyphen in model
Rename profile from to
Add gpios that are attached to leds

SVN-Revision: 49024

5 years agobrcmfmac: Add Raspberry Pi 3 support
John Crispin [Wed, 16 Mar 2016 09:26:42 +0000 (09:26 +0000)]
brcmfmac: Add Raspberry Pi 3 support

- Enable SDIO support on brcmfmac.
- Disable power managment for brcm2708 target.

Signed-off-by: Álvaro Fernández Rojas <>
Reviewed-by: Rafał Miłecki <>
SVN-Revision: 49023

5 years agokirkwood: refresh patches
Luka Perkov [Mon, 14 Mar 2016 17:13:22 +0000 (17:13 +0000)]
kirkwood: refresh patches

Signed-off-by: Luka Perkov <>
SVN-Revision: 49022

5 years agokirkwood: drop 3.18
Luka Perkov [Mon, 14 Mar 2016 17:12:08 +0000 (17:12 +0000)]
kirkwood: drop 3.18

Signed-off-by: Luka Perkov <>
SVN-Revision: 49021

5 years agokirkwood: switch to 4.4
Luka Perkov [Mon, 14 Mar 2016 17:06:21 +0000 (17:06 +0000)]
kirkwood: switch to 4.4

Signed-off-by: Alexander Couzens <>
Signed-off-by: Luka Perkov <>
SVN-Revision: 49020

5 years agokirkwood: add 4.4 support
Luka Perkov [Mon, 14 Mar 2016 17:06:20 +0000 (17:06 +0000)]
kirkwood: add 4.4 support

Dropped patches because they applied upstream:

- 120-iomega_ix2_200.patch
- 150-pogoplug_e02.patch

Tested on dockstar and goflexnet.

Signed-off-by: Alexander Couzens <>
Signed-off-by: Luka Perkov <>
SVN-Revision: 49019

5 years agouboot-kirkwood/goflexhome: explicit define the size of the last partition
Luka Perkov [Mon, 14 Mar 2016 17:06:18 +0000 (17:06 +0000)]
uboot-kirkwood/goflexhome: explicit define the size of the last partition

Explicit sets the size of the mtdparts, because the kernel has also an explicit value.
If they have diffent sizes the ubi won't be detected.

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49018

5 years agouboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h"
Luka Perkov [Mon, 14 Mar 2016 17:06:17 +0000 (17:06 +0000)]
uboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h"

otherwise the uboot is missing important commands like bootz

Signed-off-by: Martin Mueller <>
Signed-off-by: Alexander Couzens <>
SVN-Revision: 49017

5 years agouboot-kirkwood/goflexhome: update bootargs to use new ubi style
Luka Perkov [Mon, 14 Mar 2016 17:06:16 +0000 (17:06 +0000)]
uboot-kirkwood/goflexhome: update bootargs to use new ubi style

Since switching to new ubi(kernel,squashfs,ubifs) layout, the kernel lies in a
ubi volume. Dropping the mtd parts because the mtd layout is saved in the
device-tree, which is appended to the zImage.

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49016

5 years agokirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb
Luka Perkov [Mon, 14 Mar 2016 17:06:15 +0000 (17:06 +0000)]
kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb

Previous the uboot was overwriting the device-tree's mtd layout to use
the last 3 mb.

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49015

5 years agokirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into one volume...
Luka Perkov [Mon, 14 Mar 2016 17:06:14 +0000 (17:06 +0000)]
kirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into one volume "ubi"

The kernel will automatic attach mtd partitions named 'ubi' to ubi0.
Renaming the "root" partition into "ubi" will safe arguments
from the kernel cmdline.

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49014

5 years agolinux/kirkwood: migrate goflexhome/goflexnet to new ubi style
Luka Perkov [Mon, 14 Mar 2016 17:06:12 +0000 (17:06 +0000)]
linux/kirkwood: migrate goflexhome/goflexnet to new ubi style

Also using the new image build step format

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49013

5 years agouboot/kirkwood: correct mtdparts + cmdline for new ubifs on dockstar
Luka Perkov [Mon, 14 Mar 2016 17:06:11 +0000 (17:06 +0000)]
uboot/kirkwood: correct mtdparts + cmdline for new ubifs on dockstar

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49012

5 years agokirkwood/dockstar: rename partition into ubi to use auto detection of target mtd
Luka Perkov [Mon, 14 Mar 2016 17:06:10 +0000 (17:06 +0000)]
kirkwood/dockstar: rename partition into ubi to use auto detection of target mtd

the kernel tries to use "ubi" or "data" labeled partition to find it's root filesystem.
dockstar don't need anymore mtdparts= nor root= bootarguments

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49011

5 years agokirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images
Luka Perkov [Mon, 14 Mar 2016 17:06:09 +0000 (17:06 +0000)]
kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images

The new image requires `bootz` because of devicetree appending.
To flash a new image boot initramfs:

  tftpboot 0x800000 openwrt-kirkwood-dockstar-initramfs-kernel.bin
  bootz 0x800000

  # detach if already attached
  ubidetach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}')
  # scp openwrt-kirkwood-dockstar-squashfs-factory.bin /tmp
  ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin
  # attach is important to resize rootfs_data otherwise it wont boot
  ubiattach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}')

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49010

5 years agokirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi images
Luka Perkov [Mon, 14 Mar 2016 17:06:08 +0000 (17:06 +0000)]
kirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi images

depending on KERNEL_IN_UBI, the will create a ubi volume for the kernel

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49009

5 years agokirkwood: add feature devicetree
Luka Perkov [Mon, 14 Mar 2016 17:06:06 +0000 (17:06 +0000)]
kirkwood: add feature devicetree

this platform already uses devicetree

Signed-off-by: Alexander Couzens <>
SVN-Revision: 49008

5 years agobrcm47xx: image: create standard TRX images using new building system
Rafał Miłecki [Fri, 11 Mar 2016 21:31:34 +0000 (21:31 +0000)]
brcm47xx: image: create standard TRX images using new building system

Apart from using our new building system there are 2 more changes:

1) Limit amount of images
So far we were generating all standard images (optimized one and two
with no loader) for every SUBTARGET. This is not needed, as e.g. the
only device requiring gzipped kernel is legacy Huawei E970.

2) Change output names
The new image building system requires specifying device name. This
forced picking some and resulted in:

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 49006

5 years agoRevert "kernel: Linux IP Virtual Server kernel modules ( patch)"
Jo-Philipp Wich [Fri, 11 Mar 2016 13:31:48 +0000 (13:31 +0000)]
Revert "kernel: Linux IP Virtual Server kernel modules ( patch)"

This reverts commit 845d82da156781135b027ecf75ff67e2253e06dd.

SVN-Revision: 49005

5 years agooxnas: complete NAND driver clean-up
John Crispin [Thu, 10 Mar 2016 21:19:58 +0000 (21:19 +0000)]
oxnas: complete NAND driver clean-up

some bit rot was accidentally left-out in r48986, remove it.

Signed-off-by: Daniel Golle <>
SVN-Revision: 48997

5 years agoprocd: fix respawn related warning
John Crispin [Thu, 10 Mar 2016 20:15:59 +0000 (20:15 +0000)]
procd: fix respawn related warning

WARNING: Variable 'respawn' does not exist or is not an array/object

Signed-off-by: John Crispin <>
SVN-Revision: 48996

5 years agotools/cmake: fix compile on Alpine Linux
John Crispin [Thu, 10 Mar 2016 19:12:15 +0000 (19:12 +0000)]
tools/cmake: fix compile on Alpine Linux

internal jsoncpp include order leads to multiple build
errors on Alpine Linux which uses musl libc

use include order from upstream jsoncpp

first error was:
In file included from /usr/include/c++/5.3.0/stdexcept:38:0,
                 from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/include/json/assertions.h:16,
                 from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp:7:
/usr/include/c++/5.3.0/exception:35:9: error: '#pragma' is not allowed here
 #pragma GCC visibility push(default)

Signed-off-by: Dirk Neukirchen <>
SVN-Revision: 48995

5 years agoramips: Add support for GL-MT750
John Crispin [Thu, 10 Mar 2016 19:12:10 +0000 (19:12 +0000)]
ramips: Add support for GL-MT750

This patch adds support for GL-MT750.
GL-MT750 is powered by MT7620A and MT7610e, dual band 802.11ac, 2.4G 300Mbps and 5G 450Mbps.
It has 5 LANs, MMC interface, USB, a lot of IOs and PoE support.

SVN-Revision: 48994

5 years agoramips: Add support for GL-MT300N
John Crispin [Thu, 10 Mar 2016 19:12:04 +0000 (19:12 +0000)]
ramips: Add support for GL-MT300N

This patch adds support for GL-MT300N.
GL-MT300N is powered by MT7620N with 16MB flash, 64MB RAM,
2 LANs, USB, UART, GPIO and PoE support.

SVN-Revision: 48993

5 years agoramips: Add support for GL-MT300A
John Crispin [Thu, 10 Mar 2016 19:11:57 +0000 (19:11 +0000)]
ramips: Add support for GL-MT300A

This patches adds support for GL-MT300A.
GL-MT300A is powered by MT7620A. It has 16MB flash, 128MB RAM,
Two LANs, USB, UART and MMC daughter board.

SVN-Revision: 48992

5 years agotools/findutils: Update to 4.6.0
John Crispin [Thu, 10 Mar 2016 19:11:51 +0000 (19:11 +0000)]
tools/findutils: Update to 4.6.0

Update GNU findutils to the new stable version 4.6.0
Remove the patch for 32-bit buildhosts as the issue is fixed upstream.

Signed-off-by: Hannu Nyman <>
SVN-Revision: 48991

5 years agopackage/devel/gdb: Update to 7.11
John Crispin [Thu, 10 Mar 2016 19:11:46 +0000 (19:11 +0000)]
package/devel/gdb: Update to 7.11

Update gdb to version 7.11

Signed-off-by: Hannu Nyman <>
SVN-Revision: 48990

5 years agotoolchain/gdb: Update to 7.11
John Crispin [Thu, 10 Mar 2016 19:11:41 +0000 (19:11 +0000)]
toolchain/gdb: Update to 7.11

Update gdb to version 7.11

Signed-off-by: Hannu Nyman <>
SVN-Revision: 48989

5 years agopkg-config: Update to 0.29.1
John Crispin [Thu, 10 Mar 2016 19:11:36 +0000 (19:11 +0000)]
pkg-config: Update to 0.29.1

* Bump pkg-config version to 0.29.1
* Use https for the source download (http gets directed there)

Signed-off-by: Hannu Nyman <>
SVN-Revision: 48988

5 years agomm-macros: update to 0.9.10
John Crispin [Thu, 10 Mar 2016 19:11:32 +0000 (19:11 +0000)]
mm-macros: update to 0.9.10

Bump mm-macros to 0.9.10

Signed-off-by: Hannu Nyman <>
SVN-Revision: 48987

5 years agooxnas: clean-up NAND driver to fix probing issue
John Crispin [Thu, 10 Mar 2016 19:11:28 +0000 (19:11 +0000)]
oxnas: clean-up NAND driver to fix probing issue

A re-write of the driver based on xway_nand.c and constants as
well as the cmd_ctrl() function from the original oxnas_nand.c
resulted in a extremely similar looking file (see diffsize),
and fixes the issue of NAND not being detected on newer kernels.

Signed-off-by: Daniel Golle <>
SVN-Revision: 48986

5 years agobrcm2708: update patches to latest version
John Crispin [Thu, 10 Mar 2016 19:11:23 +0000 (19:11 +0000)]
brcm2708: update patches to latest version

As usual these patches were extracted from the raspberry repo:

- Disable unused MFD RPISENSE driver.
- Disable ethernet HW checksums in order to avoid kernel exceptions.

Signed-off-by: Álvaro Fernández Rojas <>
SVN-Revision: 48985

5 years agoprocd: support pidfile writing.
John Crispin [Thu, 10 Mar 2016 19:11:17 +0000 (19:11 +0000)]
procd: support pidfile writing.

procd from revision b12bb150ed38a4409bef5127c77b060ee616b860 supports
writing a pidfile.  This adds support for setting that parameter with
standard init script hooks:

   procd_set_param pidfile /var/run/

Signed-off-by: Karl Palsson <>
SVN-Revision: 48984

5 years agoar71xx: Arduino Yun board 'WLAN RST' button support
John Crispin [Thu, 10 Mar 2016 19:11:13 +0000 (19:11 +0000)]
ar71xx: Arduino Yun board 'WLAN RST' button support

This patch adds support for Arduino Yun board "WLAN RST" button.

Signed-off-by: Hirokazu MORIKAWA <>
SVN-Revision: 48983

5 years agokernel: Linux IP Virtual Server kernel modules ( patch)
John Crispin [Thu, 10 Mar 2016 19:11:09 +0000 (19:11 +0000)]
kernel: Linux IP Virtual Server kernel modules ( patch)

IPVS (IP Virtual Server) implements transport-layer load balancing inside the Linux kernel
so called Layer-4 switching.
IPVS running on a host acts as a load balancer at the front of a cluster of real servers, it
can direct requests for TCP/UDP based services to the real servers, and makes services of
the real servers to appear as a virtual service on a single IP address.

Signed-off-by: Mauro Mozzarelli <>
SVN-Revision: 48982

5 years agoprocd: bump to latest git HEAD
John Crispin [Thu, 10 Mar 2016 19:11:03 +0000 (19:11 +0000)]
procd: bump to latest git HEAD

Signed-off-by: John Crispin <>
SVN-Revision: 48981

5 years agobrcm63xx: fix BCM3368 interrupt controller addresses
John Crispin [Thu, 10 Mar 2016 19:10:58 +0000 (19:10 +0000)]
brcm63xx: fix BCM3368 interrupt controller addresses

Looks like the addresses for BCM3368 were wrongly defined when DT
support was introduced.

Signed-off-by: Álvaro Fernández Rojas <>
SVN-Revision: 48980

5 years agobrcm63xx/lzma-loader: fix O32 ABI conformance
John Crispin [Thu, 10 Mar 2016 19:10:54 +0000 (19:10 +0000)]
brcm63xx/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

Signed-off-by: Gabor Juhos <>
[noltari: apply the fix for brcm63xx too]
Signed-off-by: Álvaro Fernández Rojas <>
SVN-Revision: 48979

5 years agotools/flock: fix compile on Alpine Linux
John Crispin [Thu, 10 Mar 2016 19:10:48 +0000 (19:10 +0000)]
tools/flock: fix compile on Alpine Linux

fixes build errors:
src/flock.c:208:34: error: 'O_NOCTTY' undeclared (first use in this function)
     fd = open(filename, O_RDONLY|O_NOCTTY|O_CREAT, 0666);
src/flock.c:208:43: error: 'O_CREAT' undeclared (first use in this function)
     fd = open(filename, O_RDONLY|O_NOCTTY|O_CREAT, 0666);

Signed-off-by: Dirk Neukirchen <>
SVN-Revision: 48978

5 years agoar71xx: add support for the Telldus TellStick ZNet Lite
John Crispin [Thu, 10 Mar 2016 19:07:26 +0000 (19:07 +0000)]
ar71xx: add support for the Telldus TellStick ZNet Lite

Signed-off-by: Micke Prag <>
SVN-Revision: 48977

5 years agobase-files: add function ucidef_set_interface_raw to enable default configuration...
John Crispin [Thu, 10 Mar 2016 19:07:17 +0000 (19:07 +0000)]
base-files: add function ucidef_set_interface_raw to enable default configuration on interfaces other than lan and wan.

Signed-off-by: Micke Prag <>
SVN-Revision: 48976

5 years agobrcm47xx: image: move disabled devices to the new building system
Rafał Miłecki [Wed, 9 Mar 2016 06:34:29 +0000 (06:34 +0000)]
brcm47xx: image: move disabled devices to the new building system

This only drops WGR614 V9 which has 2 MiB flash and it's unlikely to get
any interest.

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48975

5 years agobrcm47xx: image: switch Linksys WRT54G3GV2-VF to the new building system
Rafał Miłecki [Wed, 9 Mar 2016 06:34:25 +0000 (06:34 +0000)]
brcm47xx: image: switch Linksys WRT54G3GV2-VF to the new building system

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48974

5 years agobrcm47xx: image: switch Netgear WGT634U to the new building system
Rafał Miłecki [Tue, 8 Mar 2016 18:33:25 +0000 (18:33 +0000)]
brcm47xx: image: switch Netgear WGT634U to the new building system

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48973

5 years agobrcm47xx: image: switch rest of 64k block devices to the new building system
Rafał Miłecki [Tue, 8 Mar 2016 18:33:22 +0000 (18:33 +0000)]
brcm47xx: image: switch rest of 64k block devices to the new building system

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48972

5 years agobrcm47xx: image: switch Motorola devices to the new building system
Rafał Miłecki [Tue, 8 Mar 2016 18:33:19 +0000 (18:33 +0000)]
brcm47xx: image: switch Motorola devices to the new building system

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48971

5 years agobrcm47xx: image: switch D-Link DWL-3150 to the new building system
Rafał Miłecki [Tue, 8 Mar 2016 18:33:16 +0000 (18:33 +0000)]
brcm47xx: image: switch D-Link DWL-3150 to the new building system

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48970

5 years agoopenvpn: add support for X.509 name options
John Crispin [Tue, 8 Mar 2016 18:12:02 +0000 (18:12 +0000)]
openvpn: add support for X.509 name options

x509-username-field was added in OpenVPN 2.2, and verify-x509-name was
added in 2.3. This fixes ticket #18807.

Signed-off-by: Jeffery To <>
SVN-Revision: 48969

5 years agoramips: add support for Planex MZK-WDPR.
John Crispin [Tue, 8 Mar 2016 18:11:59 +0000 (18:11 +0000)]
ramips: add support for Planex MZK-WDPR.

add support for Planex MZK-WDPR.
MZK-WDPR(MZK-WDPR-R01) is internet radio tuner.
This patch is "network board" in MZK-WDPR.
LCD board is non OpenWrt Platform.

Signed-off-by: YuheiOKAWA <>
SVN-Revision: 48968

5 years agobrcm2708: add Raspberry Pi 3 support
John Crispin [Tue, 8 Mar 2016 18:11:55 +0000 (18:11 +0000)]
brcm2708: add Raspberry Pi 3 support

Signed-off-by: Álvaro Fernández Rojas <>
SVN-Revision: 48967

5 years agobrcm2708: update linux 4.4 patches to latest version
John Crispin [Tue, 8 Mar 2016 18:11:49 +0000 (18:11 +0000)]
brcm2708: update linux 4.4 patches to latest version

As usual these patches were extracted from the raspberry pi repo:

Signed-off-by: Álvaro Fernández Rojas <>
SVN-Revision: 48966

5 years agobrcm2708-gpu-fw: update to latest version
John Crispin [Tue, 8 Mar 2016 18:11:40 +0000 (18:11 +0000)]
brcm2708-gpu-fw: update to latest version

Signed-off-by: Álvaro Fernández Rojas <>
SVN-Revision: 48965

5 years agoinclude: add Cortex-A53 CPU_TYPE
John Crispin [Tue, 8 Mar 2016 18:11:37 +0000 (18:11 +0000)]
include: add Cortex-A53 CPU_TYPE

Signed-off-by: Álvaro Fernández Rojas <>
SVN-Revision: 48964

5 years agobcm53xx: update bcm47xx_sprom to the latest 4.6 queued version
Rafał Miłecki [Tue, 8 Mar 2016 11:05:10 +0000 (11:05 +0000)]
bcm53xx: update bcm47xx_sprom to the latest 4.6 queued version

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48963

5 years agobcm53xx: fix SPROM driver compilation with ssb/bcma as module
Rafał Miłecki [Tue, 8 Mar 2016 08:29:32 +0000 (08:29 +0000)]
bcm53xx: fix SPROM driver compilation with ssb/bcma as module

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48962

5 years agobcm53xx: revert patch removing imprecise abort workaround
Rafał Miłecki [Tue, 8 Mar 2016 08:29:29 +0000 (08:29 +0000)]
bcm53xx: revert patch removing imprecise abort workaround

It seems it still happens on some devices.

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48961

5 years agokernel: backport bcma 4.6 changes for flashes
Rafał Miłecki [Mon, 7 Mar 2016 23:09:26 +0000 (23:09 +0000)]
kernel: backport bcma 4.6 changes for flashes

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48960

5 years agomac80211: backport brcmfmac patchset with driver setting concept
Rafał Miłecki [Mon, 7 Mar 2016 22:37:09 +0000 (22:37 +0000)]
mac80211: backport brcmfmac patchset with driver setting concept

This prepares brcmfmac for better country handling and fixes BCM4360
support which was always failing with:
[   13.249195] brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48959

5 years agomt76: update to the latest version, adds some mt7603/mt7628 fixes
Felix Fietkau [Mon, 7 Mar 2016 21:00:58 +0000 (21:00 +0000)]
mt76: update to the latest version, adds some mt7603/mt7628 fixes

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48958

5 years agomusl: update to latest git, adds some fixes for the mips64 port and regular expressions
Felix Fietkau [Mon, 7 Mar 2016 21:00:49 +0000 (21:00 +0000)]
musl: update to latest git, adds some fixes for the mips64 port and regular expressions

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48957

5 years agokernel: add MIPS kernel fix for an uninitialized CPU map
Felix Fietkau [Mon, 7 Mar 2016 21:00:46 +0000 (21:00 +0000)]
kernel: add MIPS kernel fix for an uninitialized CPU map

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48956

5 years agokernel: remove linux 4.3 support
Felix Fietkau [Mon, 7 Mar 2016 17:56:58 +0000 (17:56 +0000)]
kernel: remove linux 4.3 support

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48955

5 years agoramips: convert the remaining subtargets to 4.4
Felix Fietkau [Mon, 7 Mar 2016 17:56:53 +0000 (17:56 +0000)]
ramips: convert the remaining subtargets to 4.4

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48954

5 years agoramips: fix subtarget kernel version assignment (only mt7621 is ready for now)
Felix Fietkau [Mon, 7 Mar 2016 17:05:03 +0000 (17:05 +0000)]
ramips: fix subtarget kernel version assignment (only mt7621 is ready for now)

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48953

5 years agoubox: update to the latest version, fixes an error on processing invalid modules
Felix Fietkau [Mon, 7 Mar 2016 16:35:43 +0000 (16:35 +0000)]
ubox: update to the latest version, fixes an error on processing invalid modules

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48952

5 years agoramips: add linux 4.4 support, update mt7621 subtarget to 4.4
Felix Fietkau [Mon, 7 Mar 2016 16:33:34 +0000 (16:33 +0000)]
ramips: add linux 4.4 support, update mt7621 subtarget to 4.4

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48951

5 years agobsdiff: add missing host build dependency on bzip2 (fixes #21990)
Felix Fietkau [Mon, 7 Mar 2016 14:34:14 +0000 (14:34 +0000)]
bsdiff: add missing host build dependency on bzip2 (fixes #21990)

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48950

5 years agolantiq: print profile name in dsl lucistat
Felix Fietkau [Mon, 7 Mar 2016 11:03:44 +0000 (11:03 +0000)]
lantiq: print profile name in dsl lucistat

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48949

5 years agoltq-vdsl-app: do not set the reserved bit 4 in the xTSE 8
Felix Fietkau [Mon, 7 Mar 2016 11:03:41 +0000 (11:03 +0000)]
ltq-vdsl-app: do not set the reserved bit 4 in the xTSE 8

I do not know if this causes any problems now, but we should not set
it, because it is reserved. Some more recent versions of the Lantiq DSL
API driver and Control is checking if only valid bits are set.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48948

5 years agoltq-vdsl-app: make it possible to configure ADSL/VDSL independently
Felix Fietkau [Mon, 7 Mar 2016 11:03:38 +0000 (11:03 +0000)]
ltq-vdsl-app: make it possible to configure ADSL/VDSL independently

There are some cases where ISPs are running ATM over VDSL or PTM over
ADSL, this is not the common case, but these cases exist. Make it
possible to configure OpenWrt for such cases by adding a new config
option line_mode.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48947

5 years agoltq-vdsl-app: sync annex option between from ADSL package
Felix Fietkau [Mon, 7 Mar 2016 11:03:35 +0000 (11:03 +0000)]
ltq-vdsl-app: sync annex option between from ADSL package

The detailed annex option were only available in the danube DSL app
including the activation of G.992.2 Annex A (ADSL Lite). This is now
also added to the vdsl app for the vrx200.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48946

5 years agoltq-adsl-app: sync annex option between from VDSL package
Felix Fietkau [Mon, 7 Mar 2016 11:03:32 +0000 (11:03 +0000)]
ltq-adsl-app: sync annex option between from VDSL package

The adsl control app missed the activation of annex M and annex L in
the Annex A part, this now activates everything the firmware supports.
In Annex L type only the wide US (Mask1) was activated, now also the
narrow US (Mask2) version gets activated.
In addition annex J was also added.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48945

5 years agobase-files: change type of adsl and vdsl to dsl only
Felix Fietkau [Mon, 7 Mar 2016 11:03:29 +0000 (11:03 +0000)]
base-files: change type of adsl and vdsl to dsl only

Instead of having two different types adsl and vdsl just create one dsl
type. This way we can use the same luci code for adsl and vdsl and the
config parameters are not so different.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48944

5 years agoltq-vdsl-app: make the dsl_control application stop cleanly
Felix Fietkau [Mon, 7 Mar 2016 11:03:26 +0000 (11:03 +0000)]
ltq-vdsl-app: make the dsl_control application stop cleanly

I am not calling dsl_cmd because I want to ignore the lock, quit
should also be send when someone else is accessing it. I saw that some
other call was stuck here and all following calls were stuck in the
dsl_cmd lock.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48943

5 years agolantiq: add dsl firmware to default packages
Felix Fietkau [Mon, 7 Mar 2016 11:03:21 +0000 (11:03 +0000)]
lantiq: add dsl firmware to default packages

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48942

5 years agolantiq: do not set default firmware file
Felix Fietkau [Mon, 7 Mar 2016 11:03:18 +0000 (11:03 +0000)]
lantiq: do not set default firmware file

We are now shipping a DSL firmware, do not set it by default to some
file name.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48941

5 years agoltq-vdsl-app: load the vrx200 firmware or patch it
Felix Fietkau [Mon, 7 Mar 2016 11:03:13 +0000 (11:03 +0000)]
ltq-vdsl-app: load the vrx200 firmware or patch it

This checks for the VRX firmware provided in the OpenWrt package.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48940

5 years agodsl-vrx200-firmware-xdsl: create Lantiq vrx200 firmware patches
Felix Fietkau [Mon, 7 Mar 2016 11:03:09 +0000 (11:03 +0000)]
dsl-vrx200-firmware-xdsl: create Lantiq vrx200 firmware patches

Instead of having two big binaries only add one binary and then a patch
to create the other one when needed at runtime.
This is easier to handle in one Makefile for both firmware files.

Signed-off-by: Hauke Mehrtens <>
Signed-off-by: Felix Fietkau <>
SVN-Revision: 48939

5 years agomac80211: rework gpio chip/button support to build on platforms without CONFIG_GPIOLIB
Felix Fietkau [Mon, 7 Mar 2016 09:20:22 +0000 (09:20 +0000)]
mac80211: rework gpio chip/button support to build on platforms without CONFIG_GPIOLIB

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48938

5 years agoar71xx: fix qca956x ethernet initialization
Felix Fietkau [Mon, 7 Mar 2016 08:45:01 +0000 (08:45 +0000)]
ar71xx: fix qca956x ethernet initialization

Complete internal switch initialization for QCA956X.
Set default mdio device if the interface mode of GE0 is not SGMII (fix ticket #21520).

Signed-off-by: Weijie Gao <>
SVN-Revision: 48937

5 years agoar71xx: enable USB packages for WNR2200 (fixes #21984)
Felix Fietkau [Sun, 6 Mar 2016 19:40:31 +0000 (19:40 +0000)]
ar71xx: enable USB packages for WNR2200 (fixes #21984)

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48936

5 years agobcm53xx: use SPROM driver queued for 4.6
Rafał Miłecki [Sun, 6 Mar 2016 18:08:03 +0000 (18:08 +0000)]
bcm53xx: use SPROM driver queued for 4.6

Signed-off-by: Rafał Miłecki <>
SVN-Revision: 48935

5 years agoprereq: stop relying on man pages and grep for --recursive on the git-submodule scrip...
Felix Fietkau [Sat, 5 Mar 2016 21:07:18 +0000 (21:07 +0000)]
prereq: stop relying on man pages and grep for --recursive on the git-submodule script directly (fixes #21968)

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48934

5 years agokernel: update kernel 4.4 to version 4.4.4
Hauke Mehrtens [Sat, 5 Mar 2016 17:51:37 +0000 (17:51 +0000)]
kernel: update kernel 4.4 to version 4.4.4

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48933

5 years agokernel: mpc85xx: fix build of kmod-usb2-fsl
Hauke Mehrtens [Sat, 5 Mar 2016 17:49:09 +0000 (17:49 +0000)]
kernel: mpc85xx: fix build of kmod-usb2-fsl

Fix buildbot error for mpc85xx.
ehci-fsl.ko should be packaged inside the usb2 package, because it
depends on the ehci kernel module. The fsl-mph-dr-of.ko module can stay
in an own package because the ehci driver depends on it.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48932

5 years agokernel: fix section mismatch in crashlog
Hauke Mehrtens [Sat, 5 Mar 2016 16:23:50 +0000 (16:23 +0000)]
kernel: fix section mismatch in crashlog

The function memblock_insert_region() is in the section
__init_memblock, also put crashlog_init_memblock there.

This fixes this section mismatch warning:
The function memblock_insert_region.isra.1() references
the function __meminit crashlog_init_memblock().
This is often because memblock_insert_region.isra.1 lacks a __meminit
annotation or the annotation of crashlog_init_memblock is wrong.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48931

5 years agospi-gpio-custom: fix section mismatch
Hauke Mehrtens [Sat, 5 Mar 2016 16:23:19 +0000 (16:23 +0000)]
spi-gpio-custom: fix section mismatch

This fixes this section mismatch warning:
The function spi_gpio_custom_get_slave_cs() references
the variable __initdata bus_nump.
This is often because spi_gpio_custom_get_slave_cs lacks a __initdata
annotation or the annotation of bus_nump is wrong.

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48930

5 years agokernel: add missing config options
Hauke Mehrtens [Sat, 5 Mar 2016 16:22:45 +0000 (16:22 +0000)]
kernel: add missing config options

The buildbots complained about these config options being missing for arm64:

Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 48929

5 years agouclibc++: add a patch to fix memory corruption issues on exceptions
Felix Fietkau [Sat, 5 Mar 2016 14:23:49 +0000 (14:23 +0000)]
uclibc++: add a patch to fix memory corruption issues on exceptions

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48928

5 years agobuild: fix git prereq check to forcibly disable man pagers on the --help check
Felix Fietkau [Sat, 5 Mar 2016 13:37:02 +0000 (13:37 +0000)]
build: fix git prereq check to forcibly disable man pagers on the --help check

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48927

5 years agobuild: fix git prereq check to not rely on being in a git directory (#21968)
Felix Fietkau [Sat, 5 Mar 2016 10:49:59 +0000 (10:49 +0000)]
build: fix git prereq check to not rely on being in a git directory (#21968)

Signed-off-by: Felix Fietkau <>
SVN-Revision: 48926

5 years agoar71xx: WNR612v2: enable control of all LEDs and buttons
Felix Fietkau [Sat, 5 Mar 2016 09:45:15 +0000 (09:45 +0000)]
ar71xx: WNR612v2: enable control of all LEDs and buttons

This patch provides full GPIO support for WNR612v2 (LEDs and buttons).
It exposes all LEDs to operating system, including Ethernet ones.

Signed-off-by: Michal Cieslakiewicz <>
SVN-Revision: 48924