4 years agomac80211: refresh patch
Felix Fietkau [Wed, 16 Sep 2015 07:56:47 +0000 (07:56 +0000)]
mac80211: refresh patch

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

4 years agoath9k: enable hw manual peak calibration for QCA9561
Felix Fietkau [Wed, 16 Sep 2015 07:56:41 +0000 (07:56 +0000)]
ath9k: enable hw manual peak calibration for QCA9561

This patch fix
2015-August/034979.html. As the peak detect calibration is set

Signed-off-by: Miaoqing Pan <>
Signed-off-by: Felix Fietkau <>
SVN-Revision: 46948

4 years agoomap24xx: remove obsolete kernel 3.3 patches
Felix Fietkau [Wed, 16 Sep 2015 07:56:33 +0000 (07:56 +0000)]
omap24xx: remove obsolete kernel 3.3 patches

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

4 years agobinutils: fix name of Binutils 2.25.1
Hauke Mehrtens [Tue, 15 Sep 2015 21:58:48 +0000 (21:58 +0000)]
binutils: fix name of Binutils 2.25.1

The Binutils version 2.25.1 was not a Linaro version, but a normal
upstream Binutils version, fix the name.

Signed-off-by: Hauke Mehrtens <>
Reported-by: Alexey Brodkin <>
SVN-Revision: 46946

4 years agoipq806x: add platform_pre_upgrade for sysupgrade
Rafał Miłecki [Tue, 15 Sep 2015 16:05:10 +0000 (16:05 +0000)]
ipq806x: add platform_pre_upgrade for sysupgrade

We're in process of cleaning nand_do_platform_check. Currently is leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows ar71xx, lantiq and partially bcm53xx.

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

4 years agoimx6: add platform_pre_upgrade for sysupgrade
Rafał Miłecki [Tue, 15 Sep 2015 16:05:03 +0000 (16:05 +0000)]
imx6: add platform_pre_upgrade for sysupgrade

We're in process of cleaning nand_do_platform_check. Currently is leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows ar71xx, lantiq and partially bcm53xx.

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

4 years agoppp: use more reliable way to set script environment
Steven Barth [Tue, 15 Sep 2015 14:52:47 +0000 (14:52 +0000)]
ppp: use more reliable way to set script environment

Signed-off-by: Steven Barth <>
SVN-Revision: 46942

4 years agolantiq: update list on NAND devices in platform_pre_upgrade
Rafał Miłecki [Tue, 15 Sep 2015 11:49:33 +0000 (11:49 +0000)]
lantiq: update list on NAND devices in platform_pre_upgrade

Meanwhile BTHOMEHUBV5A board was added.

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

4 years agoomcproxy: use 100ms query response interval by default
Steven Barth [Tue, 15 Sep 2015 07:54:55 +0000 (07:54 +0000)]
omcproxy: use 100ms query response interval by default

Signed-off-by: Steven Barth <>
SVN-Revision: 46940

4 years agolantiq: add platform_pre_upgrade for sysupgrade
John Crispin [Tue, 15 Sep 2015 06:13:07 +0000 (06:13 +0000)]
lantiq: add platform_pre_upgrade for sysupgrade

As explained in recent sysupgrade/ commits, current NAND
sysupgrade is a bit misleading because of nand_do_platform_check
behavior. It leaves a special mark in /tmp/sysupgrade-nand-path
triggering some diffent code path in nand_upgrade_stage1.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

Please note that because of current nand_upgrade_stage1 implementation
this patch doesn't change any behaior yet. It only prepares lantiq
target for changing nand_do_platform_check (it will be possible after
preparing all other targets as well).

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

4 years agoprocd: update to latest git revision
John Crispin [Tue, 15 Sep 2015 06:12:55 +0000 (06:12 +0000)]
procd: update to latest git revision

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

4 years agolibubox: update to latest git revision
John Crispin [Tue, 15 Sep 2015 06:12:42 +0000 (06:12 +0000)]
libubox: update to latest git revision

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

4 years agoprocd: rework makefile, split ujail/seccomp
John Crispin [Tue, 15 Sep 2015 06:12:34 +0000 (06:12 +0000)]
procd: rework makefile, split ujail/seccomp

this need to be applied after my work on ujail (procd git)
ujail doesn't depend on seccomp and some archs dont support seccomp

Signed-off-by: Etienne CHAMPETIER <>
SVN-Revision: 46936

4 years agomountd: move code to a git repo
John Crispin [Mon, 14 Sep 2015 20:12:21 +0000 (20:12 +0000)]
mountd: move code to a git repo

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

