openwrt/openwrt.git
3 years agobuild: add locking for downloads (fixes race conditions with multiple variants)
Felix Fietkau [Wed, 20 Jan 2016 21:31:50 +0000 (21:31 +0000)]
build: add locking for downloads (fixes race conditions with multiple variants)

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

3 years agobuild: split BUILD_LOG logs per variant
Felix Fietkau [Wed, 20 Jan 2016 21:31:43 +0000 (21:31 +0000)]
build: split BUILD_LOG logs per variant

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

3 years agorules.mk: make the locked template available even if flock has not been built yet...
Felix Fietkau [Wed, 20 Jan 2016 21:31:38 +0000 (21:31 +0000)]
rules.mk: make the locked template available even if flock has not been built yet (fall back to unlocked shell command)

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

3 years agotools: compile flock before everything else
Felix Fietkau [Wed, 20 Jan 2016 21:31:34 +0000 (21:31 +0000)]
tools: compile flock before everything else

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

3 years agoRevert "include/autoconf.mk: decouple host fixups from target fixups"
Felix Fietkau [Wed, 20 Jan 2016 20:46:20 +0000 (20:46 +0000)]
Revert "include/autoconf.mk: decouple host fixups from target fixups"

This reverts commit r48403

SVN-Revision: 48412

3 years agobuild: use a separate variable checking the subdir path (for host packages)
Felix Fietkau [Wed, 20 Jan 2016 20:13:40 +0000 (20:13 +0000)]
build: use a separate variable checking the subdir path (for host packages)

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

3 years agokernel: fix module load issue in the dma-buf debloat patch
Felix Fietkau [Wed, 20 Jan 2016 20:09:43 +0000 (20:09 +0000)]
kernel: fix module load issue in the dma-buf debloat patch

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

3 years agobzip2: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)
Felix Fietkau [Wed, 20 Jan 2016 19:36:23 +0000 (19:36 +0000)]
bzip2: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)

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

3 years agogettext-full: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)
Felix Fietkau [Wed, 20 Jan 2016 19:36:18 +0000 (19:36 +0000)]
gettext-full: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)

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

3 years agogettext: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)
Felix Fietkau [Wed, 20 Jan 2016 19:36:14 +0000 (19:36 +0000)]
gettext: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)

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

3 years agolua: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)
Felix Fietkau [Wed, 20 Jan 2016 19:36:10 +0000 (19:36 +0000)]
lua: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)

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

3 years agoinclude/autoconf.mk: decouple host fixups from target fixups
Felix Fietkau [Wed, 20 Jan 2016 19:12:28 +0000 (19:12 +0000)]
include/autoconf.mk: decouple host fixups from target fixups

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

3 years agolibiconv: install to the new prefix
Felix Fietkau [Wed, 20 Jan 2016 19:12:22 +0000 (19:12 +0000)]
libiconv: install to the new prefix

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

3 years agohost-build.mk: change default installation prefix of package/* host builds to staging...
Felix Fietkau [Wed, 20 Jan 2016 19:12:13 +0000 (19:12 +0000)]
host-build.mk: change default installation prefix of package/* host builds to staging_dir/target-*/host

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

3 years agobuild: move host build directories of package/* to build_dir/target-*/host/
Felix Fietkau [Wed, 20 Jan 2016 19:12:06 +0000 (19:12 +0000)]
build: move host build directories of package/* to build_dir/target-*/host/

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

3 years agotoolchain: Reverse glibc/eglibc conditionals to check for eglibc
Felix Fietkau [Wed, 20 Jan 2016 19:12:01 +0000 (19:12 +0000)]
toolchain: Reverse glibc/eglibc conditionals to check for eglibc

This will make adding future glibc versions easier because the
conditionals won't have to be modified again.

Signed-off-by: Michael Marley <michael@michaelmarley.com>
SVN-Revision: 48399

3 years agooxnas: finally make board names consistent
Felix Fietkau [Wed, 20 Jan 2016 19:11:48 +0000 (19:11 +0000)]
oxnas: finally make board names consistent

r48337 unfortunately incorrectly changed the boardname of the stg212
into stg-212 which is not the name of the image of DTS file or
boardname using sysupgrade, which is 'stg212' and imho should stay
that way.
The changes r48337 made for pogoplug-pro and pogoplug-v3 were correct,
thus this commit only partially reverts r48337.
Also properly set default for USB LED while already at it.

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

