openwrt/openwrt.git
8 years agoramips: rt305x: update kernel config symbols
John Crispin [Mon, 2 Nov 2015 10:16:48 +0000 (10:16 +0000)]
ramips: rt305x: update kernel config symbols

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 47340

8 years agomusl: add upstream patch for open_[w]memstream
John Crispin [Mon, 2 Nov 2015 10:16:40 +0000 (10:16 +0000)]
musl: add upstream patch for open_[w]memstream

This patch fixes corner case in open_memstrem, when stream is created,
but nothing is written.
This case is present in tgtadm, tgtd management tool.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 47339

8 years agopackage/devel/perf: fix build for kernel 4.1
John Crispin [Mon, 2 Nov 2015 10:16:28 +0000 (10:16 +0000)]
package/devel/perf: fix build for kernel 4.1

This fix contains 2 parts:
 - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file"
 - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47338

8 years agobcm53xx: Netgear R8000: define GPIO powering USB ports
Rafał Miłecki [Sun, 1 Nov 2015 22:21:59 +0000 (22:21 +0000)]
bcm53xx: Netgear R8000: define GPIO powering USB ports

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

8 years agobcm53xx: replace USB patch fixing power control with the most recent version
Rafał Miłecki [Sun, 1 Nov 2015 22:21:49 +0000 (22:21 +0000)]
bcm53xx: replace USB patch fixing power control with the most recent version

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

8 years agokernel: update kernel 3.18 to version 3.18.23
Hauke Mehrtens [Sun, 1 Nov 2015 13:45:57 +0000 (13:45 +0000)]
kernel: update kernel 3.18 to version 3.18.23

Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

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

8 years agoar71xx: fix regression in building TL-WDR6500-v2 images
Felix Fietkau [Sun, 1 Nov 2015 12:38:44 +0000 (12:38 +0000)]
ar71xx: fix regression in building TL-WDR6500-v2 images

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

8 years agokobs-ng: fix compile errors
Felix Fietkau [Sun, 1 Nov 2015 12:38:38 +0000 (12:38 +0000)]
kobs-ng: fix compile errors

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

8 years agoimx6: add v4.1 support
Felix Fietkau [Sun, 1 Nov 2015 12:19:32 +0000 (12:19 +0000)]
imx6: add v4.1 support

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

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

8 years agokirkwood: add initial support for NSA310s
Luka Perkov [Sun, 1 Nov 2015 01:13:16 +0000 (01:13 +0000)]
kirkwood: add initial support for NSA310s

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47330

8 years agogeneric: 3.18: refresh patches
Luka Perkov [Sun, 1 Nov 2015 00:04:21 +0000 (00:04 +0000)]
generic: 3.18: refresh patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47329

8 years agouboot-envtools: update to 2015.10
Luka Perkov [Sat, 31 Oct 2015 19:46:56 +0000 (19:46 +0000)]
uboot-envtools: update to 2015.10

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47328

8 years agotools/cmake: update to 3.3.2
Felix Fietkau [Sat, 31 Oct 2015 09:31:06 +0000 (09:31 +0000)]
tools/cmake: update to 3.3.2

Update cmake to 3.3.2 and refresh patches.
Add a secondary download location.

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

8 years agomalta: make eth0 the wan interface by default
Felix Fietkau [Sat, 31 Oct 2015 09:30:57 +0000 (09:30 +0000)]
malta: make eth0 the wan interface by default

Many packages for OpenWrt currently assume that lan is the "internal"
side of the network map, e.g. if installed, dnsmasq will hand out DHCP
leases on lan, firewall will allow forwarding on lan.

While at it, also configure a lan interface if eth1 exists.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47326

8 years agomalta: use as a default type device
Felix Fietkau [Sat, 31 Oct 2015 09:30:37 +0000 (09:30 +0000)]
malta: use as a default type device

