openwrt.git
6 years agoar71xx: add support for tp-link wr740n v5.0 (EU)
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46115 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoccache: upgrade to version 3.1.11
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46114 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobrcm63xx: add kernel 4.1 support
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46113 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agogeneric: add linux 4.1 support
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46112 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoxtables-addons: disable for kernel 4.1 for now
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46111 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomac80211: disable for kernel 4.1 for now
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46110 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agonetfilter.mk: fix redirect module locations for 3.19+
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46109 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agogcc/musl: rework SSP-support
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46108 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agootrx: add extra compilation check before using __BYTE_ORDER
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46106 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agootrx: include endian.h to make __BYTE_ORDER work with musl
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46105 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agob53: Allow using all 8 ports on BCM53011
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46104 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46090 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agotoolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARM
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46089 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: respect ACTIVE_LOW when powering USB using GPIO
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46088 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: enable USB power on Buffalo WZR-1750DHP
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46087 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: update SPROM driver to include just-sent patch
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46086 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: refresh patch with USB_MT7621_XHCI_PLATFORM
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46085 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomac80211: backport some brcmfmac patches
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46084 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: enable USB power on Netgear R6250
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46083 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: update xHCI patch
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46082 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: fix enabling GPIO-controlled USB power
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46081 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: add xHCI support
rmilecki [Sun, 21 Jun 2015 10:18:43 +0000 (10:18 +0000)]
bcm53xx: add xHCI support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46080 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: make USB_XHCI_PLATFORM selectable
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46079 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agootrx: optimize memory usage by function checking TRX CRC
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46078 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agootrx: make crc32 table global for further optimizations
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46077 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouclibc++: link against libssp_nonshared instead of libssp
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46076 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomusl: update musl to 2015-06-20
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46075 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46074 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomusl: apply hardening options (e.g. SSP) also to libc itself
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46073 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agopackage-defaults: remove libssp for musl (redundant)
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46072 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agogcc: musl comes with its own SSP, so use it instead of libssp
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46071 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobuildroot: move hardening options into separate file
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46070 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomusl: read the timezone from /etc/TZ
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46069 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46068 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouclibc++: only disable SSP for ppc
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46067 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46066 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolibtool: enable passthrough for SSP options
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46065 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46064 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: update 4.0 to 4.0.5
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46063 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomwlwifi: upgrade to 10.3.0.3
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46061 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoralink: add support for mt7621 switch counters
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46050 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add profile and build image for EnGenius EPG5000.
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46049 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add user-space support for EnGenius EPG5000.
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46048 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add kernel support for EnGenius EPG5000.
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46047 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add support for TL-WR720N-v4.
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46046 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add support for compex wpj531
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46045 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Add Support for the Bitmain Antminer S1
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46044 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: Add Support for the Linksys RE6500
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46043 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: Add support for the D-Link DCS-930 B1
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46042 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: add support for PandoraBox PBR-M1
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46041 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoubus: update to latest git HEAD
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46040 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: fix a bug in the cevt code on mt7620
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46038 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolinux-atm: add PKG_FIXUP
cyrus [Thu, 18 Jun 2015 11:10:46 +0000 (11:10 +0000)]
linux-atm: add PKG_FIXUP

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46037 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolua: honor LDFLAGS
cyrus [Thu, 18 Jun 2015 10:55:57 +0000 (10:55 +0000)]
lua: honor LDFLAGS

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46036 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agopackage.mk: replicate SSP and relro in both CFLAGS and LDFLAGS
cyrus [Thu, 18 Jun 2015 10:48:28 +0000 (10:48 +0000)]
package.mk: replicate SSP and relro in both CFLAGS and LDFLAGS

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46035 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouclibc: unbreak after enabling SSP
cyrus [Thu, 18 Jun 2015 09:49:45 +0000 (09:49 +0000)]
uclibc: unbreak after enabling SSP

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46034 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: fix hw id of tl-wr710n image (#19902)
nbd [Thu, 18 Jun 2015 09:41:23 +0000 (09:41 +0000)]
ar71xx: fix hw id of tl-wr710n image (#19902)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46032 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: add Realtek USB to Ethernet modules
nbd [Thu, 18 Jun 2015 09:41:12 +0000 (09:41 +0000)]
kernel: add Realtek USB to Ethernet modules

https://forum.openwrt.org/viewtopic.php?pid=279394

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46031 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolibtool: passthrough -fstack-protector* to linker
cyrus [Thu, 18 Jun 2015 08:52:33 +0000 (08:52 +0000)]
libtool: passthrough -fstack-protector* to linker

on some platforms this is needed for gcc to link libssp

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46030 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolibnl-tiny: honor CFLAGS when linking
cyrus [Thu, 18 Jun 2015 08:13:04 +0000 (08:13 +0000)]
libnl-tiny: honor CFLAGS when linking

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46029 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoopenvpn: bump to 2.3.7.
nbd [Thu, 18 Jun 2015 06:41:49 +0000 (06:41 +0000)]
openvpn: bump to 2.3.7.

Two patches are dropped as they were already applied upstream.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46027 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoipkg-build: suppress timestamps in gzip headers
nbd [Thu, 18 Jun 2015 06:41:45 +0000 (06:41 +0000)]
ipkg-build: suppress timestamps in gzip headers

When creating control.tar.gz, data.tar.gz and $package.ipk
tar compresses them with default gzip options.
This includes build timestamps in their gzip headers.
By setting the GZIP env variable to -n, gzip no longer embeds
them, which is a step towards reproducibility.

See also [1] for more detailed motivations.

[1]: https://wiki.debian.org/ReproducibleBuilds/About

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46026 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolibusb-compat: fix musl compatibility issues
nbd [Thu, 18 Jun 2015 06:39:09 +0000 (06:39 +0000)]
libusb-compat: fix musl compatibility issues

Use stdint types instead of non-standard ones

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46025 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: mitigate cgroups config dependency changes
nbd [Thu, 18 Jun 2015 06:39:00 +0000 (06:39 +0000)]
kernel: mitigate cgroups config dependency changes

Memory Resource Controller no longer depends on Resource counters since
Kernel version 4.0.
3.18 is the only still supported version needing Resource counters for
MEMCG, thus declare the dependency only for that version.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46024 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoprocd: update to the latest version, fixes umask handling for creating /dev/shm
nbd [Thu, 18 Jun 2015 06:37:08 +0000 (06:37 +0000)]
procd: update to the latest version, fixes umask handling for creating /dev/shm

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46023 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode
nbd [Thu, 18 Jun 2015 06:37:01 +0000 (06:37 +0000)]
ar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode

Some devices ship with NAND images that use BCH ECC. Let the driver know
about that ECC mode so that it can be selected by machine files.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46022 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobroadcom-wl: fix build with musl
hauke [Wed, 17 Jun 2015 22:37:49 +0000 (22:37 +0000)]
broadcom-wl: fix build with musl

This fixes some build problems with musl. The binary only program
nas.exe wants to link against __assert, which is copied from uClibc.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46021 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agohardening: enable regular SSP support by default
cyrus [Wed, 17 Jun 2015 13:13:48 +0000 (13:13 +0000)]
hardening: enable regular SSP support by default

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46020 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: add linux 4.0 overlayfs locking fix by Miklos Szeredi
nbd [Wed, 17 Jun 2015 12:55:20 +0000 (12:55 +0000)]
kernel: add linux 4.0 overlayfs locking fix by Miklos Szeredi

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46019 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agox86/64: enable VirtIO block and console support
jow [Wed, 17 Jun 2015 11:31:45 +0000 (11:31 +0000)]
x86/64: enable VirtIO block and console support

This is required to use x86/64 in KVM containers with VirtIO disks

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46017 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoprocd: update to the latest version, fixes /dev/shm permissions
nbd [Wed, 17 Jun 2015 10:13:24 +0000 (10:13 +0000)]
procd: update to the latest version, fixes /dev/shm permissions

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46013 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: rb493g: fix gpio-mdio accesses under load
jogo [Wed, 17 Jun 2015 09:55:13 +0000 (09:55 +0000)]
ar71xx: rb493g: fix gpio-mdio accesses under load

It seems that there are maximum timings for mdio accesses that can be
hit when the system is under load and the thread is scheduled during
a read or write access. Since there is no way of knowing if this
happens as there is not even a parity bit, try to work around it
by disabling interrupts during any gpio-mdio accesses.

Performance impact seems to be neglectable, as mdio accesses are not
that often.

Hopefully fixes #19500.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46012 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: update 3.18 to 3.18.16
jogo [Wed, 17 Jun 2015 09:54:55 +0000 (09:54 +0000)]
kernel: update 3.18 to 3.18.16

Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46011 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoath9k: add another fix for some rx/tx dma stop issues, refresh patches
nbd [Wed, 17 Jun 2015 09:09:03 +0000 (09:09 +0000)]
ath9k: add another fix for some rx/tx dma stop issues, refresh patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46008 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: add missing config symbol
nbd [Wed, 17 Jun 2015 09:08:20 +0000 (09:08 +0000)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46007 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoltq-vdsl-app: build fix for MUSL
matteo [Tue, 16 Jun 2015 21:43:26 +0000 (21:43 +0000)]
ltq-vdsl-app: build fix for MUSL

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46006 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoopenssl: disable parallel builds (spurious linking break)
cyrus [Tue, 16 Jun 2015 17:28:11 +0000 (17:28 +0000)]
openssl: disable parallel builds (spurious linking break)

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46005 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agohardening: enable RELRO by default
cyrus [Tue, 16 Jun 2015 17:28:05 +0000 (17:28 +0000)]
hardening: enable RELRO by default

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46004 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agohardening: enable format security checking by default
cyrus [Tue, 16 Jun 2015 17:27:59 +0000 (17:27 +0000)]
hardening: enable format security checking by default

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46003 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomusl: update to version 1.1.10+git
nbd [Tue, 16 Jun 2015 11:55:23 +0000 (11:55 +0000)]
musl: update to version 1.1.10+git

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46001 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoopkg: fix duplicate check_signature line for smime variant (#19863)
nbd [Tue, 16 Jun 2015 10:51:16 +0000 (10:51 +0000)]
opkg: fix duplicate check_signature line for smime variant (#19863)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45999 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: use USB patches sent upstream by Hauke
rmilecki [Tue, 16 Jun 2015 08:28:46 +0000 (08:28 +0000)]
bcm53xx: use USB patches sent upstream by Hauke

This stabilizes USB support. The old patch was handling initialization
in a different order that was causing some problems with few USB 3.0
devices. Some weren't detected, some were working unstable, sometimes
USB 3.0 could hang the whole controller.

A still known issue (but not a regression) is controller hang triggered
by connecting USB 1.1 device when not having OHCI controller enabled
(kmod-usb-ohci).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45997 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agotoolchain: switch to musl by default, except for mips64
nbd [Mon, 15 Jun 2015 23:05:08 +0000 (23:05 +0000)]
toolchain: switch to musl by default, except for mips64

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45995 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: use bcma-hcd.ko on bcm53xx for ohci
rmilecki [Mon, 15 Jun 2015 22:11:50 +0000 (22:11 +0000)]
kernel: use bcma-hcd.ko on bcm53xx for ohci

On bcm53xx we still need usb-ohci to support USB 1.1 devices and it
obviously needs bcma-hcd.ko that will init controller and register
platform device.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45994 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: add missing config symbol (#19870)
nbd [Mon, 15 Jun 2015 21:16:15 +0000 (21:16 +0000)]
kernel: add missing config symbol (#19870)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45992 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomt76: update to the latest version to fix a build error (#19871)
nbd [Mon, 15 Jun 2015 21:14:01 +0000 (21:14 +0000)]
mt76: update to the latest version to fix a build error (#19871)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45990 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoUpdate dnsmasq to v2.73.
cyrus [Mon, 15 Jun 2015 08:10:59 +0000 (08:10 +0000)]
Update dnsmasq to v2.73.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45988 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoRevert "kernel: add rtl8723au driver (staging)"
nbd [Mon, 15 Jun 2015 07:46:33 +0000 (07:46 +0000)]
Revert "kernel: add rtl8723au driver (staging)"

This one cannot possibly work, as it depends on cfg80211, which is built
out of tree.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45985 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoelfutils: bump to 0.162
nbd [Mon, 15 Jun 2015 07:46:21 +0000 (07:46 +0000)]
elfutils: bump to 0.162

Besides source.tgz, 001-elfutils-portability.patch (provided by upstream
project) where updated.

Other patches where updated to fix hulk warnings and minor conflicts.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45984 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx/image: move ubnt images to new BuildCode
nbd [Mon, 15 Jun 2015 07:46:05 +0000 (07:46 +0000)]
ar71xx/image: move ubnt images to new BuildCode

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45983 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boards
nbd [Mon, 15 Jun 2015 07:45:54 +0000 (07:45 +0000)]
ar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boards

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45982 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx/image: new build step Build/mkubntimage for ubnt factory images
nbd [Mon, 15 Jun 2015 07:45:46 +0000 (07:45 +0000)]
ar71xx/image: new build step Build/mkubntimage for ubnt factory images

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45981 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoimage.mk: add Build step pad-to
nbd [Mon, 15 Jun 2015 07:45:36 +0000 (07:45 +0000)]
image.mk: add Build step pad-to

pad-to can be used in a pipe to pad the image to a specific chunk-size.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45980 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoimage.mk: add Build step combined-image
nbd [Mon, 15 Jun 2015 07:45:27 +0000 (07:45 +0000)]
image.mk: add Build step combined-image

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45979 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoMakefile: move the cleaning of staging_dir/target* from dirclean to clean
nbd [Sun, 14 Jun 2015 17:47:16 +0000 (17:47 +0000)]
Makefile: move the cleaning of staging_dir/target* from dirclean to clean

Currently "make clean" only clears the build_dir/target*, but leaves
staging_dir/target* intact. "make clean" should also clean the
staging_dir/target* directories, as in the current situation some old
packages or libraries may be linked into the firmware from staging_dir
despite a "make clean".

The patch reorganises clean / dirclean functionality so that
* "make clean" also clears the staging_dir/target* in addition to
build_dir/target*.
* "make dirclean" clears toolchain and host(=tools) directories from both
build_dir and staging_dir

signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45973 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoprocd: update to the latest version, adds a few fixes
nbd [Sun, 14 Jun 2015 17:44:04 +0000 (17:44 +0000)]
procd: update to the latest version, adds a few fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45972 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: return limit as number of processed frames when re-scheduling NAPI poll
nbd [Sun, 14 Jun 2015 17:43:59 +0000 (17:43 +0000)]
ar71xx: return limit as number of processed frames when re-scheduling NAPI poll

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45971 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar8216: Fix problem with AR8337 MAC swap handling
nbd [Sun, 14 Jun 2015 17:43:50 +0000 (17:43 +0000)]
ar8216: Fix problem with AR8337 MAC swap handling

AR8337 supports a configuration bit to swap MAC0 and MAC6.
Currently this is set in general if an AR8337 is detected and causes
issues with devices using an AR8334 (internally an AR8337, just
less chip pins).
And it might even cause issues with AR8337-based devices with
different board designs.

Swapping the MAC's however isn't needed for AR8337 in general.
It's just needed in case of certain board designs (affected devices
seem to be based on Atheros reference board AP135/136-010).
Therefore this configuration bit should be moved to platform data.

The patch includes the needed changes to the device initialization
code of affected devices. Hopefully I didn't miss any ..

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45970 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoelfutils: import package from packages.git
nbd [Sun, 14 Jun 2015 17:43:40 +0000 (17:43 +0000)]
elfutils: import package from packages.git

elfutils is required by perf. So we'll move this package from
packages.git and make it part of the core distribution.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45969 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobzip2: import package from packages.git
nbd [Sun, 14 Jun 2015 17:43:34 +0000 (17:43 +0000)]
bzip2: import package from packages.git

bzip2 is required by elfutils, itself required by perf. So we'll move
this package from packages.git and make it part of the core
distribution.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45968 3c298f89-4303-0410-b956-a3cf2f4a3e73