3 years agonetifd: update to the latest version, adds a cosmetic fix for a wpa related variable
Felix Fietkau [Wed, 20 Jan 2016 19:11:41 +0000 (19:11 +0000)]
netifd: update to the latest version, adds a cosmetic fix for a wpa related variable

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

3 years agolibiconv: change include guard to make glib2 consider it compatible
Felix Fietkau [Wed, 20 Jan 2016 13:54:30 +0000 (13:54 +0000)]
libiconv: change include guard to make glib2 consider it compatible

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

3 years agogcc: drop version 4.8-linaro
Felix Fietkau [Wed, 20 Jan 2016 13:54:22 +0000 (13:54 +0000)]
gcc: drop version 4.8-linaro

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

3 years agobinutils: switch to version 2.25.1 by default
Felix Fietkau [Wed, 20 Jan 2016 13:54:17 +0000 (13:54 +0000)]
binutils: switch to version 2.25.1 by default

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

3 years agoelfutils: bump to 0.165
Felix Fietkau [Wed, 20 Jan 2016 13:54:13 +0000 (13:54 +0000)]
elfutils: bump to 0.165

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
SVN-Revision: 48393

3 years ago6in4: use uclient-fetch instead of wget/curl
Felix Fietkau [Wed, 20 Jan 2016 10:15:29 +0000 (10:15 +0000)]
6in4: use uclient-fetch instead of wget/curl

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

3 years agouclient: update to the latest version, adds an auth reconnect handling fix and a...
Felix Fietkau [Wed, 20 Jan 2016 10:15:25 +0000 (10:15 +0000)]
uclient: update to the latest version, adds an auth reconnect handling fix and a small uclient-fetch command line fix

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

3 years agolantiq: Fix enabling CONFIG_MTD_UIMAGE_SPLIT
Felix Fietkau [Wed, 20 Jan 2016 08:40:44 +0000 (08:40 +0000)]
lantiq: Fix enabling CONFIG_MTD_UIMAGE_SPLIT

r48381 added CONFIG_MTD_SPLIT_UIMAGE_FW=Y to the lantiq kernel
configuration. That unfortunately contains a typo since the "y" has to
be lower-case. This leads to the kernel asking whether the config
symbol should be enabled and thus breaking the build.

FIXES: r48381/feab990887b4: lantiq: Enable the uImage mtd splitter
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48389

3 years agoqos-scripts: Fix classification of ingress traffic
Felix Fietkau [Tue, 19 Jan 2016 23:56:34 +0000 (23:56 +0000)]
qos-scripts: Fix classification of ingress traffic

Set the save-mark mask for the qos_${cg} chain to 0xff instead of
0xf0.  With the old value, the nibble that was saved would be
masked during the restore, preventing ingress traffic from being
classified.  Thanks to nbd for recommending the fix.

Signed-off-by: Michael Marley <michael@michaelmarley.com>
SVN-Revision: 48388

3 years agotoolchain/musl: remove old CONFIG_MUSL_ENABLE_DEBUG option
Felix Fietkau [Tue, 19 Jan 2016 23:44:44 +0000 (23:44 +0000)]
toolchain/musl: remove old CONFIG_MUSL_ENABLE_DEBUG option

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

3 years agoopkg: depend on uclient-fetch, disable busybox wget
Felix Fietkau [Tue, 19 Jan 2016 23:35:04 +0000 (23:35 +0000)]
opkg: depend on uclient-fetch, disable busybox wget

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

3 years agouhttpd: fix typo in default config for px5g
Felix Fietkau [Tue, 19 Jan 2016 23:27:14 +0000 (23:27 +0000)]
uhttpd: fix typo in default config for px5g

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

3 years agoRevert "6in4: Corrected tunnelbroker tunnel update URL"
Jo-Philipp Wich [Tue, 19 Jan 2016 23:25:38 +0000 (23:25 +0000)]
Revert "6in4: Corrected tunnelbroker tunnel update URL"

The auth change appears to break the endpoint update for most users and with
my local tests the old update url works just fine.