There is currently no relevant definition for developerboard device type
in include/target.mk, thus packages like iptables, firewall, dnsmasq
etc. are missing in the default images, rendering it almost useless
for regular testing or normal use.

With this change, currently a default set of packages for "router" will
be installed to malta firmware images.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47325

8 years agomalta: set CPU_TYPE:=24kc.
Felix Fietkau [Sat, 31 Oct 2015 09:30:14 +0000 (09:30 +0000)]
malta: set CPU_TYPE:=24kc.

There are instructions (e.g. wsbh) only available in MIPS32R2 which is
the isa level used by many MIPS targets in OpenWrt.  As we use the malta
target mostly for development and testing purposes, setting the CPU_TYPE
to 24Kc will make the emulation more real.

The following is output from qemu-system-mipsel 2.3.0

    root@OpenWrt:/# cat /proc/cpuinfo  | grep 'cpu model\|isa'
    cpu model               : MIPS 24Kc V0.0  FPU V0.0
    isa                     : mips1 mips2 mips32r1 mips32r2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47324

8 years agotarget.mk: add optimization flags for MIPS 24Kc.
Felix Fietkau [Sat, 31 Oct 2015 09:30:03 +0000 (09:30 +0000)]
target.mk: add optimization flags for MIPS 24Kc.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47323

8 years agogeneric: fix unrecognized opcode wsbh when building for MIPS16.
Felix Fietkau [Sat, 31 Oct 2015 09:29:57 +0000 (09:29 +0000)]
generic: fix unrecognized opcode wsbh when building for MIPS16.

