openwrt/staging/nbd.git
9 years agoat91: sama5d3: enable USB2 by default
Florian Fainelli [Sat, 4 Jul 2015 01:24:48 +0000 (01:24 +0000)]
at91: sama5d3: enable USB2 by default

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

9 years agokernel: fix OHCI and EHCI modules for AT91
Florian Fainelli [Sat, 4 Jul 2015 01:24:37 +0000 (01:24 +0000)]
kernel: fix OHCI and EHCI modules for AT91

We were not copying the additional files needed to get USB to work on
the AT91 platforms, make sure we do this.

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

9 years agoat91: enable Micrel PHY driver
Florian Fainelli [Sat, 4 Jul 2015 01:24:27 +0000 (01:24 +0000)]
at91: enable Micrel PHY driver

The AT91 SAMA5D3XPLAINED uses a KSZ9031 and a KSZ8081 that are supported
by this PHY driver.

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

9 years agokernel: b53: fix build with brcm47xx
Hauke Mehrtens [Fri, 3 Jul 2015 23:27:21 +0000 (23:27 +0000)]
kernel: b53: fix build with brcm47xx

The position of the nvram header file on brcm47xx changed with kernel
version 4.1.

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

9 years agocurl: update curl to version 7.43.0
Hauke Mehrtens [Fri, 3 Jul 2015 23:21:01 +0000 (23:21 +0000)]
curl: update curl to version 7.43.0

This brings curl to version 7.43.0 and contains fixes for the following
security vulnerabilities:

CVE-2015-3236: lingering HTTP credentials in connection re-use
http://curl.haxx.se/docs/adv_20150617A.html

CVE-2015-3237: SMB send off unrelated memory contents
http://curl.haxx.se/docs/adv_20150617B.html

The 100-check_long_long patch is not needed any more, because the
upstream autoconf script already checks for long long when cyassl is
selected.

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

9 years agocyassl: update to wolfssl 3.6.0
Hauke Mehrtens [Fri, 3 Jul 2015 23:20:36 +0000 (23:20 +0000)]
cyassl: update to wolfssl 3.6.0

Upstream wolfssl already has better checks to detect broken ssl v2
ClientHellos, we can remove our hack.

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

9 years agocyassl: version bump to 3.4.6
Hauke Mehrtens [Fri, 3 Jul 2015 23:20:01 +0000 (23:20 +0000)]
cyassl: version bump to 3.4.6

This patch introduces a new build error into coova-chilli, but
coova-chilli already fails to build even without it anyway. CyaSSL is
now called wolfSSL, and all the API's have been renamed, and
backward-compatibility headers added.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46167

9 years agobrcm47xx: add support for kernel 4.1
Hauke Mehrtens [Fri, 3 Jul 2015 23:18:33 +0000 (23:18 +0000)]
brcm47xx: add support for kernel 4.1

This adds support for kernel 4.1 and removes kernel 4.0.

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

9 years agoar71xx: make 902-unaligned_access_hacks.patch apply again
Jonas Gorski [Fri, 3 Jul 2015 16:47:44 +0000 (16:47 +0000)]
ar71xx: make 902-unaligned_access_hacks.patch apply again

r46161 updated headers also touched by it, so it needed to be refreshed
as well.

Closes #20033.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46165

9 years agouclibc++: make g++-uc* wrappers relocatable
Jo-Philipp Wich [Fri, 3 Jul 2015 13:33:05 +0000 (13:33 +0000)]
uclibc++: make g++-uc* wrappers relocatable

The g++-uc wrapper hardcodes $(STAGING_DIR) and $(TOOLCHAIN_DIR) paths which
will not work outside of the original build environment.

Replace the hardcoded staging_dir occurences with paths relative to the
$STAGING_DIR environment variable to make the g++-uc* wrappers usable in an
SDK environment.

Fixes the libdb47 build failure reported at
  https://lists.openwrt.org/pipermail/openwrt-devel/2015-April/032455.html

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

9 years agokernel: improve uapi headers coexistence with musl
Jonas Gorski [Fri, 3 Jul 2015 11:48:45 +0000 (11:48 +0000)]
kernel: improve uapi headers coexistence with musl

Make some network uapi headers detect if they are included after
not only glibc but also musl headers.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46161

9 years agonf-conntrack: enable netlink events
Steven Barth [Thu, 2 Jul 2015 14:11:15 +0000 (14:11 +0000)]
nf-conntrack: enable netlink events

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