This reverts commit 99c03a88cb6fed0519efdfaac305794653a12542.

SVN-Revision: 48384

3 years agotoolchain: Add glibc 2.22
Felix Fietkau [Tue, 19 Jan 2016 22:58:51 +0000 (22:58 +0000)]
toolchain: Add glibc 2.22

Signed-off-by: Michael Marley <michael@michaelmarley.com>
SVN-Revision: 48383

3 years agobcm53xx: revert iProc patch adding PAXC support
Rafał Miłecki [Tue, 19 Jan 2016 22:53:21 +0000 (22:53 +0000)]
bcm53xx: revert iProc patch adding PAXC support

It broke detecting some PCIe devices. This fixes (workarounds) #21393.

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

3 years agolantiq: Enable the uImage mtd splitter
Felix Fietkau [Tue, 19 Jan 2016 22:48:37 +0000 (22:48 +0000)]
lantiq: Enable the uImage mtd splitter

Until linux 4.1 the lantiq target used CONFIG_MTD_UIMAGE_SPLIT=y. That
option however is only available until linux 4.3 - thus it was not added
to lantiq's 4.4 kernel config (in r48307). This results in broken images
for devices which are using uImages. This fixes #21652

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48381

3 years agoustream-ssl: update to the latest version, fixes connection with servers requiring DHE
Felix Fietkau [Tue, 19 Jan 2016 22:41:36 +0000 (22:41 +0000)]
ustream-ssl: update to the latest version, fixes connection with servers requiring DHE

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

3 years agouclient: install a symlink from uclient-fetch to wget into /bin
Felix Fietkau [Tue, 19 Jan 2016 22:41:31 +0000 (22:41 +0000)]
uclient: install a symlink from uclient-fetch to wget into /bin

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

3 years agouclient: update to the latest version, fixes a cosmetic progress bar issue
Felix Fietkau [Tue, 19 Jan 2016 22:41:18 +0000 (22:41 +0000)]
uclient: update to the latest version, fixes a cosmetic progress bar issue

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

3 years agomxs: initial 4.4 support
Zoltan Herpai [Tue, 19 Jan 2016 22:05:05 +0000 (22:05 +0000)]
mxs: initial 4.4 support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48377

3 years agokernel: add missing symbols for 4.4
Zoltan Herpai [Tue, 19 Jan 2016 22:03:43 +0000 (22:03 +0000)]
kernel: add missing symbols for 4.4

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48376

3 years agobcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next)
Rafał Miłecki [Tue, 19 Jan 2016 21:53:23 +0000 (21:53 +0000)]
bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next)

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

3 years agopackages: bump uboot-mxs to 2016.01, refresh patches
Zoltan Herpai [Tue, 19 Jan 2016 21:50:11 +0000 (21:50 +0000)]
packages: bump uboot-mxs to 2016.01, refresh patches

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48374

3 years agokernel: fix keyring reference leak (CVE-2016-0728)
Felix Fietkau [Tue, 19 Jan 2016 21:09:17 +0000 (21:09 +0000)]
kernel: fix keyring reference leak (CVE-2016-0728)

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

3 years agokernel: modularize dma shared buffer code to eliminate kernel bloat
Felix Fietkau [Tue, 19 Jan 2016 21:09:11 +0000 (21:09 +0000)]
kernel: modularize dma shared buffer code to eliminate kernel bloat

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

3 years agobcm53xx: move iProc patches that went mainline
Rafał Miłecki [Tue, 19 Jan 2016 20:59:10 +0000 (20:59 +0000)]
bcm53xx: move iProc patches that went mainline

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

3 years agobcm53xx: backport iProc Kconfig fixes
Rafał Miłecki [Tue, 19 Jan 2016 20:58:53 +0000 (20:58 +0000)]
bcm53xx: backport iProc Kconfig fixes

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

3 years agobcm53xx: group iProc patches into patchsets they were sent in
Rafał Miłecki [Tue, 19 Jan 2016 20:58:48 +0000 (20:58 +0000)]
bcm53xx: group iProc patches into patchsets they were sent in

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

3 years agoRevert "cns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PAN"
Felix Fietkau [Tue, 19 Jan 2016 16:52:17 +0000 (16:52 +0000)]
Revert "cns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PAN"

