openwrt/openwrt.git
4 years agoncurses: cleanup InstallDev
Nicolas Thill [Thu, 6 Nov 2014 19:35:23 +0000 (19:35 +0000)]
ncurses: cleanup InstallDev

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43204

4 years agolibusb-compat: cleanup InstallDev
Nicolas Thill [Thu, 6 Nov 2014 19:35:14 +0000 (19:35 +0000)]
libusb-compat: cleanup InstallDev

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43203

4 years agoodhcpd: disable flash-renumbering hack for non-64 prefixes
Steven Barth [Thu, 6 Nov 2014 13:37:50 +0000 (13:37 +0000)]
odhcpd: disable flash-renumbering hack for non-64 prefixes

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43202

4 years agoralink: improve r43200
John Crispin [Thu, 6 Nov 2014 12:19:53 +0000 (12:19 +0000)]
ralink: improve r43200

r43200 tries to detect if the fixup is needed or not. control the behaviour via
OF instead and disable unused ports.

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

4 years agoralink: only apply ephy1 fixup if the phy is present
John Crispin [Thu, 6 Nov 2014 11:11:44 +0000 (11:11 +0000)]
ralink: only apply ephy1 fixup if the phy is present

this broke e1700 lan2 as the fixup was applied to the phy inside the mt7530.

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

4 years agoralink: tweak e1700 dts file
John Crispin [Thu, 6 Nov 2014 09:31:45 +0000 (09:31 +0000)]
ralink: tweak e1700 dts file

the current driver code wont know which mt7530 to apply the llllw setting to.

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

4 years agoralink: make pci driver handle mt7628
John Crispin [Thu, 6 Nov 2014 09:31:37 +0000 (09:31 +0000)]
ralink: make pci driver handle mt7628

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

4 years agoralink: add support for mt7628
John Crispin [Thu, 6 Nov 2014 09:31:31 +0000 (09:31 +0000)]
ralink: add support for mt7628

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

4 years agoralink: add mt7628 support to the ethernet driver
John Crispin [Thu, 6 Nov 2014 09:31:19 +0000 (09:31 +0000)]
ralink: add mt7628 support to the ethernet driver

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

4 years agoralink: cleanup ethernet Makefile/Kconfig
John Crispin [Thu, 6 Nov 2014 09:31:09 +0000 (09:31 +0000)]
ralink: cleanup ethernet Makefile/Kconfig

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

4 years agoralink: move ethernet driver to files/
John Crispin [Thu, 6 Nov 2014 09:31:03 +0000 (09:31 +0000)]
ralink: move ethernet driver to files/

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

4 years agoprocd: update to latest git
John Crispin [Thu, 6 Nov 2014 09:30:55 +0000 (09:30 +0000)]
procd: update to latest git

setsid is called fixing the pgrp issue
trigger the wdt while modules are being inserted

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

4 years agobusybox: add 2 upstream fixes
Nicolas Thill [Thu, 6 Nov 2014 04:44:06 +0000 (04:44 +0000)]
busybox: add 2 upstream fixes

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43191

4 years agosunxi: fix network config on A20-OLinuXino-LIME
Nicolas Thill [Thu, 6 Nov 2014 02:23:12 +0000 (02:23 +0000)]
sunxi: fix network config on A20-OLinuXino-LIME

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43190

4 years agosunxi: add support for Olimex A20-OLinuXino-LIME
Nicolas Thill [Thu, 6 Nov 2014 00:05:23 +0000 (00:05 +0000)]
sunxi: add support for Olimex A20-OLinuXino-LIME

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43189

4 years agouboot-sunxi: add support for Olimex A20-OLinuXino-LIME
Nicolas Thill [Thu, 6 Nov 2014 00:05:15 +0000 (00:05 +0000)]
uboot-sunxi: add support for Olimex A20-OLinuXino-LIME

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43188

4 years agouboot-sunxi: cosmetic changes
Nicolas Thill [Thu, 6 Nov 2014 00:05:10 +0000 (00:05 +0000)]
uboot-sunxi: cosmetic changes

This will ease adding new targets and updating:
 * split UBOOTS var into multiple lines
 * remove version from TITLE

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43187

