openwrt.git
8 years agoramips: a5-v11 board fix power led blinking at boot
blogic [Tue, 7 Jul 2015 13:43:37 +0000 (13:43 +0000)]
ramips: a5-v11 board fix power led blinking at boot

Signed-off-by: Konrad Kotowicz <skoti1@go2.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46215 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix typo in WHR1166D mtd size variable
blogic [Tue, 7 Jul 2015 13:43:28 +0000 (13:43 +0000)]
ramips: fix typo in WHR1166D mtd size variable

Fix typo in WHR1166D mtd size variable

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46214 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: update to the latest version, fix stdout logging
rmilecki [Tue, 7 Jul 2015 10:22:25 +0000 (10:22 +0000)]
procd: update to the latest version, fix stdout logging

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

8 years agodnsmasq: Add sequential_ip UCI parameter
cyrus [Tue, 7 Jul 2015 08:13:22 +0000 (08:13 +0000)]
dnsmasq: Add sequential_ip UCI parameter

When enabled the dnsmasq DHCP server allocates the IP addresses sequentially
starting from the lowest available IP address.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46211 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodnsmasq: enable extra tracing by default when UCI parameter logqueries is set
cyrus [Tue, 7 Jul 2015 08:13:16 +0000 (08:13 +0000)]
dnsmasq: enable extra tracing by default when UCI parameter logqueries is set

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46210 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: update regulatory database to master-2015-06-05
nbd [Tue, 7 Jul 2015 08:06:10 +0000 (08:06 +0000)]
mac80211: update regulatory database to master-2015-06-05

Signed-off-by: Petko Bordjukov <bordjukov@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46209 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for ap143
nbd [Tue, 7 Jul 2015 08:06:05 +0000 (08:06 +0000)]
ar71xx: add support for ap143

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46208 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: rework patch for qca953x/956x
nbd [Tue, 7 Jul 2015 08:05:55 +0000 (08:05 +0000)]
ar71xx: rework patch for qca953x/956x

Patch cherry-picked from the following location:
https://www.codeaurora.org/cgit/quic/qsdk/oss/system/openwrt/commit/?h=release/coconut_ioe4531_2.0&id=5c357bf6c763e4140dddcc9a3bc5f005525a9c0e

Changelist,
    - add more register defines
    - add EHCI support
    - fix GPIO pin count to 18
    - fix chained irq disabled
    - fix GMAC0/GMAC1 initial
    - fix WMAC irq number to 47
    - merge the changes of dev-eth.c from the patch to file.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46207 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link TL-WR841N/ND...
nbd [Tue, 7 Jul 2015 08:05:50 +0000 (08:05 +0000)]
ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link TL-WR841N/ND v9, Compex WPJ531)

The initialization routines for these boards were relying on some (wrong)
defaults for the QCA953x ethernet. Make these defaults explicit to prevent
breaking them when the QCA953x defaults are fixed.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46206 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix compile warning in rt2800lib.c
hauke [Mon, 6 Jul 2015 21:43:48 +0000 (21:43 +0000)]
mac80211: fix compile warning in rt2800lib.c

reorder some parts of the patch to remove the declaration-after-
statement warning.

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

8 years agomac80211: add kernel 4.1 support again
hauke [Mon, 6 Jul 2015 21:32:17 +0000 (21:32 +0000)]
mac80211: add kernel 4.1 support again

The new version now works with kernel 4.1

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

8 years agomac80211: remove useless patch
hauke [Mon, 6 Jul 2015 21:31:40 +0000 (21:31 +0000)]
mac80211: remove useless patch

unregister_netdevice_many() was extended in this commit to also delete unreg_list:
https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=97666f936e0656a1b28c40cc33981a8db65e1a11

This patch is no longer needed.

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

8 years agomac80211: remove useless patch
hauke [Mon, 6 Jul 2015 21:31:13 +0000 (21:31 +0000)]
mac80211: remove useless patch

This patch was already applied upstream, linux/device.h gets included 2
lines above this change.

This was done in this commit:
https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=fd6bb301116d48c50722b0a4399e26ab0237e563

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

8 years agomac80211: add missing patch chunk
nbd [Mon, 6 Jul 2015 18:41:17 +0000 (18:41 +0000)]
mac80211: add missing patch chunk

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

8 years agoar71xx: fix kernel Oops in at803x_link_change_notify
nbd [Mon, 6 Jul 2015 17:27:29 +0000 (17:27 +0000)]
ar71xx: fix kernel Oops in at803x_link_change_notify

