Commit Graph

152 Commits (zsun)

Author SHA1 Message Date
jow 61a758ddbe CC: procd: update to latest git HEAD
fixes http://patchwork.ozlabs.org/patch/497899/

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

Backport of r46465

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-27 11:49:39 +00:00
cyrus 7327dc5b67 firewall: fix typo in ESP rule
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-27 11:48:00 +00:00
cyrus 549b92d194 firewall: comply with REC-22, REC-24 of RFC 6092
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-27 11:47:56 +00:00
nbd 4992a95a90 ramips: swap radio calibration data pointers for DIR-860L
Fixes low 5 GHz tx power issues

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

Backport of r46497

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-26 13:02:37 +00:00
nbd 8dde828e7f tools: drop circular dependency between patch and ccache, build patch without ccache (fixes #20132)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46434

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-26 13:02:35 +00:00
hauke 4beb1aeb91 CC: 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.

Backport of r46190.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-25 13:54:15 +00:00
jogo de69e69b40 CC: kernel: update 3.18 to 3.18.19
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19

Backport of r46439.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-25 10:02:47 +00:00
jogo f76eb9ef71 CC: brcm63xx: HG553 buttons support
This patch adds buttons support for Huawei EchoLife HG553.

Backport of r46388.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-25 10:02:44 +00:00
blogic c8fb28f457 CC: ar71xx: add LED defaults for the EnGenius EPG5000
NB that wlan5g is phy0tpt and wlan2g phy1tpt.

Backport of r46226.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:57 +00:00
blogic 61bb0877eb CC: ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.
The designated blue WAN port on both devices has index 5, not 1.

Backport of r46227.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:45 +00:00
blogic a8333bf582 CC: ar71xx: add profile and build image for EnGenius EPG5000.
Backport of r46049.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:40 +00:00
blogic fc42f2ae1e CC: ar71xx: add user-space support for EnGenius EPG5000.
Backport of r46048.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:33 +00:00
blogic dce1df6f5a CC: ar71xx: add kernel support for EnGenius EPG5000.
Backport of r46047.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:27 +00:00
blogic c61b54abc3 v3: CC : ar71xx: Backport Support for the Bitmain Antminer S3
Backport of r46236 to CC : add support for the Bitmain Antminer S3

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:20 +00:00
blogic 92667e2605 ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac
Backport of r46342

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:12 +00:00
blogic e8dea9f9ff mac80211: make ath10k firmware v2 selectable
Added option for old firmware version (10.1 API v2). It seems that recent
firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and
this provides the option to select an older version instead.

Backport of r46340

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:07 +00:00
blogic e0fa0ddb13 ar71xx: add support for the devolo dLAN pro 500 Wireless+
Backport of r46338

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:03 +00:00
florian a9be6c0348 at91: add Device Tree based board detection
Set up eth0 as LAN interface by default.

Backport of r46174

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 22:36:18 +00:00
florian f64983852b at91: sama5d3: enable USB2 by default
Backport of r46173

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 22:35:36 +00:00
florian 789762ecde 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.

Backport of r46172

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 22:34:58 +00:00
florian 9ff3caa94f at91: enable Micrel PHY driver
The AT91 SAMA5D3XPLAINED uses a KSZ9031 and a KSZ8081 that are supported
by this PHY driver.

Backport of r46171

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 22:33:08 +00:00
nbd 5b73c0d1ba mt76: backport rx buffer allocation fix from r46409
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 16:56:28 +00:00
nbd 834aa6780a ramips: enable mt76 by default for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46410

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 16:56:25 +00:00
jow 12a75ad198 CC: toplevel.mk: fix LD_LIBRARY_PATH for host binaries
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r46394

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-17 11:37:47 +00:00
rmilecki 19220c916b ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

This adds support for filtering messages
Backport of r46356

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-14 10:32:51 +00:00
cyrus 310f3b5edb odhcp6c: fix some more compatibility issues
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-13 21:52:25 +00:00
cyrus 77877851ed odhcp6c: work-around more ISP DHCPv6-PD issues
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-13 21:52:14 +00:00
hauke 7400cfec55 CC: curl: fix some security vulnerabilities
This fixes the following security vulnerabilities in curl:
* CVE-2015-3143
* CVE-2015-3144
* CVE-2015-3145
* CVE-2015-3148
* CVE-2015-3153
* CVE-2015-3236
* CVE-2015-3237

This was fixed in trunk with update to version 7.43.0 in r46169.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-12 16:03:51 +00:00
hauke 8b1ed5de3f CC: kernel: fix loading bluetooth_6lowpan
Backprot of r46179

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-12 16:03:09 +00:00
hauke 1638bf1c6b CC: kernel: add missing config option
This should fix build of sunxi.

Backport of r46304

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-12 16:02:47 +00:00
hauke 0a563a14ad CC: kernel: update 3.18 to 3.18.18
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18

Backport of r46299, r46303 and r46308.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-12 16:02:34 +00:00
nbd e5682a7ac7 ebtables: remove partially broken musl fix
See http://patchwork.ozlabs.org/patch/493573/ for more information

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-10 11:37:36 +00:00
nbd 3e363bb83b toolchain: mark musl as broken for the chaos_calmer branch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-10 11:28:44 +00:00
rmilecki 726c8bfe33 mac80211: add brcmfmac patch fixing user space picked MACs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46288

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-09 18:23:41 +00:00
rmilecki 7d993d1406 mac80211: try to workaround some brcmfmac bug with handling interfaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46278

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-09 18:23:35 +00:00
jow fddd1850fd CC: openssl: update to v1.0.2d (CVE-2015-1793)
During certificate verification, OpenSSL (starting from version 1.0.1n and
1.0.2b) will attempt to find an alternative certificate chain if the first
attempt to build such a chain fails. An error in the implementation of this
logic can mean that an attacker could cause certain checks on untrusted
certificates to be bypassed, such as the CA flag, enabling them to use a valid
leaf certificate to act as a CA and "issue" an invalid certificate.

This issue will impact any application that verifies certificates including
SSL/TLS/DTLS clients and SSL/TLS/DTLS servers using client authentication.

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

Backport of r46285

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-09 13:15:19 +00:00
blogic 9164d2cfda x86/xen_domu: enable image generation
Add features ext4 targz to target x86/xen_domu in order to
generate images in defconfig.

This fixes #18074.

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

Backport of r46233

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-09 05:29:25 +00:00
rmilecki 04d6fe4808 nvram: get rid of NVRAM_SPACE
Now we support NVRAM whatever its size is.

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

Backport of r46262

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-08 06:06:07 +00:00
rmilecki 862b8aec43 nvram: fix displayed info about NVRAM size
Use actual partition size and content offset to calculate it.

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

Backport of r46260

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-08 05:45:09 +00:00
rmilecki ce2252fc44 Revert "Revert "nvram: increase NVRAM size to 64 KiB""
This reverts commit r45579.

With the latest change r46251 ("nvram: fix "Segmentation fault" caused
by setting memory out of buffer") nvram utility shouldn't crash anymore.

It was tested on 3 brcm47xx devices:
1) Unknown with 0x10000 NVRAM size (0x8000 offset)
2) Linksys E1000 V2.1 with 0x10000 (0x8000 offset)
3) Linksys WRT300N V1 with 0x10000 (0x8000 offset)