9 years agoath9k: make DMA stop related messages debug-only (#11862, #9654)
Felix Fietkau [Thu, 2 Jul 2015 11:45:08 +0000 (11:45 +0000)]
ath9k: make DMA stop related messages debug-only (#11862, #9654)

A long time ago, ath9k had issues during reset where the DMA engine
would stay active and could potentially corrupt memory.
To debug those issues, the driver would print warnings whenever they
occur.

Nowadays, these issues are gone and the primary cause of these messages
is if the MAC is stuck during reset or busy processing a long
transmission. This is fairly harmless, yet these messages continue to
worry users.

To reduce the number of bogus bug reports, turn these messages into
debug messages and count their occurence in the "reset" debugfs file.

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

9 years agomdns: fix ubus wait_for command
Felix Fietkau [Thu, 2 Jul 2015 11:26:12 +0000 (11:26 +0000)]
mdns: fix ubus wait_for command

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

9 years agokernel: update 4.1 to 4.1.1
Jonas Gorski [Tue, 30 Jun 2015 23:26:17 +0000 (23:26 +0000)]
kernel: update 4.1 to 4.1.1

Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.1

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46152

9 years agokernel: update 4.0 to 4.0.7
Jonas Gorski [Tue, 30 Jun 2015 23:26:13 +0000 (23:26 +0000)]
kernel: update 4.0 to 4.0.7

Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.6
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.7

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46151

9 years agokernel: update 3.18 to 3.18.17
Jonas Gorski [Tue, 30 Jun 2015 23:26:09 +0000 (23:26 +0000)]
kernel: update 3.18 to 3.18.17

Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46150

9 years agobrcm63xx: swap a4001n power leds again
Jonas Gorski [Tue, 30 Jun 2015 23:26:05 +0000 (23:26 +0000)]
brcm63xx: swap a4001n power leds again

This partially reverts r44577 ("brcm63xx: fix DTS LEDs and buttons").

Fixes #19858.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46149

9 years agobrcm63xx: unbreak board_probe_switch again
Jonas Gorski [Tue, 30 Jun 2015 23:26:02 +0000 (23:26 +0000)]
brcm63xx: unbreak board_probe_switch again

Also move it to an earlier place so new boards added are less likely
to confuse quilt.

Fixes #19965.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46148

9 years agokernel: add some missing config options for 4.1
Hauke Mehrtens [Mon, 29 Jun 2015 22:20:05 +0000 (22:20 +0000)]
kernel: add some missing config options for 4.1

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

9 years agohardening: disable user-space SSP for !musl
Steven Barth [Mon, 29 Jun 2015 16:44:27 +0000 (16:44 +0000)]
hardening: disable user-space SSP for !musl

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

9 years agolibubox: fix MD5 for musl on big-endian platforms
Steven Barth [Mon, 29 Jun 2015 14:12:38 +0000 (14:12 +0000)]
libubox: fix MD5 for musl on big-endian platforms

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

9 years agobcm53xx: port last 2 UART patches to 4.1
Rafał Miłecki [Mon, 29 Jun 2015 06:59:45 +0000 (06:59 +0000)]
bcm53xx: port last 2 UART patches to 4.1

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

9 years agobcm53xx: rework patch enabling UART support
Rafał Miłecki [Mon, 29 Jun 2015 06:48:41 +0000 (06:48 +0000)]
bcm53xx: rework patch enabling UART support

Follow upstream patch and handle it using &uart0. Also disable &uart1 as
it's most likely unused. This will allow us to get valuable reports and
upstream these changes.

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

9 years agobcm53xx: use UART serial DT patch sent upstream
Rafał Miłecki [Mon, 29 Jun 2015 06:48:08 +0000 (06:48 +0000)]
bcm53xx: use UART serial DT patch sent upstream

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

9 years agotoolchain: only use fortify-headers for musl
Steven Barth [Mon, 29 Jun 2015 06:47:49 +0000 (06:47 +0000)]
toolchain: only use fortify-headers for musl

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

9 years agotoolchain: binutils: enhance build reproducability
Steven Barth [Mon, 29 Jun 2015 06:47:42 +0000 (06:47 +0000)]
toolchain: binutils: enhance build reproducability

built toolchain utilities will always operate in deterministic mode:
https://sourceware.org/binutils/docs-2.25/binutils/ar-cmdline.html

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

9 years agoelfutils: bump to 0.163
Steven Barth [Mon, 29 Jun 2015 06:47:31 +0000 (06:47 +0000)]
elfutils: bump to 0.163

Bugfix only release.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
SVN-Revision: 46136

9 years agonetifd: add mtu6 option to override IPv6 MTU
Steven Barth [Mon, 29 Jun 2015 06:47:19 +0000 (06:47 +0000)]
netifd: add mtu6 option to override IPv6 MTU

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

9 years agomusl: update to latest git to fix MIPS and PowerPC TLS issues
Felix Fietkau [Sat, 27 Jun 2015 23:25:46 +0000 (23:25 +0000)]
musl: update to latest git to fix MIPS and PowerPC TLS issues

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

9 years agomac80211: fix build on UML
Nicolas Thill [Fri, 26 Jun 2015 00:43:03 +0000 (00:43 +0000)]
mac80211: fix build on UML

A duplicate include guard prevents inclusion of barrier.h in UML build and this prevents mac80211 from building.

This patch re-enables mac80211 hwsim and renames the include guard.

See https://lists.openwrt.org/pipermail/openwrt-devel/2015-June/033614.html for details.

Signed-off-by: Martin Tippmann <martin.tippmann@gmail.com>
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 46133

9 years agotools: scons: update to version 2.3.5
Hauke Mehrtens [Thu, 25 Jun 2015 22:02:10 +0000 (22:02 +0000)]
tools: scons: update to version 2.3.5

This brings scons to the most recent version.

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

9 years agobcm53xx: add upstream nand driver
Hauke Mehrtens [Thu, 25 Jun 2015 22:00:36 +0000 (22:00 +0000)]
bcm53xx: add upstream nand driver

This adds the upstream Broadcom nand driver and makes use of it.

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

9 years agobcm53xx: add upstream PCIe driver
Hauke Mehrtens [Thu, 25 Jun 2015 21:56:34 +0000 (21:56 +0000)]
bcm53xx: add upstream PCIe driver

This patch adds the missing parts to use the upstream Broadcom PCIe
driver and makes use of it.

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

9 years agobcm53xx: add arm l2c overwrite options like in mainline kernel
Hauke Mehrtens [Thu, 25 Jun 2015 21:43:16 +0000 (21:43 +0000)]
bcm53xx: add arm l2c overwrite options like in mainline kernel

Instead of setting the l2c_aux_val variable in the board code make it
possible to set these through device tree and make use of that.

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

9 years agobcm53xx: add support for kernel 4.1
Hauke Mehrtens [Thu, 25 Jun 2015 21:33:53 +0000 (21:33 +0000)]
bcm53xx: add support for kernel 4.1

This only removes the patches already applied upstream and makes the
rest apply cleanly.

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

9 years agolibiconv-full: fix build with fortify source
Jo-Philipp Wich [Thu, 25 Jun 2015 12:13:57 +0000 (12:13 +0000)]
libiconv-full: fix build with fortify source

Avoid redefining `realpath` to fix the following error:

    .../include/fortify/stdlib.h:36:13: error: 'realpath' undeclared here (not in a function)

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

9 years agogrub2: disable stack-protector
Jo-Philipp Wich [Thu, 25 Jun 2015 11:20:39 +0000 (11:20 +0000)]
grub2: disable stack-protector

- enabling "-fstack-protector" results in build errors
- Upstream explicitly tests & disables it

v2:
- use override

reference: upstream commit baa2a121e004a95a12e2bb7f2419de6625a30c2d

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

9 years agogrub2: fix build against musl
Jo-Philipp Wich [Thu, 25 Jun 2015 11:19:23 +0000 (11:19 +0000)]
grub2: fix build against musl

Invert the `__GLIBC__` guards into `!__UCLIBC__` ones to avoid
invalid references to `_llseek` on musl.

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

9 years agostrace: update to 4.10
Jo-Philipp Wich [Thu, 25 Jun 2015 11:05:50 +0000 (11:05 +0000)]
strace: update to 4.10

- include upstream fixes for musl compatibility
Include <sys/stat.h> for S_I* macros
d34e00b293942b1012ddc49ed3ab379a32337611

Include <linux/ioctl.h> for _IOC_* macros
3460dc486d333231998de0f19918204aacee9ae3

strace 4.8 is broken with musl on some arch
(arm: omap,oxnas according to buildbot)

compile tested only

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

9 years agofix mklibs with musl
Matteo Croce [Thu, 25 Jun 2015 10:14:22 +0000 (10:14 +0000)]
fix mklibs with musl

crate a relative symlink to libc.so because
make wildcard function ignores broken symlinks

SVN-Revision: 46123

9 years agofortify-headers: fix compatibility with -pedantic
Steven Barth [Wed, 24 Jun 2015 18:52:13 +0000 (18:52 +0000)]
fortify-headers: fix compatibility with -pedantic

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

9 years agoRevert "px5g-standalone: compatibility with fortify-headers"
Steven Barth [Wed, 24 Jun 2015 18:52:10 +0000 (18:52 +0000)]
Revert "px5g-standalone: compatibility with fortify-headers"

This reverts commit 0c912eec6d95805d30133f34165a1c4e7cbb4bec.

SVN-Revision: 46121

9 years agoscripts/feeds: observe -p flag for preferential feeds
Steven Barth [Wed, 24 Jun 2015 10:57:20 +0000 (10:57 +0000)]
scripts/feeds: observe -p flag for preferential feeds

lookup_target was trampling the $feed variable, resulting in the -p flag
no longer preferentially installing from the named feed.

Make sure to use a local variable for this instead.

Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 46120

9 years agohardening: make override variables more intuitive
Steven Barth [Wed, 24 Jun 2015 10:57:14 +0000 (10:57 +0000)]
hardening: make override variables more intuitive

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

9 years agopx5g-standalone: compatibility with fortify-headers
Steven Barth [Tue, 23 Jun 2015 19:57:50 +0000 (19:57 +0000)]
px5g-standalone: compatibility with fortify-headers

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

9 years agotoolchain: add fortify-headers, enable FORTIFY_SOURCE by default
Steven Barth [Tue, 23 Jun 2015 14:38:03 +0000 (14:38 +0000)]
toolchain: add fortify-headers, enable FORTIFY_SOURCE by default

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

9 years agouclibc: fix _HAS_SSP replacement regex
Jonas Gorski [Tue, 23 Jun 2015 10:43:19 +0000 (10:43 +0000)]
uclibc: fix _HAS_SSP replacement regex

A dot was dropped, making it match too much.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46116

9 years agoar71xx: add support for tp-link wr740n v5.0 (EU)
Luka Perkov [Tue, 23 Jun 2015 05:21:50 +0000 (05:21 +0000)]
ar71xx: add support for tp-link wr740n v5.0 (EU)

TP-Link ships wr740n v5.0 to Romania (so probably everywhere except
China) with 4 MB flash and 32 MB memory (confirmed by their local
support). This patch adds support for the v5.0 clone of v4, i just
tested it on my own v5.0 router and it works.

Signed-off-by: Daniel Petre <daniel.petre@posteo.net>
SVN-Revision: 46115

9 years agoccache: upgrade to version 3.1.11
Luka Perkov [Tue, 23 Jun 2015 05:21:45 +0000 (05:21 +0000)]
ccache: upgrade to version 3.1.11

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

9 years agobrcm63xx: add kernel 4.1 support
Jonas Gorski [Mon, 22 Jun 2015 12:28:46 +0000 (12:28 +0000)]
brcm63xx: add kernel 4.1 support

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46113

9 years agogeneric: add linux 4.1 support
Jonas Gorski [Mon, 22 Jun 2015 12:27:59 +0000 (12:27 +0000)]
generic: add linux 4.1 support

Boot tested: http://pastebin.com/L6aAb9xj

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo:
  update to 4.1 final
  add patches added since submission
  delete patches applied in later rcs
  restore commit messages in 220-gc-sections and 304-mips_disable_fpu
  fix 050-backport_netfilter_rtcache to match new API
  update inlined dma ops with upstream changes
  add missing config symbols
  enabled CONFIG_MULTIUSER
  update kmod defintions for 4.1
]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46112

9 years agoxtables-addons: disable for kernel 4.1 for now
Jonas Gorski [Mon, 22 Jun 2015 12:27:38 +0000 (12:27 +0000)]
xtables-addons: disable for kernel 4.1 for now

Netfilter APIs have changed, so the code requuires updates to compile
successfully.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46111

9 years agomac80211: disable for kernel 4.1 for now
Jonas Gorski [Mon, 22 Jun 2015 12:27:30 +0000 (12:27 +0000)]
mac80211: disable for kernel 4.1 for now

Backports requires updates to compile successfully.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46110

9 years agonetfilter.mk: fix redirect module locations for 3.19+
Jonas Gorski [Mon, 22 Jun 2015 12:27:25 +0000 (12:27 +0000)]
netfilter.mk: fix redirect module locations for 3.19+

ntf_redir_ipvX is part of NAT support, so they should be in the
appropriate nft-nat kmods. Since they depend on nf_nat_redirect,
nf_nat_redirect should be part of nf-nat, not ipt-nat.

Fixes nft-core gaining a missing dependency on nf_nat_redirect.ko.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46109

9 years agogcc/musl: rework SSP-support
Steven Barth [Mon, 22 Jun 2015 10:31:07 +0000 (10:31 +0000)]
gcc/musl: rework SSP-support

Make musl provide libssp_nonshared.a and make GCC link it unconditionally
if musl is used. This should be a no-op if SSP is disabled and seems to be
the only reliable way of dealing with SSP over all packages due to the mess
that is linkerflags handling in packages.

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

9 years agootrx: add extra compilation check before using __BYTE_ORDER
Rafał Miłecki [Mon, 22 Jun 2015 07:51:00 +0000 (07:51 +0000)]
otrx: add extra compilation check before using __BYTE_ORDER

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

9 years agootrx: include endian.h to make __BYTE_ORDER work with musl
Rafał Miłecki [Mon, 22 Jun 2015 06:45:56 +0000 (06:45 +0000)]
otrx: include endian.h to make __BYTE_ORDER work with musl

Without this the condition
if __BYTE_ORDER == __BIG_ENDIAN
was always true.

Thanks Szabolcs.

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

9 years agob53: Allow using all 8 ports on BCM53011
Rafał Miłecki [Sun, 21 Jun 2015 21:06:09 +0000 (21:06 +0000)]
b53: Allow using all 8 ports on BCM53011

On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000
(BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port
5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and
usually 3 of them are connected to the SoC.

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

9 years agoath9k: fix ar956x device detection
Felix Fietkau [Sun, 21 Jun 2015 17:52:12 +0000 (17:52 +0000)]
ath9k: fix ar956x device detection

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

9 years agotoolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARM
Felix Fietkau [Sun, 21 Jun 2015 17:52:00 +0000 (17:52 +0000)]
toolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARM

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

9 years agobcm53xx: respect ACTIVE_LOW when powering USB using GPIO
Rafał Miłecki [Sun, 21 Jun 2015 16:47:05 +0000 (16:47 +0000)]
bcm53xx: respect ACTIVE_LOW when powering USB using GPIO

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

9 years agobcm53xx: enable USB power on Buffalo WZR-1750DHP
Rafał Miłecki [Sun, 21 Jun 2015 16:26:23 +0000 (16:26 +0000)]
bcm53xx: enable USB power on Buffalo WZR-1750DHP

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

9 years agobcm53xx: update SPROM driver to include just-sent patch
Rafał Miłecki [Sun, 21 Jun 2015 14:26:03 +0000 (14:26 +0000)]
bcm53xx: update SPROM driver to include just-sent patch

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

9 years agoramips: refresh patch with USB_MT7621_XHCI_PLATFORM
Rafał Miłecki [Sun, 21 Jun 2015 14:02:13 +0000 (14:02 +0000)]
ramips: refresh patch with USB_MT7621_XHCI_PLATFORM

Fixes: edea6dfde4dc ("kernel: make USB_XHCI_PLATFORM selectable")
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46085

9 years agomac80211: backport some brcmfmac patches
Rafał Miłecki [Sun, 21 Jun 2015 12:07:33 +0000 (12:07 +0000)]
mac80211: backport some brcmfmac patches

There are two important patches in this patchset: updating read pointer
quicker & rework of .get_station().
There are few more upstream patches that are p2p-related and weren't
backported in this commit.

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

9 years agobcm53xx: enable USB power on Netgear R6250
Rafał Miłecki [Sun, 21 Jun 2015 11:09:49 +0000 (11:09 +0000)]
bcm53xx: enable USB power on Netgear R6250

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

9 years agobcm53xx: update xHCI patch
Rafał Miłecki [Sun, 21 Jun 2015 11:09:30 +0000 (11:09 +0000)]
bcm53xx: update xHCI patch

This drops some debugging pr_info and adds platform_device_unregister.

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

9 years agobcm53xx: fix enabling GPIO-controlled USB power
Rafał Miłecki [Sun, 21 Jun 2015 10:18:52 +0000 (10:18 +0000)]
bcm53xx: fix enabling GPIO-controlled USB power

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

9 years agobcm53xx: add xHCI support
Rafał Miłecki [Sun, 21 Jun 2015 10:18:43 +0000 (10:18 +0000)]
bcm53xx: add xHCI support

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

9 years agokernel: make USB_XHCI_PLATFORM selectable
Rafał Miłecki [Sun, 21 Jun 2015 10:18:24 +0000 (10:18 +0000)]
kernel: make USB_XHCI_PLATFORM selectable

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

9 years agootrx: optimize memory usage by function checking TRX CRC
Rafał Miłecki [Sat, 20 Jun 2015 21:12:01 +0000 (21:12 +0000)]
otrx: optimize memory usage by function checking TRX CRC

Allocating huge buffer for the whole TRX wasn't too optimal.

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

9 years agootrx: make crc32 table global for further optimizations
Rafał Miłecki [Sat, 20 Jun 2015 21:11:56 +0000 (21:11 +0000)]
otrx: make crc32 table global for further optimizations

So far we got only one generic function accessing this table, but
implementing optimizations will require calculating crc32 in other code
parts as well.

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

9 years agouclibc++: link against libssp_nonshared instead of libssp
Steven Barth [Sat, 20 Jun 2015 18:36:52 +0000 (18:36 +0000)]
uclibc++: link against libssp_nonshared instead of libssp

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

9 years agomusl: update musl to 2015-06-20
Steven Barth [Sat, 20 Jun 2015 18:36:50 +0000 (18:36 +0000)]
musl: update musl to 2015-06-20

Fixes a mips-regression and a missing SSP function

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

9 years agolibpcap: fixup libtool
Steven Barth [Sat, 20 Jun 2015 17:37:28 +0000 (17:37 +0000)]
libpcap: fixup libtool

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

9 years agomusl: apply hardening options (e.g. SSP) also to libc itself
Steven Barth [Sat, 20 Jun 2015 17:37:25 +0000 (17:37 +0000)]
musl: apply hardening options (e.g. SSP) also to libc itself

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

9 years agopackage-defaults: remove libssp for musl (redundant)
Steven Barth [Sat, 20 Jun 2015 17:37:22 +0000 (17:37 +0000)]
package-defaults: remove libssp for musl (redundant)

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

9 years agogcc: musl comes with its own SSP, so use it instead of libssp
Steven Barth [Sat, 20 Jun 2015 17:37:20 +0000 (17:37 +0000)]
gcc: musl comes with its own SSP, so use it instead of libssp

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

9 years agobuildroot: move hardening options into separate file
Steven Barth [Sat, 20 Jun 2015 17:37:18 +0000 (17:37 +0000)]
buildroot: move hardening options into separate file

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

9 years agomusl: read the timezone from /etc/TZ
Felix Fietkau [Fri, 19 Jun 2015 17:48:11 +0000 (17:48 +0000)]
musl: read the timezone from /etc/TZ

Currently the OpenWRT boot scripts write the timezone configuration to
/tmp/TZ, relying on the behaviour of uClibc that the timezone is read
from /etc/TZ if no TZ env variable is found.

This works because /etc/TZ is a symlink to /tmp/TZ.

Musl libc however only reads the timezone from the TZ env variable and
if it doesn't find it or it's empty, it will look for a zoneinfo
file, that doesn't exist.

So in musl builds no timezone is ever set.

This patch fixes the issue by having musl libc behave like uClibc: if no
TZ env variable is found it will try to load it from /etc/TZ.

Signed-off-by: Gianluca Anzolin <gianluca at sottospazio.it>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46069

9 years agoppp: honor LDFLAGS
Steven Barth [Fri, 19 Jun 2015 17:07:11 +0000 (17:07 +0000)]
ppp: honor LDFLAGS

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

9 years agouclibc++: only disable SSP for ppc
Steven Barth [Fri, 19 Jun 2015 14:36:37 +0000 (14:36 +0000)]
uclibc++: only disable SSP for ppc

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

9 years agouclibc++: honor ldflags, disable SSP
Steven Barth [Fri, 19 Jun 2015 14:09:02 +0000 (14:09 +0000)]
uclibc++: honor ldflags, disable SSP

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

9 years agolibtool: enable passthrough for SSP options
Steven Barth [Fri, 19 Jun 2015 13:45:48 +0000 (13:45 +0000)]
libtool: enable passthrough for SSP options

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

9 years agoiproute2: honor LDFLAGS
Steven Barth [Fri, 19 Jun 2015 13:30:18 +0000 (13:30 +0000)]
iproute2: honor LDFLAGS

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

9 years agokernel: update 4.0 to 4.0.5
Jonas Gorski [Fri, 19 Jun 2015 11:12:43 +0000 (11:12 +0000)]
kernel: update 4.0 to 4.0.5

Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46063

9 years agomwlwifi: upgrade to 10.3.0.3
Imre Kaloz [Fri, 19 Jun 2015 08:35:11 +0000 (08:35 +0000)]
mwlwifi: upgrade to 10.3.0.3

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

9 years agoralink: add support for mt7621 switch counters
John Crispin [Thu, 18 Jun 2015 18:21:52 +0000 (18:21 +0000)]
ralink: add support for mt7621 switch counters

Signed-off-by: Cristian Morales Vega <cristian@samknows.com>
SVN-Revision: 46050

9 years agoar71xx: add profile and build image for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 18:21:46 +0000 (18:21 +0000)]
ar71xx: add profile and build image for EnGenius EPG5000.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46049

9 years agoar71xx: add user-space support for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 18:21:41 +0000 (18:21 +0000)]
ar71xx: add user-space support for EnGenius EPG5000.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46048