r45954 ("ar71xx: fix 100/10mbps ethernet link issues on mynet range
extender") introduced a pdata based modification of the tx_clk_dly. But it
was not checked if pdata actually existed. This caused a page fault on all
devices which didn't have at803x_platform_data specified for an at803x
based device.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46200 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: update to the latest version, fixes a segfault on message retry
nbd [Mon, 6 Jul 2015 16:44:45 +0000 (16:44 +0000)]
ubus: update to the latest version, fixes a segfault on message retry

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

8 years agomac80211: update to version 2015-06-22
nbd [Mon, 6 Jul 2015 16:26:34 +0000 (16:26 +0000)]
mac80211: update to version 2015-06-22

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

8 years agoath10k: remove support for the obsolete STA firmware
nbd [Mon, 6 Jul 2015 10:21:26 +0000 (10:21 +0000)]
ath10k: remove support for the obsolete STA firmware

Current firmware should work for station mode as well, and the older
firmware will usually behave worse and become unsupported over time.
Also, the MAC address handling on ar71xx is only implemented on one
firmware version.

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

8 years agoar71xx: update preinit script for new ath10k firmware
nbd [Mon, 6 Jul 2015 10:19:21 +0000 (10:19 +0000)]
ar71xx: update preinit script for new ath10k firmware

Update firmware name and md5sum. MAC-address location remains
unchanged from previous version.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46196 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Update QCA9880 firmware to 10.2.4.70-2
nbd [Mon, 6 Jul 2015 10:19:08 +0000 (10:19 +0000)]
mac80211: Update QCA9880 firmware to 10.2.4.70-2

This firmware adds support for management frames over normal
packet transport interface instead of over the WMI management
interface.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46195 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Backport ath10k firmware API v5 support
nbd [Mon, 6 Jul 2015 10:19:02 +0000 (10:19 +0000)]
mac80211: Backport ath10k firmware API v5 support

These patches add support for the new version 5 firmware API.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46194 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix UAP-PRO images
nbd [Mon, 6 Jul 2015 10:18:50 +0000 (10:18 +0000)]
ar71xx: fix UAP-PRO images

- it should be BOARDNAME instead of BOARD_NAME
- kernel partition should be padded to 1536k (somehow this padding was lost in translation to BuildCode in bc797c73f6328941b2194d144385655ad9297e7c)

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46193 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouclibc++: link libssp_nonshared only for musl
cyrus [Mon, 6 Jul 2015 08:55:28 +0000 (08:55 +0000)]
uclibc++: link libssp_nonshared only for musl

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

8 years agoar71xx: microtik: disable all non-microtik boards
jogo [Sun, 5 Jul 2015 21:33:31 +0000 (21:33 +0000)]
ar71xx: microtik: disable all non-microtik boards

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

8 years agoar71xx: EPG5000 requires ATH79_NVRAM
jogo [Sun, 5 Jul 2015 21:33:28 +0000 (21:33 +0000)]
ar71xx: EPG5000 requires ATH79_NVRAM

EPG5000 uses ath79 nvram functions, but does not select it. This breaks
build if no other board support enabling nvram support is selected.

Closes #19952.

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

8 years agoixp4xx: add linux 4.1 support
jogo [Sun, 5 Jul 2015 21:33:21 +0000 (21:33 +0000)]
ixp4xx: add linux 4.1 support

Compile tested only.

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

8 years agokernel: add a few more missing config symbols
jogo [Sun, 5 Jul 2015 21:32:55 +0000 (21:32 +0000)]
kernel: add a few more missing config symbols

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

8 years agokernel: generic: add missing arm machtypes
jogo [Sun, 5 Jul 2015 21:32:49 +0000 (21:32 +0000)]
kernel: generic: add missing arm machtypes

Some machtypes were dropped when 4.0 support was added, and the
incomplete patch was taken over to 4.1.

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

8 years agoar7: add linux 4.1 support
jogo [Sun, 5 Jul 2015 21:32:44 +0000 (21:32 +0000)]
ar7: add linux 4.1 support

Compile tested only.

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

8 years agopackage: ar7-atm: depend on !LINUX_4_1
jogo [Sun, 5 Jul 2015 21:31:57 +0000 (21:31 +0000)]
package: ar7-atm: depend on !LINUX_4_1

ar7-atm will require modifications to build on 4.1.

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

8 years agokernel: mips_disable_fpu: initialize fault_addr in fpu_emulator_cop1Handler
jogo [Sun, 5 Jul 2015 21:31:54 +0000 (21:31 +0000)]
kernel: mips_disable_fpu: initialize fault_addr in fpu_emulator_cop1Handler

Code calling fpu_emulator_cop1Handler will pass on fault_addr, making gcc
complain about it not being initialized when the FPU emulator is disabled.

Fixes:

arch/mips/kernel/traps.c: In function 'do_fpe':
arch/mips/kernel/traps.c:864:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  process_fpemu_return(sig, fault_addr, fcr31);
                      ^
arch/mips/kernel/traps.c: In function 'do_ri':
arch/mips/kernel/traps.c:806:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  process_fpemu_return(sig, fault_addr, fcr31);
                      ^
arch/mips/kernel/traps.c:763:15: note: 'fault_addr' was declared here
  void __user *fault_addr;
               ^
arch/mips/kernel/traps.c: In function 'do_cpu':
arch/mips/kernel/traps.c:1421:28: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   if (!process_fpemu_return(sig, fault_addr, fcr31) && !err)
                            ^
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/kernel/traps.o] Error 1

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