4 years agoadd support for the Linksys E1700
Imre Kaloz [Wed, 5 Nov 2014 14:37:13 +0000 (14:37 +0000)]
add support for the Linksys E1700

SVN-Revision: 43186

4 years agouml: remove inittab since procd is fixed now
Steven Barth [Wed, 5 Nov 2014 14:21:51 +0000 (14:21 +0000)]
uml: remove inittab since procd is fixed now

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43185

4 years agoprocd: fix kernel command-line argument parsing
Steven Barth [Wed, 5 Nov 2014 14:21:40 +0000 (14:21 +0000)]
procd: fix kernel command-line argument parsing

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43184

4 years agosunxi: move cubietruck dts into patches [3.14]
Zoltan Herpai [Tue, 4 Nov 2014 23:14:11 +0000 (23:14 +0000)]
sunxi: move cubietruck dts into patches [3.14]

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

4 years agosunxi: move IR patch for bananapi
Zoltan Herpai [Tue, 4 Nov 2014 21:06:04 +0000 (21:06 +0000)]
sunxi: move IR patch for bananapi

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

4 years agosunxi: move bananapi dts into patches [3.14]
Zoltan Herpai [Tue, 4 Nov 2014 20:33:56 +0000 (20:33 +0000)]
sunxi: move bananapi dts into patches [3.14]

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

4 years agosunxi: move pcduino3 dts into patches [3.14]
Zoltan Herpai [Tue, 4 Nov 2014 20:20:38 +0000 (20:20 +0000)]
sunxi: move pcduino3 dts into patches [3.14]

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

4 years agoprocd: Make askconsole work again when no tty is specified in inittab
Steven Barth [Tue, 4 Nov 2014 18:48:17 +0000 (18:48 +0000)]
procd: Make askconsole work again when no tty is specified in inittab

Thanks to Michel Stam

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43179

