openwrt.git
8 years agoimx6: drop support for kernel 3.18
luka [Wed, 18 Nov 2015 21:36:36 +0000 (21:36 +0000)]
imx6: drop support for kernel 3.18

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47509 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: convert ventana images to squashfs+ubifs overlay
luka [Wed, 18 Nov 2015 21:35:24 +0000 (21:35 +0000)]
imx6: convert ventana images to squashfs+ubifs overlay

Replace the ventana ubi images from a single rootfs volume containing the
rootfs as well as kernel+dtbs in the boot/ subdir to a multi-volume ubi
containing kernel+dtbs+bootscript in 'root' ubifs volume, rootfs in 'rootfs'
squasfs volume, and rootfs_data an empty ubifs volume.

At the same time move ventana image creation over to using the new
TARGET_DEVICE syntax as a cleanup.

Additionally removed FIT image creation as it is recommended that this be
done manually to produce signed FIT images if needed.

Note that a bootscript is needed for Ventana to change its default mtdparts
to rename the 2nd partition from 'rootfs' to 'ubi'. This is because there
are patches in OpenWrt kernels that try to auto-attach and auto-mount and these
get in the way if the mtd partition is named 'rootfs'.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47508 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: kernel: add UBI_BLOCK support
luka [Wed, 18 Nov 2015 21:35:16 +0000 (21:35 +0000)]
imx6: kernel: add UBI_BLOCK support

UBI_BLOCK support is needed for mounting squashfs over UBI

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47507 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: switch to v4.1
luka [Wed, 18 Nov 2015 21:35:12 +0000 (21:35 +0000)]
imx6: switch to v4.1

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47506 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: add Gateworks GW551x support
luka [Wed, 18 Nov 2015 21:35:09 +0000 (21:35 +0000)]
imx6: add Gateworks GW551x support

Upstream patch: e9d6d6b62f306ba83e1441af5daf2809a6167474

Add support for the Gateworks GW5510 board featuring:
 * i.MX6 SoC
 * up to 512MB DDR3
 * up to 2GB NAND flash
 * 1x miniPCIe socket (with USB)
 * HDMI out (micro-HDMI)
 * HDMI in (micro-HDMI) (currently supported by only vendor kernel)
 * TTL level I/O (supported by GW16111 breakout board):
  * I2C
  * 2x UART
  * CAN
  * 2x DIO (GPIO/PWM)
  * USB OTG

Also add support to OpenWrt build system

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47505 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: nsa310s: fix partition size
luka [Wed, 18 Nov 2015 21:35:04 +0000 (21:35 +0000)]
kirkwood: nsa310s: fix partition size

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47504 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix menu for scsi-tape
hauke [Wed, 18 Nov 2015 20:31:23 +0000 (20:31 +0000)]
kernel: fix menu for scsi-tape

this should be placed under the block menu entry, this fixes r47482.

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

8 years agouboot-envtools: add support for linkits7688d
blogic [Wed, 18 Nov 2015 15:00:38 +0000 (15:00 +0000)]
uboot-envtools: add support for linkits7688d

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47500 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc: fix internal compiler error on MIPS with MIPS16 enabled (triggered by libpcap)
nbd [Wed, 18 Nov 2015 00:57:22 +0000 (00:57 +0000)]
gcc: fix internal compiler error on MIPS with MIPS16 enabled (triggered by libpcap)

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

8 years agonetifd: fix device status reporting for external interfaces
jow [Tue, 17 Nov 2015 16:34:43 +0000 (16:34 +0000)]
netifd: fix device status reporting for external interfaces

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47493 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc: switch to 5.2.0 by default
nbd [Tue, 17 Nov 2015 12:38:41 +0000 (12:38 +0000)]
gcc: switch to 5.2.0 by default

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

8 years agogdb: use separate patches for upstream and ARC gdb
nbd [Tue, 17 Nov 2015 12:38:32 +0000 (12:38 +0000)]
gdb: use separate patches for upstream and ARC gdb

With bump of upstream GDB from 7.9 to 7.10 at least
100-no_extern_inline.patch became incompatible with
ARC gdb (which is still based on upstream 7.9 branch).