9 years agoar71xx: add kernel support for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 18:21:33 +0000 (18:21 +0000)]
ar71xx: add kernel support for EnGenius EPG5000.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46047

9 years agoar71xx: add support for TL-WR720N-v4.
John Crispin [Thu, 18 Jun 2015 18:21:23 +0000 (18:21 +0000)]
ar71xx: add support for TL-WR720N-v4.

The hardware should be almost the same as TL-WR720N-v3.  WiFi and LAN networks
were tested by "Lo Yuk Fai <loyukfai@gmail.com>".  Failsafe and slider switch
were tested by "Wong min <alpha080@gmail.com>".

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

9 years agoar71xx: add support for compex wpj531
John Crispin [Thu, 18 Jun 2015 18:21:15 +0000 (18:21 +0000)]
ar71xx: add support for compex wpj531

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
erase 0x9f680000 +1
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
SVN-Revision: 46045

9 years agoar71xx: Add Support for the Bitmain Antminer S1
John Crispin [Thu, 18 Jun 2015 18:21:05 +0000 (18:21 +0000)]
ar71xx: Add Support for the Bitmain Antminer S1

This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner

http://wiki.openwrt.org/toh/bitmain/s1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: James Hilliard <james.hilliard1@gmail.com>
SVN-Revision: 46044

