openwrt.git
9 years agox86: refresh kernel config
luka [Sun, 8 Feb 2015 15:31:25 +0000 (15:31 +0000)]
x86: refresh kernel config

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

9 years agolantiq: fix patches after 3.14.32 bump
luka [Sun, 8 Feb 2015 15:09:45 +0000 (15:09 +0000)]
lantiq: fix patches after 3.14.32 bump

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

9 years agokirkwood: refresh kernel config
luka [Sun, 8 Feb 2015 12:01:39 +0000 (12:01 +0000)]
kirkwood: refresh kernel config

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

9 years agokernel: update 3.18 to 3.18.6
luka [Sun, 8 Feb 2015 12:01:37 +0000 (12:01 +0000)]
kernel: update 3.18 to 3.18.6

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

9 years agox86: declare missing kernel symbols
jow [Sat, 7 Feb 2015 21:26:20 +0000 (21:26 +0000)]
x86: declare missing kernel symbols

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

9 years agoar71xx: ubnt: move new board patches into one
luka [Sat, 7 Feb 2015 21:11:06 +0000 (21:11 +0000)]
ar71xx: ubnt: move new board patches into one

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

9 years agoar71xx: rb2011: apply patch to file
luka [Sat, 7 Feb 2015 21:10:51 +0000 (21:10 +0000)]
ar71xx: rb2011: apply patch to file

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

9 years agoimagebuilder: align filename with SDK
jow [Sat, 7 Feb 2015 21:01:48 +0000 (21:01 +0000)]
imagebuilder: align filename with SDK

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

9 years agosdk: rename file to mention target/subtarget and move host system to suffix
jow [Sat, 7 Feb 2015 21:01:43 +0000 (21:01 +0000)]
sdk: rename file to mention target/subtarget and move host system to suffix

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

9 years agotoolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix
jow [Sat, 7 Feb 2015 21:01:37 +0000 (21:01 +0000)]
toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix

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

9 years agoopenvpn: autostart openvpn instances for each .conf file in /etc/openvpn
jow [Sat, 7 Feb 2015 21:01:28 +0000 (21:01 +0000)]
openvpn: autostart openvpn instances for each .conf file in /etc/openvpn

Align init behaviour with other distros by starting an OpenVPN instance
for each config file found in /etc/openvpn/. This removes the additional
requirement to "register" the configs with uci and thus simplifies the
setup.

Make sure to respect the disabled state in uci to not suddenly autostart
instances which have been previously set to disabled, also skip configs
which are already started due to uci configuration.

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

9 years agoar71xx: merge board specific patches into one
luka [Sat, 7 Feb 2015 20:53:16 +0000 (20:53 +0000)]
ar71xx: merge board specific patches into one

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

9 years agopackage: uboot-envtools: add nbg6716 to appropriate group
luka [Sat, 7 Feb 2015 19:59:08 +0000 (19:59 +0000)]
package: uboot-envtools: add nbg6716 to appropriate group

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

9 years agoar71xx: uci-defaults: add el-mini to appropriate group
luka [Sat, 7 Feb 2015 19:59:05 +0000 (19:59 +0000)]
ar71xx: uci-defaults: add el-mini to appropriate group

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

9 years agoar71xx: qihoo: define flash variable as static
luka [Sat, 7 Feb 2015 19:59:02 +0000 (19:59 +0000)]
ar71xx: qihoo: define flash variable as static

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

9 years agotargets: base-files: diag.sh does not need to be executable
luka [Sat, 7 Feb 2015 19:58:58 +0000 (19:58 +0000)]
targets: base-files: diag.sh does not need to be executable

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

9 years agotargets: files in uci-defaults do not need to be executables
luka [Sat, 7 Feb 2015 19:58:52 +0000 (19:58 +0000)]
targets: files in uci-defaults do not need to be executables

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