There seem to be some remaining SMP issues with it

This reverts commit r48336

SVN-Revision: 48367

3 years agoprocd: emit events for sound subsystem
John Crispin [Tue, 19 Jan 2016 15:31:35 +0000 (15:31 +0000)]
procd: emit events for sound subsystem

Useful e.g. for plugable USB-soundcards.
With this change an event/hotplug-call looks like:

ACTION: add DEVNAME: snd/timer DEVPATH: /devices/virtual/sound/timer SUBSYSTEM: sound
ACTION: add DEVNAME:  DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0 SUBSYSTEM: sound
ACTION: add DEVNAME: snd/controlC0 DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/controlC0 SUBSYSTEM: sound
ACTION: add DEVNAME: snd/pcmC0D0p DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/pcmC0D0p SUBSYSTEM: sound
ACTION: add DEVNAME: snd/pcmC0D0c DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/pcmC0D0c SUBSYSTEM: sound
ACTION: add DEVNAME: dsp DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/dsp SUBSYSTEM: sound
ACTION: add DEVNAME: audio DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/audio SUBSYSTEM: sound
ACTION: add DEVNAME: mixer DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/mixer SUBSYSTEM: sound

This fixes #21466.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 48366

3 years agokernel: disable AFS support by default
Felix Fietkau [Tue, 19 Jan 2016 15:14:51 +0000 (15:14 +0000)]
kernel: disable AFS support by default

This pulls in CONFIG_KEYS, which bloats up the kernel size and is thus
very undesirable. It also currently exposes the kernel to a local root
vulnerability

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

3 years agotoolchain/musl: enable debug information
Felix Fietkau [Tue, 19 Jan 2016 12:41:59 +0000 (12:41 +0000)]
toolchain/musl: enable debug information

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

3 years agoRevert "linuxptp: Add package"
John Crispin [Tue, 19 Jan 2016 10:20:16 +0000 (10:20 +0000)]
Revert "linuxptp: Add package"

accidentially pushed to the wrong tree

This reverts commit 67f7292833d4dd19fb3fd468c56c746e8f226bb7.

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

3 years agolinuxptp: Add package
John Crispin [Tue, 19 Jan 2016 10:16:45 +0000 (10:16 +0000)]
linuxptp: Add package

Linuxptp is a user space software implementation of IEEE 1588
Precision Time Protocol standard.

v4: Don't compile on uclibc

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
SVN-Revision: 48361

3 years agoipq806x: Add support for Netgear D7800
John Crispin [Tue, 19 Jan 2016 10:16:36 +0000 (10:16 +0000)]
ipq806x: Add support for Netgear D7800

Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 48360

3 years agoramips: fix serial baudrate for final version of ZBT-WG2626 board
John Crispin [Tue, 19 Jan 2016 10:16:30 +0000 (10:16 +0000)]
ramips: fix serial baudrate for final version of ZBT-WG2626 board

The bootloader was updated and now uses 115200 instead of 57600 baud
for the serial console. Change this also in OpenWrt's DTS, so the rate
is consistent for bootloader and linux kernel output.

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

3 years agoar71xx: board.d: fix switch defaults on dLAN pro 1200+ WiFi ac
John Crispin [Tue, 19 Jan 2016 10:16:20 +0000 (10:16 +0000)]
ar71xx: board.d: fix switch defaults on dLAN pro 1200+ WiFi ac

transparent for vlans as originally committed

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 48358

3 years agoar71xx: fix AR8337 switch initialization on dLAN pro 1200+ WiFi ac
John Crispin [Tue, 19 Jan 2016 10:16:11 +0000 (10:16 +0000)]
ar71xx: fix AR8337 switch initialization on dLAN pro 1200+ WiFi ac

unswap ports 0/6 (broken by 17b8dcd63100a6b9e35199882f38bdc2be640777)

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 48357

3 years agoar71xx: add support for Netgear WPN824N
John Crispin [Tue, 19 Jan 2016 10:16:04 +0000 (10:16 +0000)]
ar71xx: add support for Netgear WPN824N

Add support for Netgear WPN824N.
Hardware specs:
  * AR7240, 4 LAN ports, 1 WAN port
  * AR9285 WLAN
  * 32 MB RAM
  * 4 MB Flash
  * 16 LEDs (LAN, WAN and Power/Status contain two LEDs for dual color
    effect)
  * 3 Buttons (not supported)

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
SVN-Revision: 48356

