openwrt.git
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

8 years agotoplevel.mk: fix distclean
nbd [Fri, 6 Nov 2015 10:53:35 +0000 (10:53 +0000)]
toplevel.mk: fix distclean

- remove logs like "make dirclean" does
- remove key-build*

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47397 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain/gdb: update to 7.10, sync with target package version
nbd [Fri, 6 Nov 2015 10:53:27 +0000 (10:53 +0000)]
toolchain/gdb: update to 7.10, sync with target package version

Update toolchain gdb to 7.10.
Refresh patches.

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

8 years agokernel: omap_wdt module load typo
nbd [Fri, 6 Nov 2015 10:53:19 +0000 (10:53 +0000)]
kernel: omap_wdt module load typo

autoload should be without .ko module extension

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

8 years agokernel: load softdog on boot
nbd [Fri, 6 Nov 2015 10:53:11 +0000 (10:53 +0000)]
kernel: load softdog on boot

same as for hardware watchdogs, otherwise
procd cannot initialize it.

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

8 years agotools/mm-macros: update to 0.9.8
nbd [Fri, 6 Nov 2015 10:53:07 +0000 (10:53 +0000)]
tools/mm-macros: update to 0.9.8

Update mm-macros to 0.9.8.
Add a secondary download location.

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

8 years agotools/scons: update to 2.4.0
nbd [Fri, 6 Nov 2015 10:53:01 +0000 (10:53 +0000)]
tools/scons: update to 2.4.0

Update scons to 2.4.0.
Change mirror (as the previous one is missing the current version).

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

8 years agopx5g: Use SHA-256 when generating self-signed certificates
nbd [Fri, 6 Nov 2015 10:52:52 +0000 (10:52 +0000)]
px5g: Use SHA-256 when generating self-signed certificates

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47391 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix previous commit
blogic [Thu, 5 Nov 2015 10:03:58 +0000 (10:03 +0000)]
ramips: fix previous commit

r47388 accidentially changed 2 files too many

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

8 years agoramips: minor tweak to the lks7688 baord name
blogic [Thu, 5 Nov 2015 10:01:23 +0000 (10:01 +0000)]
ramips: minor tweak to the lks7688 baord name

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

8 years agobusybox: enable ip rule support by default (required for dealing with route tables)
nbd [Wed, 4 Nov 2015 23:46:59 +0000 (23:46 +0000)]
busybox: enable ip rule support by default (required for dealing with route tables)

Adds about 1.2k gzip-compressed

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

8 years agokirkwood: add support for 4.3
luka [Wed, 4 Nov 2015 22:28:47 +0000 (22:28 +0000)]
kirkwood: add support for 4.3

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

8 years agokirkwood: pogo_e02: use mainline led definitions
luka [Wed, 4 Nov 2015 22:28:42 +0000 (22:28 +0000)]
kirkwood: pogo_e02: use mainline led definitions

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

8 years agokernel: update kernel 4.3-rc7 to version 4.3
luka [Wed, 4 Nov 2015 22:28:40 +0000 (22:28 +0000)]
kernel: update kernel 4.3-rc7 to version 4.3

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

8 years agouboot-envtools: fix various compile breakage issues
nbd [Wed, 4 Nov 2015 22:17:40 +0000 (22:17 +0000)]
uboot-envtools: fix various compile breakage issues

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

