Commit Graph

35059 Commits (d6cc49c97f46270ac2ec884df95660d29f57fe5f)

Author SHA1 Message Date
Felix Fietkau a51fcab27f CC: ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2
ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10

As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.

Backport of r47262

Signed-off-by: Matteo Valentini <matteo.valentini@wiman.me>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-12-05 09:57:23 +00:00
Felix Fietkau c7feed7fe9 CC: ramips: minor fixes for ZTB-WG2626
In backport commit r47605 the LED was named wrongly in a userspace
script.
Also remove reference to undefined pinmux group "wdt rst" causing
logline
rt2880-pinmux pinctrl: invalid group "wdt rst" for function "gpio"

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-12-05 09:47:06 +00:00
Hauke Mehrtens 9857f5d844 CC: openssl: update to version 1.0.2e
backport of r47726.

This fixes the following security problems:
* CVE-2015-3193
* CVE-2015-3194
* CVE-2015-3195)

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-12-03 21:08:28 +00:00
Imre Kaloz ab5f4ad6ce mwlwifi: update to latest revision, fixes a kernel panic (backport of [47677])
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-30 11:58:12 +00:00
Imre Kaloz 9485d3dfa3 mwlwifi: update to latest version (backport of [47661])
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-26 14:09:10 +00:00
Felix Fietkau 70a7dccd23 mkimage: cross compile fix: pass HOST_*FLAGS in to uboot's makefile
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build.  Setting these flags is frequently required for unusual
cross-compiles.

Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>

Backport of r46424

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-26 10:39:41 +00:00
Hauke Mehrtens 43fe09ee77 CC: tools/pkg-config: update to 0.29
backport of r47300

Release announcement:
http://lists.freedesktop.org/archives/pkg-config/2015-September/001019.html

Drop patches, as they have been implemented upstream.

This also fixes a build problem in the glib configure script when the
user id is bigger than 2^21 - 1.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix OSX compatibility]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-23 23:02:40 +00:00
Felix Fietkau 86605d34c4 build: add -Wno-error=unused-result to target cflags
Many glibc functions have __warn_unused_result__ in so many different
core functions, and failing the build for all of those simply does not
make any sense

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

Backport of r47440

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-23 14:03:03 +00:00
John Crispin 38af2ad2e2 procd: rework makefile, split ujail/seccomp
ujail doesn't depend on seccomp and some archs dont support seccomp

Backport of r46936
needed since last procd update (r47268)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-23 07:14:44 +00:00
John Crispin a0f7da3b8c CC: ramips: Backport support for ZBT WG2626
Backport of r47351

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-23 07:14:42 +00:00
John Crispin fcfb5c515a CC: brcm2708: Add sysupgrade support for Raspberry Pi
Also create .gz images if configured to do so.

This is equivalent, but different to what we have in trunk, as the image
creation has been rewritten there.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-23 07:14:38 +00:00
Hauke Mehrtens cf0cf15740 CC: ubox: update ubox to version 2015-11-22
Backport of r47600

This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-22 21:25:00 +00:00
Hauke Mehrtens a53fcea1ff CC: mountd: update mountd to version 2015-11-22
Backport of r47599

This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-22 21:24:21 +00:00
Jo-Philipp Wich 19bd3a7c43 CC: ar71xx: fix network default config of the TEW-732BR
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r47595

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-22 20:06:09 +00:00
Steven Barth 1e550bfb84 odhcpd: backport trunk fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-19 11:53:51 +00:00
John Crispin cefc18905d uboot-envtools: add support for linkits7688d
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47500

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-18 15:02:24 +00:00
Felix Fietkau e9751d56dc uhttpd: update to the latest version, adds support for redirect helper scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47419

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-18 12:39:06 +00:00
Felix Fietkau 193b45229f libubox: sync with trunk r47418
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-18 12:39:00 +00:00
Felix Fietkau 67e1e9add6 scripts/diffconfig.sh: reduce config output with CONFIG_BUSYBOX_CUSTOM
Use similar approach as r47461 to reduce output for busybox config.

Since r39435 CONFIG_BUSYBOX_CUSTOM=y has caused the addition of
all ~260 busybox config options to the diffconfig output even if
only one option has been changed.

This patch eliminates the unchanged busybox config options from the output
and leaves only the actually modified options.

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

Backport of r47463

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-18 12:38:56 +00:00
Felix Fietkau 4fda441db6 scripts/diffconfig.sh: reduce config output with CONFIG_ALL_KMODS
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47461

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-18 12:38:48 +00:00
Felix Fietkau ec85e3b478 samba: convert init script to procd, add reload support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47292

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-18 12:38:40 +00:00
Jo-Philipp Wich 499c7d0b60 CC: base-files: add missing public key
Add the secondary package signature key to the 15.05 sources so that people
building the release have the same keys as people using precompiled images.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-13 15:55:37 +00:00
Luka Perkov 3356bf3780 uhttpd: add support for configuration option ubus_cors
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-13 00:39:12 +00:00
Rafał Miłecki 35769e8b34 bcm53xx: add missing Netgear R8000 LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r47282

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-07 00:32:23 +00:00
Rafał Miłecki d1b4b244cc bcm53xx: Netgear R8000: define GPIO powering USB ports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r47337

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-07 00:26:20 +00:00
Rafał Miłecki da3997fc2d bcm53xx: replace USB patch fixing power control with the most recent version
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r47336

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-07 00:26:06 +00:00
John Crispin 877f7f55bd ramips: minor tweak to the lks7688 baord name
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47388

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-05 10:05:15 +00:00
John Crispin 1089950b53 ramips: add feature to blink led on sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47373

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-03 13:32:55 +00:00
Imre Kaloz 827329791a uboot: create the uboot config file for the shelby as well
fixes #20827, backport of r47365

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



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-03 11:08:53 +00:00
Hauke Mehrtens 2f99e562e0 CC: kernel: update kernel 3.18 to version 3.18.23
Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