3 years agoramips: HiLink HLK-RM04 image name typo (RM02 -> RM04)
John Crispin [Tue, 19 Jan 2016 10:15:44 +0000 (10:15 +0000)]
ramips: HiLink HLK-RM04 image name typo (RM02 -> RM04)

The image name for the HiLink HLK-RM04 module has a typo and should read "RM04" rather than "RM02"

Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48355

3 years agoat91: drop v3.18
John Crispin [Tue, 19 Jan 2016 10:15:39 +0000 (10:15 +0000)]
at91: drop v3.18

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

3 years agoat91: move to 4.4 kernel
John Crispin [Tue, 19 Jan 2016 10:15:32 +0000 (10:15 +0000)]
at91: move to 4.4 kernel

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
SVN-Revision: 48353

3 years agoat91: fix typo in usb kernel module makefile
John Crispin [Tue, 19 Jan 2016 10:15:26 +0000 (10:15 +0000)]
at91: fix typo in usb kernel module makefile

Fix a typo with generating the package description

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
SVN-Revision: 48352

3 years agoat91: remove SAMA5D3 from Default image build.
John Crispin [Tue, 19 Jan 2016 10:15:20 +0000 (10:15 +0000)]
at91: remove SAMA5D3 from Default image build.

As the Default profile option is a legacy subtarget, the dtb for the
sama5d3_xplained board DTS is not built and image generation fails.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
SVN-Revision: 48351

3 years agoat91: add package for high speed usb device
John Crispin [Tue, 19 Jan 2016 10:15:14 +0000 (10:15 +0000)]
at91: add package for high speed usb device

Add a package for a missing module for the at91 high speed device.
Without this the build process pauses asking to build as module.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
SVN-Revision: 48350

3 years agoat91: add 4.4 support
John Crispin [Tue, 19 Jan 2016 10:15:04 +0000 (10:15 +0000)]
at91: add 4.4 support

This puts the existing patches and config in a 3.18 folder and introduces
a 4.4 config and patches.
The USB clock fix patch is no longer necessary, and the patches applying
to non DT boards has been dropped as the platform has been converted.
4.4 config was generated by copying 3.18 and running make kernel_menuconfig,
scripts/kconfig.pl filled in the gaps.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
SVN-Revision: 48349

3 years agokernel: add patch to fix the ccp-crypto module
Felix Fietkau [Tue, 19 Jan 2016 10:06:52 +0000 (10:06 +0000)]
kernel: add patch to fix the ccp-crypto module

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 48348

3 years agokernel/modules: add kmod-crypto-hw-ccp
Felix Fietkau [Tue, 19 Jan 2016 10:06:43 +0000 (10:06 +0000)]
kernel/modules: add kmod-crypto-hw-ccp

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 48347

3 years agokernel: add missing symbol for 4.4
Felix Fietkau [Tue, 19 Jan 2016 10:06:34 +0000 (10:06 +0000)]
kernel: add missing symbol for 4.4

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 48346

3 years agowpa_supplicant: add support for EAP-TLS phase2
Felix Fietkau [Tue, 19 Jan 2016 10:06:29 +0000 (10:06 +0000)]
wpa_supplicant: add support for EAP-TLS phase2

Introduce config options client_cert2, priv_key2 and priv_key2_pwd
used for EAP-TLS phase2 authentication in WPA-EAP client mode.

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

3 years agohostap/wpa_supplicant: enable EAP-FAST in -full builds
Felix Fietkau [Tue, 19 Jan 2016 10:06:23 +0000 (10:06 +0000)]
hostap/wpa_supplicant: enable EAP-FAST in -full builds

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

3 years agouhttpd: add option for mbedtls
Felix Fietkau [Tue, 19 Jan 2016 10:06:18 +0000 (10:06 +0000)]
uhttpd: add option for mbedtls

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

3 years agokernel: add missing symbols for 4.1
Felix Fietkau [Mon, 18 Jan 2016 23:35:18 +0000 (23:35 +0000)]
kernel: add missing symbols for 4.1

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 48342