9 years agoramips: Add Support for the Linksys RE6500
John Crispin [Thu, 18 Jun 2015 18:20:56 +0000 (18:20 +0000)]
ramips: Add Support for the Linksys RE6500

This patch adds support for the Linksys RE6500 Range Extender

http://wiki.openwrt.org/toh/linksys/re6500

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

9 years agoramips: Add support for the D-Link DCS-930 B1
John Crispin [Thu, 18 Jun 2015 18:20:46 +0000 (18:20 +0000)]
ramips: Add support for the D-Link DCS-930 B1

http://wiki.openwrt.org/toh/d-link/dcs-930l

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

9 years agoramips: add support for PandoraBox PBR-M1
John Crispin [Thu, 18 Jun 2015 18:20:40 +0000 (18:20 +0000)]
ramips: add support for PandoraBox PBR-M1

This patch is for PandoraBox PBR-M1 which is based on mt7621,
all the features work fine, including rtc, leds, button, usb3.0, etc.

Signed-off-by: tymon <banglang.huang@foxmail.com>
SVN-Revision: 46041

9 years agoubus: update to latest git HEAD
John Crispin [Thu, 18 Jun 2015 17:04:14 +0000 (17:04 +0000)]
ubus: update to latest git HEAD

this adds ACL support

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

9 years agoramips: fix a bug in the cevt code on mt7620
John Crispin [Thu, 18 Jun 2015 11:57:07 +0000 (11:57 +0000)]
ramips: fix a bug in the cevt code on mt7620

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