So until ARC support is not completely upstreamed
(which we expect to happen in coming months) we'll need to have
separate patches for ARC gdb.

This time clean build-tested for Netgear WNDRMAC & AXS101.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47491 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc: add a patch to 5.x that supports translation of __FILE__ paths
nbd [Tue, 17 Nov 2015 12:38:22 +0000 (12:38 +0000)]
gcc: add a patch to 5.x that supports translation of __FILE__ paths

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

8 years agoprocd: drop nand_upgrade_stage1 from sysupgrade_pre_upgrade hooks
rmilecki [Tue, 17 Nov 2015 07:26:12 +0000 (07:26 +0000)]
procd: drop nand_upgrade_stage1 from sysupgrade_pre_upgrade hooks

Now we have all targets using platform_pre_upgrade (and calling
nand_do_upgrade directly) we don't need nand_upgrade_stage1 to be in
sysupgrade_pre_upgrade hooks anymore.

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

8 years agomusl: fix handling of point-to-point interfaces in getifaddrs()
jow [Mon, 16 Nov 2015 18:15:00 +0000 (18:15 +0000)]
musl: fix handling of point-to-point interfaces in getifaddrs()

Current musl reports the peer (remote) address of a point-to-point
interface and does not store the local address at all.

Apply the same special treatment of IFA_LOCAL to musl's getifaddrs() which
is also used in glibc and uclibc.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47488 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: kmod-udptunnel6 depends on IPv6
jow [Mon, 16 Nov 2015 17:39:32 +0000 (17:39 +0000)]
kernel: kmod-udptunnel6 depends on IPv6

Spotted a missing 'ip6_udp_tunnel.ko' build failure during a local
build with all kmods enabled but globally disabled IPv6 support.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47487 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add CONFIG_SSB_HOST_SOC symbol
rmilecki [Mon, 16 Nov 2015 12:22:47 +0000 (12:22 +0000)]
kernel: add CONFIG_SSB_HOST_SOC symbol

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

8 years agoltq-app-vdsl: convert init script to procd, add support for switching between atm...
nbd [Mon, 16 Nov 2015 11:02:14 +0000 (11:02 +0000)]
ltq-app-vdsl: convert init script to procd, add support for switching between atm and ptm

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

8 years agobrcm47xx: backport BCM47xx MIPS commits from 4.3 and 4.4-rc1
rmilecki [Mon, 16 Nov 2015 07:18:37 +0000 (07:18 +0000)]
brcm47xx: backport BCM47xx MIPS commits from 4.3 and 4.4-rc1

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

8 years agokernel: backport ssb changes from 4.4-rc1
rmilecki [Mon, 16 Nov 2015 06:55:38 +0000 (06:55 +0000)]
kernel: backport ssb changes from 4.4-rc1

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

8 years agokernel: support for scsi tape devices
hauke [Sun, 15 Nov 2015 22:14:45 +0000 (22:14 +0000)]
kernel: support for scsi tape devices

Support for scsi tape devices as kernel module.

This allow to use scsi tape devices in openwrt.

Signed-off-by: Giuseppe Magnotta <giuseppe.magnotta@gmail.com>
[moved to block.mk]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47482 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: add DCCP to /etc/protocols
hauke [Sun, 15 Nov 2015 22:09:13 +0000 (22:09 +0000)]
base-files: add DCCP to /etc/protocols