8 years agolibrpc: update to the latest version, fixes build with uclibc-ng (#20856)
nbd [Wed, 4 Nov 2015 18:33:12 +0000 (18:33 +0000)]
librpc: update to the latest version, fixes build with uclibc-ng (#20856)

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

8 years agoipq806x: fix BOARD_NAME spellings
jogo [Wed, 4 Nov 2015 11:33:31 +0000 (11:33 +0000)]
ipq806x: fix BOARD_NAME spellings

the board names used by the upgrade check differ from the device names
in case, so always set them. We can't rely on tolower or similar since
different locales might have different rules for lower case letters, so
set them explicitily.

Fixes sysupgrade rejecting *-sysupgrade.tar because of the difference.

Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47381 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: work around boot failures with squashfs on BCM6368
jogo [Wed, 4 Nov 2015 11:33:22 +0000 (11:33 +0000)]
brcm63xx: work around boot failures with squashfs on BCM6368

Due to the LWL/LWR SMP issue on BCM6368, booting with squash might fail
if the rootfs is not word aligned. As a quick fix, work around it by
ensuring this condition is always true.

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47380 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: fix brcm, bcm6345-ext-intc interrupt controller
jogo [Wed, 4 Nov 2015 11:33:16 +0000 (11:33 +0000)]
brcm63xx: fix brcm, bcm6345-ext-intc interrupt controller

brcm,field-width is read but unused

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47379 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: fix Netgear CVG834G HCS magic bytes
jogo [Wed, 4 Nov 2015 11:33:10 +0000 (11:33 +0000)]
brcm63xx: fix Netgear CVG834G HCS magic bytes

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47378 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: lzma-loader: add BCM3380 support
jogo [Wed, 4 Nov 2015 11:33:07 +0000 (11:33 +0000)]
brcm63xx: lzma-loader: add BCM3380 support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47377 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: lzma-loader: add BCM3368 support
jogo [Wed, 4 Nov 2015 11:33:03 +0000 (11:33 +0000)]
brcm63xx: lzma-loader: add BCM3368 support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47376 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: fix BCM3368 external interrupts
jogo [Wed, 4 Nov 2015 11:32:55 +0000 (11:32 +0000)]
brcm63xx: fix BCM3368 external interrupts

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47375 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add feature to blink led on sysupgrade
blogic [Tue, 3 Nov 2015 13:32:02 +0000 (13:32 +0000)]
ramips: add feature to blink led on sysupgrade

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

8 years agoscripts/config: fix handling of CONFDEFAULT on oldconfig
nbd [Tue, 3 Nov 2015 12:00:53 +0000 (12:00 +0000)]
scripts/config: fix handling of CONFDEFAULT on oldconfig

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

8 years agomac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related build...
nbd [Tue, 3 Nov 2015 12:00:36 +0000 (12:00 +0000)]
mac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related build errors

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

8 years agotools/bison: update to 3.0.4
nbd [Tue, 3 Nov 2015 12:00:04 +0000 (12:00 +0000)]
tools/bison: update to 3.0.4

Update bison to 3.0.4.
Refresh patches.
Drop the unnecessary PKG_CAT definition.

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

8 years agotools/mpfr: update to 3.1.3
nbd [Tue, 3 Nov 2015 11:59:49 +0000 (11:59 +0000)]
tools/mpfr: update to 3.1.3

Update mpfr to version 3.1.3.
Refresh patches.

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

8 years agotools/mpc: update to 1.0.3
nbd [Tue, 3 Nov 2015 11:59:35 +0000 (11:59 +0000)]
tools/mpc: update to 1.0.3

Update mpc version to 1.0.3.
Change download location to @GNU.

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

8 years agolldpd: implement a reload hook
nbd [Tue, 3 Nov 2015 11:59:09 +0000 (11:59 +0000)]
lldpd: implement a reload hook

Seems the default one is not working as expected.
The way that reload should work is that the 'start' service
call should return 1 (if lldpd is running) and then a normal
restart would be called.

However, for lldpd a reload would mean just clearing all custom TLVs
(if they're configured) and reloading the configuration.

So, this patch adds a reload hook, which would:
 - 'start' lldpd if it's not running (because we return 1 if not running)
 - reload configuration if it is running (also previously
    clearing custom TLVs if present)

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47367 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouboot: create the uboot config file for the shelby as well
kaloz [Tue, 3 Nov 2015 11:07:30 +0000 (11:07 +0000)]
uboot: create the uboot config file for the shelby as well

fixes #20827

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47365 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix crash when using mesh (11s) VIF together with another VIF
nbd [Mon, 2 Nov 2015 18:26:15 +0000 (18:26 +0000)]
mac80211: fix crash when using mesh (11s) VIF together with another VIF

llid_in_use needs to be limited to stations of the same VIF, otherwise it
will cause a NULL deref as the sta_info of non-mesh-VIFs don't have
sta->mesh set.

Steps to reproduce:

   modprobe mac80211_hwsim channels=2
   iw phy phy0 interface add ibss0 type ibss
   iw phy phy0 interface add mesh0 type mp
   iw phy phy1 interface add ibss1 type ibss
   iw phy phy1 interface add mesh1 type mp
   ip link set ibss0 up
   ip link set mesh0 up
   ip link set ibss1 up
   ip link set mesh1 up
   iw dev ibss0 ibss join foo 2412
   iw dev ibss1 ibss join foo 2412
   # Ensure that ibss0 and ibss1 are actually associated; I often need to
   # leave and join the cell on ibss1 a second time.
   iw dev mesh0 mesh join bar
   iw dev mesh1 mesh join bar # crash

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

8 years agoar71xx: use correct PLL configuration register bitmask for QCA956x SoC.
nbd [Mon, 2 Nov 2015 18:20:51 +0000 (18:20 +0000)]
ar71xx: use correct PLL configuration register bitmask for QCA956x SoC.

Incorrect value causes clock inaccuracy as huge as 1/60.

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47363 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobusybox: enable find mtime support by default
nbd [Mon, 2 Nov 2015 18:12:59 +0000 (18:12 +0000)]
busybox: enable find mtime support by default

busybox binary in openwrt neither supports stat nor find
mtime. This patch adds find mtime support by default.

I've compared ipk size for three different targets
(ar71xx, brcm2708, x86):

209908 Okt 16 13:48 busybox_1.23.2-3_ar71xx.ipk-0before
210031 Okt 16 16:47 busybox_1.23.2-3_ar71xx.ipk-1after
difference: +123 Byte

223519 Okt 16 13:06 busybox_1.23.2-3_brcm2708.ipk-0before
223720 Okt 16 13:53 busybox_1.23.2-3_brcm2708.ipk-1after
difference: +201 Byte

221477 Okt 16 13:47 busybox_1.23.2-3_x86_64.ipk-0before
221622 Okt 16 13:52 busybox_1.23.2-3_x86_64.ipk-1after
difference: +145 Byte

Signed-off-by: Dirk Brenken <dirk@brenken.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47362 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: add default value to eapol_version (#20641)
nbd [Mon, 2 Nov 2015 18:12:54 +0000 (18:12 +0000)]
hostapd: add default value to eapol_version (#20641)

r46861 introduced a new option eapol_version to hostapd, but did not
provide a default value. When the option value is evaluated,
the non-existing value causes errors to the systen log:
"netifd: radio0: sh: out of range"

Add a no-op default value 0 for eapol_version. Only values 1 or 2 are
actually passed on, so 0 will not change the default action in hostapd.

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

8 years agoupdate config.guess & config.sub
nbd [Mon, 2 Nov 2015 18:12:45 +0000 (18:12 +0000)]
update config.guess & config.sub

These are from today's master branch of:
http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree

In particular it adds support for ARC architecture plus some more
improvements and fixes.

This patch is built-tested against NetGear WNDR3800.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47360 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude/kernel.mk - better search for ARCH
nbd [Mon, 2 Nov 2015 18:12:29 +0000 (18:12 +0000)]
include/kernel.mk - better search for ARCH

If "findstring" is used without leading and trailing spaces unexpected matches
may happen. For example consider ARC=arc then "findstring $(ARCH)" will
report a false match with "aarch64".

But "findstring $ARCH " (note trailing space) will correctly skip
matches for both "aarch64" and "aarch64_be".

This patch is built-tested against NetGear WNDR3800.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47359 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiproute2: always use -DHAVE_SETNS, since the old uclibc is gone now
nbd [Mon, 2 Nov 2015 18:12:23 +0000 (18:12 +0000)]
iproute2: always use -DHAVE_SETNS, since the old uclibc is gone now

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

8 years agouclibc: remove version 0.9.33
nbd [Mon, 2 Nov 2015 18:12:16 +0000 (18:12 +0000)]
uclibc: remove version 0.9.33

Latest uClibc-ng is now the only supported option

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

8 years agouclibc-ng: bump version from 1.0.6 to 1.0.8
nbd [Mon, 2 Nov 2015 18:12:10 +0000 (18:12 +0000)]
uclibc-ng: bump version from 1.0.6 to 1.0.8

2 new architectures were added in between 1.0.6 and 1.0.8 in uClibc-ng,
these are:
 * lm32
 * or1k

Even thought both are not yet supported in OpenWRT it's important to
disable them both in default config file otherwise user prompt will
appear during uClibc configuration asking to select desired
architecture.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Waldemar Brodkorb <wbx@uclibc-ng.org>
Cc: Mathieu Olivari <mathieu@codeaurora.org>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47356 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain: use glibc instead of uclibc for mips64 by default - uclibc is still buggy...
nbd [Mon, 2 Nov 2015 18:12:01 +0000 (18:12 +0000)]
toolchain: use glibc instead of uclibc for mips64 by default - uclibc is still buggy there in a few places

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

8 years agomediatek: add support for the new MT7623 Arm SoC
blogic [Mon, 2 Nov 2015 10:18:50 +0000 (10:18 +0000)]
mediatek: add support for the new MT7623 Arm SoC

the support is still WIP. next steps are to make the pmic and ethernet work.
this is the first commit to make sure nothing gets lost.

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

8 years agofstools: update to latest git HEAD
blogic [Mon, 2 Nov 2015 10:18:29 +0000 (10:18 +0000)]
fstools: update to latest git HEAD

update libblkid code and add support for F2SF

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

8 years agouboot-lantiq: Add SoC version 1.2 support for Arcadyan VGV7510KW22
blogic [Mon, 2 Nov 2015 10:18:24 +0000 (10:18 +0000)]
uboot-lantiq: Add SoC version 1.2 support for Arcadyan VGV7510KW22

This fixes #20409

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47352 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add support for ZBT WG2626
blogic [Mon, 2 Nov 2015 10:18:19 +0000 (10:18 +0000)]
ramips: add support for ZBT WG2626

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

8 years agoramips: add eeprom mtd partition to the Asus RP-N53 dts
blogic [Mon, 2 Nov 2015 10:18:09 +0000 (10:18 +0000)]
ramips: add eeprom mtd partition to the Asus RP-N53 dts

This patch adds the eeprom property to the dts for the Asus RP-N53. It is necessary to get the wifi in the soc working.

Signed-off-by: Alberto Mattea <alberto@mattea.info>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47350 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: preinit: use iproute2 instead of vconfig
blogic [Mon, 2 Nov 2015 10:18:02 +0000 (10:18 +0000)]
ramips: preinit: use iproute2 instead of vconfig

Replace use of vconfig with the corresponding iproute2 syntax in
/lib/preinit/07_set_preinit_iface_ramips

The switch reset work-around needed on some ramips targets used the
deprecated vconfig tool to bring up the pre-init/failsafe interface.
This doesn't work on recent builds where vconfig is no longer being
deployed, resulting in the device being unreachable when triggered
into failsafe mode.

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

8 years agoramips: add support for Dovado tiny AC
blogic [Mon, 2 Nov 2015 10:17:51 +0000 (10:17 +0000)]
ramips: add support for Dovado tiny AC

Add support for Dovado tiny AC wifi router.

Soc: mt7620a
ram: 64MB
flash: 8MB
1x usb 2.0
two gigabit lan ports

5ghz wlan is not supported on this board since there is no gpl driverfor mt7610e wifi chip.

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47348 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add function to change rt2x00 wifi eeprom mac
blogic [Mon, 2 Nov 2015 10:17:41 +0000 (10:17 +0000)]
ramips: add function to change rt2x00 wifi eeprom mac

Some boards like dovado tiny ac have generic ralink mac in onflash wifi eeprom.
Add eeprom_set_macaddr function to rt2x00 eeprom extract script which changes mac addr insde eeprom dump.

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47347 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: mt7620 add icplus phy driver kernel config symbol
blogic [Mon, 2 Nov 2015 10:17:35 +0000 (10:17 +0000)]
ramips: mt7620 add icplus phy driver kernel config symbol

Add missing icplus phy driver kernel config symbol to mt7620 subtarget.
This is needed since some mt7620 devices have icplus ip1001 ethernet transceiver

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47346 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add support for the Asus RP-N53 in the "02_network" boot script
blogic [Mon, 2 Nov 2015 10:17:26 +0000 (10:17 +0000)]
ramips: add support for the Asus RP-N53 in the "02_network" boot script

This patch adds a case for the Asus RP-N53 in the "02_network" boot script. Without this, the lan interface does not get configured on startup, effectively bricking the device.

Signed-off-by: Alberto Mattea <alberto@mattea.info>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47345 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add support for wdr7500v3
blogic [Mon, 2 Nov 2015 10:17:15 +0000 (10:17 +0000)]
ar71xx: Add support for wdr7500v3

The device is similar to Archer C7 v2, but with 8M of flash, and 6 external
antennas.  Reason for breaking the naming pattern is that sticker on the back
mentions "WDR7500" and has no mention of "Archer".

Signed-off-by: Srdjan Rosic <rosic@google.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47344 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoomap/Beagleboard: remove FEATURES override
blogic [Mon, 2 Nov 2015 10:17:09 +0000 (10:17 +0000)]
omap/Beagleboard: remove FEATURES override

It overrides the feature list of the whole target.

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

8 years agoscripts/checkpatch.pl: Fix deprecation warnings
blogic [Mon, 2 Nov 2015 10:17:03 +0000 (10:17 +0000)]
scripts/checkpatch.pl: Fix deprecation warnings

In perl version v5.22, use of unescaped opening braces is deprecated

Signed-off-by: Javier Domingo Cansino <javierdo1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47342 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: rt305x: enable seama mtdsplit parser
blogic [Mon, 2 Nov 2015 10:16:56 +0000 (10:16 +0000)]
ramips: rt305x: enable seama mtdsplit parser

D-Link DIR-610 A1 needs seama mtdsplit parser.
This patch should fix #18046.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47341 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: rt305x: update kernel config symbols
blogic [Mon, 2 Nov 2015 10:16:48 +0000 (10:16 +0000)]
ramips: rt305x: update kernel config symbols

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47340 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: add upstream patch for open_[w]memstream
blogic [Mon, 2 Nov 2015 10:16:40 +0000 (10:16 +0000)]
musl: add upstream patch for open_[w]memstream

This patch fixes corner case in open_memstrem, when stream is created,
but nothing is written.
This case is present in tgtadm, tgtd management tool.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47339 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage/devel/perf: fix build for kernel 4.1
blogic [Mon, 2 Nov 2015 10:16:28 +0000 (10:16 +0000)]
package/devel/perf: fix build for kernel 4.1

This fix contains 2 parts:
 - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file"
 - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47338 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: Netgear R8000: define GPIO powering USB ports
rmilecki [Sun, 1 Nov 2015 22:21:59 +0000 (22:21 +0000)]
bcm53xx: Netgear R8000: define GPIO powering USB ports

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

8 years agobcm53xx: replace USB patch fixing power control with the most recent version
rmilecki [Sun, 1 Nov 2015 22:21:49 +0000 (22:21 +0000)]
bcm53xx: replace USB patch fixing power control with the most recent version

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

8 years agokernel: update kernel 3.18 to version 3.18.23
hauke [Sun, 1 Nov 2015 13:45:57 +0000 (13:45 +0000)]
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

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

8 years agoar71xx: fix regression in building TL-WDR6500-v2 images
nbd [Sun, 1 Nov 2015 12:38:44 +0000 (12:38 +0000)]
ar71xx: fix regression in building TL-WDR6500-v2 images

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

8 years agokobs-ng: fix compile errors
nbd [Sun, 1 Nov 2015 12:38:38 +0000 (12:38 +0000)]
kobs-ng: fix compile errors

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

8 years agoimx6: add v4.1 support
nbd [Sun, 1 Nov 2015 12:19:32 +0000 (12:19 +0000)]
imx6: add v4.1 support

Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx

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@47331 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: add initial support for NSA310s
luka [Sun, 1 Nov 2015 01:13:16 +0000 (01:13 +0000)]
kirkwood: add initial support for NSA310s

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47330 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: 3.18: refresh patches
luka [Sun, 1 Nov 2015 00:04:21 +0000 (00:04 +0000)]
generic: 3.18: refresh patches

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

8 years agouboot-envtools: update to 2015.10
luka [Sat, 31 Oct 2015 19:46:56 +0000 (19:46 +0000)]
uboot-envtools: update to 2015.10

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

8 years agotools/cmake: update to 3.3.2
nbd [Sat, 31 Oct 2015 09:31:06 +0000 (09:31 +0000)]
tools/cmake: update to 3.3.2

Update cmake to 3.3.2 and refresh patches.
Add a secondary download location.

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

8 years agomalta: make eth0 the wan interface by default
nbd [Sat, 31 Oct 2015 09:30:57 +0000 (09:30 +0000)]
malta: make eth0 the wan interface by default

Many packages for OpenWrt currently assume that lan is the "internal"
side of the network map, e.g. if installed, dnsmasq will hand out DHCP
leases on lan, firewall will allow forwarding on lan.

While at it, also configure a lan interface if eth1 exists.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47326 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomalta: use as a default type device
nbd [Sat, 31 Oct 2015 09:30:37 +0000 (09:30 +0000)]
malta: use as a default type device

There is currently no relevant definition for developerboard device type
in include/target.mk, thus packages like iptables, firewall, dnsmasq
etc. are missing in the default images, rendering it almost useless
for regular testing or normal use.

With this change, currently a default set of packages for "router" will
be installed to malta firmware images.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47325 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomalta: set CPU_TYPE:=24kc.
nbd [Sat, 31 Oct 2015 09:30:14 +0000 (09:30 +0000)]
malta: set CPU_TYPE:=24kc.

There are instructions (e.g. wsbh) only available in MIPS32R2 which is
the isa level used by many MIPS targets in OpenWrt.  As we use the malta
target mostly for development and testing purposes, setting the CPU_TYPE
to 24Kc will make the emulation more real.

The following is output from qemu-system-mipsel 2.3.0

    root@OpenWrt:/# cat /proc/cpuinfo  | grep 'cpu model\|isa'
    cpu model               : MIPS 24Kc V0.0  FPU V0.0
    isa                     : mips1 mips2 mips32r1 mips32r2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47324 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotarget.mk: add optimization flags for MIPS 24Kc.
nbd [Sat, 31 Oct 2015 09:30:03 +0000 (09:30 +0000)]
target.mk: add optimization flags for MIPS 24Kc.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47323 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: fix unrecognized opcode wsbh when building for MIPS16.
nbd [Sat, 31 Oct 2015 09:29:57 +0000 (09:29 +0000)]
generic: fix unrecognized opcode wsbh when building for MIPS16.

The issue was found and reported by hynman [1] when compiling reaver for ar71xx
(Big Endian MIPS).

    {standard input}: Assembler messages:
    {standard input}:79: Error: unrecognized opcode `wsbh $2,$2'
    {standard input}:90: Error: unrecognized opcode `wsbh $3,$17'
    {standard input}:208: Error: unrecognized opcode `wsbh $2,$2'
    make[3]: *** [builder.o] Error 1

The patch was already in upstream since kernel release 4.3-rc5.

 [1] https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47322 3c298f89-4303-0410-b956-a3cf2f4a3e73