And 3 bcm53xx devices:
1) Buffalo WZR-600DHP2 with 0x160000 NVRAM size
2) Buffalo WZR-1750DHP with 0x10000 NVRAM size
3) Netgear R6250 V1 with 0x180000 NVRAM size
(all using 0 offset)

This is an important change as it allows reading whole NVRAM. This may
critical when reading some basic configuration (e.g. switch ports).

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

Backport of r46253

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-08 04:55:10 +00:00
rmilecki c1e9836221 nvram: fix "Segmentation fault" caused by setting memory out of buffer
Some MTD partitions with NVRAM have content starting in the middle. In
such case offset is set and nvram_header returns pointer to the middle.
It means we have to respect offset when calculating remaining space.

By the way use real MTD partition size (nvram_part_size variable) as we
may want to bump NVRAM_SPACE in the (very near) future.

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

Backport of r46251

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-08 04:55:04 +00:00
rmilecki dbde9080c9 procd: update to the latest version, fix stdout logging
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46212

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-08 04:54:57 +00:00
nbd 774d8bb150 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>

Backport of r46200

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-07 21:52:29 +00:00
cyrus 94606dcbe8 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/branches/chaos_calmer@46213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-07 11:30:39 +00:00
jogo 54b2f42f72 CC: 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.

Backport of r46176.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-04 12:53:57 +00:00
jow 171f0fd108 CC: 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>

Backport of r46162

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-03 13:38:12 +00:00
nbd 97f97da299 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>

Backport of r46158

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-02 11:45:39 +00:00
nbd 9e23117fb5 mdns: fix ubus wait_for command
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46156

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-02 11:26:28 +00:00
jogo 9349aab7b4 CC: kernel: update 3.18 to 3.18.17
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17

Backport of r46150.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-01 00:32:10 +00:00
jogo 973658c842 CC: brcm63xx: swap a4001n power leds again
This partially reverts r44577 ("brcm63xx: fix DTS LEDs and buttons").

Fixes #19858.

Backport of r46149.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-01 00:32:03 +00:00