4 years agoprocd: fix serial console login (#18278)
Steven Barth [Tue, 4 Nov 2014 16:03:51 +0000 (16:03 +0000)]
procd: fix serial console login (#18278)

Many thanks to Michel Stam for his work.

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43178

4 years agouml: fix inittab
Steven Barth [Tue, 4 Nov 2014 16:03:46 +0000 (16:03 +0000)]
uml: fix inittab

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43177

4 years agoopenssl: reenable CMS (broke krb5)
Steven Barth [Tue, 4 Nov 2014 08:37:06 +0000 (08:37 +0000)]
openssl: reenable CMS (broke krb5)

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43176

4 years agoar71xx: add missing WZR-450HP2 patch from r43026 for 3.10
Felix Fietkau [Mon, 3 Nov 2014 22:55:01 +0000 (22:55 +0000)]
ar71xx: add missing WZR-450HP2 patch from r43026 for 3.10

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

4 years agonetfilter: Enable compiling iptables match cluster
Felix Fietkau [Mon, 3 Nov 2014 22:01:45 +0000 (22:01 +0000)]
netfilter: Enable compiling iptables match cluster

This patch adds the userspace and kernelspace for

- match NETFILTER_XT_MATCH_CLUSTER
  This match can be used to deploy gateway and back-end load-sharing clusters.
- target IP_NF_TARGET_CLUSTERIP
  This module allows you to configure a simple cluster of nodes
  that share a certain IP and MAC address
  without an explicit load balancer in front of them.
  Connections are statically distributed between the nodes in this cluster.

This is used i.e. by strongswan-ha.

Signed-off-by: Christian Scheele <cs@embedd.com>
SVN-Revision: 43174

4 years agoar71xx: add support for Netgear WNR2000v4
John Crispin [Mon, 3 Nov 2014 20:20:56 +0000 (20:20 +0000)]
ar71xx: add support for Netgear WNR2000v4

Signed-off-by: Michaël Burtin <mburtin@gmail.com>
SVN-Revision: 43173

4 years agoralink: add pci bidge node to mt7620a dts file
John Crispin [Mon, 3 Nov 2014 20:20:46 +0000 (20:20 +0000)]
ralink: add pci bidge node to mt7620a dts file

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

4 years agoralink: fix wan port on whr-1166
John Crispin [Mon, 3 Nov 2014 20:20:40 +0000 (20:20 +0000)]
ralink: fix wan port on whr-1166

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

4 years agopolarssl: update to 1.3.9
Steven Barth [Mon, 3 Nov 2014 19:36:06 +0000 (19:36 +0000)]
polarssl: update to 1.3.9

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43170

4 years agomdnsd: add query / fetch methods, fix some bugs
Steven Barth [Mon, 3 Nov 2014 19:35:53 +0000 (19:35 +0000)]
mdnsd: add query / fetch methods, fix some bugs

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43169

4 years agopx5g: generate unique serial numbers
Jo-Philipp Wich [Mon, 3 Nov 2014 18:12:42 +0000 (18:12 +0000)]
px5g: generate unique serial numbers

Generate a random serial from /dev/urandom when creating selfsigned certs.
Fixes "sec_error_reused_issuer_and_serial" with Firefox.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43168

4 years agolicense info - revert r43155
John Crispin [Mon, 3 Nov 2014 09:56:44 +0000 (09:56 +0000)]
license info - revert r43155

turns out that r43155 adds duplicate info.

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

4 years agoAdd more license tags with SPDX identifiers
John Crispin [Mon, 3 Nov 2014 08:01:08 +0000 (08:01 +0000)]
Add more license tags with SPDX identifiers

Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 43155

4 years agokernel/modules/vxlan: add +kmod-iptunnel as dependency
John Crispin [Mon, 3 Nov 2014 08:00:39 +0000 (08:00 +0000)]
kernel/modules/vxlan: add +kmod-iptunnel as dependency

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 43154

4 years agoramips: add support for Airlink101 AR670W
John Crispin [Mon, 3 Nov 2014 08:00:13 +0000 (08:00 +0000)]
ramips: add support for Airlink101 AR670W

This is a RT2880-based board, 32MB RAM, 4MB flash. The bootloader
is a hacked u-Boot that reads an LZMA image directly, so we skip
generating the uImage header and enable the lzma mtdsplit parser.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 43153

4 years agokernel: add missing config symbol for 3.13+
Felix Fietkau [Sun, 2 Nov 2014 20:06:41 +0000 (20:06 +0000)]
kernel: add missing config symbol for 3.13+

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

4 years agoAdd a few SPDX tags
Steven Barth [Sun, 2 Nov 2014 12:20:54 +0000 (12:20 +0000)]
Add a few SPDX tags

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43151

4 years agokernel: 3.18: fix config typo
Zoltan Herpai [Sun, 2 Nov 2014 10:12:46 +0000 (10:12 +0000)]
kernel: 3.18: fix config typo

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

4 years agosunxi: update devtree name in network setup for pcduino3 as preparing for 3.18
Zoltan Herpai [Sun, 2 Nov 2014 10:11:36 +0000 (10:11 +0000)]
sunxi: update devtree name in network setup for pcduino3 as preparing for 3.18

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

4 years agobcm53xx: bcma: get IRQs also from device tree
Hauke Mehrtens [Sat, 1 Nov 2014 15:57:30 +0000 (15:57 +0000)]
bcm53xx: bcma: get IRQs also from device tree

Add patches for getting the IRQ number for a device of the bcma bus
that were send for upstream inclusion.

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

4 years agoprocd: revert some changes breaking console on UML
Steven Barth [Sat, 1 Nov 2014 14:01:02 +0000 (14:01 +0000)]
procd: revert some changes breaking console on UML

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43147

4 years agobcm53xx: set customized AUXCTL
Hauke Mehrtens [Sat, 1 Nov 2014 13:58:18 +0000 (13:58 +0000)]
bcm53xx: set customized AUXCTL

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

4 years agobcm53xx: activate early printk
Hauke Mehrtens [Sat, 1 Nov 2014 13:57:50 +0000 (13:57 +0000)]
bcm53xx: activate early printk

This makes it possible to activate early printk.

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

4 years agobcm53xx: refresh patches
Hauke Mehrtens [Sat, 1 Nov 2014 13:55:02 +0000 (13:55 +0000)]
bcm53xx: refresh patches

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

4 years agoppp: support adaptive LCP echos
Jo-Philipp Wich [Sat, 1 Nov 2014 12:37:03 +0000 (12:37 +0000)]
ppp: support adaptive LCP echos

Port Debians adaptive LCP echo patch to pppd, make it configurable with UCI
and enable it by default.

When adaptive LCP echo is enabled, LCP echo requests are only sent if the
link is idle, this avoids the common situation where a congested PPP link
(e.g. during torrenting) is falsely detected as disconnected because the
LCP replies are not received in time.

Also bump the copyright year in the Makefile, remove a redundant maintainer
entry and fix the shell processing of the keepalive option when the two-
value syntax is used.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43143

4 years agobrcm47xx: add config for kernel 3.18
Hauke Mehrtens [Fri, 31 Oct 2014 23:54:33 +0000 (23:54 +0000)]
brcm47xx: add config for kernel 3.18

This adds a kernel config for kernel 3.18

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

4 years agokernel: add missing patch for AR8216_PHY_LEDS
Hauke Mehrtens [Fri, 31 Oct 2014 23:53:32 +0000 (23:53 +0000)]
kernel: add missing patch for AR8216_PHY_LEDS

The patch adding AR8216_PHY_LEDS was not ported to more recent kernel
versions.
Thank you swalker for spotting this.

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

4 years agokernel: refresh patches
Hauke Mehrtens [Fri, 31 Oct 2014 23:50:42 +0000 (23:50 +0000)]
kernel: refresh patches

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

4 years agokernel: 3.18: add some missing parts in 721-phy_packets.patch
Hauke Mehrtens [Fri, 31 Oct 2014 23:48:43 +0000 (23:48 +0000)]
kernel: 3.18: add some missing parts in 721-phy_packets.patch

Some changes from the header file were not ported from older kernel.
Thank you swalker for spotting this.

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

4 years agokernel: add some missing config options
Hauke Mehrtens [Fri, 31 Oct 2014 23:43:10 +0000 (23:43 +0000)]
kernel: add some missing config options

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

4 years agokernel: remove wrongly added SYS_HAS_DMA_OPS in r43134
Hauke Mehrtens [Fri, 31 Oct 2014 23:39:34 +0000 (23:39 +0000)]
kernel: remove wrongly added SYS_HAS_DMA_OPS in r43134

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

4 years agokernel: add patch header and missing part in 132-mips_inline_dma_ops.patch again
Hauke Mehrtens [Fri, 31 Oct 2014 23:32:22 +0000 (23:32 +0000)]
kernel: add patch header and missing part in 132-mips_inline_dma_ops.patch again

The select SYS_HAS_DMA_OPS in CPU_CAVIUM_OCTEON was from the kernel
patch in 3.13, but it is only included in kernel 3.14 and not in 3.13
and 3.18, add it again.

Thank you swalker for spotting this.

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

4 years agomac80211: configuration: Better handling of LIB80211 configuration
Hauke Mehrtens [Fri, 31 Oct 2014 23:27:27 +0000 (23:27 +0000)]
mac80211: configuration: Better handling of LIB80211 configuration

Apply patch for kernel 3.10 from r43112 also in 3.12, 3.14 and 3.18.

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

4 years agopackages: kernel: negate kernel version checks
Hauke Mehrtens [Fri, 31 Oct 2014 22:02:07 +0000 (22:02 +0000)]
packages: kernel: negate kernel version checks

Only list the kernel versions that do not match so that new kernel
versions will automatically match. This improves support for kernel
3.18.

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

4 years agomac80211: remove unused patch
Hauke Mehrtens [Fri, 31 Oct 2014 21:55:21 +0000 (21:55 +0000)]
mac80211: remove unused patch

This patch added stuff that is already there and if it would be needed
this would result in a compile error.

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

4 years agokernel: kernel 3.18 fix compilation on mips
Hauke Mehrtens [Fri, 31 Oct 2014 21:54:16 +0000 (21:54 +0000)]
kernel: kernel 3.18 fix compilation on mips

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

4 years agotarget/imagebuilder: remove obsolete !TARGET_ROOTFS_INITRAMFS dependency
Felix Fietkau [Fri, 31 Oct 2014 12:59:23 +0000 (12:59 +0000)]
target/imagebuilder: remove obsolete !TARGET_ROOTFS_INITRAMFS dependency

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

4 years agouqmi: update to latest git HEAD
John Crispin [Fri, 31 Oct 2014 11:02:06 +0000 (11:02 +0000)]
uqmi: update to latest git HEAD

this adds support for pin set/unlock/... and iccid.

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

4 years agokernel/modules: add native vxlan package
John Crispin [Fri, 31 Oct 2014 11:01:28 +0000 (11:01 +0000)]
kernel/modules: add native vxlan package

More recent kernel versions (>= 3.12) support native VXLAN
support.

The Open VSwitch kernel module tries to build using native VXLAN
support if it detects a kernel version >=3.12.

The build works fine, but during startup the OVS kernel module
does not load.
dmesg output is something like this:
    [ 1201.262842] openvswitch: Unknown symbol vxlan_sock_release
    [ 1201.262949] openvswitch: Unknown symbol vxlan_xmit_skb
    [ 1201.263161] openvswitch: Unknown symbol vxlan_sock_add

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 43126

4 years agolantiq: vr9-vdsl-fw: properly write firmware to flash
John Crispin [Fri, 31 Oct 2014 11:00:42 +0000 (11:00 +0000)]
lantiq: vr9-vdsl-fw: properly write firmware to flash

Using a redirect to a non-empty mtd partition will not erase the
blocks prior to writing to them resulting in broken dsl_fw.
Fix this by piping to mtd write - /dev/mtdX instead.

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

4 years ago6in4: https support for he.net tunnel api
Steven Barth [Thu, 30 Oct 2014 13:15:18 +0000 (13:15 +0000)]
6in4: https support for he.net tunnel api

HE.net tunnel update API requests are now made via https if an
SSL-capable wget is installed.  Certificate validation is
conditionally enabled if the CA certs are available.

Signed-off-by: Andrew Skalski <askalski@gmail.com>
SVN-Revision: 43124

4 years agoopenssl: optimize build options, disable old SSL versions
Steven Barth [Thu, 30 Oct 2014 13:11:04 +0000 (13:11 +0000)]
openssl: optimize build options, disable old SSL versions

Based on a patchset by Etienne CHAMPETIER <champetier.etienne@gmail.com>
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43123

4 years agokernel: add missing symbols for 3.18
Zoltan Herpai [Thu, 30 Oct 2014 10:15:20 +0000 (10:15 +0000)]
kernel: add missing symbols for 3.18

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

4 years agoralink: make sure a mii_bus is loaded before accesing its state
John Crispin [Thu, 30 Oct 2014 10:10:57 +0000 (10:10 +0000)]
ralink: make sure a mii_bus is loaded before accesing its state

this caused a crash on boot

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

4 years agoralink: load mt7530 driver on the 3 buffalo units
John Crispin [Thu, 30 Oct 2014 10:10:51 +0000 (10:10 +0000)]
ralink: load mt7530 driver on the 3 buffalo units

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

4 years agoprocd: Allow boot messages to be sent to console
John Crispin [Thu, 30 Oct 2014 10:10:45 +0000 (10:10 +0000)]
procd: Allow boot messages to be sent to console

update to latest git HEAD, adds "log to console"

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

4 years agoralink: mt7530 - force wan port up
John Crispin [Thu, 30 Oct 2014 08:44:00 +0000 (08:44 +0000)]
ralink: mt7530 - force wan port up

some bootloaders (linksys e1700) set wonky hw trap values. reset this upon boot to make all ports work.

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

4 years agovgv7519: fix profile, this board have a rt2800-pci board
John Crispin [Thu, 30 Oct 2014 08:08:09 +0000 (08:08 +0000)]
vgv7519: fix profile, this board have a rt2800-pci board

SVN-Revision: 43115

4 years agoltq-vdsl-app: use VDSL tone-setup if annex is unset
John Crispin [Thu, 30 Oct 2014 08:08:01 +0000 (08:08 +0000)]
ltq-vdsl-app: use VDSL tone-setup if annex is unset

I had to use a VDSL-only tone-setup to get show-time.
Handle this in uci by checking if annex is unset.

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

4 years agoralink: fix mt7530 for newer silicon revisions
John Crispin [Thu, 30 Oct 2014 08:07:49 +0000 (08:07 +0000)]
ralink: fix mt7530 for newer silicon revisions

latest mt7530 silicon seems to have a different phy id.

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

4 years agomac80211: configuration: Better handling of LIB80211 configuration
John Crispin [Wed, 29 Oct 2014 21:04:30 +0000 (21:04 +0000)]
mac80211: configuration: Better handling of LIB80211 configuration

OpenWRT patch 255-lib80211_kconfig_hacks gives user possiblity to select
LIB80211 dependant settings (LIB80211_CRYPT_*) without having LIB80211
selected which is wrong.
My patch changes OpenWRT patch so LIB80211 is vissible and all
LIB80211_CRYPT_* options selects LIB80211 automatically.

Signed-off-by: Tomasz Wasiak <tjwasiak@gmail.com>
SVN-Revision: 43112

4 years agoca-certificates: Update to Version 20141019
John Crispin [Wed, 29 Oct 2014 21:01:26 +0000 (21:01 +0000)]
ca-certificates: Update to Version 20141019

Update to Version 20141019

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 43111

4 years agolantiq: vgv7519: fix board_config on dts, read mac address and set
John Crispin [Wed, 29 Oct 2014 20:50:40 +0000 (20:50 +0000)]
lantiq: vgv7519: fix board_config on dts, read mac address and set

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 43109

4 years agoramips: improve ralink ethernet driver
John Crispin [Wed, 29 Oct 2014 19:43:59 +0000 (19:43 +0000)]
ramips: improve ralink ethernet driver

Change list:
* add tx scatter gather function.
* add software rx vlan offload to let GRO work.
* add jumbo frame support. because use build_skb so max MTU is 3812.
* enable hardware tx vlan.
* enable GRO and remove LRO. because it can improve performance and can work on forwarding.
* enable/fix tx padding function.
* let napi handle tx clean up.
* support ethtool operation. now support message level, hardware status and coalesce.
* ethtool support use mdio to get phy status only on mt7620. need modify dts file and add phy info to support it.

Notes:
* build and test on rt2880, rt3052, rt3352, rt3662, rt5350 and mt7620a.
* TCP NAT performance improve. test with netperf.
  - rt2880(gigabit) from 5x to 12x Mbps.
  - rt3x5x from 6x to 94 Mbps.
  - rt5250 from 5x to 8x Mbps.
  - rt3662(gigabit) from 6x to 42x Mbps with GRO. 23x Mbps without GRO. 66x Mbps with jumbo frame.
  - mt7620 still 94Mbps.
* TSO function not tested. because i don't have mt7620 with eco >= 5. and the hardware don't support to set MSS. it will have problem.

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43108

4 years agoswconfig: last vs tail
John Crispin [Wed, 29 Oct 2014 19:24:16 +0000 (19:24 +0000)]
swconfig: last vs tail

sorry .....

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

4 years agoswconfig: "swconfig list" shows devices in reverse order
John Crispin [Wed, 29 Oct 2014 18:51:06 +0000 (18:51 +0000)]
swconfig: "swconfig list" shows devices in reverse order

Boards that have more than one swconfig enabled switch will show the devices in
reverse order when call swconfig list. Fix this by using list_add_tail().

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

4 years agoralink: fix switch config on mt7530 evb
John Crispin [Wed, 29 Oct 2014 18:51:02 +0000 (18:51 +0000)]
ralink: fix switch config on mt7530 evb

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

4 years agoralink: fix a off by 4 bug in mt7530
John Crispin [Wed, 29 Oct 2014 18:49:46 +0000 (18:49 +0000)]
ralink: fix a off by 4 bug in mt7530

0x8100000c vs 0x810000c0 int he pvc register this caused the cascade with an external mt7530 to fail.

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

4 years agoAdd support for DHT11 driver
John Crispin [Wed, 29 Oct 2014 15:02:38 +0000 (15:02 +0000)]
Add support for DHT11 driver

The DHT11 is a temperature and humidity sensor supported by linux
since 3.14.

This patch is tested on recent mxs with kernel 3.14.18.

Signed-off-by: Harald Geyer <harald@ccbib.org>
SVN-Revision: 43103

4 years agoramips: add support for A5-V11 board (resubmit)
John Crispin [Wed, 29 Oct 2014 11:01:17 +0000 (11:01 +0000)]
ramips: add support for A5-V11 board (resubmit)

(Reposted due to an issue with the patchwork server during original submission)

Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key)

Signed-off-by: Gareth Bryan <gareth@mx9.org>
SVN-Revision: 43102

4 years agolantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes
John Crispin [Wed, 29 Oct 2014 08:23:47 +0000 (08:23 +0000)]
lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes

lantiq_dsl.sh didn't work with VDSL chipsets for now, fix that by
detecting whether vdsl_cpe_control or dsl_cpe_control should be used.
Also add missing quotes around shell string comparision.

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

4 years agobrcm47xx: initial support for kernel 3.18
Rafał Miłecki [Tue, 28 Oct 2014 10:26:00 +0000 (10:26 +0000)]
brcm47xx: initial support for kernel 3.18

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

4 years agokernel: add closing " to REGMAP_I2C's tristate
Hauke Mehrtens [Mon, 27 Oct 2014 23:14:21 +0000 (23:14 +0000)]
kernel: add closing " to REGMAP_I2C's tristate

Thanks swalker for reporting.

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

4 years agobcm53xx: remove support for fpu
Hauke Mehrtens [Mon, 27 Oct 2014 23:04:07 +0000 (23:04 +0000)]
bcm53xx: remove support for fpu

This SoC does not have a vfpv3 FPU.

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

4 years agobcm53xx: initial support for kernel 3.18
Hauke Mehrtens [Mon, 27 Oct 2014 23:02:08 +0000 (23:02 +0000)]
bcm53xx: initial support for kernel 3.18

This adds initial support for kernel 3.18.

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

4 years agokernel: add generic config for kernel 3.18
Hauke Mehrtens [Mon, 27 Oct 2014 22:58:12 +0000 (22:58 +0000)]
kernel: add generic config for kernel 3.18

There are still many options missing.

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

4 years agokernel: make the kernel 3.18 patches apply and boot on arm.
Hauke Mehrtens [Mon, 27 Oct 2014 22:55:39 +0000 (22:55 +0000)]
kernel: make the kernel 3.18 patches apply and boot on arm.

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

4 years agokernel: make it possible to select experimental 3.18 (3.18-rc2)
Rafał Miłecki [Mon, 27 Oct 2014 18:16:45 +0000 (18:16 +0000)]
kernel: make it possible to select experimental 3.18 (3.18-rc2)

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

4 years agokernel: start working on 3.18 support
Rafał Miłecki [Mon, 27 Oct 2014 18:14:39 +0000 (18:14 +0000)]
kernel: start working on 3.18 support

This commit:
1) Copies 3.14 patches
2) Drops mainlined stuff
3) Modifies some patches to apply

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