4 years agoar71xx: add TP-LINK TL-WDR3320 v2 support
John Crispin [Mon, 14 Sep 2015 20:12:16 +0000 (20:12 +0000)]
ar71xx: add TP-LINK TL-WDR3320 v2 support

This patch adds support for TP-LINK TL-WDR3320 v2.

This router uses a chinese version 2 firmware header,.

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

4 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 board
John Crispin [Mon, 14 Sep 2015 20:12:00 +0000 (20:12 +0000)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 board

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

4 years agoar71xx: create profile and build image for the OpenMesh MR1750 board
John Crispin [Mon, 14 Sep 2015 20:11:51 +0000 (20:11 +0000)]
ar71xx: create profile and build image for the OpenMesh MR1750 board

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

4 years agopackage/uboot-envtools: add OpenMesh MR1750 support
John Crispin [Mon, 14 Sep 2015 20:11:43 +0000 (20:11 +0000)]
package/uboot-envtools: add OpenMesh MR1750 support

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

4 years agopackage/om-watchdog: add OpenMesh MR1750 support
John Crispin [Mon, 14 Sep 2015 20:11:35 +0000 (20:11 +0000)]
package/om-watchdog: add OpenMesh MR1750 support

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

4 years agoar71xx: enable sysupgrade for the OpenMesh MR1750
John Crispin [Mon, 14 Sep 2015 20:11:24 +0000 (20:11 +0000)]
ar71xx: enable sysupgrade for the OpenMesh MR1750

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

4 years agoscripts/ add support for the MR1750
John Crispin [Mon, 14 Sep 2015 20:11:18 +0000 (20:11 +0000)]
scripts/ add support for the MR1750

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

4 years agoar71xx: add user-space support for the OpenMesh MR1750 board
John Crispin [Mon, 14 Sep 2015 20:11:01 +0000 (20:11 +0000)]
ar71xx: add user-space support for the OpenMesh MR1750 board

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

4 years agoar71xx: add kernel support for the OpenMesh MR1750 board
John Crispin [Mon, 14 Sep 2015 20:10:43 +0000 (20:10 +0000)]
ar71xx: add kernel support for the OpenMesh MR1750 board

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

4 years agoscripts/ Fix u-boot image md5sum check
John Crispin [Mon, 14 Sep 2015 20:10:10 +0000 (20:10 +0000)]
scripts/ Fix u-boot image md5sum check

The u-boot on Open Mesh devices checks the whole transfered image against a
md5sum. This is stored inside the option filemd5sum inside the
fwupgrade.cfg. The bootloader will not check it when this setting is
missing and could therefore write invalid images to the flash.

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

4 years agorealview: create sd card image for qemu
John Crispin [Mon, 14 Sep 2015 20:10:04 +0000 (20:10 +0000)]
realview: create sd card image for qemu

enables a real rootfs with custom size

use qemu with:
qemu-system-arm -M realview-pbx-a9 \
-kernel openwrt-realview-vmlinux.elf \
-nographic -m 1024M \
-sd openwrt-realview-sdcard.img \
--append "console=ttyAMA0 root=/dev/mmcblk0p1"

modified script from brcm2708 target

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

4 years agorealview: enable sd card support
John Crispin [Mon, 14 Sep 2015 20:09:56 +0000 (20:09 +0000)]
realview: enable sd card support

qemu can be run with -sd <imagename>

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

4 years agoar71xx: assign proper GPIO pin for Ubiquiti Nanostation models
John Crispin [Mon, 14 Sep 2015 20:09:40 +0000 (20:09 +0000)]
ar71xx: assign proper GPIO pin for Ubiquiti Nanostation models

The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the
* Ubiquiti Nanostation M XM: Pin 8
* Ubiquiti Nanostation M XW: Pin 2

The previous definition of the pins was mixed up between XM and XW model.

Signed-off-by: Lars Kruse <>
SVN-Revision: 46922

4 years agoramips: Added WIZnet WizFi630A Platform based on Ralink RT5350
John Crispin [Mon, 14 Sep 2015 20:09:31 +0000 (20:09 +0000)]
ramips: Added WIZnet WizFi630A Platform based on Ralink RT5350

This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor.

Signed-off-by: Tobias Welz <>
SVN-Revision: 46921

4 years agolantiq: Update to the latest DSL driver / application versions
John Crispin [Mon, 14 Sep 2015 20:09:22 +0000 (20:09 +0000)]
lantiq: Update to the latest DSL driver / application versions

Thanks to Sylwester Petela for testing my patch (successfully on an
ADSL connection) and for pointing out some configuration mistakes.
Others (including me) have also successfully tested this extensively
on VDSL connections.

Signed-off-by: Martin Blumenstingl <>
SVN-Revision: 46920

4 years agobase-files: sysupgrade: quote source image name
John Crispin [Mon, 14 Sep 2015 20:09:06 +0000 (20:09 +0000)]
base-files: sysupgrade: quote source image name

get_image() eval a filename without quoting it, resulting in errors with
filenames containing characters that need to be escaped.
    $ sysupgrade -T -f ./cfg\(12\).tar.gz img.bin; echo $?
    Image check 'platform_check_image' failed.
    Invalid config file. Please use only .tar.gz files
    $ mv cfg\(12\).tar.gz cfg_12.tar.gz
    $ mv img\(1\).bin img.bin
    sysupgrade -T -f ./cfg_12.tar.gz img.bin; echo $?

Enclose the content of $from in double quotes.

Signed-off-by: Adrien Schildknecht <>
SVN-Revision: 46919

4 years agoramips: add support for Planex DB-WRT01
John Crispin [Mon, 14 Sep 2015 20:08:55 +0000 (20:08 +0000)]
ramips: add support for Planex DB-WRT01

This patch add support for Planex DB-WRT01. DANBOARD route on
 the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio.
 DANBOARD is Cartoon character.

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

4 years agolantiq: get more status information from xDSL
John Crispin [Mon, 14 Sep 2015 20:08:39 +0000 (20:08 +0000)]
lantiq: get more status information from xDSL

Signed-off-by: Florian Eckert <>
Signed-off-by: Helge Mader <>
Tested-by: Martin Blumenstingl <>
Tested-by: Andre Heider <>
SVN-Revision: 46917

4 years agokernel: dwc2: Add missing config symbol definition
John Crispin [Mon, 14 Sep 2015 20:08:25 +0000 (20:08 +0000)]
kernel: dwc2: Add missing config symbol definition

DWC2 driver has config symbol CONFIG_USB_DWC2_DEBUG_PERIODIC which
should be defined for the module build.

Signed-off-by: Antti Seppälä <>
SVN-Revision: 46916

4 years agolantiq: Add AR9 compatibility bits to DWC2 driver
John Crispin [Mon, 14 Sep 2015 20:08:15 +0000 (20:08 +0000)]
lantiq: Add AR9 compatibility bits to DWC2 driver

Add AR9 DTS definition to be recognized by the DWC2 driver.

The same driver parameters can be mostly used except that some boards
seem to erroneously report OTG HNP/SRP capability of the USB HCD.
Forcing the HNP/SRP off allows these boards to work with the DWC2 as well.

Signed-off-by: Antti Seppälä <>
SVN-Revision: 46915

4 years agolantiq: Introduce DWC2 compatible DTS definitions for AR9 USB
John Crispin [Mon, 14 Sep 2015 20:08:07 +0000 (20:08 +0000)]
lantiq: Introduce DWC2 compatible DTS definitions for AR9 USB

Since the AR9 USB is very similar to the VR9 USB it too can be used with
the upstream DWC2 driver.

Here are the DTS definitions which make it compatible with the DWC2

Signed-off-by: Antti Seppälä <>
SVN-Revision: 46914

4 years agolantiq: Initialize USB on AR9 platform
John Crispin [Mon, 14 Sep 2015 20:07:23 +0000 (20:07 +0000)]
lantiq: Initialize USB on AR9 platform

Based on the ltq-hcd driver the AR9 USB can be initialized the same way
as the VR9 platform. Use the same initialization bits for both

Signed-off-by: Antti Seppälä <>
SVN-Revision: 46913

4 years agoimagebuilder: store package lists in cache directory
Jo-Philipp Wich [Mon, 14 Sep 2015 16:57:03 +0000 (16:57 +0000)]
imagebuilder: store package lists in cache directory

Force opkg to store the downloaded repository indizes into the cache
directory as well, this way the IB can be used in an offline setting
once all required files have been cached.

Signed-off-by: Jo-Philipp Wich <>
SVN-Revision: 46912

4 years agoopkg: expose lists_dir option as command line argument
Jo-Philipp Wich [Mon, 14 Sep 2015 16:56:40 +0000 (16:56 +0000)]
opkg: expose lists_dir option as command line argument

Expose the "lists_dir" configuration file option as command line
switch so that we can override it for the Image Builder environment.

Also add a more standard PKG_MAINTAINER variable while touching
the Makefile.

Signed-off-by: Jo-Philipp Wich <>
SVN-Revision: 46911

4 years agotools/make-ext4fs: prefer static linking
Jo-Philipp Wich [Mon, 14 Sep 2015 15:15:15 +0000 (15:15 +0000)]
tools/make-ext4fs: prefer static linking

Link zlib statically on Linux systems.

Signed-off-by: Jo-Philipp Wich <>
SVN-Revision: 46909

4 years agotools/mtd-utils: prefer static linking
Jo-Philipp Wich [Mon, 14 Sep 2015 14:51:07 +0000 (14:51 +0000)]
tools/mtd-utils: prefer static linking

 - Add patch for optional static linking preference
 - Prefer static linking on Linux systems
 - Enable verbose compiler messages when building with V=c

Signed-off-by: Jo-Philipp Wich <>
SVN-Revision: 46908

4 years agotools/xz: disable shared library
Jo-Philipp Wich [Mon, 14 Sep 2015 14:03:21 +0000 (14:03 +0000)]
tools/xz: disable shared library

Force a static build of the xz utilities in order to avoid the dependency on a
shared which might collide with the distro version.

Signed-off-by: Jo-Philipp Wich <>
SVN-Revision: 46907

4 years agoinclude: toplevel: drop unused OPENWRTVERSION variable
Rafał Miłecki [Mon, 14 Sep 2015 07:40:40 +0000 (07:40 +0000)]
include: toplevel: drop unused OPENWRTVERSION variable

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

4 years agoramips: fix chunked-io support for big flash chips (#20504)
Felix Fietkau [Mon, 14 Sep 2015 06:54:15 +0000 (06:54 +0000)]
ramips: fix chunked-io support for big flash chips (#20504)

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

4 years agomac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers...
Felix Fietkau [Mon, 14 Sep 2015 06:51:10 +0000 (06:51 +0000)]
mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers in hostapd makefile

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

4 years agoath10k: reduce dma burst size on newer firmware to fix crashes
Felix Fietkau [Sun, 13 Sep 2015 20:44:09 +0000 (20:44 +0000)]
ath10k: reduce dma burst size on newer firmware to fix crashes

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

4 years agotoplevel: fix release name
Steven Barth [Sun, 13 Sep 2015 18:02:54 +0000 (18:02 +0000)]
toplevel: fix release name

Signed-off-by: Steven Barth <>
SVN-Revision: 46899

4 years agoRevert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit)
Felix Fietkau [Sun, 13 Sep 2015 17:39:24 +0000 (17:39 +0000)]
Revert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit)

SVN-Revision: 46898

4 years agogcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)
Felix Fietkau [Sun, 13 Sep 2015 17:38:55 +0000 (17:38 +0000)]
gcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)

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

