openwrt.git
8 years agoltq-vdsl-app: Enable T1.413 in Annex A xTSE set
blogic [Thu, 25 Feb 2016 10:13:51 +0000 (10:13 +0000)]
ltq-vdsl-app: Enable T1.413 in Annex A xTSE set

Before r47933 Bit 1 (first bit) of xTSE Octet 1 (first octet) defaulted
to 1, which allowed T1.413 to operate.

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48763 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: update to version 1.1.14
nbd [Thu, 25 Feb 2016 09:24:46 +0000 (09:24 +0000)]
musl: update to version 1.1.14

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

8 years agodnsmasq: export tftp root to the procd jail
nbd [Thu, 25 Feb 2016 09:24:31 +0000 (09:24 +0000)]
dnsmasq: export tftp root to the procd jail

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

8 years agodnsmasq: only enable tftp if the tftp root exists
nbd [Thu, 25 Feb 2016 09:24:24 +0000 (09:24 +0000)]
dnsmasq: only enable tftp if the tftp root exists

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

8 years agomac80211: fix an RTS/CTS issue in minstrel_ht
nbd [Thu, 25 Feb 2016 09:24:13 +0000 (09:24 +0000)]
mac80211: fix an RTS/CTS issue in minstrel_ht

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

8 years agomac80211: sync a-msdu tx patch with the latest upstream submission
nbd [Thu, 25 Feb 2016 09:24:09 +0000 (09:24 +0000)]
mac80211: sync a-msdu tx patch with the latest upstream submission

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

8 years agosunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac to banana...
wigyori [Wed, 24 Feb 2016 23:31:48 +0000 (23:31 +0000)]
sunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac to bananapro profile

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

8 years agokernel: replace bgmac patches for BCM47094 with final ones
rmilecki [Wed, 24 Feb 2016 22:43:43 +0000 (22:43 +0000)]
kernel: replace bgmac patches for BCM47094 with final ones

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

8 years agokernel: mtdsplit: support uimage with UBI
rmilecki [Wed, 24 Feb 2016 22:43:16 +0000 (22:43 +0000)]
kernel: mtdsplit: support uimage with UBI

This patch adds uimage firmware split support for ubi.

Signed-off-by: YounJae Rho <luxflow@live.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48755 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: mtdsplit: add missing digest field to Seama header
rmilecki [Tue, 23 Feb 2016 14:40:40 +0000 (14:40 +0000)]
kernel: mtdsplit: add missing digest field to Seama header

Seama format has 2 similar headers: container (seal) header and entity
header. The first one has size always set to 0 and doesn't contain MD5
digest.

When dealing with Seama on a flash we deal directly with an entity. You
can see mtdsplit_parse_seama reads from offset 0 and expects entity to
be there. Seama container is used by bootloader / interface only which
extract entity out of it and flash it.

That said we should fix our header struct. This is important as we
calculate possible rootfs offset assuming it may be placed right after
Seama entity. So far calculate offset was always 16B too low.

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

8 years agoar71xx: reset ethernet tx ring on fast reset to prevent packet loss / irq issues
nbd [Mon, 22 Feb 2016 15:11:23 +0000 (15:11 +0000)]
ar71xx: reset ethernet tx ring on fast reset to prevent packet loss / irq issues

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

8 years agoustream-ssl: update to the latest version, fixes openssl TLS version selection
nbd [Mon, 22 Feb 2016 08:54:46 +0000 (08:54 +0000)]
ustream-ssl: update to the latest version, fixes openssl TLS version selection

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

8 years agoramips: fix WSR-1166 partition table
nbd [Mon, 22 Feb 2016 08:54:32 +0000 (08:54 +0000)]
ramips: fix WSR-1166 partition table

- Fix typo in board_data partition start address
- Increase board_data partition size in order to exploit all flash size

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48751 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add packages libertas-spi module and firmware
nbd [Mon, 22 Feb 2016 08:54:08 +0000 (08:54 +0000)]
mac80211: add packages libertas-spi module and firmware