9 years agoar71xx: refresh patches
luka [Sat, 7 Feb 2015 17:48:39 +0000 (17:48 +0000)]
ar71xx: refresh patches

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

9 years agokernel: update 3.14 to 3.14.32
luka [Sat, 7 Feb 2015 17:48:33 +0000 (17:48 +0000)]
kernel: update 3.14 to 3.14.32

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

9 years ago6in4: don't use /dev/stdout for wget calls
jow [Sat, 7 Feb 2015 13:33:15 +0000 (13:33 +0000)]
6in4: don't use /dev/stdout for wget calls

Busybox ash does not implement /dev/stdout, therfore any wget output
is written into a file /dev/stdout instead of onto the standard output.

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

9 years agobuild: accept apple llvm as fallback for gcc/g++
nbd [Sat, 7 Feb 2015 10:07:31 +0000 (10:07 +0000)]
build: accept apple llvm as fallback for gcc/g++

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

9 years agoinclude/prereq.mk: fix echo commands with simple /bin/sh
nbd [Sat, 7 Feb 2015 10:07:05 +0000 (10:07 +0000)]
include/prereq.mk: fix echo commands with simple /bin/sh

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

9 years agoinclude: fix prereq tests for perl and file (#18911)
jow [Fri, 6 Feb 2015 17:38:54 +0000 (17:38 +0000)]
include: fix prereq tests for perl and file (#18911)

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

9 years agoinclude: use SHELL, not BASH for HOST_CONFIGURE_VARS
jow [Fri, 6 Feb 2015 13:14:29 +0000 (13:14 +0000)]
include: use SHELL, not BASH for HOST_CONFIGURE_VARS

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

9 years agorules.mk: use relative paths for BASH, TAR, FIND, PATCH, PYTHON
jow [Fri, 6 Feb 2015 12:35:36 +0000 (12:35 +0000)]
rules.mk: use relative paths for BASH, TAR, FIND, PATCH, PYTHON

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

9 years agoimagebuilder: don't pregenerate package index, strip host binaries
jow [Fri, 6 Feb 2015 12:31:31 +0000 (12:31 +0000)]
imagebuilder: don't pregenerate package index, strip host binaries

The package index is generated on first use anyway, therefore it makes no
sense to continue shipping it.

Also sstrip the bundled host binaries when packing the IB to save some
additional space.

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

9 years agoinclude: rework git prereq test to not require 'man'
jow [Fri, 6 Feb 2015 11:50:08 +0000 (11:50 +0000)]
include: rework git prereq test to not require 'man'

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

9 years agomvebu: add note about the move to single firmware files
kaloz [Fri, 6 Feb 2015 11:18:59 +0000 (11:18 +0000)]
mvebu: add note about the move to single firmware files

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

9 years agomvebu: support building images for a single board
kaloz [Fri, 6 Feb 2015 11:16:20 +0000 (11:16 +0000)]
mvebu: support building images for a single board

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

9 years agolibevent2: update to v2.0.22
jow [Fri, 6 Feb 2015 10:30:04 +0000 (10:30 +0000)]
libevent2: update to v2.0.22

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

9 years agoimagebuilder: use FreeBSD compatible tar invocation
jow [Fri, 6 Feb 2015 00:27:06 +0000 (00:27 +0000)]
imagebuilder: use FreeBSD compatible tar invocation

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

9 years agoconfig: remove CONFIG_BUILD_STATIC_TOOLS
jow [Fri, 6 Feb 2015 00:00:51 +0000 (00:00 +0000)]
config: remove CONFIG_BUILD_STATIC_TOOLS

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

9 years agoinclude: remove static tool linking support
jow [Fri, 6 Feb 2015 00:00:47 +0000 (00:00 +0000)]
include: remove static tool linking support

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

9 years agotools: remove static linking support
jow [Fri, 6 Feb 2015 00:00:43 +0000 (00:00 +0000)]
tools: remove static linking support

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

9 years agobusybox: fix build on FreeBSD 10.1
jow [Thu, 5 Feb 2015 23:32:17 +0000 (23:32 +0000)]
busybox: fix build on FreeBSD 10.1

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

9 years agomac80211: don't hardcode /bin/bash
jow [Thu, 5 Feb 2015 23:18:47 +0000 (23:18 +0000)]
mac80211: don't hardcode /bin/bash

Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the
build on FreeBSD 10.1.

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

9 years agoncurses: add host build for 'tic'
jow [Thu, 5 Feb 2015 23:18:42 +0000 (23:18 +0000)]
ncurses: add host build for 'tic'

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

9 years agotools: Fix cmake build on FreeBSD 10.1
jow [Thu, 5 Feb 2015 16:58:24 +0000 (16:58 +0000)]
tools: Fix cmake build on FreeBSD 10.1

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

9 years agotools: Fix mkimage build on FreeBSD 10.1
jow [Thu, 5 Feb 2015 16:58:16 +0000 (16:58 +0000)]
tools: Fix mkimage build on FreeBSD 10.1

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

9 years agotools: Fix mpfr build on FreeBSD 10.1
jow [Thu, 5 Feb 2015 16:58:10 +0000 (16:58 +0000)]
tools: Fix mpfr build on FreeBSD 10.1

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

9 years agotools: Fix xz build on FreeBSD 10.1
jow [Thu, 5 Feb 2015 16:57:57 +0000 (16:57 +0000)]
tools: Fix xz build on FreeBSD 10.1

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

9 years agoinclude: let HOSTCC default to $(CC), not gcc
jow [Thu, 5 Feb 2015 16:57:50 +0000 (16:57 +0000)]
include: let HOSTCC default to $(CC), not gcc

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

9 years agoinclude: don't rely on perl for printing prereq errors
jow [Thu, 5 Feb 2015 16:57:46 +0000 (16:57 +0000)]
include: don't rely on perl for printing prereq errors

Perl might not be present while checking prereqs, e.g. on a fresh
FreeBSD install.

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

9 years agoinclude: set shell to "sh" for prereq tests
jow [Thu, 5 Feb 2015 16:57:39 +0000 (16:57 +0000)]
include: set shell to "sh" for prereq tests

Bash is not guaranteed to be present, e.g. on a fresh FreeBSD install
so perform prereq tests with /bin/sh.

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

9 years agotools: remove PrepareCommand macros
jow [Thu, 5 Feb 2015 16:57:35 +0000 (16:57 +0000)]
tools: remove PrepareCommand macros

They're part of prereq-build.mk now.

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

9 years agoinclude: remove host command tests from host.mk
jow [Thu, 5 Feb 2015 16:57:31 +0000 (16:57 +0000)]
include: remove host command tests from host.mk

Those tests are part of prereq-build.mk now.

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

9 years agoinclude: declare variables formerly set in tmp/.host.mk
jow [Thu, 5 Feb 2015 16:57:18 +0000 (16:57 +0000)]
include: declare variables formerly set in tmp/.host.mk

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

9 years agoinclude: prereq-build.mk: use TestHostCommand and SetupHostCommand
jow [Thu, 5 Feb 2015 16:57:12 +0000 (16:57 +0000)]
include: prereq-build.mk: use TestHostCommand and SetupHostCommand

Also move tests from tools/Makefile and include/host.mk here to have all tests
in a central place.

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

9 years agoinclude: test build prereqs before preparing tempinfo
jow [Thu, 5 Feb 2015 16:57:09 +0000 (16:57 +0000)]
include: test build prereqs before preparing tempinfo

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

9 years agoinclude: add TestHostCommand and SetupHostCommand macros
jow [Thu, 5 Feb 2015 16:57:02 +0000 (16:57 +0000)]
include: add TestHostCommand and SetupHostCommand macros

Those macros allow testing various commands on the host system, also process the
prereq tests in the order they're declared.

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

9 years agomvebu: don't generate targz images by default
kaloz [Thu, 5 Feb 2015 16:31:52 +0000 (16:31 +0000)]
mvebu: don't generate targz images by default

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

9 years agomvebu: Enable the A385 AP on 3.19
kaloz [Thu, 5 Feb 2015 15:41:07 +0000 (15:41 +0000)]
mvebu: Enable the A385 AP on 3.19

In order for the image to be built, some patches need to be ported to 3.19.

Add the relevant patches. Note that most of them (if not all) should be merged
in 3.20, removing the need to carry them on then.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44267 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: add Armada 385 DB AP support
kaloz [Thu, 5 Feb 2015 11:34:21 +0000 (11:34 +0000)]
mvebu: add Armada 385 DB AP support

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44266 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: add the Armada 385 Reference Design support
kaloz [Thu, 5 Feb 2015 11:29:56 +0000 (11:29 +0000)]
mvebu: add the Armada 385 Reference Design support

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44265 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: fix NAND and NOR options
kaloz [Thu, 5 Feb 2015 11:26:17 +0000 (11:26 +0000)]
mvebu: fix NAND and NOR options

All the boards but Mamba had wrong UBI options so far, making it impossible to
flash the built image on their respective storage medium.

Fix all of the supported boards in order to make the generated images useful.

Tested on a Mirabox, an Armada XP GP and an Openblocks AX3, and used the NAND
chip datasheet for the others.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44264 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: add a subprofile for boards based on a small NOR
kaloz [Thu, 5 Feb 2015 11:25:21 +0000 (11:25 +0000)]
mvebu: add a subprofile for boards based on a small NOR

Some boards only come with a small NOR on it, where UBI isn't a good solution
because of its overhead.

Add a new subprofile for such boards, that rely on the mtd split framework
instead.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44263 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: add large NOR sub-profile implementation
kaloz [Thu, 5 Feb 2015 11:24:10 +0000 (11:24 +0000)]
mvebu: add large NOR sub-profile implementation

While we supported only the NAND so far, some boards use a large enough NOR,
where UBI is the only reasonable option. Create a new sub-profile template with
a different set of UBI options.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44262 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: Add sub-profiles
kaloz [Thu, 5 Feb 2015 11:22:43 +0000 (11:22 +0000)]
mvebu: Add sub-profiles

In order to support the various board NAND layout that we support, introduce a
sub-profile similar to the one used by ar71xx.

These subprofiles provide a default implementation for most of the building
functions, while allowing each sub-profile to override any of these operations
in order to have a more specific behaviour, like Mamba expects for example.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44261 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric: allow ubi autoattach to run on NOR flash
kaloz [Thu, 5 Feb 2015 11:21:31 +0000 (11:21 +0000)]
generic: allow ubi autoattach to run on NOR flash

Some devices out there only have a NOR flash to store the rootfs on.

While using UBI is arguable on this kind of flash, this is something that should
be supported.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44260 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: Add MTD split framework support
kaloz [Thu, 5 Feb 2015 11:14:53 +0000 (11:14 +0000)]
mvebu: Add MTD split framework support

We're going to need the MTD split related options for our NOR support.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44259 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoconfig: fix typo in Global build settings menu
nico [Thu, 5 Feb 2015 05:10:44 +0000 (05:10 +0000)]
config: fix typo in Global build settings menu

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44258 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: remove VHT capabilities when not using 802.11ac
blogic [Wed, 4 Feb 2015 06:11:01 +0000 (06:11 +0000)]
ralink: remove VHT capabilities when not using 802.11ac

The mt76 driver might have some problem working with MT7602.
MT7602 should not have VHT capabilities . But the driver not identity properly.

Signed-off-by: wengbj <fl.service@t-firefly.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44257 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolinux/modules: add support for Asix ax88179 USB-Gigabit Ethernet adapters
blogic [Wed, 4 Feb 2015 06:10:57 +0000 (06:10 +0000)]
linux/modules: add support for Asix ax88179 USB-Gigabit Ethernet adapters

requested and tested by forum user OWonPi
https://forum.openwrt.org/viewtopic.php?id=55495

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

9 years agoar71xx: add support for the TP-LINK TL-WR941ND v5
blogic [Wed, 4 Feb 2015 06:10:20 +0000 (06:10 +0000)]
ar71xx: add support for the TP-LINK TL-WR941ND v5

This device is very similar to the TL-WR841N v8, only two LED GPIOs are
different.

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

9 years agoat71xx: TP-LINK Archer: add 5GHz led entry
blogic [Wed, 4 Feb 2015 06:10:12 +0000 (06:10 +0000)]
at71xx: TP-LINK Archer: add 5GHz led entry

Add 5GHz led entry after r44033.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44254 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: default_postinst() fix variable colision
blogic [Wed, 4 Feb 2015 06:10:06 +0000 (06:10 +0000)]
base-files: default_postinst() fix variable colision

The name variable contains at first the package name,
and after the last group name.
This patch fixes /etc/rc.d symlink creation (at least).

Change name in pkgname, change the other name in ugname
(user group name), and id in ugid (user group id)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44253 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath5k: fix spontaneus AR5312 freezes
blogic [Wed, 4 Feb 2015 06:09:51 +0000 (06:09 +0000)]
ath5k: fix spontaneus AR5312 freezes

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44252 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric/3.18: update to 3.18.5
blogic [Tue, 3 Feb 2015 10:11:18 +0000 (10:11 +0000)]
generic/3.18: update to 3.18.5

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

9 years agoralink: fix USB host function for Intenso M2M
blogic [Tue, 3 Feb 2015 10:11:11 +0000 (10:11 +0000)]
ralink: fix USB host function for Intenso M2M

The ubootloader of the M2M sets the reset bits for
both USB device and USB host during initialization
(to save a few mA of power during boot).

However, for the usb<->sata bridge to be properly
detected, it is necessary to clear both reset bits
as otherwise the kernel logs will just be filled
with:

usb 1-1: device descriptor read/64, error -145
...

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44248 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoFix possible fail to check for dependencies
blogic [Tue, 3 Feb 2015 10:11:06 +0000 (10:11 +0000)]
Fix possible fail to check for dependencies

Few characters in filenames (a plus sign, a dot) can be interpreted
specially by grep. This can lead to the omission of missing package
dependency. For example if we would have "some.file.so" then it
matches also "some2file.so". -F switch off special meaning
of any character and -x match against whole line.

Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44247 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomap: Fix white space errors
blogic [Tue, 3 Feb 2015 10:10:54 +0000 (10:10 +0000)]
map: Fix white space errors

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44246 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Revert "added board support for compex wpj558"
blogic [Mon, 2 Feb 2015 10:32:04 +0000 (10:32 +0000)]
ar71xx: Revert "added board support for compex wpj558"

This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

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

9 years agoralink: cleanup firefly default packages
blogic [Mon, 2 Feb 2015 09:02:35 +0000 (09:02 +0000)]
ralink: cleanup firefly default packages

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

9 years agocURL: implement new functionality with cleanup and fixes
blogic [Mon, 2 Feb 2015 09:02:24 +0000 (09:02 +0000)]
cURL: implement new functionality with cleanup and fixes

remove obsolete configuration settings
  --disable-thread
  --enable-nonblocking
  --without-krb4
remove SSPI support
  only supported on windows
correct --with/without-ca-path handling
  only supported with OpenSSL and PolarSSL
correct LDAP/LDAPS protocol
  add dependency libopenldap
added SCP/SFTP protocol
  default "No"
  depends on libssh2
added IDN support
  default "No"
  depends on libidn
added SMB protocol (new in 7.40)
  default "No"
  require 'cryptographic authentication' and either 'GnuTLS' or 'OpenSSL' selected
added Unix sockets support (new in 7.40)
  default "No"
added error verbose messages
  default "No"
changes to Makefile
  Increase PKG_RELEASE
  PKG_CONFIG_DEPENDS and CONFIGURE_ARGS
    extended for new functionality
    use "autoconf_bool" for all --enable/--disable options
    restructure for easier reading
changes to Config.in
  extended for new functionality
  implement dependencies
  restructure and grouping for easier reading
build tested on XUbuntu 14.10 x86 for x86 (generic) and ar71xx (WNDR3800)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44243 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add FireWRT button detail
blogic [Mon, 2 Feb 2015 09:02:16 +0000 (09:02 +0000)]
ralink: add FireWRT button detail

Signed-off-by: wengbj <fl.service@t-firefly.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44242 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add FireWRT led detail
blogic [Mon, 2 Feb 2015 09:02:10 +0000 (09:02 +0000)]
ralink: add FireWRT led detail

Signed-off-by: wengbj <fl.service@t-firefly.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44241 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add ethernet macaddr to dts for FireWRT
blogic [Mon, 2 Feb 2015 09:02:02 +0000 (09:02 +0000)]
ralink: add ethernet macaddr to dts for FireWRT

Signed-off-by: wengbj <fl.service@t-firefly.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44240 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: Revert adding SM Power Save capability to hostapd configuration
blogic [Mon, 2 Feb 2015 09:01:44 +0000 (09:01 +0000)]
mac80211: Revert adding SM Power Save capability to hostapd configuration

Part of rev 44173 added setting the SM Power Save capability in the hostapd.conf
file if the driver indicated that it was supported. It appears this was
incorrect, because the field in the actual HT Capabilities field in the AP
configuration is really a state indication. Just copying the state from the
capability resulted in the AP indicating that it had SMPS enabled all the time
if it supported SMPS. This effectively just disables all clients from sending
packets to the AP with more than one spatial stream, for no good reason.
So remove this part of the change.

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

9 years agoramips: add support for Xiaomi MiWiFi Mini devices
blogic [Mon, 2 Feb 2015 09:01:07 +0000 (09:01 +0000)]
ramips: add support for Xiaomi MiWiFi Mini devices

This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio
wireless router based on the MediaTek MT7620a SoC.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44238 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoadded board support for compex wpj558
blogic [Mon, 2 Feb 2015 09:00:21 +0000 (09:00 +0000)]
added board support for compex wpj558

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44237 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoutil-linux: only enable curses support if required
jow [Sun, 1 Feb 2015 13:11:17 +0000 (13:11 +0000)]
util-linux: only enable curses support if required

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

9 years agomodules: fix usb-gadget build on 3.18
wigyori [Sun, 1 Feb 2015 09:35:52 +0000 (09:35 +0000)]
modules: fix usb-gadget build on 3.18

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44235 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix ethernet driver tx completion polling
nbd [Sun, 1 Feb 2015 08:20:37 +0000 (08:20 +0000)]
ramips: fix ethernet driver tx completion polling

- budget is decremented with completed frames, so don't check if done is
smaller
- ACK the interrupt before processing further frames to fix a small race
condition.

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

9 years agox86_64: add more symbols required to enable SMP
jow [Sat, 31 Jan 2015 22:23:01 +0000 (22:23 +0000)]
x86_64: add more symbols required to enable SMP

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

9 years agox86_64: support HyperThreading and SMP with up to 8 CPUs
jow [Sat, 31 Jan 2015 17:33:32 +0000 (17:33 +0000)]
x86_64: support HyperThreading and SMP with up to 8 CPUs

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

9 years agolinux: enable kmod-bcma on ppc40x after r44230
jow [Sat, 31 Jan 2015 16:49:26 +0000 (16:49 +0000)]
linux: enable kmod-bcma on ppc40x after r44230

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

9 years agokernel: disable bcma's usage of OF API in kernel 3.10
rmilecki [Sat, 31 Jan 2015 16:43:13 +0000 (16:43 +0000)]
kernel: disable bcma's usage of OF API in kernel 3.10

It fails to build because of missing of_irq_parse_raw and incompatible
irq_create_of_mapping.

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

9 years agolinux: convert CompareKernelPatchVer to version tagged symbols
jow [Sat, 31 Jan 2015 13:55:51 +0000 (13:55 +0000)]
linux: convert CompareKernelPatchVer to version tagged symbols

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

9 years agoinclude: apply version filter on AutoLoad and AutoProbe arguments
jow [Sat, 31 Jan 2015 13:55:44 +0000 (13:55 +0000)]
include: apply version filter on AutoLoad and AutoProbe arguments

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

9 years agolinux: fix framebuffer kmods for >= 3.15
jow [Sat, 31 Jan 2015 13:15:45 +0000 (13:15 +0000)]
linux: fix framebuffer kmods for >= 3.15

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

9 years agoinclude: improve 'gettext-version' fixup
nico [Sat, 31 Jan 2015 08:15:51 +0000 (08:15 +0000)]
include: improve 'gettext-version' fixup

 * enclose the fixup in brackets
 * match anything in the call to AM_GNU_GETTEXT_VERSION
 * call it early (before autoreconf if both are specified)
 * chain a call to autoreconf since it messes with configure.ac

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44225 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude: don't use extended regex for deps checking
nico [Sat, 31 Jan 2015 08:15:46 +0000 (08:15 +0000)]
include: don't use extended regex for deps checking

Closes: #18851

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44224 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolinux: fix mips boot decompressor build
jow [Fri, 30 Jan 2015 10:04:23 +0000 (10:04 +0000)]
linux: fix mips boot decompressor build

Replace the now defunct 062-mips_decompressor_build_fix.patch with another
patch that simply undefines the arch memset and memcpy defines to avoid
syntax errors in the redeclaration.

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

9 years agomac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
blogic [Fri, 30 Jan 2015 08:06:47 +0000 (08:06 +0000)]
mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)

http://patchwork.ozlabs.org/patch/434532/

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

9 years agoar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
blogic [Fri, 30 Jan 2015 08:06:40 +0000 (08:06 +0000)]
ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)

