openwrt.git
9 years agonetifd: fix default ORO-setting for 6rd
cyrus [Sat, 8 Nov 2014 12:24:49 +0000 (12:24 +0000)]
netifd: fix default ORO-setting for 6rd

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

9 years agoramips: enable sysupgrade for whr-600d, whr-1166d
nbd [Sat, 8 Nov 2014 12:18:58 +0000 (12:18 +0000)]
ramips: enable sysupgrade for whr-600d, whr-1166d

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

9 years agokernel: 3.18: Fix kmod-ipt-nat
cyrus [Sat, 8 Nov 2014 12:17:14 +0000 (12:17 +0000)]
kernel: 3.18: Fix kmod-ipt-nat

The 3.18 kernel introduced new Kconfig options for the xt_nat and iptable_nat
kernel modules, that both belong to the ipt_nat kernel package.

Enable this new options.

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

9 years agoralink: fix the compat string for mt7620a pci
blogic [Sat, 8 Nov 2014 12:12:05 +0000 (12:12 +0000)]
ralink: fix the compat string for mt7620a pci

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

9 years agomac80211: update to wireless-testing 2014-11-04
nbd [Fri, 7 Nov 2014 19:41:07 +0000 (19:41 +0000)]
mac80211: update to wireless-testing 2014-11-04

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

9 years agomac80211: merge a few pending upstream fixes
nbd [Fri, 7 Nov 2014 11:12:51 +0000 (11:12 +0000)]
mac80211: merge a few pending upstream fixes

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

9 years agoralink: assign default ranges inside the pci driver
blogic [Fri, 7 Nov 2014 10:51:08 +0000 (10:51 +0000)]
ralink: assign default ranges inside the pci driver

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

9 years agoralink: mt7628 does not actually need this fix for the ethernet driver
blogic [Fri, 7 Nov 2014 10:51:00 +0000 (10:51 +0000)]
ralink: mt7628 does not actually need this fix for the ethernet driver

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

9 years agopackage/*: replace occurences of 'ln -sf' to '$(LN)'
nico [Thu, 6 Nov 2014 19:35:34 +0000 (19:35 +0000)]
package/*: replace occurences of 'ln -sf' to '$(LN)'

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

9 years agoncurses: cleanup InstallDev
nico [Thu, 6 Nov 2014 19:35:23 +0000 (19:35 +0000)]
ncurses: cleanup InstallDev

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

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

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

9 years agoodhcpd: disable flash-renumbering hack for non-64 prefixes
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43202 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: improve r43200
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43201 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: only apply ephy1 fixup if the phy is present
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43200 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: tweak e1700 dts file
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43199 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: make pci driver handle mt7628
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43198 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agoralink: add mt7628 support to the ethernet driver
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43196 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agoralink: move ethernet driver to files/
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43194 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to latest git
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43193 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agosunxi: fix network config on A20-OLinuXino-LIME
nico [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43190 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: add support for Olimex A20-OLinuXino-LIME
nico [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43189 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-sunxi: add support for Olimex A20-OLinuXino-LIME
nico [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43188 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-sunxi: cosmetic changes
nico [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43187 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[ramips]: add support for the Linksys E1700
kaloz [Wed, 5 Nov 2014 14:37:13 +0000 (14:37 +0000)]
[ramips]: add support for the Linksys E1700

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

9 years agouml: remove inittab since procd is fixed now
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43185 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: fix kernel command-line argument parsing
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43184 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: move cubietruck dts into patches [3.14]
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43183 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: move IR patch for bananapi
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43182 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: move bananapi dts into patches [3.14]
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43181 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: move pcduino3 dts into patches [3.14]
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43180 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: Make askconsole work again when no tty is specified in inittab
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43179 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: fix serial console login (#18278)
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43178 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

10 years agoar71xx: add missing WZR-450HP2 patch from r43026 for 3.10
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43175 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonetfilter: Enable compiling iptables match cluster
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43174 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add support for Netgear WNR2000v4
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43173 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: add pci bidge node to mt7620a dts file
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43172 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: fix wan port on whr-1166
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43171 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopolarssl: update to 1.3.9
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43170 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomdnsd: add query / fetch methods, fix some bugs
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43169 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopx5g: generate unique serial numbers
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43168 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolicense info - revert r43155
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43167 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoAdd more license tags with SPDX identifiers
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43155 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/modules/vxlan: add +kmod-iptunnel as dependency
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43154 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: add support for Airlink101 AR670W
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43153 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add missing config symbol for 3.13+
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43152 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years agokernel: 3.18: fix config typo
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43150 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agosunxi: update devtree name in network setup for pcduino3 as preparing for 3.18
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43149 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobcm53xx: bcma: get IRQs also from device tree
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43148 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: revert some changes breaking console on UML
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43147 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43146 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobcm53xx: activate early printk
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43145 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43144 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoppp: support adaptive LCP echos
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43143 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: add config for kernel 3.18
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43140 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add missing patch for AR8216_PHY_LEDS
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43139 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43138 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: 3.18: add some missing parts in 721-phy_packets.patch
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43137 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add some missing config options
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43136 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: remove wrongly added SYS_HAS_DMA_OPS in r43134
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43135 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add patch header and missing part in 132-mips_inline_dma_ops.patch again
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43134 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: configuration: Better handling of LIB80211 configuration
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43133 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopackages: kernel: negate kernel version checks
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43132 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: remove unused patch
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43131 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: kernel 3.18 fix compilation on mips
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43130 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotarget/imagebuilder: remove obsolete !TARGET_ROOTFS_INITRAMFS dependency
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43128 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouqmi: update to latest git HEAD
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43127 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/modules: add native vxlan package
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43126 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: vr9-vdsl-fw: properly write firmware to flash
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43125 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago6in4: https support for he.net tunnel api
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43124 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoopenssl: optimize build options, disable old SSL versions
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43123 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add missing symbols for 3.18
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43121 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: make sure a mii_bus is loaded before accesing its state
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43120 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: load mt7530 driver on the 3 buffalo units
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43119 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: Allow boot messages to be sent to console
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43118 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: mt7530 - force wan port up
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43117 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years agoltq-vdsl-app: use VDSL tone-setup if annex is unset
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43114 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: fix mt7530 for newer silicon revisions
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43113 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: configuration: Better handling of LIB80211 configuration
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43112 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoca-certificates: Update to Version 20141019
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43111 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: vgv7519: fix board_config on dts, read mac address and set
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43109 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: improve ralink ethernet driver
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43108 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

sorry .....

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

10 years agoswconfig: "swconfig list" shows devices in reverse order
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43106 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: fix switch config on mt7530 evb
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43105 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: fix a off by 4 bug in mt7530
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43104 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoAdd support for DHT11 driver
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43103 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: add support for A5-V11 board (resubmit)
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43102 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43101 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: initial support for kernel 3.18
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43100 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add closing " to REGMAP_I2C's tristate
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43099 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobcm53xx: remove support for fpu
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43098 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobcm53xx: initial support for kernel 3.18
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43097 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add generic config for kernel 3.18
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43096 3c298f89-4303-0410-b956-a3cf2f4a3e73