This adds option to build kernel module and firmware packages
for a Marvell 8686 SPI Wireless device

Signed-off-by: Joseph Honold <mozzwald@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48750 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: fix mt7628 ehci support
blogic [Fri, 19 Feb 2016 16:38:04 +0000 (16:38 +0000)]
ralink: fix mt7628 ehci support

the u2_phy init was missing

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

8 years agoralink: unbreak port4 on mt7620
blogic [Fri, 19 Feb 2016 16:37:56 +0000 (16:37 +0000)]
ralink: unbreak port4 on mt7620

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

8 years agokernel: fix chainiv crypto modules in 4.3+ kernels
cyrus [Fri, 19 Feb 2016 11:49:03 +0000 (11:49 +0000)]
kernel: fix chainiv crypto modules in 4.3+ kernels

Signed-off-by: Steven Barth <cyrus@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48745 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: set default aggregation timeout to 0 to improve stability
nbd [Thu, 18 Feb 2016 18:55:46 +0000 (18:55 +0000)]
mac80211: set default aggregation timeout to 0 to improve stability

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

8 years agomac80211: update A-MSDU tx support to the latest version
nbd [Thu, 18 Feb 2016 18:55:35 +0000 (18:55 +0000)]
mac80211: update A-MSDU tx support to the latest version

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

