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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Felix Fietkau [Mon, 18 Jan 2016 12:42:03 +0000 (12:42 +0000)]
brcm2708: fix RPi model B plus support
Not sure if B+ is used or not (mine has B Plus) so leave both
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 48311
Felix Fietkau [Mon, 18 Jan 2016 11:40:49 +0000 (11:40 +0000)]
kernel: fix MIPS linux-4.4 build on non-GNU systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48310
Felix Fietkau [Mon, 18 Jan 2016 11:40:44 +0000 (11:40 +0000)]
wpa_supplicant: improve generating phase2 config line for WPA-EAP
WPA-EAP supports several phase2 (=inner) authentication methods when
using EAP-TTLS, EAP-PEAP or EAP-FAST (the latter is added as a first
step towards the UCI model supporting EAP-FAST by this commit)
The value of the auth config variable was previously expected to be
directly parseable as the content of the 'phase2' option of
wpa_supplicant.
This exposed wpa_supplicant's internals, leaving it to view-level to
set the value properly. Unfortunately, this is currently not the case,
as LuCI currently allows values like 'PAP', 'CHAP', 'MSCHAPV2'.
Users thus probably diverged and set auth to values like
'auth=MSCHAPV2' as a work-around.
This behaviour isn't explicitely documented anywhere and is not quite
intuitive...
The phase2-string is now generated according to $eap_type and $auth,
following the scheme also found in hostap's test-cases:
http://w1.fi/cgit/hostap/tree/tests/hwsim/test_ap_eap.py
The old behaviour is also still supported for the sake of not breaking
existing, working configurations.
Examples:
eap_type auth
'ttls' 'EAP-MSCHAPV2' -> phase2="autheap=MSCHAPV2"
'ttls' 'MSCHAPV2' -> phase2="auth=MSCHAPV2"
'peap' 'EAP-GTC' -> phase2="auth=GTC"
Deprecated syntax supported for compatibility:
'ttls' 'autheap=MSCHAPV2' -> phase2="autheap=MSCHAPV2"
I will suggest a patch to LuCI adding EAP-MSCHAPV2, EAP-GTC, ... to
the list of Authentication methods available.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 48309
Felix Fietkau [Mon, 18 Jan 2016 11:40:40 +0000 (11:40 +0000)]
lantiq: ltq-deu: Remove the "DEU test manager"
Remove the "DEU test manager" code which has not been used for more than
two years (as the kernel module is not installed anymore since r38731).
This fixes compilation on kernel 4.3, which removes
aead_request_set_assoc (and newer kernels).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48308
Felix Fietkau [Mon, 18 Jan 2016 11:40:19 +0000 (11:40 +0000)]
lantiq: Add support for linux 4.4
The following patches were dropped because they are already applied
upstream:
- 0038-MIPS-lantiq-fpi-on-ar9.patch
- 0039-MIPS-lantiq-initialize-usb-on-boot.patch
- 0042-USB-DWC2-big-endian-support.patch
- 0043-gpio-stp-xway-fix-phy-mask.patch
All other patches were simply refreshed, except the following:
- 0001-MIPS-lantiq-add-pcie-driver.patch
Changes to arch/mips/lantiq/xway/sysctrl.c (these changes disabled
some PMU gates for the vrx200 / VR9 SoCs) were removed since the
upstream kernel disables unused PMU gates automatically (since
95135bfa7ead1becc2879230f72583dde2b71a0c
"MIPS: Lantiq: Deactivate most of the devices by default").
- 0025-NET-MIPS-lantiq-adds-xrx200-net.patch
Since OpenWrt commit
55ba20afcc2fe785146316e5be2c2473cb329885 drivers
should use of_get_mac_address(). of_get_mac_address_mtd is not
available for drivers anymore since it's called automatically within
of_get_mac_address().
- 0028-NET-lantiq-various-etop-fixes.patch
Same changes as in 0025-NET-MIPS-lantiq-adds-xrx200-net.patch
While refreshing the kernel configuration SPI support had to be moved to
config-4.4 because otherwise M25P80 was disabled.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48307
Felix Fietkau [Mon, 18 Jan 2016 11:11:26 +0000 (11:11 +0000)]
busybox: fix broken IPv6 address displaying in ifconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48306
Jonas Gorski [Mon, 18 Jan 2016 10:47:23 +0000 (10:47 +0000)]
brcm63xx: add support for Huawei HG622
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48305
Jonas Gorski [Mon, 18 Jan 2016 10:46:58 +0000 (10:46 +0000)]
ipq806x: fix sysupgrade for AP148
AP148 uses lowercase name as boardname, so we need to use this in
platform.sh as well.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48304
Jonas Gorski [Mon, 18 Jan 2016 10:46:50 +0000 (10:46 +0000)]
brcm63xx: fix platform gpio lookups for gpios < 32
Overwriting static strings is never a good idea, especially expecting
identical strings to be stored in different memory locations.
This caused the lookups to always return the second chip's name. Fix
this by just initializing the lookup with the right values, so we
don't need to modify the strings at all.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48303
Jonas Gorski [Mon, 18 Jan 2016 10:46:47 +0000 (10:46 +0000)]
b53: update header register difinitions
BCM531x5 has two pontential cpu ports, and header mode can be enabled
independently on both.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48302
Jo-Philipp Wich [Mon, 18 Jan 2016 09:23:17 +0000 (09:23 +0000)]
package/libs/libiconv: function names
Currently libiconv-stub and libiconv-full use different names
for functions iconv, iconv_open, and iconv_close.
This may lead to failures when building modules, e.g. with
apr-util when NLS is not activated.
The two modules libiconv-stub and libiconv-full should be
interchangeable, so we need the same function names.
cf.
http://git.savannah.gnu.org/cgit/libiconv.git/tree/include/iconv.h.in
After applying this patch execute
make distclean
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
SVN-Revision: 48301
Luka Perkov [Mon, 18 Jan 2016 06:43:50 +0000 (06:43 +0000)]
imx6: drop 4.1 support
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 48300
Luka Perkov [Mon, 18 Jan 2016 06:43:48 +0000 (06:43 +0000)]
imx6: drop 4.3 support
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 48299
Luka Perkov [Mon, 18 Jan 2016 06:40:16 +0000 (06:40 +0000)]
imx6: move to 4.4 kernel
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 48298
Felix Fietkau [Sun, 17 Jan 2016 21:05:19 +0000 (21:05 +0000)]
mpc85xx: update to linux 4.4, remove unnecessary patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48297
Felix Fietkau [Sun, 17 Jan 2016 20:41:09 +0000 (20:41 +0000)]
iproute2: remove odd conffiles generation
This was generating a conffiles list that included the binary
and CONTROL/ files.
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
SVN-Revision: 48296
Felix Fietkau [Sun, 17 Jan 2016 19:56:16 +0000 (19:56 +0000)]
lantiq: Remove incorrect PCIe compatible strings
Re-defining the compatible property is not required since the correct
value is inherited from vr9.dtsi.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48295
Felix Fietkau [Sun, 17 Jan 2016 19:56:10 +0000 (19:56 +0000)]
lantiq: Remove the old SPI driver patch
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48294
Felix Fietkau [Sun, 17 Jan 2016 19:56:03 +0000 (19:56 +0000)]
lantiq: Switch to the new SPI driver
Compared to the "old" driver:
- Each device must assign a pinctrl setting to the SPI node to allow the
new SPI driver to configure the SPI pins.
While here we are also using separate input and output settings so we
are independent of whether the bootloader configures the pins correctly.
- We use the new "compatible" strings to make the driver choose the
correct number of chip-selects for each SoC.
- The new driver starts counting the chip-selects at 1 (instead of 0, like
the old one did). Thus we have to adjust the devices accordingly.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48293
Felix Fietkau [Sun, 17 Jan 2016 19:55:55 +0000 (19:55 +0000)]
lantiq: Add a rewritten version of the SPI driver
The new driver provides a few improvements over the old one:
- Separate compatible strings per SoC type (this allows removing some
hardcoded of_device_is_compatible() checks)
- It does not rely upon spi-bitbang anymore
- chip-selects are numbered as in the datasheet (= starting at 1 instead
of 0)
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48292
Felix Fietkau [Sun, 17 Jan 2016 19:55:48 +0000 (19:55 +0000)]
lantiq: Disable CONFIG_SPI_GPIO
All devices are now using the HW SPI driver, so this is not necessary
anymore.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48291
Felix Fietkau [Sun, 17 Jan 2016 19:55:42 +0000 (19:55 +0000)]
lantiq: Enable the hardware SPI driver on the DGN3500/DGN3500B
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48290
Felix Fietkau [Sun, 17 Jan 2016 19:55:37 +0000 (19:55 +0000)]
lantiq: Enable SPI for the EASY80920 board again
Also switch to the SPI definition provided by vr9.dtsi
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48289
Felix Fietkau [Sun, 17 Jan 2016 19:55:31 +0000 (19:55 +0000)]
lantiq: Switch FRITZ3370 from spi-gpio to the hardware SPI driver
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48288
Felix Fietkau [Sun, 17 Jan 2016 19:55:25 +0000 (19:55 +0000)]
lantiq: Re-use the SPI node from vr9.dtsi in TDW89X0.dtsi
This removes the duplicate SPI register definition.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48287
Felix Fietkau [Sun, 17 Jan 2016 19:55:17 +0000 (19:55 +0000)]
lantiq: Add the SPI node to ar9.dtsi and vr9.dtsi
This allows devices to use SPI without having to re-define (and thus
duplicating) the whole SPI node.
By default SPI is disabled (as before) because only few devices need it.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48286
Felix Fietkau [Sun, 17 Jan 2016 19:55:10 +0000 (19:55 +0000)]
lantiq: Configure the PCIe reset GPIO using OF
After the latest pinctrl backports there are only 50 (instead of 56 as
before) GPIOs/pins exported (thus the first GPIO on VRX200 SoCs is now
462, before it was 456). This means that any hardcoded GPIOs have to be
adjusted.
This broke the PCIe driver (which seems to be the only driver which uses
hardcoded GPIO numbers), it only reports:
ifx_pcie_wait_phy_link_up timeout
ifx_pcie_wait_phy_link_up timeout
ifx_pcie_wait_phy_link_up timeout
ifx_pcie_wait_phy_link_up timeout
ifx_pcie_wait_phy_link_up timeout
pcie_rc_initialize link up failed!!!!!
To prevent more of these issues in the future we remove the hardcoded
PCIe reset GPIO definition and simply pass it via device-tree (like the
PCI driver does).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48285
Felix Fietkau [Sun, 17 Jan 2016 19:55:04 +0000 (19:55 +0000)]
lantiq: Use the new pinctrl compatible strings
These were introduced in upstream commit
be14811c03cf "pinctrl/lantiq: introduce new dedicated devicetree
bindings" and finally allow us to use the individual pins within our dts
(for example spi_clk, etc.).
Please note that this changes the number of GPIOs which are available for
some SoCs. VRX200 SoCs for example only have 50 pins, but previously 56
pins were exposed. This means that all places which are using hardcoded
GPIO numbers (which are not passed via device-tree) need to be adjusted
(because the first GPIO number is now 462, instead of 456).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48284
Felix Fietkau [Sun, 17 Jan 2016 19:54:59 +0000 (19:54 +0000)]
lantiq: Backport upstream pinctrl-xway patches from 4.5
Upstream commit
be14811c03cf2 "pinctrl/lantiq: introduce new dedicated
devicetree bindings" allows us to use each pin in the pinmux. This is
useful for example in the "spi" group which contains some pins which
are inputs, and some which are outputs.
These can only be used once the new compatible strings for the pinctrl
node are used.
Additionally 0150-lantiq-pinctrl-xway.patch and the "GPIO PORT3 fix"
(which was part of 0012-pinctrl-lantiq-fix-up-pinmux.patch) were
replaced with their upstream variants which are also in 4.5.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48283
Felix Fietkau [Sun, 17 Jan 2016 19:23:14 +0000 (19:23 +0000)]
lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer
Upstream linux 4.2 commit
84be456f883c4685680fba8e5154b5f72e92957e
"remove <asm/scatterlist.h>" requires us to include linux/scatterlist.h
instead. This also works with older kernels (at least 4.1, thanks to
Hauke Mehrtens for testing).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48282
Jo-Philipp Wich [Sun, 17 Jan 2016 18:24:30 +0000 (18:24 +0000)]
base-files: Fix sysupgrade overlay saving
A previous change to sysupgrade moved the overlay files into upper/
The -c switch generates a list of files to backup, but the sed
calls did not take this into consideration.
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
SVN-Revision: 48281
Jo-Philipp Wich [Sun, 17 Jan 2016 17:15:01 +0000 (17:15 +0000)]
netifd: fix PKG_VERSION (#21630)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48280
Gabor Juhos [Sun, 17 Jan 2016 15:29:03 +0000 (15:29 +0000)]
ar71xx/lzma-loader: fix O32 ABI conformance
According to the calling convention of the o32 ABI the caller
function must reserve stack space for $a0-$a3 registers in case
the callee needs to save its arguments.
The assembly code of the loader does not reserve stack space for
these registers thus when the 'loader_main' function needs to save
its arguments, those will be stored in the 'workspace' area instead
of the stack.
Because the workspace area is also used by other part of the code, the
saved register values gets overwritten and this often leads to failed
kernel boots.
Fix the code to reserve stack space for the registers to avoid this
error.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 48279
Felix Fietkau [Sun, 17 Jan 2016 12:41:06 +0000 (12:41 +0000)]
uclient: update to the latest version, adds many fixes/features
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48278
Felix Fietkau [Sun, 17 Jan 2016 11:17:06 +0000 (11:17 +0000)]
kernel: add missing kernel config symbol for crypto-rng (fixes #21596)
Signed-off-by: Lucian Cristian <luci@createc.ro>
SVN-Revision: 48277
Felix Fietkau [Sun, 17 Jan 2016 11:16:56 +0000 (11:16 +0000)]
ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4
Change MTD on WNDR4300 and WNDR3700v4 to fully utilize the 128MB flash.
Credit to @Tuochenlyu on GitHub.
Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
SVN-Revision: 48276