3 years agokernel/modules: add missing symbol for crypto-rng
Felix Fietkau [Mon, 18 Jan 2016 23:35:12 +0000 (23:35 +0000)]
kernel/modules: add missing symbol for crypto-rng

Since CRYPTO_DRBG_MENU was added in r48277, CRYPTO_DRBG_HMAC is missing.
It does not appear in kernel_menuconfig and defaults to yes, so enable
it in crypto-rng as well and add dependencies to HMAC and SHA256.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 48341

3 years agooxnas: switch to Linux 4.4
Felix Fietkau [Mon, 18 Jan 2016 23:35:05 +0000 (23:35 +0000)]
oxnas: switch to Linux 4.4

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

3 years agooxnas: add patches and config for Linux 4.4
Felix Fietkau [Mon, 18 Jan 2016 23:34:59 +0000 (23:34 +0000)]
oxnas: add patches and config for Linux 4.4

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

3 years agooxnas: prepare platform and drivers for Linux 4.4
Felix Fietkau [Mon, 18 Jan 2016 23:34:51 +0000 (23:34 +0000)]
oxnas: prepare platform and drivers for Linux 4.4

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

3 years agooxnas: fix the incorrect board names
Felix Fietkau [Mon, 18 Jan 2016 23:34:42 +0000 (23:34 +0000)]
oxnas: fix the incorrect board names

Signed-off-by: Shonn Lu <countrysideboy@qq.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 48337

3 years agocns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PAN
Felix Fietkau [Mon, 18 Jan 2016 23:20:38 +0000 (23:20 +0000)]
cns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PAN

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

3 years agokernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCore
Felix Fietkau [Mon, 18 Jan 2016 23:20:18 +0000 (23:20 +0000)]
kernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCore

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

3 years agocns3xxx: update to linux 4.4
Felix Fietkau [Mon, 18 Jan 2016 22:38:23 +0000 (22:38 +0000)]
cns3xxx: update to linux 4.4

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

3 years agocns3xxx: fix a ethernet driver napi poll handling bug
Felix Fietkau [Mon, 18 Jan 2016 22:38:14 +0000 (22:38 +0000)]
cns3xxx: fix a ethernet driver napi poll handling bug

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

3 years agocns3xxx: clean up SMP related code
Felix Fietkau [Mon, 18 Jan 2016 22:38:09 +0000 (22:38 +0000)]
cns3xxx: clean up SMP related code

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

3 years agocns3xxx: fix adding twd local timers
Felix Fietkau [Mon, 18 Jan 2016 22:38:03 +0000 (22:38 +0000)]
cns3xxx: fix adding twd local timers

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

3 years agocns3xxx: remove obsolete file
Felix Fietkau [Mon, 18 Jan 2016 22:37:57 +0000 (22:37 +0000)]
cns3xxx: remove obsolete file

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

3 years agocns3xxx: remove unused define and use of a deprecated function
Felix Fietkau [Mon, 18 Jan 2016 22:37:51 +0000 (22:37 +0000)]
cns3xxx: remove unused define and use of a deprecated function

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

3 years agolantiq: add support for TP-Link VR200v
Hauke Mehrtens [Mon, 18 Jan 2016 20:40:03 +0000 (20:40 +0000)]
lantiq: add support for TP-Link VR200v

This adds basic support for TP-Link VR200v.
Currently the following parts are not working: FXO, Voice, DECT, WIFI (both)

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

3 years agokernel: fix uninitialized variable in bridge multicast-to-unicast patch on 4.4
Felix Fietkau [Mon, 18 Jan 2016 20:16:37 +0000 (20:16 +0000)]
kernel: fix uninitialized variable in bridge multicast-to-unicast patch on 4.4

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

3 years agoarc: clean-up and move CFLAGS to include/target.mk
Felix Fietkau [Mon, 18 Jan 2016 17:52:03 +0000 (17:52 +0000)]
arc: clean-up and move CFLAGS to include/target.mk

Most of currently mentioned CFLAGS in arc770/Makefile
are not really required because:
 [1] "-Os -pipe" are set by default in include/target.mk
 [2] "-fno-caller-saves" gets enabled via menuconfig
     as an extra compiler flag for developers

So the only one that makes sense is "-matomic" and
that one is really essential. Without it many software
packges won't build complainin on unresolved atomic ops.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48326