The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are
pretty much the same as WNR2000v3/WNR612v2, therefore the same
initialization code and flash layout is used.

Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com>
Tested-by: Douglas Fraser <1dsfraser@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44221 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix NULL pointer crash in monitor frame injection TX path
blogic [Fri, 30 Jan 2015 08:06:28 +0000 (08:06 +0000)]
mac80211: fix NULL pointer crash in monitor frame injection TX path

This "patch to the patch" fixes a NULL pointer derefence crash in the new
intermediate software queues. The crash can be reproduced by injecting an
802.11 frame with a BSSID that does not belong to a configured vif. The
wperf tool (https://github.com/anyfi/wperf) may be convenient for doing
this.

Signed-off-by: Johan Almbladh <ja@anyfi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44220 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: fix partitions on Netgear R8000
rmilecki [Fri, 30 Jan 2015 07:25:43 +0000 (07:25 +0000)]
bcm53xx: fix partitions on Netgear R8000

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

9 years agobcm53xx: fix booting BCM4709
rmilecki [Fri, 30 Jan 2015 06:58:35 +0000 (06:58 +0000)]
bcm53xx: fix booting BCM4709

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

9 years agobcm53xx: fix Netgear R8000 serial console
rmilecki [Fri, 30 Jan 2015 06:30:44 +0000 (06:30 +0000)]
bcm53xx: fix Netgear R8000 serial console

Thanks raven-auand.

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

9 years agosunxi: disable MMC debugging in kernel config
wigyori [Fri, 30 Jan 2015 00:19:18 +0000 (00:19 +0000)]
sunxi: disable MMC debugging in kernel config

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