backport of r47334.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-01 13:48:26 +00:00
Jo-Philipp Wich 0625aaa6f3 CC: toolchain: fix PKG_SOURCE_URL for gdb
The url for the gdb source changed upstream.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-26 15:07:47 +00:00
John Crispin 58c7c1033f bzip2: extend/fix the Host/Install rule to install libbz2.so files
It looks like the bzip2 package does not install any shared libs
and has no build rules to install any shared libs.

So, for the host build we're installing the libbz2 shared libs manually
so that other modules can link against them.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

Backport of r47245

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-26 09:18:03 +00:00
John Crispin a64b596e72 procd: update to latest git
this unbreaks glibc builds

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

Backport of r47266

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-26 09:17:54 +00:00
John Crispin ab97f5c459 ar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power
Antminers using the stock bootloader will not hash without this GPIO set.
Applies to DD and CC

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

Backport of r47261

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-26 09:17:51 +00:00
John Crispin 626f9510a8 ramips: WIZnet WizFi630A Platfrom support - board detection
This patch is adding the missing board detection of WIZnet WizFi630A board.
ramips.sh was not submitted with the former patch.

This belongs to to the backport of patch r46921

Signed-off-by: Tobias Welz <tw@wiznet.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-20 19:03:28 +00:00
John Crispin e4f9394499 ar71xx: Bitmain Antminer S1 & S3 cleanup
Sets the LEDs to boardname:color:led-name
Sets the LAN to eth0
Corrects the profile names in the Makefile and changes tabs to spaces
in the Makefile 'define Device/' like the other devices.
Other corrections such as the Machine Name and HWIDs

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-20 19:03:26 +00:00
John Crispin b310e00f1c uhttpd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47240

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-20 18:17:12 +00:00
John Crispin 892da50c2e ramips: gpio-mt7621 was not handling irqs above 31 properly
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47238

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-20 07:10:05 +00:00
John Crispin d5ba886ca6 ar71xx: Add Gainstrong MiniBox v1.0 support to 15.05
This patch supersedes the v1 from September 17th.

Bumping the patch version - the MiniBox profile showed up under M, but
since it's called 'Gainstrong MiniBox v1.0' now it looks out of place.
Renamed the profile to gs-minibox-v1.mk to fix that.

The following patch adds support for the Gainstrong MiniBox to 15.05
Chaos Calmer.

Fixed items:

- Inverted LED polarity (OOLITE seems to suffer from the same problem).
- Changed uppercase MINIBOX_V1_ prefix as requested.
- Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor).
- Mention the vendor (Gainstrong) in code headers.

Compiles fine, has been confirmed working by owners.

Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c,
the MiniBox images build fine without, so I'm wondering: do I need to add
it in there as well? Any added benefit?

Thank you

Signed-off by: Stijn Segers <francesco.borromini@inventati.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 17:58:05 +00:00
John Crispin 2830947555 malta: remove le64/be64 references
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:30:18 +00:00
John Crispin 25eee465a9 ar71xx: Add support for WeIO board
Support for WeIO board (http://we-io.net),
backported from Designated Driver trunk.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>

Backport of r47110

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:44 +00:00
John Crispin 874e0061ce uhttpd: update to latest git revision
adds URL alias support

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

BAckport of r47206

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:33 +00:00
John Crispin 9b22f6f735 ramips: add alsa driver
add the alsa driver from the latest RTSDK

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

Backport of r47205

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:29 +00:00
John Crispin b17824ef03 ramips: update mt7628 dtsi file
add nodes required for audio
add missing pinmux definitions

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

Backport of r47205

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:25 +00:00
John Crispin 718cc02aa4 ramips: add a baurate hack
When talking to an atmel controller we need 9600 or 250000 baud.
as 250000 does not exist we use 2500000.

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

Backport of r47204

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:23 +00:00
John Crispin ebff32ce9e ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47203

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:22 +00:00
John Crispin 563f3a4cb7 ramips: add mt7688 subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47203

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:18 +00:00
Hauke Mehrtens b3fc18b565 CC: polarssl: update to version 1.3.14
This fixes CVE-2015-5291 and some other smaller security issues.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-18 22:27:38 +00:00
John Crispin 57ddf3d694 opkg: backport 'opkg list --size' option
Backport from trunk to CC15.05 the --size option to optionally show also
the *.ipk size in the opkg package listing.

* Default behaviour is to list the available packages as earlier:
  "name - version - description"
* with "--size" the output of is "name - version - size - description".

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:41:30 +00:00
John Crispin 7692796fe3 generic: add 8139cp fixes from 4.3
This contains only the fixes from the 4.3-rc4 kernel.

Additional improvements are going into 4.4 which will fix and enable
hardware checksum/TSO offload, but backporting those to older kernels
is non-trivial.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:41:22 +00:00