Commit Graph

34673 Commits (f259e7398565e1b452af94c8f27d5493e1b611e8)

Author SHA1 Message Date
Florian Fainelli 6e094aeb9b 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 Fainelli 0839afe00f 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
Felix Fietkau 540dcbea01 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
Felix Fietkau 857fe25803 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
Jo-Philipp Wich 751a531bff 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
Rafał Miłecki 150f3a3b22 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
Steven Barth 2674854287 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
Steven Barth 1a4da94faf 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 Mehrtens db9be1fa75 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 Mehrtens 3a969d7290 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 Mehrtens cc4df226c8 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 Mehrtens 4e7d2ffce5 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
Felix Fietkau 51a243f3c1 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
Felix Fietkau 664c195e33 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
Rafał Miłecki 11f5163972 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
Rafał Miłecki cd30b84d80 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
Jo-Philipp Wich 4dce12d97d 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
John Crispin 785740b996 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
Rafał Miłecki 47864f2c6d 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
Rafał Miłecki b84a8b0543 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
Rafał Miłecki 716f2956e1 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
Rafał Miłecki 1cd7850184 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
Rafał Miłecki e141218026 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
Felix Fietkau f23168935e 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
Steven Barth 72cab74402 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
Jonas Gorski 80f958c88d 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
Jo-Philipp Wich 3c5e9dfcc9 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
Felix Fietkau 354e275d05 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
Felix Fietkau b898a4a0b8 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
Jonas Gorski ee00711ff8 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
Jonas Gorski da318364ff 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
Jonas Gorski 7c301583d5 CC: 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.

Backport of r46148.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-01 00:32:01 +00:00
John Crispin a719bcebec Revert "ar71xx: add profile and build image for EnGenius EPG5000."
This reverts commit ac3184da4138c54b8a2c1be637be7cf78fc40fce.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-29 08:24:13 +00:00
John Crispin d22caaf68d Revert "ar71xx: add user-space support for EnGenius EPG5000."
This reverts commit e3326c4473bc6b7b5fd899ac955af974ebc64b92.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-29 08:24:07 +00:00
John Crispin 00cde0d6e5 Revert "ar71xx: add kernel support for EnGenius EPG5000."
This reverts commit 27386b74adfe868f693176f55861984432afd2ce.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-29 08:24:03 +00:00
Rafał Miłecki d2ddc2550a 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>

Backport of r46104

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-22 07:59:09 +00:00
Rafał Miłecki 23703455ed bcm53xx: respect ACTIVE_LOW when powering USB using GPIO
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46088

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:32 +00:00
Rafał Miłecki 9f49d2c4de bcm53xx: enable USB power on Buffalo WZR-1750DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46087

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:27 +00:00
Rafał Miłecki 481fd13854 bcm53xx: update SPROM driver to include just-sent patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46086

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:21 +00:00
Rafał Miłecki 09d14aa8fc 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>

Backport of r46084

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:11 +00:00
Rafał Miłecki e1c4a480e0 bcm53xx: enable USB power on Netgear R6250
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46083

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:03 +00:00
Rafał Miłecki ee102014ab bcm53xx: update xHCI patch
This drops some debugging pr_info and adds platform_device_unregister.

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

Backport of r46082

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:07:58 +00:00
Rafał Miłecki 58d3d3190f bcm53xx: fix enabling GPIO-controlled USB power
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46081

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:07:52 +00:00
Rafał Miłecki 989285d9c5 bcm53xx: add xHCI support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46080

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:07:44 +00:00
Rafał Miłecki 2375855edb 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>

Backport of r46085

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:06:31 +00:00
Rafał Miłecki 18d42d6d2e kernel: make USB_XHCI_PLATFORM selectable
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46079

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:06:24 +00:00
Rafał Miłecki a65dcd703e 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>

Backport of r46078

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:04:48 +00:00
Rafał Miłecki 129d8e13f1 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>

Backport of r46077

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:04:42 +00:00
Felix Fietkau 0e0730c316 ath9k: fix ar956x device detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46090

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 17:52:47 +00:00
Imre Kaloz 936077d190 mwlwifi: upgrade to 10.3.0.3 (backport of r46061)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-19 08:35:57 +00:00