Commit Graph

34653 Commits (7c9d276f3f6ba243af78332599653a02a6e1b8fc)

Author SHA1 Message Date
Felix Fietkau 7c9d276f3f x86/geode: enable DMI and Geos support (fixes #20512)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

Backport of r46986

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-17 10:16:41 +00:00
Felix Fietkau e85a3f5fa4 x86: fix Geode LX timekeeping (#20531)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46985

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-17 10:16:38 +00:00
Steven Barth d97fa727c4 ppp: backport use a more reliable way to set script environment
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-15 14:56:43 +00:00
Felix Fietkau ff896d145c base-files: replace the opkg key with the one used for the final image
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-14 16:50:47 +00:00
Felix Fietkau dc4e09656a ramips: fix chunked-io support for big flash chips (#20504)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46904

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-14 06:57:07 +00:00
Rafał Miłecki b0b76c8782 bcm53xx: add NAND flash chip description for Asus RT-AC87U
This isn't that important due to different NAND driver but keeps DTS and
backports consistent.

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

Inspired by r46892 (trunk).

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-14 06:14:41 +00:00
Felix Fietkau 916dfa7c92 ath10k: reduce dma burst size on newer firmware to fix crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46900

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-13 20:46:00 +00:00
Rafał Miłecki 7c573c8758 kernel: drop some left XHCI patch for 4.0
It was accidentally added in r46094.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-11 12:09:00 +00:00
Jonas Gorski 30a6f4a509 CC: opkg: ensure image provided feeds are available after sysupgrade
Split the opkg.conf into three files, to make it easier to support custom
feeds and configs:

* /etc/opkg.conf -> base opkg configuration
* /etc/opkg/distfeeds.conf -> default Openwrt package feeds
* /etc/opkg/customfeeds.conf -> custom package feeds

Of these three, only the base opkg.conf and the customfeeds.conf is marked
as to be kept, so that the distfeeds.conf from the image is always used.

To ease migration, a script is added that moves any feeds from /etc/opkg.conf
to /etc/opkg/customfeeds.conf on first boot.

Also ensure that any keys used for verification are also kept in upgrade.

Backport of r46491.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-11 10:48:42 +00:00
Jonas Gorski 8cb7552c46 CC: kernel: update 3.18 to 3.18.21
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-11 10:48:34 +00:00
Felix Fietkau 0dc3d0e7c7 ipq806x: delete from CC branch; it is broken and unsupported
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-11 08:49:42 +00:00
Felix Fietkau 4f27e9cc71 kernel: restore 640-bridge_no_eap_forward.patch to its original form
It was corrupted in r38528. The most obvious symptom is repeated messages like this:

Tue Sep  8 08:25:18 2015 kern.warn kernel: [77141.972226] br-lan: received packet on wlan0 with own address as source address

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>

Backport of r46821

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-08 14:31:41 +00:00
Rafał Miłecki 3f230bc901 brcm47xx: apply serial flash size trick to Netgear WNR1000 V3
It also uses different block size just like WGR614 V10.

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

Backport of r46810

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-08 06:01:04 +00:00
Rafał Miłecki 7b7f2fa4e9 brcm47xx: add Netgear WNR1000 V3 support in the Linux arch code
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46805

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-08 06:00:59 +00:00
Felix Fietkau 42a3d57292 uhttpd: update to the latest version, fixes deferred cgi script processing (#20458)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46807

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-07 19:19:25 +00:00
Felix Fietkau f7fbc745a1 ramips: fix devicetree corruption with some boot loaders if the caches are not ready at boot
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46766

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-02 09:26:22 +00:00
Hauke Mehrtens 7e05e4ed13 CC: hostapd: properly enable 802.11w support
backport of r46737

Add CONFIG_IEEE80211W variable to DRIVER_MAKEOPTS so that 802.11w
support is properly compiled in full variant.

This fixes #20179

Signed-off-by: Janusz Dziemidowicz <rraptorr@nails.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-29 20:32:26 +00:00
Hauke Mehrtens 45db302513 CC: broadcom-wl: add interface after bridge is up
backport of r46749

Without this patch adding the wifi device to the bridge may fail
because the bridge is not already configured when the wifi device gets
configured. This patch makes broadcom-wl wait till the bridge is ready.

This fixes #17262

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-29 20:05:41 +00:00
Hauke Mehrtens e6ded4a534 CC: broadcom-wl: fix bash comparison error
Backport of r46746

This fixes #17495

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-29 17:40:11 +00:00
Hauke Mehrtens 94128f9d89 CC: broadcom-wl: fix section mismatches in broadcom-wl driver
Backport of r46745

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-29 17:39:36 +00:00
Rafał Miłecki 34cf42625c brcm47xx: fix Linksys E1200 V2 image filename
Drop unwanted suffix (copy & paste mistake).

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

Backport of r46742

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-29 09:28:31 +00:00
Rafał Miłecki 3518bc6992 mac80211: add pending brcmfmac patch fixing warm reboots
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46739

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-27 14:58:00 +00:00
Rafał Miłecki ae82d6b9e6 mac80211: update brcmfmac to the latest version
This also adds one patchset of pending changes that fix support for
multiple interfaces. It was somehow broken.
Driver couldn't correctly match firmware and system interfaces resulting
in not working APs and WARNINGs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-26 22:57:54 +00:00
Rafał Miłecki e32144bf9d mac80211: group last brcmfmac changes into (half) patchset
This prepares some place for backporting extra patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-26 22:57:29 +00:00
Rafał Miłecki 8499bbec44 bcm53xx: add support for Netgear R7000
Backport of r46363 r46730 r46731 r46732.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-26 16:20:39 +00:00
Jonas Gorski 56d6d4eaf3 CC: brcm63xx: fix WAP-5813n default network config
/etc/uci-defaults/02_network had a typo, making it generate the wrong
network config.

Closes #20407.

Backport of r46727.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-26 13:04:13 +00:00
Jonas Gorski b0184ecbf5 CC: mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabled
Properly treat -ENOSYS as no PHY, else ehci-orion won't work without
generic phy support.

Backport of r46711.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-23 13:37:42 +00:00
Jonas Gorski ecdc42cc5b CC: mac80211: disable ipw2x00 for big endian targets
The ipw2x00 drivers assume that the system they are running is little
endian, and access everything in native byte order. When run on a big
endian system, everything breaks apart.

Since fixing this is non trivial on a first glance, disable them for
big endian targets.

Backport of r46708.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-23 09:41:27 +00:00
Jonas Gorski 47a6648245 CC: brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
Some CFEs seem to misconfigure the mapped memory flash access with
fast read but without a dummy byte, causing all accesses to be prefixed
with 0xff.
This of course breaks reading out the nvram, so do not just move back to
single i/o accessors, but also ensure that the dummy byte is correctly
set.

Backport of r46707.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-23 09:41:07 +00:00
Imre Kaloz 05f49c372e mvebu: fix cobra chainmask (backport of r46697)
Thanks Sebastian for spotting it.

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



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-21 08:06:07 +00:00
Imre Kaloz 7545a9373c mwlwifi: downgrade to 10.3.0.3-20150804
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-20 20:45:16 +00:00
Imre Kaloz 5735828ee2 mwlwifi: fix commit hash for 10.3.0.8
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-19 08:44:26 +00:00
Imre Kaloz 9f8042dd1f mvebu: add support for the Linksys boot counter (backport of r46690)
The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.
 
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-19 08:35:41 +00:00
Imre Kaloz f9ccf89b13 uhttpd: we don't know where the device is located, so reflect that in the cert
backport of r46688
 
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-19 08:21:20 +00:00
Imre Kaloz 0054ed3947 mwlwifi: upgrade to 10.3.0.8-20150818
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-18 11:20:59 +00:00
Hauke Mehrtens be288acba5 xz: update to version 5.2.1
Backport of 46603.

This adds support for symbol versioning which is needed on
CentOs/RedHat 7 to fix #20134.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-17 19:23:34 +00:00
Hauke Mehrtens 5ba480d599 CC: kernel: update 3.18 to 3.18.20
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-17 19:01:16 +00:00
Hauke Mehrtens af42a09bc4 procd: fix seccomp build on some architectures
Backport of r46612.

fix generating syscall-names.h

Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.

For example the bit/syscall.h from musl for i386 has this:

  #define __NR_timer_create     259
  #define __NR_timer_settime    (__NR_timer_create+1)

With this patch the resulting array looks like this:

 [259] = "timer_create",
 [(__NR_timer_create+1)] = "timer_settime",

This closes #20195.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-17 18:59:00 +00:00
Jo-Philipp Wich 3a81a973eb CC: uhttpd: pass X-HTTP-Method-Override header to cgi scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r46677

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-17 16:41:53 +00:00
John Crispin 0ccf8af08c ugps: update to latest git HEAD
fixes 2 bugs
* typo
* use %04d rather than %d when printing the position

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

Backport of r46666

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-17 13:19:01 +00:00
John Crispin 1cbb93865e ar71xx: Add support for Black Swift
Add support for the Black Swift board:
http://www.black-swift.com/

Took relevant parts and slightly adapted from:
https://github.com/blackswift/openwrt/blob/master/bsb.patch

Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-17 13:18:56 +00:00
John Crispin febf61a29a ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.
Kinda-backport of r46415, though this patch uses the old-style calibration data loading.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-17 13:18:50 +00:00
Felix Fietkau 17c7a62e81 image: fix handling of per-device kernel build commands
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46589

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-13 19:35:29 +00:00
Felix Fietkau 2bab87c90c image: fix device variable exports for initramfs images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46496

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-13 19:35:26 +00:00
Rafał Miłecki 11e562d28c bcm53xx: add workaround for Netgear R8000 network
According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-12 15:26:18 +00:00
Rafał Miłecki 8262cd6372 brcm47xx: fix reading WGT634U CFE variables
We got check for nvram_len placed too early and the code never tried
reading CFE variables used on WGT634U. This is a regression introduced
in r45942 and reported in #20291.

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

Backport of r46584

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-12 13:30:34 +00:00
Rafał Miłecki 7552e27dfb base-files: buttons: make power script return 0
It was missed in the r46471.

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

Backport of r46582

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-12 00:58:41 +00:00
Rafał Miłecki dd91e3763a buttons: make all button handler scripts return 0
this is required by the new button timeout feature

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

Backport of r46471

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-10 23:58:15 +00:00
Rafał Miłecki d0bb5b2d0c procd: update to the latest version, add "button" hotplug handler
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

In 15.05-rc2 we got support for "set-interval" and "clear-interval"
which got dropped with the update of procd done in r46257. This new
"button" action provides similar functionality so it makes sense to
backport it to 15.05.

Backport of r46578

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-10 22:29:46 +00:00
Hauke Mehrtens ef574b4585 CC: kernel: crypto: fix module loading of aead.ko
The name of the module was wrong before.

This should fix #20283.

backport of r46574.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-09 17:19:00 +00:00