Fixes this conntrackd warning:
WARNING: getprotobyname() cannot find protocol `DCCP' in /etc/protocols

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47481 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoconntrack-tools: preserve /etc/conntrackd during upgrade
nbd [Sun, 15 Nov 2015 21:34:15 +0000 (21:34 +0000)]
conntrack-tools: preserve /etc/conntrackd during upgrade

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47480 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/modules: add OCTEON SHA512 module
nbd [Sun, 15 Nov 2015 21:34:08 +0000 (21:34 +0000)]
kernel/modules: add OCTEON SHA512 module

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47479 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/modules: move SHA512 to its own package
nbd [Sun, 15 Nov 2015 21:34:00 +0000 (21:34 +0000)]
kernel/modules: move SHA512 to its own package

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47478 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/modules: add OCTEON SHA256 module
nbd [Sun, 15 Nov 2015 21:33:54 +0000 (21:33 +0000)]
kernel/modules: add OCTEON SHA256 module

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47477 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/modules: add OCTEON SHA1 module
nbd [Sun, 15 Nov 2015 21:33:49 +0000 (21:33 +0000)]
kernel/modules: add OCTEON SHA1 module

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47476 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/modules: add OCTEON MD5 module
nbd [Sun, 15 Nov 2015 21:33:39 +0000 (21:33 +0000)]
kernel/modules: add OCTEON MD5 module

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47475 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoocteon: remove 3.18 support
nbd [Sun, 15 Nov 2015 21:33:33 +0000 (21:33 +0000)]
octeon: remove 3.18 support

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47474 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoocteon: switch to 4.3
nbd [Sun, 15 Nov 2015 21:33:28 +0000 (21:33 +0000)]
octeon: switch to 4.3

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47473 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoocteon: add support for 4.3
nbd [Sun, 15 Nov 2015 21:33:23 +0000 (21:33 +0000)]
octeon: add support for 4.3

Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47472 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add patch to fix prefsrc lookups
nbd [Sun, 15 Nov 2015 21:33:14 +0000 (21:33 +0000)]
kernel: add patch to fix prefsrc lookups

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47471 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoxtables-addons: update to 2.9
nbd [Sun, 15 Nov 2015 21:33:07 +0000 (21:33 +0000)]
xtables-addons: update to 2.9

Fixes compilation with Linux 4.3. Runtime tested on Ubiquiti EdgeRouter
Lite with Linux 3.18, 4.1 and 4.3.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47470 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath10k-firmware: update firmware version for QCA988X (again)
nbd [Sun, 15 Nov 2015 21:33:01 +0000 (21:33 +0000)]
ath10k-firmware: update firmware version for QCA988X (again)

Updates the ath10-firmware release to current git and updates the
QCA988X firmware in use to version 10.2.4.70.12-2 which appears to
actually fix the stability problems when using a Nexus 5X phone as
per issue #20854. Also updates the Makefile for a change in the
location of the board.bin file for QCA988X in the source repository.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47469 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: enable vfpv4 support and set cpu type to cortex-a9
nbd [Sat, 14 Nov 2015 14:22:24 +0000 (14:22 +0000)]
ipq806x: enable vfpv4 support and set cpu type to cortex-a9

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

8 years agokernel: take bcm47xx_nvram.h from kernel and not backports
hauke [Fri, 13 Nov 2015 23:51:31 +0000 (23:51 +0000)]
kernel: take bcm47xx_nvram.h from kernel and not backports

compat-wireless/backports now contains a bcm47xx_nvram.h file to
backport some of the functions in it which are used by the bcmfmac
driver. This file just checks for the kernel versions and provide an
empty implementations on older kernel versions. This is OK on most
systems, but on bcm47xx / bcm53xx systems we want to call the real
functions here. This commit removes the file from backports in our
build process like we do it with the bcma and ssb header files. Instead
we add a recent version into our kernel so all code uses only one
header file. On bcm47xx / bcm53xx the real implementations of this code
will be used.

Reported-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47467 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc: set the isl/cloog prefix when graphite is enabled, disable it explicitly if...
nbd [Fri, 13 Nov 2015 11:35:41 +0000 (11:35 +0000)]
gcc: set the isl/cloog prefix when graphite is enabled, disable it explicitly if it is disabled in the config

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

8 years agotools: add isl (used for graphite on GCC 5)
nbd [Fri, 13 Nov 2015 11:35:37 +0000 (11:35 +0000)]
tools: add isl (used for graphite on GCC 5)

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

8 years agoscripts/diffconfig.sh: reduce config output with CONFIG_BUSYBOX_CUSTOM
nbd [Fri, 13 Nov 2015 11:34:18 +0000 (11:34 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47463 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/diffconfig.sh: reduce config output with CONFIG_ALL_KMODS
nbd [Thu, 12 Nov 2015 01:06:10 +0000 (01:06 +0000)]
scripts/diffconfig.sh: reduce config output with CONFIG_ALL_KMODS

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

8 years agonetifd: update to the latest version, contains several fixes, including one for inter...
nbd [Thu, 12 Nov 2015 00:24:27 +0000 (00:24 +0000)]
netifd: update to the latest version, contains several fixes, including one for interface ip4/ip6table for device routes

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

8 years agokernel: fix an af_packet regression that was breaking PPPoE on 4.1+ (#20707)
nbd [Wed, 11 Nov 2015 14:12:51 +0000 (14:12 +0000)]
kernel: fix an af_packet regression that was breaking PPPoE on 4.1+ (#20707)

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

8 years agokirkwood: add Linksys routers to default profile
luka [Wed, 11 Nov 2015 12:48:30 +0000 (12:48 +0000)]
kirkwood: add Linksys routers to default profile

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47458 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouboot-envtools: kirkwood: fix EA35/4500 board names
luka [Wed, 11 Nov 2015 12:48:29 +0000 (12:48 +0000)]
uboot-envtools: kirkwood: fix EA35/4500 board names

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47457 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibnl-tiny: include <sys/socket.h>
nbd [Wed, 11 Nov 2015 11:39:21 +0000 (11:39 +0000)]
libnl-tiny: include <sys/socket.h>

Currently some libnl headers require application code to include
dependencies on its own. E.g. a simple include of <linux/netlink.h>
will trigger an error:
/usr/include/libnl-tiny/linux/netlink.h:32:2: error: unknown type name 'sa_family_t'

Similarly including <netlink/handlers.h> causes:
/usr/include/libnl-tiny/netlink/handlers.h:133:19: warning: 'struct ucred' declared inside parameter list [enabled by default]

Fix it by including <sys/socket.h> where needed in libnl headers.

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

8 years agohostapd: Use network_get_device instead of uci_get_state
nbd [Wed, 11 Nov 2015 08:34:59 +0000 (08:34 +0000)]
hostapd: Use network_get_device instead of uci_get_state

This fixes the IAPP functionality.

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

8 years agoath10k-firmware: update firmware version for QCA988X
nbd [Wed, 11 Nov 2015 08:32:37 +0000 (08:32 +0000)]
ath10k-firmware: update firmware version for QCA988X

Updates the ath10k firmware version for QCA988X to version
10.2.4.70.10-2, which appears to fix problems with the 5GHz wireless
failing on TP-Link Archer C7 v2 when using a Nexus 5X phone. Fixes
issue #20854.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47454 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoelfutils: bump to 0.164
nbd [Wed, 11 Nov 2015 08:32:28 +0000 (08:32 +0000)]
elfutils: bump to 0.164

Patches are refreshed except for elfutils-portability, which is gone:
https://lists.fedorahosted.org/pipermail/elfutils-devel/2015-October/005290.html

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47453 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing config options
hauke [Tue, 10 Nov 2015 23:21:10 +0000 (23:21 +0000)]
kernel: add missing config options

This was seen by the buildbot on arm64.

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

8 years agoar71xx: add Arduino Yun
hauke [Tue, 10 Nov 2015 23:13:09 +0000 (23:13 +0000)]
ar71xx: add Arduino Yun

This is based on patches from Federico Fissore <f.fissore@arduino.cc>
especially this one:
https://github.com/arduino/openwrt-yun/commit/7e2976fa83fb0d72a955574499178c387a1b3c92

The console is running with 250000 baud which is a non standard baud
rate and needs an extra patch to be applied, I will try to get this
patch upstream or something else which accomplish the same.

Some upstream code looks like there are many different versions of this
SoC, are these only internal versions and all versions on the consumer
market are the same? I saw different GPIO configuration and flash sizes
of 8MB and 16MB?

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

8 years agoar71xx: serial: core: add support for boot console with arbitrary baud rates
hauke [Tue, 10 Nov 2015 23:11:10 +0000 (23:11 +0000)]
ar71xx: serial: core: add support for boot console with arbitrary baud rates

The Arduino Yun uses a baud rate of 250000 by default. The serial is
going over the Atmel ATmega and is used to connect to this chip.
Without this patch Linux wants to switch the console to 230400 Baud.

With this patch Linux will use the configured baud rate and not some
standard one which is near by.

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

8 years agoar71xx: add function to access the GPIO function2 register
hauke [Tue, 10 Nov 2015 23:10:11 +0000 (23:10 +0000)]
ar71xx: add function to access the GPIO function2 register

Add access to the function2 gpio register. This probably has to be
converted into a pimux driver later on. This is needed for some setup
functions on the Arduino Yun.

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

8 years agouhttpd: add support for configuration option ubus_cors
luka [Tue, 10 Nov 2015 22:28:45 +0000 (22:28 +0000)]
uhttpd: add support for configuration option ubus_cors

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47448 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix breakage in the 4.3 version of 611-netfilter_match_bypass_default_table...
nbd [Tue, 10 Nov 2015 21:11:25 +0000 (21:11 +0000)]
kernel: fix breakage in the 4.3 version of 611-netfilter_match_bypass_default_table.patch

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

8 years agotoolchain/gdb: disable python support
nbd [Tue, 10 Nov 2015 21:11:20 +0000 (21:11 +0000)]
toolchain/gdb: disable python support

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

8 years agotoolchain: remove obsolete relinking code
nbd [Tue, 10 Nov 2015 21:11:03 +0000 (21:11 +0000)]
toolchain: remove obsolete relinking code

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

8 years agoopkg: remove obsolete gcc version check
nbd [Tue, 10 Nov 2015 21:10:57 +0000 (21:10 +0000)]
opkg: remove obsolete gcc version check

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

8 years agogcc: remove version 4.6, it is no longer needed
nbd [Tue, 10 Nov 2015 21:10:53 +0000 (21:10 +0000)]
gcc: remove version 4.6, it is no longer needed

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

8 years agogcc: enable LTO support unconditionally
nbd [Tue, 10 Nov 2015 21:10:45 +0000 (21:10 +0000)]
gcc: enable LTO support unconditionally

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

8 years agogcc: use version 5.x for octeon instead of 4.6 - it has been tested with glibc
nbd [Tue, 10 Nov 2015 21:10:39 +0000 (21:10 +0000)]
gcc: use version 5.x for octeon instead of 4.6 - it has been tested with glibc

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

8 years agobuild: add -Wno-error=unused-result to target cflags
nbd [Tue, 10 Nov 2015 12:04:09 +0000 (12:04 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47440 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopenvpn: enable options consistency check even in the small build
nbd [Tue, 10 Nov 2015 12:04:04 +0000 (12:04 +0000)]
openvpn: enable options consistency check even in the small build

Only costs about 3k compressed, but significantly improves handling of
configuration mismatch

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

8 years agotoolchain: add support of ARC architecture
nbd [Tue, 10 Nov 2015 12:03:59 +0000 (12:03 +0000)]
toolchain: add support of ARC architecture

This includes binutils, gcc, gdb and uClibc-ng.

Latest release of ARC gcc (as of today it is "arc-2015.06")
is based on upstream gcc 4.8.4.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc

Latest release of ARC binutils (as of today it is "arc-2015.06")
is based on upstream binutils 2.23.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06

Latest release of ARC GDB (as of today this is "arc-2015.06-gdb")
is based on upstream gdb 7.9.1.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb

Note that for binutils and gdb that come from unified git repository
(which is the case for upstream binutils/gdb today) we need to disable
building of gdb in binutils and binutils in gdb hence in binutils:
------>8------
--disable-sim
--disable-gdb
------>8------

and in gdb:
------>8------
--disable-binutils
--disable-ld
--disable-gas
------>8------

Also in gdb we disable sim because if the following breakage while
building with it:
------------>8------------
/usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \
        -mono -fast -pbb -switch sem5-switch.c \
        -cpu a5f -infile ./mloop5.in \
        -outfile-suffix 5
unknown option: bash
Makefile:699: recipe for target 'stamp-5mloop' failed
make[7]: *** [stamp-5mloop] Error 1
------------>8------------

Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47438 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath10k-firmware: add qca6174 firmware (mostly untested)
nbd [Tue, 10 Nov 2015 12:03:39 +0000 (12:03 +0000)]
ath10k-firmware: add qca6174 firmware (mostly untested)

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

8 years agokirkwood: rename EA3500/EA4500 profiles
luka [Tue, 10 Nov 2015 00:17:01 +0000 (00:17 +0000)]
kirkwood: rename EA3500/EA4500 profiles

Match the engineering board names now used elsewhere.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47436 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: add diag LED on Linksys EA3500
luka [Tue, 10 Nov 2015 00:16:56 +0000 (00:16 +0000)]
kirkwood: add diag LED on Linksys EA3500

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47435 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: support sysupgrade on Linksys EA[34]500
luka [Tue, 10 Nov 2015 00:16:42 +0000 (00:16 +0000)]
kirkwood: support sysupgrade on Linksys EA[34]500

This automatically writes to the alternate firmware partition
(on Linksys's dual firmware layout) using code borrowed from
the WRT1900AC port.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47434 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: support Linksys boot counter on EA[34]500
luka [Tue, 10 Nov 2015 00:16:37 +0000 (00:16 +0000)]
kirkwood: support Linksys boot counter on EA[34]500

This is done with existing code from the WRT1900AC port.
It makes sure the "auto_recovery" bootloader option is set,
and resets the s_env boot counter after a successful boot.

This gives users without a serial console connection some
measure of safety.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47433 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: generate factory images for Linksys EA[34]500
luka [Tue, 10 Nov 2015 00:16:35 +0000 (00:16 +0000)]
kirkwood: generate factory images for Linksys EA[34]500

This is done with the new image generation system and board names.
It also generates a sysupgrade.tar image.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47432 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: find active Linksys root partition
luka [Tue, 10 Nov 2015 00:16:33 +0000 (00:16 +0000)]
kirkwood: find active Linksys root partition

This is imported verbatim from the mvebu WRT1900AC port.

It picks up the current boot partition from the kernel command line,
then renames that partition "ubi" so that it auto-mounts.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47431 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: consistently use engineering board names
luka [Tue, 10 Nov 2015 00:16:28 +0000 (00:16 +0000)]
kirkwood: consistently use engineering board names

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47430 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: rework Linksys EA[34]500 DTS
luka [Tue, 10 Nov 2015 00:16:24 +0000 (00:16 +0000)]
kirkwood: rework Linksys EA[34]500 DTS

- Use board engineering names rather than marketing names

- Linksys uses a dual firmware layout, where the bootloader
  will switch to the other stored image when one fails to
  boot three consecutive times.

  In order to make this firmware compatible with the factory
  images and the stock bootloader we must match this layout.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47429 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: enable squashfs-on-ubiblock support
luka [Tue, 10 Nov 2015 00:16:14 +0000 (00:16 +0000)]
kirkwood: enable squashfs-on-ubiblock support

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47428 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: restricted automatic channel selection
nbd [Sun, 8 Nov 2015 20:40:15 +0000 (20:40 +0000)]
mac80211: restricted automatic channel selection

Add a new config option "channels" for mac80211 wifi devices. It's only
valid if automatic channel selection is used and restricts the channel
selection to one of the given channels.

config wifi-device
list channels 1
list channels 6
list channels 11

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47427 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/e2fsprogs: update to 1.42.13
nbd [Sun, 8 Nov 2015 20:40:03 +0000 (20:40 +0000)]
tools/e2fsprogs: update to 1.42.13

Update e2fsprogs to 1.42.13.
Refresh and cleanup patches.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47426 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoe2fsprogs: add packages for "chattr" and "lsattr"
nbd [Sun, 8 Nov 2015 20:39:54 +0000 (20:39 +0000)]
e2fsprogs: add packages for "chattr" and "lsattr"

Signed-off-by: Richard Kunze <richard.kunze@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47425 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoconntrack-tools: split into conntrack/conntrackd
nbd [Sun, 8 Nov 2015 20:39:49 +0000 (20:39 +0000)]
conntrack-tools: split into conntrack/conntrackd

as conntrack and conntrackd are completely independent programs,
serving a different purpose.

Also split by other distributions, as Debian and Ubuntu.

Signed-off-by: Ulrich Weber <uw@ocedo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47424 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoconntrack-tools: upgrade to 1.4.3
nbd [Sun, 8 Nov 2015 20:39:44 +0000 (20:39 +0000)]
conntrack-tools: upgrade to 1.4.3

Signed-off-by: Ulrich Weber <uw@ocedo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47423 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoconntrack-tools: remove default config file
nbd [Sun, 8 Nov 2015 20:39:37 +0000 (20:39 +0000)]
conntrack-tools: remove default config file

default configuration will fill up disk by
writing /var/log/conntrackd-stats.log

Introduced due init script auto start.

Signed-off-by: Ulrich Weber <uw@ocedo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47422 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agox86: add generic profiles to x86_64, kvm_guest and xen_domu
nbd [Sun, 8 Nov 2015 20:39:24 +0000 (20:39 +0000)]
x86: add generic profiles to x86_64, kvm_guest and xen_domu

The imagebuilder requires a profile for every subtarget to work.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47421 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for TP-LINK TL-WR941ND v6 (international version)
nbd [Sun, 8 Nov 2015 20:39:18 +0000 (20:39 +0000)]
ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)

The international version is completely different from the already
supported Chinese version. The WLAN of the QCA956x SoC used by this router
has been fixed in r46948.

This patch looks like it changes a lot in
700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately,
quilt decided to completely reorganize the Kconfig patch even though only
a single section has been added.

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

8 years agouhttpd: update to the latest version, adds support for redirect helper scripts
nbd [Sun, 8 Nov 2015 20:39:09 +0000 (20:39 +0000)]
uhttpd: update to the latest version, adds support for redirect helper scripts

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

8 years agolibubox: update to the latest version, adds a small json_script feature
nbd [Sun, 8 Nov 2015 20:39:01 +0000 (20:39 +0000)]
libubox: update to the latest version, adds a small json_script feature

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

8 years agoar71xx: fix typo in r47416
nbd [Sat, 7 Nov 2015 18:33:45 +0000 (18:33 +0000)]
ar71xx: fix typo in r47416

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

8 years agoar71xx: fix alignment of struct arpt_arp (fixes #14577)
nbd [Sat, 7 Nov 2015 16:22:38 +0000 (16:22 +0000)]
ar71xx: fix alignment of struct arpt_arp (fixes #14577)

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

8 years agokernel: remove kmod-xen-kbddev, it is already enabled in the kernel config
nbd [Sat, 7 Nov 2015 16:22:31 +0000 (16:22 +0000)]
kernel: remove kmod-xen-kbddev, it is already enabled in the kernel config

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

8 years agokernel: remove kmod-acpi-button package, it is already built into the kernel
nbd [Sat, 7 Nov 2015 16:22:23 +0000 (16:22 +0000)]
kernel: remove kmod-acpi-button package, it is already built into the kernel

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

8 years agotoolchain: remove obsolete kernel version check
nbd [Sat, 7 Nov 2015 16:22:18 +0000 (16:22 +0000)]
toolchain: remove obsolete kernel version check

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

8 years agokernel: remove linux 4.0 support
nbd [Sat, 7 Nov 2015 16:22:08 +0000 (16:22 +0000)]
kernel: remove linux 4.0 support

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

8 years agoimage: append-ubi: add optional UBI subpage size
nbd [Sat, 7 Nov 2015 13:19:35 +0000 (13:19 +0000)]
image: append-ubi: add optional UBI subpage size

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47411 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/quilt: fix build error during kernel_menuconfig on a cleaned env
nbd [Sat, 7 Nov 2015 12:52:14 +0000 (12:52 +0000)]
tools/quilt: fix build error during kernel_menuconfig on a cleaned env

When running "make kernel_menuconfig" right after "make clean", we error
out with the following message:

Makefile:22: recipe for target '.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked' failed
make[2]: [.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked]
Error 127 (ignored)

The root cause of the problem is located in the OpenWrt specific quilt
patch, which sets the quilt install directory to $STAGING_DIR/../host.
However, on a clean environment (right after running "make clean"),
$STAGING_DIR doesn't exist. The "quilt" executable doesn't find its
different commands, errors out, and creates this message.

We're fixing it by using $STAGING_DIR_HOST rather than $STAGING_DIR,
which is absolute. It will work even if there is no target directory
yet.

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

8 years agorules.mk: export STAGING_DIR_HOST to sub-makefiles and shells
nbd [Sat, 7 Nov 2015 12:52:07 +0000 (12:52 +0000)]
rules.mk: export STAGING_DIR_HOST to sub-makefiles and shells

Certains host packages (like quilt) need to know the previously used
install location at run-time. They currently use $STAGING_DIR, which
causes issues on cleaned environment, where $STAGING_DIR doesn't exist
yet.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47409 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: set mcast-rate for mesh point interfaces
nbd [Sat, 7 Nov 2015 12:52:01 +0000 (12:52 +0000)]
mac80211: set mcast-rate for mesh point interfaces

In order to set the multicast rate for mesh point interfaces the "mesh join"
was made explicit and moved to mac80211_setup_vif(), similar to how it is
done for IBSS interfaces.

Previously, the mesh join was made implicit in case authentication (i.e.
$key) was not used when creating the interface in mac80211_prepare_vif(),
while using authentication would create the interface first, then join
later in mac80211_setup_vif() by starting authsae.

Signed-off-by: Nils Schneider <nils@nilsschneider.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47408 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: minor fixes for mt7621 profiles
nbd [Sat, 7 Nov 2015 12:51:48 +0000 (12:51 +0000)]
ramips: minor fixes for mt7621 profiles

* remove references to non-existing kmod-usb3-mt7621
 * ZTB WG2626 doesn't have an RTC (thanks to Piotr Dymacz!)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47407 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for the TP-LINK TL-WR1043ND v3
nbd [Sat, 7 Nov 2015 12:51:43 +0000 (12:51 +0000)]
ar71xx: add support for the TP-LINK TL-WR1043ND v3

The hardware of the v3 is identical to the v2.

Based-on-patch-by: Andreas Ziegler <github@andreas-ziegler.de>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47406 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add support for ZyXEL NBG6616.
nbd [Sat, 7 Nov 2015 12:51:39 +0000 (12:51 +0000)]
ar71xx: Add support for ZyXEL NBG6616.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47405 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude/image.mk: Introduce generic option to wrap kernel into JFFS2
nbd [Sat, 7 Nov 2015 12:51:31 +0000 (12:51 +0000)]
include/image.mk: Introduce generic option to wrap kernel into JFFS2

Some devices require the kernel to be in a JFFS2 file system. Make the
support for this more generic so that it can be used by other devices.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47404 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude/image.mk: introduce KERNEL_INITRAMFS_NAME variable
nbd [Sat, 7 Nov 2015 12:51:24 +0000 (12:51 +0000)]
include/image.mk: introduce KERNEL_INITRAMFS_NAME variable

In case if we're interested in generation of non-binary images
(for example if we want images to be valid .elfs - and that's what we
want for ARC now) we have to instruct Device/Build/initramfs target to
use input file with some extension (in case of ARC it will be
essentially .elf).

Otherwise default binary vmlinux-initramfs (without extension) is used and
resulting images then are binaries instead of elfs.

Now having KERNEL_INITRAMFS_NAME variable it's possible to substitute
default $$(KERNEL_NAME)-initramfs with preferred option like
$$(KERNEL_NAME)-initramfs.elf.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47403 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: disable a broken feature that was merged with the last update
nbd [Sat, 7 Nov 2015 12:12:08 +0000 (12:12 +0000)]
mac80211: disable a broken feature that was merged with the last update

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

8 years agouClibc: mark as broken for all architectures that use musl by default
nbd [Sat, 7 Nov 2015 12:11:44 +0000 (12:11 +0000)]
uClibc: mark as broken for all architectures that use musl by default

We will only support uClibc for targets that actually need it.

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