The issue was found and reported by hynman [1] when compiling reaver for ar71xx
(Big Endian MIPS).

    {standard input}: Assembler messages:
    {standard input}:79: Error: unrecognized opcode `wsbh $2,$2'
    {standard input}:90: Error: unrecognized opcode `wsbh $3,$17'
    {standard input}:208: Error: unrecognized opcode `wsbh $2,$2'
    make[3]: *** [builder.o] Error 1

The patch was already in upstream since kernel release 4.3-rc5.

 [1] https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47322

8 years agoar71xx/image: remove old unused build code for TPLINK
Felix Fietkau [Sat, 31 Oct 2015 09:29:48 +0000 (09:29 +0000)]
ar71xx/image: remove old unused build code for TPLINK

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47321

8 years agoar71xx/image: remove old unused build code for TPLINKOLD
Felix Fietkau [Sat, 31 Oct 2015 09:29:38 +0000 (09:29 +0000)]
ar71xx/image: remove old unused build code for TPLINKOLD

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47320

8 years agoar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 instead...
Felix Fietkau [Sat, 31 Oct 2015 09:29:25 +0000 (09:29 +0000)]
ar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 instead of squashfs-only

All other tplink images use squashfs+jffs2. I don't see any reason why
this board should use squashfs-only

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47319

8 years agoar71xx/image: remove old unused build step TPLINK-64K
Felix Fietkau [Sat, 31 Oct 2015 09:29:18 +0000 (09:29 +0000)]
ar71xx/image: remove old unused build step TPLINK-64K

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47318

8 years agoar71xx/image: migrate tl-wdr6500-v2 to new image build steps
Felix Fietkau [Sat, 31 Oct 2015 09:29:09 +0000 (09:29 +0000)]
ar71xx/image: migrate tl-wdr6500-v2 to new image build steps

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47317

8 years agoar71xx/image: refactor templates tplink-chn-v2
Felix Fietkau [Sat, 31 Oct 2015 09:29:01 +0000 (09:29 +0000)]
ar71xx/image: refactor templates tplink-chn-v2

SVN-Revision: 47316

8 years agoar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image
Felix Fietkau [Sat, 31 Oct 2015 09:28:50 +0000 (09:28 +0000)]
ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47315

8 years agooxnas: image: Remove custom mkfs targz override as base should be fine now
Felix Fietkau [Sat, 31 Oct 2015 09:28:42 +0000 (09:28 +0000)]
oxnas: image: Remove custom mkfs targz override as base should be fine now

It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47314

8 years agokirkwood: image: Remove custom mkfs targz override as base should be fine now
Felix Fietkau [Sat, 31 Oct 2015 09:28:34 +0000 (09:28 +0000)]
kirkwood: image: Remove custom mkfs targz override as base should be fine now

It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47313

8 years agoimx6: image: Remove custom mkfs targz override as base should be fine now
Felix Fietkau [Sat, 31 Oct 2015 09:28:25 +0000 (09:28 +0000)]
imx6: image: Remove custom mkfs targz override as base should be fine now

It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47312

8 years agoinclude/image.mk: Use PROFILE_SANITIZED in targz image task
Felix Fietkau [Sat, 31 Oct 2015 09:28:14 +0000 (09:28 +0000)]
include/image.mk: Use PROFILE_SANITIZED in targz image task

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47311

8 years agooxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Felix Fietkau [Sat, 31 Oct 2015 09:28:05 +0000 (09:28 +0000)]
oxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47310

8 years agokirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED var
Felix Fietkau [Sat, 31 Oct 2015 09:27:56 +0000 (09:27 +0000)]
kirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED var

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47309

8 years agoimx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Felix Fietkau [Sat, 31 Oct 2015 09:27:49 +0000 (09:27 +0000)]
imx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47308

8 years agoinclude/image.mk: Introduce sanitized profile variable
Felix Fietkau [Sat, 31 Oct 2015 09:27:04 +0000 (09:27 +0000)]
include/image.mk: Introduce sanitized profile variable

Making common code reusable as there's a lot of duplicate code in imx6,
kirkwood and oxnas archs.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47307

8 years agoramips: fix for kernel 4.0 napi repoll need return budgets number
Felix Fietkau [Fri, 30 Oct 2015 22:32:49 +0000 (22:32 +0000)]
ramips: fix for kernel 4.0 napi repoll need return budgets number

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47306

8 years agox86/generic: enable radeon drm driver
Felix Fietkau [Fri, 30 Oct 2015 22:32:41 +0000 (22:32 +0000)]
x86/generic: enable radeon drm driver

This enables modesetting for radeon based boards.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 47305

8 years agox86/generic: enable pata_atiixp driver
Felix Fietkau [Fri, 30 Oct 2015 22:32:19 +0000 (22:32 +0000)]
x86/generic: enable pata_atiixp driver

This enables booting from devices that use an ATI PATA controller for
the boot device, such as the embedded CF cards in Fujitsu-Siemens Futro
thin-clients.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 47304

8 years agox86/generic: refresh subtarget kernel config
Felix Fietkau [Fri, 30 Oct 2015 22:32:12 +0000 (22:32 +0000)]
x86/generic: refresh subtarget kernel config

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 47303

8 years agokernel: add some missing symbols for 4.3
Felix Fietkau [Fri, 30 Oct 2015 22:32:04 +0000 (22:32 +0000)]
kernel: add some missing symbols for 4.3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47302

8 years agorealview: Create ext4 image by default
Felix Fietkau [Fri, 30 Oct 2015 22:31:47 +0000 (22:31 +0000)]
realview: Create ext4 image by default

Following the additions in r46924, enable the 'ext4' feature for
realview target so the ext4 image is created by default.

Signed-off-by: Dov Murik <dov.murik@gmail.com>
SVN-Revision: 47301

8 years agotools/pkg-config: update to 0.29
Felix Fietkau [Fri, 30 Oct 2015 22:31:29 +0000 (22:31 +0000)]
tools/pkg-config: update to 0.29

Release announcement:
http://lists.freedesktop.org/archives/pkg-config/2015-September/001019.html

Drop patches, as they have been implemented upstream.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix OSX compatibility]
SVN-Revision: 47300

8 years agotools/quilt: update to 0.64
Felix Fietkau [Fri, 30 Oct 2015 22:31:21 +0000 (22:31 +0000)]
tools/quilt: update to 0.64

Update quilt to version 0.64.
Changelog: http://git.savannah.gnu.org/cgit/quilt.git/tree/NEWS?id=v0.64

Refresh patches. (scripts/inspect.in has been removed upstream)

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

8 years agotools/xz: update to 5.2.2
Felix Fietkau [Fri, 30 Oct 2015 22:31:09 +0000 (22:31 +0000)]
tools/xz: update to 5.2.2

Update xz to version 5.2.2.
Add a secondary download location.

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

8 years agomac80211: update regulatory database to master-2015-10-22
Felix Fietkau [Fri, 30 Oct 2015 22:31:05 +0000 (22:31 +0000)]
mac80211: update regulatory database to master-2015-10-22

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
SVN-Revision: 47297

8 years agobuild: make mkfs-* depend on kernel installation to fix parallel build issues
Felix Fietkau [Fri, 30 Oct 2015 22:01:27 +0000 (22:01 +0000)]
build: make mkfs-* depend on kernel installation to fix parallel build issues

Reported-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47296

8 years agoath10k-firmware: add qca99x0 firmware
Felix Fietkau [Fri, 30 Oct 2015 22:01:22 +0000 (22:01 +0000)]
ath10k-firmware: add qca99x0 firmware

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

8 years agoath10k: split out ath10k firmware into a separate source package and .ipk
Felix Fietkau [Fri, 30 Oct 2015 22:01:18 +0000 (22:01 +0000)]
ath10k: split out ath10k firmware into a separate source package and .ipk

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

8 years agolinux-firmware: minor makefile cleanup
Felix Fietkau [Fri, 30 Oct 2015 22:01:04 +0000 (22:01 +0000)]
linux-firmware: minor makefile cleanup

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

8 years agosamba: convert init script to procd, add reload support
Felix Fietkau [Fri, 30 Oct 2015 15:32:54 +0000 (15:32 +0000)]
samba: convert init script to procd, add reload support

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

8 years agoiproute2: fix compile with uClibc-ng
Felix Fietkau [Fri, 30 Oct 2015 15:20:41 +0000 (15:20 +0000)]
iproute2: fix compile with uClibc-ng

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

8 years agobuild: Allow kernel modules to set build ID debug symbol
Felix Fietkau [Fri, 30 Oct 2015 15:20:12 +0000 (15:20 +0000)]
build: Allow kernel modules to set build ID debug symbol

This change adds support for specifying a build ID for kernel modules.
This is done by setting PKG_BUILD_ID to a hexadecimal string, which will
then be passed to the kernel linker. In addition, when this flag is set,
the build ID debug symbol (.note.gnu.build-id) will not be stripped from
the kernel module. This symbol is exported in sysfs by the kernel (if
the kernel is compiled with CONFIG_KALLSYMS) and so can be used to
uniquely identify a version of a kernel module in a running kernel. This
is useful for keeping track of different versions of a module when doing
experiments and development.

Modules that specify the build ID will be ~100 bytes larger (depending
on the length of the build ID specified). There is no size difference
for kernel modules that do not set this variable.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
SVN-Revision: 47290

8 years agobusybox: fix non-portable invocation of mktemp
Felix Fietkau [Fri, 30 Oct 2015 15:18:22 +0000 (15:18 +0000)]
busybox: fix non-portable invocation of mktemp

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

8 years agobusybox: update to version 1.24.1
Felix Fietkau [Fri, 30 Oct 2015 15:18:17 +0000 (15:18 +0000)]
busybox: update to version 1.24.1

Patches applied upstream and dropped:
280-fix_find_regression.patch
300-ip-addr-improvements.patch

Fixed upstream:
290-ash-fix-a-regression-in-handling-local-variables.patch (see thread: http://lists.busybox.net/pipermail/busybox/2015-April/082783.html)

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
SVN-Revision: 47288

8 years agomac80211: add pending ath9k/ath10k patches
Felix Fietkau [Fri, 30 Oct 2015 15:18:03 +0000 (15:18 +0000)]
mac80211: add pending ath9k/ath10k patches

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

8 years agomac80211: update to wireless-testing 2015-10-26
Felix Fietkau [Fri, 30 Oct 2015 15:17:56 +0000 (15:17 +0000)]
mac80211: update to wireless-testing 2015-10-26

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

8 years agorelayd: update to the latest version, fixes some issues found by Coverity
Felix Fietkau [Fri, 30 Oct 2015 15:17:47 +0000 (15:17 +0000)]
relayd: update to the latest version, fixes some issues found by Coverity

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

8 years agokernel: backport some bcma header file definitions from wireless-testing
Felix Fietkau [Fri, 30 Oct 2015 15:17:41 +0000 (15:17 +0000)]
kernel: backport some bcma header file definitions from wireless-testing

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

8 years agokernel: add missing config symbol
Felix Fietkau [Fri, 30 Oct 2015 15:17:34 +0000 (15:17 +0000)]
kernel: add missing config symbol

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

8 years agobcm53xx: add missing Netgear R8000 LEDs
Rafał Miłecki [Fri, 30 Oct 2015 14:44:06 +0000 (14:44 +0000)]
bcm53xx: add missing Netgear R8000 LEDs

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

8 years agobcm53xx: add workaround for Netgear R8000 network
Rafał Miłecki [Fri, 30 Oct 2015 12:55:37 +0000 (12:55 +0000)]
bcm53xx: add workaround for Netgear R8000 network

According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Forwardport of r46586 from 15.05

SVN-Revision: 47281

8 years agotarget: remove nathelpers from default images (legacy)
Steven Barth [Thu, 29 Oct 2015 15:16:06 +0000 (15:16 +0000)]
target: remove nathelpers from default images (legacy)

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47280

8 years agomwlwifi: upgrade to 10.3.0.12
Imre Kaloz [Thu, 29 Oct 2015 12:11:58 +0000 (12:11 +0000)]
mwlwifi: upgrade to 10.3.0.12

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

8 years agotools: quilt: fix perl interpreter line (#20802)
Jo-Philipp Wich [Mon, 26 Oct 2015 15:28:05 +0000 (15:28 +0000)]
tools: quilt: fix perl interpreter line (#20802)

When using '/usr/bin/env' in a shebang it is not possible to specify
additional flags for the interpreter. Remove '-w' switches and add
'use warnings;' instead.

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

8 years agomodules: crypto-rng changes additions for kernel 4.3
John Crispin [Mon, 26 Oct 2015 11:56:16 +0000 (11:56 +0000)]
modules: crypto-rng changes additions for kernel 4.3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47276

8 years agokernel: add support for KERNEL_CGROUP_PIDS
John Crispin [Mon, 26 Oct 2015 11:54:56 +0000 (11:54 +0000)]
kernel: add support for KERNEL_CGROUP_PIDS

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47275

8 years agomodules: package VIA AC97 modules
John Crispin [Mon, 26 Oct 2015 11:54:15 +0000 (11:54 +0000)]
modules: package VIA AC97 modules

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47274

8 years agomodules: enable crypto hardware modules
John Crispin [Mon, 26 Oct 2015 11:53:57 +0000 (11:53 +0000)]
modules: enable crypto hardware modules

set CONFIG_CRYPTO_HW=y to enable build of crypto-hw modules.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47273

8 years agogeneric: fix adm6996 init
John Crispin [Mon, 26 Oct 2015 10:39:53 +0000 (10:39 +0000)]
generic: fix adm6996 init

Kernel 3.14 added aditional genphy_soft_reset phy reset to phy_init_hw in drivers/net/phy/phy_device.c
Since adm6996 does in driver soft reset and doesn't use BMCR_RESET for soft reset
add dummy soft_reset callback to adm6996 driver, like it is done in ar8216.

This fixes ticket #20147

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
SVN-Revision: 47272

8 years agouClibc: enable xattr support to make feature sets of libc implementations closer...
John Crispin [Mon, 26 Oct 2015 10:39:48 +0000 (10:39 +0000)]
uClibc: enable xattr support to make feature sets of libc implementations closer to each other

Size increase is about 3-4k: this is how big xattr.os in uClibc after stripping is.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 47271

8 years agokernel: Fix environment pointer setup in ar71xx/ath79
John Crispin [Mon, 26 Oct 2015 10:39:41 +0000 (10:39 +0000)]
kernel: Fix environment pointer setup in ar71xx/ath79

Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.:
(https://dev.openwrt.org/ticket/20642).

If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware
init doesn't initialize environment pointer (fw_init_cmdline not called).

arcs_cmdline is not initialized before calling strlcat.

Signed-off-by: Ted Hess <thess@kitschensync.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47270

8 years agoprocd: update to latest git
John Crispin [Mon, 26 Oct 2015 09:02:09 +0000 (09:02 +0000)]
procd: update to latest git

this unbreaks glibc builds

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47266

8 years agolibpcap: USB support by default if usbmon is enabled
John Crispin [Mon, 26 Oct 2015 09:02:03 +0000 (09:02 +0000)]
libpcap: USB support by default if usbmon is enabled

If building usbmon support then you'll likely want to have
USB support in libpcap as well.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
SVN-Revision: 47265

8 years agoomcproxy: fix PKG_LICENSE string
John Crispin [Mon, 26 Oct 2015 09:01:48 +0000 (09:01 +0000)]
omcproxy: fix PKG_LICENSE string

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47264

8 years agoar71xx: add support for TP-LINK TL-WR841N/ND v10
John Crispin [Mon, 26 Oct 2015 09:01:41 +0000 (09:01 +0000)]
ar71xx: add support for TP-LINK TL-WR841N/ND v10

The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor
changes, it contains a newer revision of the QCA9533 SoC and the CPU clock
is significantly higher.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 47263

8 years agoar71xx: fix ath79_soc_rev value for QCA9531 ver. 2
John Crispin [Mon, 26 Oct 2015 09:01:34 +0000 (09:01 +0000)]
ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2

ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10.

As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Tested-by: Felix Kaechele <felix@kaechele.ca>
SVN-Revision: 47262

8 years agoar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power
John Crispin [Mon, 26 Oct 2015 09:01:28 +0000 (09:01 +0000)]
ar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power

Antminers using the stock bootloader will not hash without this GPIO set.
Applies to DD and CC

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 47261

8 years agobrcm2708: copy overlays README to boot partition
John Crispin [Mon, 26 Oct 2015 09:01:21 +0000 (09:01 +0000)]
brcm2708: copy overlays README to boot partition

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

8 years agobrcm2708: update modules
John Crispin [Mon, 26 Oct 2015 09:01:12 +0000 (09:01 +0000)]
brcm2708: update modules

- Add support for DAC+ Pro.
- Add kmod-smi-bcm2835 and kmod-smi-bcm2835-dev modules.

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

8 years agobrcm2708: update 4.1 patches
John Crispin [Mon, 26 Oct 2015 09:01:05 +0000 (09:01 +0000)]
brcm2708: update 4.1 patches

As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

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

8 years agobrcm2708-gpu-fw: update to latest version
John Crispin [Mon, 26 Oct 2015 09:00:47 +0000 (09:00 +0000)]
brcm2708-gpu-fw: update to latest version

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

8 years agoramips: make the alsa driver register the codec
John Crispin [Mon, 26 Oct 2015 09:00:42 +0000 (09:00 +0000)]
ramips: make the alsa driver register the codec

this allows using the codec even if it is not listed in the DTS

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47256

8 years agorb532: prepare switch to 4.1
John Crispin [Mon, 26 Oct 2015 09:00:35 +0000 (09:00 +0000)]
rb532: prepare switch to 4.1

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

8 years agolantiq: add clk_round_rate()
Hauke Mehrtens [Sun, 25 Oct 2015 22:46:46 +0000 (22:46 +0000)]
lantiq: add clk_round_rate()

This adds a basic implementation of clk_round_rate()
The clk_round_rate() function is called by multiple drivers and
subsystems now and the lantiq clk driver is supposed to export this,
but doesn't do so, this causes linking problems like this one:
ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined!

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

8 years agobcm53xx: add clk tree driver
Hauke Mehrtens [Sun, 25 Oct 2015 22:46:08 +0000 (22:46 +0000)]
bcm53xx: add clk tree driver

These patches are written by Broadcom and will be in mainline Linux
kernel soon. I had some problems to get them backported to kernel 4.1,
so currently they are only available for 4.3.

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

8 years agokernel: update kernel 4.1 to version 4.1.11
Hauke Mehrtens [Sun, 25 Oct 2015 17:32:01 +0000 (17:32 +0000)]
kernel: update kernel 4.1 to version 4.1.11

https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11

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

8 years agobcm53xx: add support basic for kernel 4.3
Hauke Mehrtens [Sun, 25 Oct 2015 16:43:14 +0000 (16:43 +0000)]
bcm53xx: add support basic for kernel 4.3

The files directory is now split up into the files which are needed for
every kernel version and the files only needed by kernel 4.1. The files
in files-4.1 are already merged into mainline kernel 4.3. This patch
only removed patches which were merged into mainline kernel 4.3.

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

8 years agokernel: update kernel 4.3 to version 4.3-rc7
Hauke Mehrtens [Sun, 25 Oct 2015 16:13:34 +0000 (16:13 +0000)]
kernel: update kernel 4.3 to version 4.3-rc7

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

8 years agobcm53xx: add missing patch from r47248 for USB 3.0
Hauke Mehrtens [Fri, 23 Oct 2015 22:38:07 +0000 (22:38 +0000)]
bcm53xx: add missing patch from r47248 for USB 3.0

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

8 years agobcm53xx: update USB 3.0 driver with version submitted upstream
Hauke Mehrtens [Fri, 23 Oct 2015 22:32:38 +0000 (22:32 +0000)]
bcm53xx: update USB 3.0 driver with version submitted upstream

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

8 years agobcm53xx: use Broadcom's proposed SMP implementation
Hauke Mehrtens [Fri, 23 Oct 2015 22:29:05 +0000 (22:29 +0000)]
bcm53xx: use Broadcom's proposed SMP implementation

This replaces our SMP implementation with a very similar version which
is Broadcom currently trying to get into mainline kernel.

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

8 years agobcm53xx: Add BCM SVK DT files
Hauke Mehrtens [Fri, 23 Oct 2015 22:26:49 +0000 (22:26 +0000)]
bcm53xx: Add BCM SVK DT files

Add device tree files for Broadcom Northstar based SVKs.  Since the
bcm5301x.dtsi already exists, all that is necessary is the dts files to
enable the UARTs.  With these files, the SVKs are able to boot to shell.

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

8 years agobzip2: extend/fix the Host/Install rule to install libbz2.so files
Steven Barth [Thu, 22 Oct 2015 13:24:35 +0000 (13:24 +0000)]
bzip2: extend/fix the Host/Install rule to install libbz2.so files

It looks like the bzip2 package does not install any shared libs
and has no build rules to install any shared libs.

So, for the host build we're installing the libbz2 shared libs manually
so that other modules can link against them.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47245

8 years agotools: scons: Add alternate download URL
Florian Fainelli [Thu, 22 Oct 2015 00:43:35 +0000 (00:43 +0000)]
tools: scons: Add alternate download URL

sourceforge.net sometimes produces the following tarball file while
being behind a HTTP proxy:

We're sorry -- the Sourceforge site is currently in Disaster Recovery
mode, and currently requires
the use of javascript to function.  Please check back later.

Update to a regular FTP location that allows us to complete the
download.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 47244

8 years agouhttpd: update to latest git HEAD
John Crispin [Tue, 20 Oct 2015 18:16:05 +0000 (18:16 +0000)]
uhttpd: update to latest git HEAD

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47240

8 years agoramips: gpio-mt7621 was not handling irqs above 31 properly
John Crispin [Tue, 20 Oct 2015 07:09:20 +0000 (07:09 +0000)]
ramips: gpio-mt7621 was not handling irqs above 31 properly

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47238

8 years agokernel: force CONFIG_BT_HCIUART_ATH3K to y
Jo-Philipp Wich [Tue, 20 Oct 2015 00:00:39 +0000 (00:00 +0000)]
kernel: force CONFIG_BT_HCIUART_ATH3K to y

The CONFIG_BT_HCIUART_ATH3K may not be "m", therfore we cannot inherit the
kmod selection state. Force the "CONFIG_BT_HCIUART_ATH3K" symbol to "y" in
order to avoid `warning: symbol value 'm' invalid for BT_HCIUART_ATH3K` and
subsequent kconfig stalls.

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

8 years agoar71xx: Send power to USB port on WNR2200
John Crispin [Mon, 19 Oct 2015 18:18:12 +0000 (18:18 +0000)]
ar71xx: Send power to USB port on WNR2200

This patch fixes ticket #15267 by enabling power on the
WNR2200's USB port. At present, the USB port on the WNR2200
is non-functional due to it not receiving power.

This patch defines an additional GPIO pin, but none of the
current GPIO definitions have been modified.

Signed-off-by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX@bitmessage.ch>
SVN-Revision: 47236

8 years agoar71xx: Add Gainstrong MiniBox v1.0 support to trunk
John Crispin [Mon, 19 Oct 2015 17:55:25 +0000 (17:55 +0000)]
ar71xx: Add Gainstrong MiniBox v1.0 support to trunk

This patch supersedes the v1 from September 17th.

Bumping the patch version - the MiniBox profile showed up under M, but
since it's called 'Gainstrong MiniBox v1.0' now it looks out of place.
Renamed the profile to gs-minibox-v1.mk to fix that.

The following patch adds support for the Gainstrong MiniBox into trunk
(or 'Designated Driver' :D ).

Fixed items:

- Inverted LED polarity (OOLITE seems to suffer from the same problem).
- Changed uppercase MINIBOX_V1_ prefix as requested.
- Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor).
- Mention the vendor (Gainstrong) in code headers.

Compiles fine, has been confirmed working by owners on 15.05.

Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c,
the MiniBox images build fine without, so I'm wondering: do I need to add
it in there as well? Any added benefit?

Thank you

Signed-off by: Stijn Segers <francesco.borromini@inventati.org>

SVN-Revision: 47234

8 years agokernel: add usb-mass-storage-gadget driver package
John Crispin [Mon, 19 Oct 2015 10:10:51 +0000 (10:10 +0000)]
kernel: add usb-mass-storage-gadget driver package

This is another useful gadget driver that can allow an OTG port to act as a
mass storage device.

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

8 years agokernel: add mvsw61xx module package
John Crispin [Mon, 19 Oct 2015 10:10:41 +0000 (10:10 +0000)]
kernel: add mvsw61xx module package

Adds the package to select the mvsw61xx module present in the 3.18/4.0/4.1
kernels.

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

8 years agokernel: add ath3k module package
John Crispin [Mon, 19 Oct 2015 10:10:20 +0000 (10:10 +0000)]
kernel: add ath3k module package

Adds a package for the ath3k kernel module, present in 3.18/4.0/4.1 kernels

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