4 years agoiwinfo: add cli support for phy lookup from uci section
Jo-Philipp Wich [Mon, 27 Oct 2014 16:35:41 +0000 (16:35 +0000)]
iwinfo: add cli support for phy lookup from uci section

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43092

4 years agokernel: 3.14: use patch that is really upstreamed for hso 0af0:9200
Rafał Miłecki [Mon, 27 Oct 2014 16:00:36 +0000 (16:00 +0000)]
kernel: 3.14: use patch that is really upstreamed for hso 0af0:9200

Patch 060 we had in repo was never sent/accepted.

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

4 years agofstools: update to latest git head
John Crispin [Mon, 27 Oct 2014 15:51:33 +0000 (15:51 +0000)]
fstools: update to latest git head

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

4 years agolibiconv: do not replace untranslatable characters with * or ?
John Crispin [Mon, 27 Oct 2014 15:51:25 +0000 (15:51 +0000)]
libiconv: do not replace untranslatable characters with * or ?

Instead throw an -EILSEQ error.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>
SVN-Revision: 43089

4 years agobase-files: config_generate did not handle setups with more than 1 switch properly
John Crispin [Mon, 27 Oct 2014 15:51:17 +0000 (15:51 +0000)]
base-files: config_generate did not handle setups with more than 1 switch properly

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

4 years agoiwinfo: switch to external git repo, support lookup by phyname & macaddr
Jo-Philipp Wich [Mon, 27 Oct 2014 14:35:44 +0000 (14:35 +0000)]
iwinfo: switch to external git repo, support lookup by phyname & macaddr

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43087