3 years agoarc770/axs101: fix console output
Felix Fietkau [Mon, 18 Jan 2016 17:51:54 +0000 (17:51 +0000)]
arc770/axs101: fix console output

While bumping kernel version kernel command line was
unintentionally modified in attempt to make it closer
to upstream version.

In case of AXS that has not only serial port but HDMI/USB
both capable of being debug console we have 2 entries in
kernel's command line:
------------------->8-----------------
console=tty0 console=ttyS3,115200n8
------------------->8-----------------

But as it turned out OpenWRT uses procd as init instead of
Busybox. And in its turn procd gets the first "console"
entry from kernel command line (/proc/cmdline) and uses it
if default inittab is used:
------------------->8-----------------
...
::askconsole:/bin/ash --login
------------------->8-----------------

So what we got is non-functional serial console.
That change removes "console=tty0" which brings serial
console back to life.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48325

3 years agokernel: fix a build regression in the ld-version script fix
Felix Fietkau [Mon, 18 Jan 2016 17:40:40 +0000 (17:40 +0000)]
kernel: fix a build regression in the ld-version script fix

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

3 years agolantiq: drop linux 4.1 support
Felix Fietkau [Mon, 18 Jan 2016 15:54:23 +0000 (15:54 +0000)]
lantiq: drop linux 4.1 support

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

3 years agolantiq: switch to linux 4.4
Felix Fietkau [Mon, 18 Jan 2016 15:54:18 +0000 (15:54 +0000)]
lantiq: switch to linux 4.4

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

3 years agobr2684ctl: resolve a boot time race condition with nas0 bringup by using explicit...
Felix Fietkau [Mon, 18 Jan 2016 15:35:30 +0000 (15:35 +0000)]
br2684ctl: resolve a boot time race condition with nas0 bringup by using explicit notification when init is done

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

3 years agobr2684ctl: add support for notifying nas* bringup via a script
Felix Fietkau [Mon, 18 Jan 2016 15:35:24 +0000 (15:35 +0000)]
br2684ctl: add support for notifying nas* bringup via a script

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

3 years agolantiq: fix VDSL device detection with Linux 4.4
Felix Fietkau [Mon, 18 Jan 2016 15:35:17 +0000 (15:35 +0000)]
lantiq: fix VDSL device detection with Linux 4.4

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

3 years agoramips: delete the broken sound driver
Felix Fietkau [Mon, 18 Jan 2016 13:40:15 +0000 (13:40 +0000)]
ramips: delete the broken sound driver

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

3 years agoramips: mark kmod-sound-mtk as broken, it does not compile properly
Felix Fietkau [Mon, 18 Jan 2016 13:22:38 +0000 (13:22 +0000)]
ramips: mark kmod-sound-mtk as broken, it does not compile properly

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

3 years agoramips: fix kernel config handling for mt7620/mt7628 sound module
Felix Fietkau [Mon, 18 Jan 2016 13:22:34 +0000 (13:22 +0000)]
ramips: fix kernel config handling for mt7620/mt7628 sound module

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

3 years agofirewall: add CONFIG_IPV6 to PKG_CONFIG_DEPENDS to fix a rebuild error
Felix Fietkau [Mon, 18 Jan 2016 13:21:37 +0000 (13:21 +0000)]
firewall: add CONFIG_IPV6 to PKG_CONFIG_DEPENDS to fix a rebuild error

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

3 years agoiptables: fix rebuild errors on configuration changes
Felix Fietkau [Mon, 18 Jan 2016 13:21:32 +0000 (13:21 +0000)]
iptables: fix rebuild errors on configuration changes

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

3 years agobuild: use sstrip by default for musl
Felix Fietkau [Mon, 18 Jan 2016 12:47:36 +0000 (12:47 +0000)]
build: use sstrip by default for musl

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

3 years agoopenssl: remove the separate configuration menu, use the implicit one (via MENU:=1)
Felix Fietkau [Mon, 18 Jan 2016 12:42:08 +0000 (12:42 +0000)]
openssl: remove the separate configuration menu, use the implicit one (via MENU:=1)

Fixes warning on selecting OPENSSL_ENGINE_CRYPTO if openssl is not selected

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