4 years agomusl: fix termios struct c_ispeed/c_ospeed field names
Felix Fietkau [Sun, 13 Sep 2015 17:38:49 +0000 (17:38 +0000)]
musl: fix termios struct c_ispeed/c_ospeed field names

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

4 years agoath10k: make title for the old firmware config option more meaningful
Felix Fietkau [Sun, 13 Sep 2015 17:38:42 +0000 (17:38 +0000)]
ath10k: make title for the old firmware config option more meaningful

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

4 years agopackages: uboot-sunxi: fix mmc transfer timeout for slow sdcards.
Zoltan Herpai [Sun, 13 Sep 2015 15:11:27 +0000 (15:11 +0000)]
packages: uboot-sunxi: fix mmc transfer timeout for slow sdcards.

This should fix a issue reported in ticket #20387.

Signed-off-by: Yousong Zhou <>
SVN-Revision: 46894

4 years agoar71xx: fix build of lzma-loader with binutils 2.25.1
Hauke Mehrtens [Sat, 12 Sep 2015 18:57:37 +0000 (18:57 +0000)]
ar71xx: fix build of lzma-loader with binutils 2.25.1

To make the lzma-loader build with binutils 2.25.1 it is needed to
remove the .MIPS.abiflags section otherwise I get the following compile

mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S loader loader.bin
mips-openwrt-linux-musl-objcopy: Warning: Writing section `.text' to huge (ie negative) file offset 0xffffffff80a00000.
mips-openwrt-linux-musl-objcopy:loader.bin[.text]: File truncated

This should close #20487.

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

4 years agobcm53xx: add NAND flash chip description for Asus RT-AC87U
Hauke Mehrtens [Sat, 12 Sep 2015 11:10:34 +0000 (11:10 +0000)]
bcm53xx: add NAND flash chip description for Asus RT-AC87U

This should fix #20492.

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

4 years agoramips: enable external amplifier for Xiaomi MiWiFi Mini
Felix Fietkau [Sat, 12 Sep 2015 10:22:41 +0000 (10:22 +0000)]
ramips: enable external amplifier for Xiaomi MiWiFi Mini

Attempt to boost the 2.4 GHz signal, currently very low.

Signed-off-by: D. Andrei Măceș <>
SVN-Revision: 46891

4 years agobase-files: fix typo in core dump pattern sysctl entry (fixes #20489)
Felix Fietkau [Sat, 12 Sep 2015 08:57:59 +0000 (08:57 +0000)]
base-files: fix typo in core dump pattern sysctl entry (fixes #20489)

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

4 years agobcm53xx: reorder some arch patches
Rafał Miłecki [Fri, 11 Sep 2015 22:36:05 +0000 (22:36 +0000)]
bcm53xx: reorder some arch patches

This moves arch patches affecting many DTS files. Thanks to this change
we can put some ready-to-mainline patches at 300-319 and simplify
backporting process.

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

4 years agowpan-tools: bump to wpan-tools-0.5
Hauke Mehrtens [Fri, 11 Sep 2015 20:52:35 +0000 (20:52 +0000)]
wpan-tools: bump to wpan-tools-0.5

Signed-off-by: Varka Bhadram <>
SVN-Revision: 46888

4 years agomac80211: use wl18xx-fw-4.bin
Hauke Mehrtens [Fri, 11 Sep 2015 20:37:47 +0000 (20:37 +0000)]
mac80211: use wl18xx-fw-4.bin

The driver only supports wl18xx-fw-4.bin and does not support the old
firmware wl18xx-fw-3.bin and more.

The wl18xx-conf.bin file was removed upstream it does not fit all
devices any more, see this on how to generate one:

If someone has a config file for the common platforms with the wifi nic
OpenWrt uses please send a patch.

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

4 years agomac80211: add iwlagn debug options
Hauke Mehrtens [Fri, 11 Sep 2015 20:37:23 +0000 (20:37 +0000)]
mac80211: add iwlagn debug options

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

4 years agomac80211: refresh Intel firmware
Hauke Mehrtens [Fri, 11 Sep 2015 20:36:35 +0000 (20:36 +0000)]
mac80211: refresh Intel firmware

- sort firmware
- add newer firmware for Intel chipsets
- newer Intel MVM require firmware

only compile tested

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

4 years agomac80211: iwlagn: enable iwlmvm
Hauke Mehrtens [Fri, 11 Sep 2015 20:36:11 +0000 (20:36 +0000)]
mac80211: iwlagn: enable iwlmvm

- reported in forums
- Intel 7260 and 3160 need IWLMVM drivers/firmware

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

4 years agomac80211: update linux-firmware to 2014-09-03
Hauke Mehrtens [Fri, 11 Sep 2015 20:35:11 +0000 (20:35 +0000)]
mac80211: update linux-firmware to 2014-09-03

Signed-off-by: Dirk Neukirchen <>
[update to 2014-09-03 and change to xz]
Signed-off-by: Hauke Mehrtens <>
SVN-Revision: 46883

4 years agomac80211: rt2800-usb: enable "unknown" USB IDs
Hauke Mehrtens [Fri, 11 Sep 2015 20:31:58 +0000 (20:31 +0000)]
mac80211: rt2800-usb: enable "unknown" USB IDs

- should fix issue:
- enable support of more USB stick with rt28xx chipsets
- experimental: USB-IDs not in vendor linux driver
- experimental: "exact chipset is unknown"
- experimental: "enabling these devices may or may not work"

only compile tested

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

4 years agokernel: add CONFIG_MIPS_CDMM config option
Hauke Mehrtens [Fri, 11 Sep 2015 20:31:32 +0000 (20:31 +0000)]
kernel: add CONFIG_MIPS_CDMM config option

This driver was added in kernel 4.1.

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

4 years agobrcm47xx: detect Netgear R6300 V1 & support reset button
Rafał Miłecki [Fri, 11 Sep 2015 20:00:02 +0000 (20:00 +0000)]
brcm47xx: detect Netgear R6300 V1 & support reset button

It's still far from complete support.

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

4 years agokernel: Added missing symbols into 4.1 & 4.0 kernel default .config
Hauke Mehrtens [Fri, 11 Sep 2015 19:02:53 +0000 (19:02 +0000)]
kernel: Added missing symbols into 4.1 & 4.0 kernel default .config

As requested here #20432 I've
tried to fix the missing symbols from the specified default kernel
config files.
I ran into this problem trying to build an image for x86_64 target
with a custom kernel configuration.

Signed-off-by: Manganini Mirko <>
SVN-Revision: 46879

4 years agobrcm47xx: update to kernel 4.1
Hauke Mehrtens [Fri, 11 Sep 2015 18:52:42 +0000 (18:52 +0000)]
brcm47xx: update to kernel 4.1

This makes bcm53xx use kernel 4.1 by default now.

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

4 years agobcm53xx: update to kernel 4.1
Hauke Mehrtens [Fri, 11 Sep 2015 18:52:18 +0000 (18:52 +0000)]
bcm53xx: update to kernel 4.1

This makes bcm53xx use kernel 4.1 by default now.

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

4 years agotools: add tar host build, required for --sort=name which was only added in the lates...
Felix Fietkau [Fri, 11 Sep 2015 18:38:02 +0000 (18:38 +0000)]
tools: add tar host build, required for --sort=name which was only added in the latest version

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

4 years agoscript: downlaod: change mirror for
Hauke Mehrtens [Fri, 11 Sep 2015 17:59:12 +0000 (17:59 +0000)]
script: downlaod: change mirror for now suggests a different mirror address. this one also
support IPv6 connections and was faster for me.

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

4 years agobinutils: add binutils 2.25.1
Hauke Mehrtens [Fri, 11 Sep 2015 17:58:39 +0000 (17:58 +0000)]
binutils: add binutils 2.25.1

This adds binutils 2.25.1 as an option to OpenWrt.

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

4 years agogcc: update gcc 5.x musl patches
Hauke Mehrtens [Fri, 11 Sep 2015 17:57:39 +0000 (17:57 +0000)]
gcc: update gcc 5.x musl patches

This replaces the musl patches for gcc with the versions which are in
gcc trunk.

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

4 years agobrcm47xx: increase max image size
Hauke Mehrtens [Fri, 11 Sep 2015 17:55:28 +0000 (17:55 +0000)]
brcm47xx: increase max image size

the trx utile uses a maximum image size of 7.2MB. There are brcm47xx
devices even with serial flash with bigger flash chips, but OpenWrt was
not able to create images for these devices. This patch provides an
additional parameter which increases this limit to 32 MB. There is a
warning in the trx utile code which suggests that bigger images could
overwrite the nvram partition on some devices, but normally the program
writing the image should make sure that it is safe to write it to the

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

4 years agobrcm47xx: break long lines in image Makefile
Hauke Mehrtens [Fri, 11 Sep 2015 17:54:55 +0000 (17:54 +0000)]
brcm47xx: break long lines in image Makefile

This patch changes nothing on the behaviour, it just breaks long lines
with bin/trx to make it easier to add additional parameters.

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

4 years agobrcm2708: remove linux 3.18 support
Felix Fietkau [Fri, 11 Sep 2015 17:17:30 +0000 (17:17 +0000)]
brcm2708: remove linux 3.18 support

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

4 years agolantiq: Use the BAR0 base address in the ath PCI fixup code
Felix Fietkau [Fri, 11 Sep 2015 16:35:46 +0000 (16:35 +0000)]
lantiq: Use the BAR0 base address in the ath PCI fixup code

Fixes support for AR9287 on TP-Link TD-W8980 and possibly other devices
which have an ath wifi chip at a PCI address other than 0xb8000000
(TD-W8980 for example has it's wifi chip at 0xbc000000).

Signed-off-by: Geoffrey McRae <>
Signed-off-by: Martin Blumenstingl <>
SVN-Revision: 46869

4 years agougps: fix filename to eliminate build problems
Felix Fietkau [Fri, 11 Sep 2015 16:35:32 +0000 (16:35 +0000)]
ugps: fix filename to eliminate build problems

due to ordering PKG_SOURCE_VERSION is not defined leading
to a filename "ugps-.tar.bz2"
This errors out when an older version is in the dl/ dir (or LOCALMIRROR)

fix order and use uhttpd file naming scheme to visibly include date

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

4 years agobase-files: set kernel.core_pattern in sysctl.conf
Felix Fietkau [Fri, 11 Sep 2015 16:35:17 +0000 (16:35 +0000)]
base-files: set kernel.core_pattern in sysctl.conf

Move the pattern setting from netifd's service script to
/etc/sysctl.conf.  Put the timestamp component '%t' just after
executable name '%e' for more natural order from output of ls command.

Signed-off-by: Yousong Zhou <>
SVN-Revision: 46867

4 years agoutil-linux: add prlimit command.
Felix Fietkau [Fri, 11 Sep 2015 16:35:02 +0000 (16:35 +0000)]
util-linux: add prlimit command.

Signed-off-by: Yousong Zhou <>
SVN-Revision: 46866

4 years agomvsw61xx: match swconfig function names
Felix Fietkau [Fri, 11 Sep 2015 16:34:49 +0000 (16:34 +0000)]
mvsw61xx: match swconfig function names

Signed-off-by: Claudio Leite <>
SVN-Revision: 46865

4 years agomvsw61xx: use standard swconfig get_port_link
Felix Fietkau [Fri, 11 Sep 2015 16:34:35 +0000 (16:34 +0000)]
mvsw61xx: use standard swconfig get_port_link

The previous "link" and "status" functions were non-standard,
and thus less useful for parsing.

Signed-off-by: Claudio Leite <>
SVN-Revision: 46864

4 years agoipkg-build: add ogargs to outer tar/ipk
Felix Fietkau [Fri, 11 Sep 2015 16:34:22 +0000 (16:34 +0000)]
ipkg-build: add ogargs to outer tar/ipk

prevent name:uid leaks of build system

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

4 years agoar71xx: Restore buildability of the AP121 target
Felix Fietkau [Fri, 11 Sep 2015 16:34:08 +0000 (16:34 +0000)]
ar71xx: Restore buildability of the AP121 target

Increase space for kernel and also introduce a 8M flash target into the

Signed-off-by: Attila Lendvai <>
SVN-Revision: 46862

4 years agohostapd: Add eapol_version config option
Felix Fietkau [Fri, 11 Sep 2015 16:33:54 +0000 (16:33 +0000)]
hostapd: Add eapol_version config option

Add eapol_version to the openwrt wireless config ssid section.
Only eapol_version=1 and 2 will get passed to hostapd, the default
in hostapd is 2.

This is only useful for really old client devices that don't
accept eapol_version=2.

Signed-off-by: Helmut Schaa <>
SVN-Revision: 46861

4 years agoopenvpn: remove __DATE__ from options output
Felix Fietkau [Fri, 11 Sep 2015 16:33:39 +0000 (16:33 +0000)]
openvpn: remove __DATE__ from options output

reported by:

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

4 years agoinclude/ make tar reproducible
Felix Fietkau [Fri, 11 Sep 2015 16:33:26 +0000 (16:33 +0000)]
include/ make tar reproducible

several packages reported different file order between builds
make binutils, kmod-sched reproducible

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

4 years agoyaffs2: remove __TIME__ __DATE__ macros
Felix Fietkau [Fri, 11 Sep 2015 16:33:12 +0000 (16:33 +0000)]
yaffs2: remove __TIME__ __DATE__ macros

prevent compiler errors with gcc 4.9
increase reproducibility

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

4 years agoramips: Enable RTC support for PBR-M1
Felix Fietkau [Fri, 11 Sep 2015 16:32:58 +0000 (16:32 +0000)]
ramips: Enable RTC support for PBR-M1

The PBR-M1 and other upcoming MT7621 boards have RTC chips on them. The
PBR-M1 also selects the kmod-rtc-pcf8563 by default. But the module itself
will not be build because CONFIG_RTC_CLASS is currently not enabled for its

Enabling this option should fix the problem of the missing rtc device on
these boards.

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

4 years agoar71xx: fix ar724x clock calculation
Felix Fietkau [Fri, 11 Sep 2015 16:32:45 +0000 (16:32 +0000)]
ar71xx: fix ar724x clock calculation

According to the AR7242 datasheet section 2.8, AR724X CPUs use a 40MHz
input clock as the REF_CLK instead of 5MHz.

The correct CPU PLL calculation procedure is as follows:

This patch is compatible with the current calculation procedure with default
DIV and REF_DIV values.

Test on both AR7240, AR7241 and AR7242.

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

4 years agobrcm2708-gpu-fw: update to latest version
Felix Fietkau [Fri, 11 Sep 2015 16:32:28 +0000 (16:32 +0000)]
brcm2708-gpu-fw: update to latest version

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

4 years agobrcm2708: add kmod-sound-soc-raspidac3
Felix Fietkau [Fri, 11 Sep 2015 16:32:15 +0000 (16:32 +0000)]
brcm2708: add kmod-sound-soc-raspidac3

This adds support for RaspiDAC Rev.3x

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

4 years agobrcm2708: update 4.1 patches
Felix Fietkau [Fri, 11 Sep 2015 16:32:00 +0000 (16:32 +0000)]
brcm2708: update 4.1 patches

As usual, this patches were taken (and rebased) from

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

4 years agotarget: ar71xx: add support for COMFAST CF-E316N v2 board
Felix Fietkau [Fri, 11 Sep 2015 16:31:35 +0000 (16:31 +0000)]
target: ar71xx: add support for COMFAST CF-E316N v2 board

This adds full support (sans sysupgrading from vendor firmware) for the COMFAST
CF-E316N v2 (aka CF-E316V2, CF-E316N-V2 and CF-E316Nv2.0, no FCC ID) by
Shenzhen Four Seas Global Link Network Technology Co., Ltd (this company is
actively refusing to provide GPL'd sources for the OpenWrt version they ship
with the device, damn them).

Signed-off-by: Paul Fertser <>
SVN-Revision: 46852

4 years agohostapd: work around unconditional libopenssl build dependency
Felix Fietkau [Fri, 11 Sep 2015 16:31:18 +0000 (16:31 +0000)]
hostapd: work around unconditional libopenssl build dependency

As the OpenWrt build system only resolves build dependencies per directory,
all hostapd variants were causing libopenssl to be downloaded and built,
not only wpad-mesh. Fix this by applying the same workaround as in

Signed-off-by: Matthias Schiffer <>
SVN-Revision: 46851

4 years agoopkg: work around unconditional libopenssl build dependency
Felix Fietkau [Fri, 11 Sep 2015 16:31:01 +0000 (16:31 +0000)]
opkg: work around unconditional libopenssl build dependency

As the OpenWrt build system only resolves build dependencies per directory,
all opkg variants were causing libopenssl to be downloaded and built,
not only opkg-smime. Fix this by applying the same workaround as in

Signed-off-by: Matthias Schiffer <>
SVN-Revision: 46850

4 years agobase-files: change banner to Designated Driver release
Rafał Miłecki [Fri, 11 Sep 2015 08:56:37 +0000 (08:56 +0000)]
base-files: change banner to Designated Driver release

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

4 years agocomgt-ncm: Add possibility to choose PDP context type
Steven Barth [Fri, 11 Sep 2015 06:46:42 +0000 (06:46 +0000)]
comgt-ncm: Add possibility to choose PDP context type

By setting the option pdptype to IP, IPV6 or IPV4V6 the user can
choose the context type between IPv4, IPv6 and dual stack,
respectively. The default setting is dual stack, except if option
ipv6=0 is specified, in which case IPv4 context is the default.
This allows for an out-of-the-box IPv6 support with modems
utilizing NCM-like protocols.

While we are at it, also add commands for Sierra DirectIP modems
(currently untested), which will allow us to drop the separate
comgt-directip package (once tested and verified working).

Signed-off-by: Matti Laakso <>
SVN-Revision: 46844

4 years agouqmi: Add proper IPv6 support
Steven Barth [Fri, 11 Sep 2015 06:46:40 +0000 (06:46 +0000)]
uqmi: Add proper IPv6 support

Use the new --ip-family option to start both IPv4 and IPv6 sessions
by default. Autoconnect can't be used when starting two sessions,
so revert back to using the client IDs and packet data handles for
handling the network connection.

Some modem firmwares do not implement a RA server, therefore by
default use outband IP configuration and static addressing. Some
other firmwares report bogus IP configuration with the WDS get
current settings command. In this case inband configuration with
DHCP/RA can be optionally enabled by setting option dhcp to 1.

Per 3GPP standard a /64 prefix is served to all clients, which is
extended to LAN as specified in RFC 7278.

v2: Restrict the IPv6 gateway route source address
Signed-off-by: Matti Laakso <>
SVN-Revision: 46843

4 years agofirewall: Remove src_port from firewall.config to receive dhcpv6 replies
Steven Barth [Fri, 11 Sep 2015 06:46:35 +0000 (06:46 +0000)]
firewall: Remove src_port from firewall.config to receive dhcpv6 replies

Seems like my second try was again whitespace broken. Sorry for the noise.

Remove src_port from firewall.config to receive dhcpv6 replies. Fixes #20295.

Signed-off-by: Anselm Eberhardt <>
SVN-Revision: 46842

4 years agonetifd: update to the latest version, fixes a WDS STA mode regression caused by multi...
Felix Fietkau [Thu, 10 Sep 2015 21:00:19 +0000 (21:00 +0000)]
netifd: update to the latest version, fixes a WDS STA mode regression caused by multicast-to-unicast handling (#20466)

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