8 years agobrcm63xx: use IRQCHIP_DECLARE instead of self-baked version
jogo [Sun, 5 Jul 2015 21:31:52 +0000 (21:31 +0000)]
brcm63xx: use IRQCHIP_DECLARE instead of self-baked version

Backport a commit from 4.2 making IRQCHIP_DECLARE available outside of
drivers/irqchip and use it.

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

8 years agokernel: assume modules.builtin is always present
jogo [Sun, 5 Jul 2015 21:31:34 +0000 (21:31 +0000)]
kernel: assume modules.builtin is always present

We do not support old kernel versions not generating modules.builtin
anymore, so assume it will always be present and check for modules
to be built in first.

This prevents old modules being packages up after changing the kernel
config to include them in the kernel without cleaning the kernel tree.

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

8 years agobrcm63xx: 4.1: switch to upstream UHI interface
jogo [Sun, 5 Jul 2015 11:28:46 +0000 (11:28 +0000)]
brcm63xx: 4.1: switch to upstream UHI interface

Replace the appended dtb patch with the upstream accepted version and
update the code to work with the changed interface.

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

8 years agokernel: add crypto-cmac
hauke [Sat, 4 Jul 2015 22:33:00 +0000 (22:33 +0000)]
kernel: add crypto-cmac

The bluetooth driver needs this new crypto lib in kernel 4.1

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

8 years agokernel: fix loading bluetooth_6lowpan
hauke [Sat, 4 Jul 2015 22:32:04 +0000 (22:32 +0000)]
kernel: fix loading bluetooth_6lowpan

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

8 years agokernel: kmod-scsi-core: fix load on install
jogo [Sat, 4 Jul 2015 12:52:57 +0000 (12:52 +0000)]
kernel: kmod-scsi-core: fix load on install

sd_mod depends on scsi_mod, but due to it being an AutoLoad and not
AutoProbe module, it was not loading when installing the package,
causing unknown symbol errors for sd_mod and anything depending on it.

Closes #14927, #18293, #19351.

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

8 years agoscons: change md5sum to new release
hauke [Sat, 4 Jul 2015 08:54:20 +0000 (08:54 +0000)]
scons: change md5sum to new release

The developers of scons found a bug in the packaging of their release
and just replaced the already released version with a new one without
changing the version number. This breaks the download script because it
also has a new md5sum.

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

8 years agoat91: add Device Tree based board detection
florian [Sat, 4 Jul 2015 01:25:15 +0000 (01:25 +0000)]
at91: add Device Tree based board detection

Set up eth0 as LAN interface by default.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46174 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoat91: sama5d3: enable USB2 by default
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46173 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix OHCI and EHCI modules for AT91
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46172 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoat91: enable Micrel PHY driver
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46171 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: b53: fix build with brcm47xx
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46170 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocurl: update curl to version 7.43.0
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46169 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocyassl: update to wolfssl 3.6.0
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46168 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocyassl: version bump to 3.4.6
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46167 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: add support for kernel 4.1
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46166 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: make 902-unaligned_access_hacks.patch apply again
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46165 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouclibc++: make g++-uc* wrappers relocatable
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46162 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: improve uapi headers coexistence with musl
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46161 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

8 years agoath9k: make DMA stop related messages debug-only (#11862, #9654)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46158 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomdns: fix ubus wait_for command
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46156 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: update 4.1 to 4.1.1
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46152 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

8 years agokernel: update 3.18 to 3.18.17
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46150 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: swap a4001n power leds again
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46149 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: unbreak board_probe_switch again
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46148 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add some missing config options for 4.1
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46147 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohardening: disable user-space SSP for !musl
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46146 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibubox: fix MD5 for musl on big-endian platforms
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46145 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: port last 2 UART patches to 4.1
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46141 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: rework patch enabling UART support
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46140 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: use UART serial DT patch sent upstream
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46139 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain: only use fortify-headers for musl
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46138 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain: binutils: enhance build reproducability
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46137 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoelfutils: bump to 0.163
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46136 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: add mtu6 option to override IPv6 MTU
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46135 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: update to latest git to fix MIPS and PowerPC TLS issues
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46134 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix build on UML
nico [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46133 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools: scons: update to version 2.3.5
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46132 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add upstream nand driver
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46131 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add upstream PCIe driver
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46130 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add arm l2c overwrite options like in mainline kernel
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46129 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add support for kernel 4.1
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46128 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibiconv-full: fix build with fortify source
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46127 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogrub2: disable stack-protector
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46126 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogrub2: fix build against musl
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46125 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agostrace: update to 4.10
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46124 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofix mklibs with musl
matteo [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

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

8 years agofortify-headers: fix compatibility with -pedantic
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46122 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

This reverts commit 0c912eec6d95805d30133f34165a1c4e7cbb4bec.

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

8 years agoscripts/feeds: observe -p flag for preferential feeds
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46120 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohardening: make override variables more intuitive
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46119 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopx5g-standalone: compatibility with fortify-headers
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46118 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain: add fortify-headers, enable FORTIFY_SOURCE by default
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46117 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouclibc: fix _HAS_SSP replacement regex
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46116 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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