8 years agoar71xx: add missing symbol to Linux 4.4 config (#21878)
jow [Thu, 18 Feb 2016 12:09:34 +0000 (12:09 +0000)]
ar71xx: add missing symbol to Linux 4.4 config (#21878)

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

8 years agoarchs38: remove network config override
blogic [Thu, 18 Feb 2016 08:35:21 +0000 (08:35 +0000)]
archs38: remove network config override

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

8 years agolinux: add support of Synopsys ARCHS38-based boards
blogic [Thu, 18 Feb 2016 08:22:32 +0000 (08:22 +0000)]
linux: add support of Synopsys ARCHS38-based boards

This patch introduces support of new boards with ARC HS38 cores.

ARC HS38 is a new generation of ARC cores which utilize ARCv2 ISA.
As with ARC770 we're addind support for 2 boards for now:

 [1] Synopsys SDP board (AXS103)
     This is the same base-board as in AXS101 but with
     FPGA-based CPU-tile where ARCHs38 core is implemented.

 [2] nSIM
     Again this is the same simulation engine but configured for
     new instruction set and features of new CPU.

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48740 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain: add support of ARCv2 architecture
blogic [Thu, 18 Feb 2016 08:22:17 +0000 (08:22 +0000)]
toolchain: add support of ARCv2 architecture

This change adds support of ARC ISAv2 processors in
OpenWRT toolchain.

In general gcc for ARC may compile code for both ISA versions
simultaneously but libgcc will be built only for default
architecture that's why it's necessary to specify --with-cpu
on gcc configuration.

As for uClibc we need to use different configurations for
different ARC ISAs.

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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48739 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolldp: Upgrade to 0.9.0
blogic [Thu, 18 Feb 2016 08:22:07 +0000 (08:22 +0000)]
lldp: Upgrade to 0.9.0

Signed-off-by: Ben Kelly <ben@benjii.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48738 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: add SolidRun ClearFog A1 support
luka [Wed, 17 Feb 2016 17:49:26 +0000 (17:49 +0000)]
mvebu: add SolidRun ClearFog A1 support

Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48736 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain: use latest glibc 2.21 and 2.22 revisions
jow [Wed, 17 Feb 2016 08:44:49 +0000 (08:44 +0000)]
toolchain: use latest glibc 2.21 and 2.22 revisions

Refresh patches and rework Makefile to fetch glibc from release branches
instead of relying on tarballs.

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

8 years agotoolchain: mark eglibc 2.19 broken
jow [Wed, 17 Feb 2016 08:44:45 +0000 (08:44 +0000)]
toolchain: mark eglibc 2.19 broken

Upstream is dead and the last available version has multiple open CVEs.

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

8 years agodownload.mk: fix packed checkout mirroring support
jow [Wed, 17 Feb 2016 08:44:37 +0000 (08:44 +0000)]
download.mk: fix packed checkout mirroring support

Changeset r48416  broke the downloading of mirrored, packed scm checkouts.

Fix this by removing the "@" sign in front of the download command which is
now executed as part of a larger shell command under flock.

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

8 years agobrcm2708-gpu-fw: move pkg build dir to kernel build dir to fix rebuild bugs after...
nbd [Tue, 16 Feb 2016 21:42:00 +0000 (21:42 +0000)]
brcm2708-gpu-fw: move pkg build dir to kernel build dir to fix rebuild bugs after cleaning the kernel tree

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

8 years agogdb: fix powerpc build issues with musl
nbd [Tue, 16 Feb 2016 21:30:20 +0000 (21:30 +0000)]
gdb: fix powerpc build issues with musl

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

8 years agokernel: add missing symbols to config-4.4
blogic [Tue, 16 Feb 2016 16:25:49 +0000 (16:25 +0000)]
kernel: add missing symbols to config-4.4

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

8 years agokernel: add mode backlight symbols
blogic [Tue, 16 Feb 2016 16:25:40 +0000 (16:25 +0000)]
kernel: add mode backlight symbols

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

8 years agokernel: add missing symbol to usb-audio
blogic [Tue, 16 Feb 2016 16:25:33 +0000 (16:25 +0000)]
kernel: add missing symbol to usb-audio

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

8 years agokernel: DSA is missing a OF dependend dep for mdio
blogic [Tue, 16 Feb 2016 16:25:25 +0000 (16:25 +0000)]
kernel: DSA is missing a OF dependend dep for mdio

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

8 years agoat91: udc driver was missing deps
blogic [Tue, 16 Feb 2016 16:25:16 +0000 (16:25 +0000)]
at91: udc driver was missing deps

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

8 years agomvebu: add missing symbols.
blogic [Tue, 16 Feb 2016 16:25:10 +0000 (16:25 +0000)]
mvebu: add missing symbols.

this broke full builds of the mvebu target

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

8 years agokernel: crypto-echainiv was missing deps
blogic [Tue, 16 Feb 2016 07:47:06 +0000 (07:47 +0000)]
kernel: crypto-echainiv was missing deps

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

8 years agokernel: add missing libphy dep to DSA
blogic [Mon, 15 Feb 2016 18:45:34 +0000 (18:45 +0000)]
kernel: add missing libphy dep to DSA

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

8 years agokernel: MPLS did not exist prior to v4.4
blogic [Mon, 15 Feb 2016 18:45:27 +0000 (18:45 +0000)]
kernel: MPLS did not exist prior to v4.4

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

8 years agoramips: Add support for Phicomm PSG1208
blogic [Mon, 15 Feb 2016 18:45:22 +0000 (18:45 +0000)]
ramips: Add support for Phicomm PSG1208

This patch adds support for Phicomm PSG1208.This is a router with MT7620A SoC with 8M flash and 64M ram.
The WPS led is uesd as status_led because the power light can't be controlled with GPIO.
It seems that the 5g wifi led is connected to MT7612E and it can't be controlled with GPIO too.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48721 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoperf: add dependency on !LINUX_3_18 to fix builds
nbd [Mon, 15 Feb 2016 10:53:23 +0000 (10:53 +0000)]
perf: add dependency on !LINUX_3_18 to fix builds

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

8 years agomac80211: fix a crash in monitor mode injection
nbd [Sun, 14 Feb 2016 12:26:49 +0000 (12:26 +0000)]
mac80211: fix a crash in monitor mode injection

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

8 years agobuild: disable the use of -iremap for UML (#21851)
nbd [Sat, 13 Feb 2016 22:23:32 +0000 (22:23 +0000)]
build: disable the use of -iremap for UML (#21851)

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

8 years agoar71xx: add missing kernel symbol (#21849)
jow [Fri, 12 Feb 2016 19:55:07 +0000 (19:55 +0000)]
ar71xx: add missing kernel symbol (#21849)

Also reorder subtarget kernel configs.

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

8 years agobusybox: fix broken default for FEATURE_IP_ROUTE_DIR (#21845)
jow [Fri, 12 Feb 2016 19:46:31 +0000 (19:46 +0000)]
busybox: fix broken default for FEATURE_IP_ROUTE_DIR (#21845)

Changeset r47775 introduced a wrong default value "n" for the ip applets
config search path, breaking the handling of named routing tables and other
objects having alias configurations.

Fix the issue by providing a proper default value aligned with the value
used by full iproute2.

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

8 years agoramips: Support LEDs on D-Link DIR-860L B1
blogic [Fri, 12 Feb 2016 09:29:23 +0000 (09:29 +0000)]
ramips: Support LEDs on D-Link DIR-860L B1

Adds the required gpio definitions.

Signed-off-by: Johannes Wienke <languitar@semipol.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48715 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolinux/crypto: Add echainiv module provided by 4.4 kernels
blogic [Fri, 12 Feb 2016 08:31:54 +0000 (08:31 +0000)]
linux/crypto: Add echainiv module provided by 4.4 kernels

This module is needed for IPsec ESP support, i.e..

Signed-off-by: André Valentin <avalentin@marcant.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48714 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add dsa driver support
blogic [Fri, 12 Feb 2016 08:31:49 +0000 (08:31 +0000)]
kernel: add dsa driver support

The Linux Distributed Switch Architecture drivers provide richer support than
the swconfig driver API in that each switch port gets its own interface which
allows protocols such as STP, LLDP, 802.1x etc.

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

8 years agopackage/libs/gmp: update libgmp to 6.1.0
blogic [Fri, 12 Feb 2016 08:31:39 +0000 (08:31 +0000)]
package/libs/gmp: update libgmp to 6.1.0

Update also the library version of gmp to 6.1.0.
Switch download to use the GNU alias.

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

8 years agoar71xx: Support for Ubiquiti UniFi AP AC LITE
blogic [Fri, 12 Feb 2016 08:31:32 +0000 (08:31 +0000)]
ar71xx: Support for Ubiquiti UniFi AP AC LITE

Add support for the Ubiquiti UniFi AP AC LITE
Signed-off-by: P.Wassi <p.wassi at gmx.at>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48711 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolinux/netsupport: Add support for MPLS protocol
blogic [Fri, 12 Feb 2016 08:31:17 +0000 (08:31 +0000)]
linux/netsupport: Add support for MPLS protocol

This adds support for MPLS protocol including usage of lightweight tunnels.
Kernel size of vmlinuz.bin grows by ~8k.

Signed-off-by: André Valentin <avalentin@marcant.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48710 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage/devel/gdb: update to 7.10.1
blogic [Fri, 12 Feb 2016 08:31:11 +0000 (08:31 +0000)]
package/devel/gdb: update to 7.10.1

Minor bugfix update, released in Dec 2015
https://www.gnu.org/software/gdb/news/

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

8 years agotoolchain/gdb: update to 7.10.1
blogic [Fri, 12 Feb 2016 08:31:06 +0000 (08:31 +0000)]
toolchain/gdb: update to 7.10.1

Minor bugfix update, released in Dec 2015
https://www.gnu.org/software/gdb/news/

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

8 years agoutil-linux: Subpackage for blkdiscard
blogic [Fri, 12 Feb 2016 08:30:56 +0000 (08:30 +0000)]
util-linux: Subpackage for blkdiscard

Adding subpackage to make it possible to enable blkdiscard utility.

Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48707 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Make code formatting consistent on ath79/machtypes.h
blogic [Fri, 12 Feb 2016 08:30:38 +0000 (08:30 +0000)]
ar71xx: Make code formatting consistent on ath79/machtypes.h

Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48706 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Added support for TL-WA801NDv3
blogic [Fri, 12 Feb 2016 08:30:28 +0000 (08:30 +0000)]
ar71xx: Added support for TL-WA801NDv3

Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48705 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agovti: fix kmod dependencies
blogic [Fri, 12 Feb 2016 08:30:18 +0000 (08:30 +0000)]
vti: fix kmod dependencies

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

8 years agokernel/modules: add kmod-ip6-vti
blogic [Fri, 12 Feb 2016 08:30:09 +0000 (08:30 +0000)]
kernel/modules: add kmod-ip6-vti

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

8 years agokernel/modules: rename kmod-ipvti to kmod-ip-vti
blogic [Fri, 12 Feb 2016 08:30:00 +0000 (08:30 +0000)]
kernel/modules: rename kmod-ipvti to kmod-ip-vti

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

8 years agoar71xx: WNR2000v3: exclude USB modules from image
blogic [Fri, 12 Feb 2016 08:29:54 +0000 (08:29 +0000)]
ar71xx: WNR2000v3: exclude USB modules from image

Netgear WNR2000v3 has no USB port yet default system image
includes USB kernel modules. This patch fixes that.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48701 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouse "-gt" instead of ">" with [ in /lib/functions/lantiq_dsl.sh
blogic [Fri, 12 Feb 2016 08:29:44 +0000 (08:29 +0000)]
use "-gt" instead of ">" with [ in /lib/functions/lantiq_dsl.sh

Avoids inadvertent file creation when executing
`/etc/init.d/dsl_control status`.

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48700 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agovideo: kmod-pwm does not exist anymore
blogic [Fri, 12 Feb 2016 08:29:38 +0000 (08:29 +0000)]
video: kmod-pwm does not exist anymore

it was removed in r43947

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

8 years agoramips: Add support for Netgear EX2700
blogic [Fri, 12 Feb 2016 08:29:33 +0000 (08:29 +0000)]
ramips: Add support for Netgear EX2700

This patch adds support for the Netgear EX2700 and builds an approriate
sysupgrade image.

What's missing is the option to build a factory image flashable via the
router's stock web interface, but this approach is hindered by the fact
that u-boot operforms an additional integrity check, which expects a
uImage header in the last 64 bytes of the "kernel" partition, which
the bootloader expects to be 960k, a size exceeded by the standard
OpenWrt kernel.

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48698 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agozynq: add new target
blogic [Fri, 12 Feb 2016 08:29:24 +0000 (08:29 +0000)]
zynq: add new target

Add support for Xilinx ZC702 Dev board

Zynq target is using 4.4 kernel and mainline 2016.1 u-boot.

Patch is tested with Xilinx ZC702 Dev board with SD boot mode.

known issues:
 - no QSPI driver in 4.4 kernel: no QSPI flash support
 - USB is not working in 4.4 kernel

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
 create mode 100644 package/boot/uboot-zynq/Makefile
 create mode 100644 target/linux/zynq/Makefile
 create mode 100644 target/linux/zynq/base-files.mk
 create mode 100755 target/linux/zynq/base-files/etc/board.d/02_network
 create mode 100644 target/linux/zynq/base-files/etc/config/network
 create mode 100644 target/linux/zynq/base-files/etc/inittab
 create mode 100644 target/linux/zynq/config-4.4
 create mode 100644 target/linux/zynq/image/Makefile
 create mode 100755 target/linux/zynq/image/mkits.sh
 create mode 100644 target/linux/zynq/patches-4.4/0001-arm-dts-zynq-zc702.dts-Set-default-rdinit-to-sbin-in.patch
 create mode 100644 target/linux/zynq/profiles/zc702.mk

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48697 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: gpio-button-hotplug: update to use threaded irq's
blogic [Fri, 12 Feb 2016 08:29:11 +0000 (08:29 +0000)]
kernel: gpio-button-hotplug: update to use threaded irq's

Many gpio controllers 'cansleep' due to the fact that they are behind busses
e.g. i2c etc.

Using threaded irq's allows for 'sleep-able' gpio's to be used.

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

8 years agoag71xx: fix build error with debugfs code
nbd [Thu, 11 Feb 2016 22:48:36 +0000 (22:48 +0000)]
ag71xx: fix build error with debugfs code

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

8 years agoag71xx: increase rx ring size to improve performance
nbd [Thu, 11 Feb 2016 15:02:07 +0000 (15:02 +0000)]
ag71xx: increase rx ring size to improve performance

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

8 years agoag71xx: store ring size order instead of ring size to avoid div/mod
nbd [Thu, 11 Feb 2016 15:02:00 +0000 (15:02 +0000)]
ag71xx: store ring size order instead of ring size to avoid div/mod

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

8 years agoag71xx: increase tx ring size to improve performance
nbd [Thu, 11 Feb 2016 15:01:54 +0000 (15:01 +0000)]
ag71xx: increase tx ring size to improve performance

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

8 years agoag71xx: optimize icache footprint of the receive poll function
nbd [Thu, 11 Feb 2016 15:01:48 +0000 (15:01 +0000)]
ag71xx: optimize icache footprint of the receive poll function

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

8 years agokernel: fix uninitialized variable in bridge multicast-to-unicast patch on 4.3
nbd [Thu, 11 Feb 2016 15:00:19 +0000 (15:00 +0000)]
kernel: fix uninitialized variable in bridge multicast-to-unicast patch on 4.3

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

8 years agokernel: Revert "kernel: set root on NFS when enabled"
florian [Thu, 11 Feb 2016 03:05:29 +0000 (03:05 +0000)]
kernel: Revert "kernel: set root on NFS when enabled"

This reverts r48591, users needing NFS root will know how to configure
their platform and kernel command-line appropriately.

Reported-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48689 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomtd: fix Seama format after replacing EOF with sysupgrade data
rmilecki [Wed, 10 Feb 2016 11:35:50 +0000 (11:35 +0000)]
mtd: fix Seama format after replacing EOF with sysupgrade data

Seama header has MD5 similarly to TRX and its CRC32. We need to update
it after replacing anything in Seama entity content to make bootloader
accept it.

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

8 years agolibubox: properly handle "null" values in blobmsg_add_json_element()
jow [Tue, 9 Feb 2016 22:42:48 +0000 (22:42 +0000)]
libubox: properly handle "null" values in blobmsg_add_json_element()

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

8 years agoubox: fix kmodloader resource leaks (#21826)
jow [Tue, 9 Feb 2016 13:03:24 +0000 (13:03 +0000)]
ubox: fix kmodloader resource leaks (#21826)

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

8 years agobase-files: add netifd's default prelocal table to /etc/iproute2/rt_tables
jow [Tue, 9 Feb 2016 12:34:05 +0000 (12:34 +0000)]
base-files: add netifd's default prelocal table to /etc/iproute2/rt_tables

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

8 years agomvebu: fix WRT1900AC v1 LED driver module
jow [Tue, 9 Feb 2016 12:33:53 +0000 (12:33 +0000)]
mvebu: fix WRT1900AC v1 LED driver module

Update OpenWRT build tree to reflect changes in TLC-591xx LED family driver.

In kernels < 4.0 the driver was present in form of a patch for the TLC-59116 chip,
and was upstreamed later in kernels > 4.0 to support the entire chip family.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
[jow: fix Kconfig symbol name]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48684 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubox: fix open() error handling (#21826)
jow [Tue, 9 Feb 2016 12:33:25 +0000 (12:33 +0000)]
ubox: fix open() error handling (#21826)

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

8 years agox86: preserve partition table on sysupgrade
jow [Tue, 9 Feb 2016 12:33:17 +0000 (12:33 +0000)]
x86: preserve partition table on sysupgrade

With this patch sysupgrade will write directly to the partitions
instead of to the main disk.  The UUID is copied from the image
to the MBR as well.  This prevents the mbr from being completely
overwritten and losing the partition table.  The -p option has
been added to maintain the original behavior and overwite the
entire disk with the new image.  Tests have been added to ensure
that the image partitions match up with the active partitions.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48682 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix build error on oversized images by putting the dir-860l-b1 size check...
nbd [Mon, 8 Feb 2016 19:18:21 +0000 (19:18 +0000)]
ramips: fix build error on oversized images by putting the dir-860l-b1 size check at the end of the chain

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

8 years agokernel: enable CONFIG_KALLSYMS_UNCOMPRESSED=y
nbd [Mon, 8 Feb 2016 18:44:21 +0000 (18:44 +0000)]
kernel: enable CONFIG_KALLSYMS_UNCOMPRESSED=y

It was enabled ages ago when it was added.
It still saves about 10k after LZMA, so let's enable it again.

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

8 years agodropbear: honor CONFIG_TARGET_INIT_PATH
jow [Mon, 8 Feb 2016 14:28:57 +0000 (14:28 +0000)]
dropbear: honor CONFIG_TARGET_INIT_PATH

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

8 years agobase-files: honor CONFIG_TARGET_INIT_PATH
jow [Mon, 8 Feb 2016 14:28:50 +0000 (14:28 +0000)]
base-files: honor CONFIG_TARGET_INIT_PATH

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

8 years agoprocd: honor CONFIG_TARGET_INIT_PATH
jow [Mon, 8 Feb 2016 14:28:42 +0000 (14:28 +0000)]
procd: honor CONFIG_TARGET_INIT_PATH

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

8 years agorules.mk: add TARGET_INIT_PATH toplevel variables
jow [Mon, 8 Feb 2016 14:28:35 +0000 (14:28 +0000)]
rules.mk: add TARGET_INIT_PATH toplevel variables

Add a new variable TARGET_INIT_PATH which holds the default $PATH variable
value configured in menuconfig.

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

8 years agogeneric: add missing kconfig symbol
jow [Mon, 8 Feb 2016 14:28:29 +0000 (14:28 +0000)]
generic: add missing kconfig symbol

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

8 years agomt76: update to the latest version, fixes fragmented rx issues
nbd [Mon, 8 Feb 2016 13:38:22 +0000 (13:38 +0000)]
mt76: update to the latest version, fixes fragmented rx issues

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

8 years agomac80211: improve a-msdu rx performance by avoiding unnecessary data copying
nbd [Mon, 8 Feb 2016 13:38:11 +0000 (13:38 +0000)]
mac80211: improve a-msdu rx performance by avoiding unnecessary data copying

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

8 years agomac80211: fix a memory leak in a-msdu rx
nbd [Mon, 8 Feb 2016 13:38:03 +0000 (13:38 +0000)]
mac80211: fix a memory leak in a-msdu rx

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

8 years agomac80211: update A-MSDU tx patch to the latest version
nbd [Mon, 8 Feb 2016 13:37:55 +0000 (13:37 +0000)]
mac80211: update A-MSDU tx patch to the latest version

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

8 years agomac80211: refresh patch
nbd [Mon, 8 Feb 2016 13:37:47 +0000 (13:37 +0000)]
mac80211: refresh patch

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

8 years agolinux: fix kmod-backlight-pwm
jow [Mon, 8 Feb 2016 10:58:34 +0000 (10:58 +0000)]
linux: fix kmod-backlight-pwm

Also remove erroneous =m overrides from kconfig symbol list.

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

8 years agox86: remove unrelated config override
jow [Mon, 8 Feb 2016 10:58:27 +0000 (10:58 +0000)]
x86: remove unrelated config override

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

8 years agobrcm2708: add missing symbols
blogic [Mon, 8 Feb 2016 09:22:56 +0000 (09:22 +0000)]
brcm2708: add missing symbols

enable CONFIG_PWM
enable the RASPI PWM stuff
fix buildbot w. 4.1

compile tested only

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

8 years agoramips: HLK-RM04 - Enable GPIO14 for WPS button
blogic [Mon, 8 Feb 2016 08:26:27 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Enable GPIO14 for WPS button

The top half of UARTF on the HLK-RM04 is used for GPIO.

  mode 1   mode 2
   RIN     GPIO14
   DSR_N   GPIO13
   DCD_N   GPIO12
   DTR_N   GPIO11
   RXD     GPIO10
   CTS_N   GPIO09
   TXD     GPIO08
   RTS_N   GPIO07

This patch applies 3'b101 mode to UARTF:

   GPIO14
   GPIO13
   GPIO12
   GPIO11
   RXD
   CTS_N
   TXD
   RTS_N

Because the base rt5350.dtsi file forces 3'b000 mode, remove the pin setting from this file and apply it directly to the files that inherit from it (WIZFI630A.dts and WT1520.dtsi).  This change makes the rt5350.dtsi file consistent with the mt7620a.dtsi file.

Signed-off-by: John Clark <inindev@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48665 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agorampis: HLK-RM04 - Setup I2C as GPIO
blogic [Mon, 8 Feb 2016 08:26:19 +0000 (08:26 +0000)]
rampis: HLK-RM04 - Setup I2C as GPIO

The I2C function of the RT5350 SoC on the HLK-RM04 is used for GPIO1 and GPIO2.

Take note that the I2C_SD pin is GPIO1 on the RT5350 and is exposed on the HLK-RM04 as GPIO0
Likewise the I2C_SCLK pin is GPIO2 on the RT5350 and is exposed on the HLK-RM04 as GPIO1

 group   mode 1    mode 2   hlk-rm04 pin & export
  i2c    i2c_sd    gpio1   (pin 8, hlk-rm04:gpio0)
  i2c    i2c_sclk  gpio2   (pin 9, hlk-rm04:gpio1)

reference:
  http://www.hlktech.net/product_detail.php?ProId=39
  http://cdn.sparkfun.com/datasheets/Wireless/WiFi/RT5350.pdf

Signed-off-by: John Clark <inindev@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48664 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: HLK-RM04 - Fix push button functions
blogic [Mon, 8 Feb 2016 08:26:11 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Fix push button functions

The RESET button of the HLK-RM04 is connected to GPIO0, linux function 0x198
The WPS button of the HLK-RM04 is connected to GPIO14, linux function 0x211

Signed-off-by: John Clark <inindev@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48663 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: HLK-RM04 - Remove power LED config
blogic [Mon, 8 Feb 2016 08:26:02 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Remove power LED config

The power LED on the HLK-RM04 is hard wired to the power bus and is not under GPIO control, remove the bogus config for it.
(Note that GPIO0 is actually connected to the RESET button.)

Signed-off-by: John Clark <inindev@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48662 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: For sysfixtime use hwclock if RTC available
blogic [Mon, 8 Feb 2016 08:25:53 +0000 (08:25 +0000)]
base-files: For sysfixtime use hwclock if RTC available

On systems that have an RTC prefer it to the file-based time fixup (i.e.
use hwclock when there is a permanent clock instead of the faked up time
logic that is needed when there is not RTC).

We can't rely on hctosys kernel feature either as we're usually using
RTC as kernel modules which are usually being loaded after hctosys was
run, leading in the following error:

  hctosys: unable to open rtc device (rtc0)

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48661 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/gmp: update to 6.1.0
blogic [Mon, 8 Feb 2016 08:25:46 +0000 (08:25 +0000)]
tools/gmp: update to 6.1.0

Update gmp to version 6.1.0, released in November 2015.

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