openwrt.git
9 years agodropbear: add mdns support to the init.d script
blogic [Fri, 29 Aug 2014 18:16:41 +0000 (18:16 +0000)]
dropbear: add mdns support to the init.d script

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

9 years agomdns: update to latest git
blogic [Fri, 29 Aug 2014 18:16:32 +0000 (18:16 +0000)]
mdns: update to latest git

* ipv6
* 4 bugs in the dns parser
* service announcement
* tx goodbye support
* proper handling of rx goodbye

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

9 years agoprocd: update to latest git HEAD
blogic [Fri, 29 Aug 2014 18:16:24 +0000 (18:16 +0000)]
procd: update to latest git HEAD

this adds a interafce.update trigger and mdns service registration helpers

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

9 years agotools/libtool: add missing dependency on m4
nbd [Fri, 29 Aug 2014 11:37:28 +0000 (11:37 +0000)]
tools/libtool: add missing dependency on m4

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

9 years agoralink: DIR-645 picks up incorrect MAC address in DTS file
blogic [Thu, 28 Aug 2014 09:19:56 +0000 (09:19 +0000)]
ralink: DIR-645 picks up incorrect MAC address in DTS file

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

9 years agodnsmasq: Make the --dhcp-host logic easier to understand
blogic [Thu, 28 Aug 2014 06:27:57 +0000 (06:27 +0000)]
dnsmasq: Make the --dhcp-host logic easier to understand

Use an if/else statement to cover the two different syntaxes.  Add
comments explaining what the end results should look like.

This patch should not change the script's output.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42320 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: Fix hosts file format when MAC address is not specified
blogic [Thu, 28 Aug 2014 06:27:53 +0000 (06:27 +0000)]
dnsmasq: Fix hosts file format when MAC address is not specified

An entry like this in /etc/config/dhcp:

    config 'host'
        option 'name' 'pc2'
        option 'ip' '192.168.100.56'
        option 'dns' '1'

results in a /tmp/hosts/dhcp entry that looks like this:

    192.168.100.56 .lan

Obviously it should say "pc2.lan".

This happens because $name is set to "" in order to support the MAC-less
syntax: "--dhcp-host=lap,192.168.0.199".  Fix this by reordering the
operations.  Also, refuse to add a DNS entry if the hostname or IP is
missing.

Fixes #17683

Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42319 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: Create rDNS records for LuCI "Hostnames"
blogic [Thu, 28 Aug 2014 06:27:49 +0000 (06:27 +0000)]
dnsmasq: Create rDNS records for LuCI "Hostnames"

LuCI creates "domain" UCI config sections, which the dnsmasq init file
then, currently, translates into "address" config lines. This is not
the correct usage of "address" (see r36943), and also causes rDNS
records to not be created. This patches dnsmasq.init to utilize the
additional hosts file introduced in r40799 for such domain names,
resolving both issues.

Signed-off-by: Tyler Fenby <tylerf@securecominc.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42318 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add Support for RB2011UiAS-2HnD
blogic [Thu, 28 Aug 2014 06:27:45 +0000 (06:27 +0000)]
ar71xx: add Support for RB2011UiAS-2HnD

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

9 years agolantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
blogic [Thu, 28 Aug 2014 06:27:41 +0000 (06:27 +0000)]
lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel

The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.

Many thanks,

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42316 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: unbreak i2c for 3.14
blogic [Thu, 28 Aug 2014 06:05:36 +0000 (06:05 +0000)]
ramips: unbreak i2c for 3.14

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

9 years agokirkwood: refresh kernel config
luka [Wed, 27 Aug 2014 17:14:09 +0000 (17:14 +0000)]
kirkwood: refresh kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42314 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: initial 3.14 patchset
wigyori [Wed, 27 Aug 2014 12:09:46 +0000 (12:09 +0000)]
sunxi: initial 3.14 patchset

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

9 years agotools/bc: add missing dependency on bison
nbd [Wed, 27 Aug 2014 09:20:28 +0000 (09:20 +0000)]
tools/bc: add missing dependency on bison

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

9 years agotools/flex: disable building shared libfl.so
nbd [Wed, 27 Aug 2014 09:20:18 +0000 (09:20 +0000)]
tools/flex: disable building shared libfl.so

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

9 years agokernel: revert [40784]
nico [Wed, 27 Aug 2014 08:49:55 +0000 (08:49 +0000)]
kernel: revert [40784]

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

9 years agoralink: set 3.14 as default
blogic [Tue, 26 Aug 2014 13:12:12 +0000 (13:12 +0000)]
ralink: set 3.14 as default

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

9 years agokernel: add package for huawei ncm modems
blogic [Tue, 26 Aug 2014 13:11:56 +0000 (13:11 +0000)]
kernel: add package for huawei ncm modems

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

9 years agotarget/toolchain: strip files, leave out the initial gcc
nbd [Tue, 26 Aug 2014 12:32:51 +0000 (12:32 +0000)]
target/toolchain: strip files, leave out the initial gcc

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

9 years agobuild: override hardcoded paths to bison and m4 to make the SDK more relocatable
nbd [Tue, 26 Aug 2014 12:15:50 +0000 (12:15 +0000)]
build: override hardcoded paths to bison and m4 to make the SDK more relocatable

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

9 years agoumbim: update to latest git
blogic [Tue, 26 Aug 2014 09:36:59 +0000 (09:36 +0000)]
umbim: update to latest git

add pincode sanitization and handling for authproto/user/pass

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

9 years agousbmode: update to latest git
blogic [Tue, 26 Aug 2014 08:39:55 +0000 (08:39 +0000)]
usbmode: update to latest git

this adds support for a new mode MBIM that auto detects the bConfigurationValue.

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

9 years agoimx6: refresh patches
luka [Mon, 25 Aug 2014 21:50:49 +0000 (21:50 +0000)]
imx6: refresh patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42297 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: 3.14: refresh patches
luka [Mon, 25 Aug 2014 21:50:48 +0000 (21:50 +0000)]
kernel: 3.14: refresh patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42296 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: 3.14: backport for igb driver resolving a driver crash
luka [Mon, 25 Aug 2014 21:50:47 +0000 (21:50 +0000)]
kernel: 3.14: backport for igb driver resolving a driver crash

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

9 years agoimx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade
luka [Mon, 25 Aug 2014 21:50:43 +0000 (21:50 +0000)]
imx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade

A previous backported patch that adds freq/voltage operating points for the
IMX6DL processor can cause hang/crash (general instability) on IMX6DL
processors in the industrial/automative speed grades as they don't support
1GHz operation.

This adds another backported patch from mainline that uses IMX6 fuse settings
to properly remove invalid operating points for the particular CPU grade used.

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

9 years agoralink: the mt7620 evb has a usb port
blogic [Mon, 25 Aug 2014 16:31:13 +0000 (16:31 +0000)]
ralink: the mt7620 evb has a usb port

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

9 years agoralink: a few 3.14 related fixes
blogic [Mon, 25 Aug 2014 16:31:09 +0000 (16:31 +0000)]
ralink: a few 3.14 related fixes

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

9 years agoralink: fix mt7620 ohci 3.14
blogic [Mon, 25 Aug 2014 16:31:05 +0000 (16:31 +0000)]
ralink: fix mt7620 ohci 3.14

the ohci phy was not reset properly

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

9 years agoralink: fix mt7620 ohci 3.10
blogic [Mon, 25 Aug 2014 16:31:01 +0000 (16:31 +0000)]
ralink: fix mt7620 ohci 3.10

the ohci phy was not reset properly

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

9 years agoralink: mt7620 has obchi/ehci and not dwc2
blogic [Mon, 25 Aug 2014 16:30:57 +0000 (16:30 +0000)]
ralink: mt7620 has obchi/ehci and not dwc2

fix the default package selection

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

9 years agokernel: add ohci-platform.ko for 3.11+
blogic [Mon, 25 Aug 2014 16:30:52 +0000 (16:30 +0000)]
kernel: add ohci-platform.ko for 3.11+

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

9 years agokernel: add own Kconfig for OpenWrt mtdsplit drivers
blogic [Mon, 25 Aug 2014 16:30:44 +0000 (16:30 +0000)]
kernel: add own Kconfig for OpenWrt mtdsplit drivers

There are pretty many OpenWrt patches against mtd subsystem resulting
in a bit of mess and growing maintenance cost.
My idea is to use an extra "mtdsplit" directory with OpenWrt specific
files (including Kconfig).
This is the first step to achieve this. This patch adds a "mtdsplit"
directory with Kconfig and replaces 4 patches with a single one.

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

9 years agouhttpd: do not configure TLS parameters if libustream-ssl is not present
jow [Mon, 25 Aug 2014 12:39:34 +0000 (12:39 +0000)]
uhttpd: do not configure TLS parameters if libustream-ssl is not present

A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.

Skip key/cert and ssl listen options when libustream-ssl.so is not present.

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

9 years agoPKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by default
blogic [Mon, 25 Aug 2014 06:36:06 +0000 (06:36 +0000)]
PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by default

The idea is still to enable it by default at some point
I've tested all ar71xx packages (except oldpackages) using CONFIG_ALL=y
Failing packages have been marked with PKG_CHECK_FORMAT_SECURITY:=0 for now
I can test more targets but i have no idea which are the most used

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42282 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211/rt2x00: allow disabling bands through dts
blogic [Mon, 25 Aug 2014 06:36:01 +0000 (06:36 +0000)]
mac80211/rt2x00: allow disabling bands through dts

Add dts property ralink,2ghz and ralink,5ghz
e.g. disable 2ghz band:
wmac@10180000 {
  status = "okay";
  ralink,2ghz = <0>;
}

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42281 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: use ETH_ALEN for consistency
blogic [Mon, 25 Aug 2014 06:35:58 +0000 (06:35 +0000)]
ar71xx: use ETH_ALEN for consistency

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42280 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: enable sysupgrade for the EnGenius ESR900
blogic [Mon, 25 Aug 2014 06:35:54 +0000 (06:35 +0000)]
ar71xx: enable sysupgrade for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42279 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage/*: remove useless explicit set of function returncode
blogic [Mon, 25 Aug 2014 06:35:50 +0000 (06:35 +0000)]
package/*: remove useless explicit set of function returncode

somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.

myfunction()
{
fire_command

return $?
}

a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:

http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: enable second SPI for VoCore
blogic [Mon, 25 Aug 2014 06:35:46 +0000 (06:35 +0000)]
ramips: enable second SPI for VoCore

This patch enables the second SPI as spidev and also fixes some typos.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42277 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: second spi device on rt5350
blogic [Mon, 25 Aug 2014 06:35:42 +0000 (06:35 +0000)]
ramips: second spi device on rt5350

This is based on Jon Smirl's patch with the following changes:
- Set CS polarity as low by default.
- Add support for changing CS polarity.
- Add support for changing LSB/MSB.
- Add support for changing SPI mode.
- Fix indentations.

I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42276 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: enable softwires support by default
cyrus [Mon, 25 Aug 2014 06:11:53 +0000 (06:11 +0000)]
odhcp6c: enable softwires support by default

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

9 years agoiwinfo: properly decode SSIDs when scanning through wpa_supplicant
jow [Sun, 24 Aug 2014 21:42:26 +0000 (21:42 +0000)]
iwinfo: properly decode SSIDs when scanning through wpa_supplicant

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

9 years agobcm53xx: update bcma device tree intergeneration and fix nvram parsing
hauke [Sun, 24 Aug 2014 15:57:49 +0000 (15:57 +0000)]
bcm53xx: update bcma device tree intergeneration and fix nvram parsing

This fixes lots of sparse and checkpatch errors and extends the
documentation.

This also fixes a problem in the nvram parser, it now detects the
correct nvram on my Netgear R6250.

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

9 years agoodhcpd: fix static lease behavior with dhcpv4
cyrus [Sun, 24 Aug 2014 08:12:57 +0000 (08:12 +0000)]
odhcpd: fix static lease behavior with dhcpv4

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

9 years agokernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches
florian [Sat, 23 Aug 2014 02:42:03 +0000 (02:42 +0000)]
kernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches

Upstream commit c11eede powerpc: add missing explicit OF includes for ppc was
included in 3.13 and onwards, hence making those patches obsolete.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42263 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoumbim: add netifd proto handler for mbim style lte modems
blogic [Fri, 22 Aug 2014 19:02:30 +0000 (19:02 +0000)]
umbim: add netifd proto handler for mbim style lte modems

tested on vodafone k5105

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

9 years agobase-files: properly generate the ula
blogic [Fri, 22 Aug 2014 14:19:07 +0000 (14:19 +0000)]
base-files: properly generate the ula

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

9 years agobcm53xx: add bcm53xxspiflash driver for SPI flashes
hauke [Thu, 21 Aug 2014 21:11:04 +0000 (21:11 +0000)]
bcm53xx: add bcm53xxspiflash driver for SPI flashes

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

9 years agobcm53xx: backport more spi-nor patches
hauke [Thu, 21 Aug 2014 21:10:29 +0000 (21:10 +0000)]
bcm53xx: backport more spi-nor patches

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

9 years agouclient: update to latest version, fixes HTTP keepalive issues
nbd [Thu, 21 Aug 2014 19:12:38 +0000 (19:12 +0000)]
uclient: update to latest version, fixes HTTP keepalive issues

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

9 years agoxtables-addons: update to version 2.5
nbd [Thu, 21 Aug 2014 19:12:34 +0000 (19:12 +0000)]
xtables-addons: update to version 2.5

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

9 years agodropbear: restore performance by disabling mips16
jogo [Thu, 21 Aug 2014 11:29:04 +0000 (11:29 +0000)]
dropbear: restore performance by disabling mips16

Disable MIPS16 to prevent it negatively affecting performance.
Observed was a increase of connection delay from ~6 to ~11 seconds
and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx.

Fixes #15209.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42250 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodropbear: fix keepalive more
jogo [Thu, 21 Aug 2014 11:29:02 +0000 (11:29 +0000)]
dropbear: fix keepalive more

Add a further upstream commit to more closely match the keepalive
to OpenSSH.

Should now really fix #17523.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42249 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for P870HW-51a
jogo [Thu, 21 Aug 2014 11:28:59 +0000 (11:28 +0000)]
brcm63xx: Add DT support for P870HW-51a

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42248 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for HG553
jogo [Thu, 21 Aug 2014 11:28:54 +0000 (11:28 +0000)]
brcm63xx: Add DT support for HG553

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix linux partition length]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42247 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for HG520v
jogo [Thu, 21 Aug 2014 11:28:46 +0000 (11:28 +0000)]
brcm63xx: Add DT support for HG520v

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42246 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for A4001N
jogo [Thu, 21 Aug 2014 11:28:43 +0000 (11:28 +0000)]
brcm63xx: Add DT support for A4001N

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42245 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for A4001N1
jogo [Thu, 21 Aug 2014 11:28:40 +0000 (11:28 +0000)]
brcm63xx: Add DT support for A4001N1

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42244 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for WAP-5813n
jogo [Thu, 21 Aug 2014 11:28:37 +0000 (11:28 +0000)]
brcm63xx: Add DT support for WAP-5813n

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42243 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for VR-3025un
jogo [Thu, 21 Aug 2014 11:28:34 +0000 (11:28 +0000)]
brcm63xx: Add DT support for VR-3025un

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42242 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for VR-3025u
jogo [Thu, 21 Aug 2014 11:28:32 +0000 (11:28 +0000)]
brcm63xx: Add DT support for VR-3025u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42241 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for AR-5387un
jogo [Thu, 21 Aug 2014 11:28:28 +0000 (11:28 +0000)]
brcm63xx: Add DT support for AR-5387un

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42240 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for AR-5381u
jogo [Thu, 21 Aug 2014 11:28:18 +0000 (11:28 +0000)]
brcm63xx: Add DT support for AR-5381u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42239 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for CT-6373
jogo [Thu, 21 Aug 2014 11:28:14 +0000 (11:28 +0000)]
brcm63xx: Add DT support for CT-6373

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42238 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for CT-5365
jogo [Thu, 21 Aug 2014 11:28:10 +0000 (11:28 +0000)]
brcm63xx: Add DT support for CT-5365

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42237 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: use DT for partitions on SPW500V
jogo [Thu, 21 Aug 2014 11:28:01 +0000 (11:28 +0000)]
brcm63xx: use DT for partitions on SPW500V

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42236 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: dts: fix spelling of "bank-width"
jogo [Thu, 21 Aug 2014 11:27:56 +0000 (11:27 +0000)]
brcm63xx: dts: fix spelling of "bank-width"

Fixes pflash registration through DT for 6338/6345/6348.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42235 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: dsl-274xb-c: linux partition should not be read-only
jogo [Thu, 21 Aug 2014 11:27:44 +0000 (11:27 +0000)]
brcm63xx: dsl-274xb-c: linux partition should not be read-only

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42234 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: the firewall did not start properly on boot
blogic [Thu, 21 Aug 2014 09:53:25 +0000 (09:53 +0000)]
firewall: the firewall did not start properly on boot

https://dev.openwrt.org/ticket/17593

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

9 years agoramips: fix OMNI-PLUG.dts
blogic [Thu, 21 Aug 2014 06:41:27 +0000 (06:41 +0000)]
ramips: fix OMNI-PLUG.dts

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

9 years agolibubox: update to latest git revision
blogic [Wed, 20 Aug 2014 18:21:59 +0000 (18:21 +0000)]
libubox: update to latest git revision

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

9 years agovalgrind: fix build failure on uml
nico [Wed, 20 Aug 2014 13:58:23 +0000 (13:58 +0000)]
valgrind: fix build failure on uml

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

9 years agobase-files: increase igmp_max_memberships to improve multicast-proxy handling
cyrus [Wed, 20 Aug 2014 10:18:40 +0000 (10:18 +0000)]
base-files: increase igmp_max_memberships to improve multicast-proxy handling

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

9 years agodnsmasq: fix a race condition possibly leading to lockup
cyrus [Wed, 20 Aug 2014 09:52:29 +0000 (09:52 +0000)]
dnsmasq: fix a race condition possibly leading to lockup

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

9 years agobcm53xx: add SPI controller driver
hauke [Tue, 19 Aug 2014 20:14:06 +0000 (20:14 +0000)]
bcm53xx: add SPI controller driver

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

9 years agobcm53xx: backport spi nor code form kernel v3.17-rc1.
hauke [Tue, 19 Aug 2014 20:12:36 +0000 (20:12 +0000)]
bcm53xx: backport spi nor code form kernel v3.17-rc1.

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

9 years agokernel: update bcma to code from v3.17-rc1
hauke [Tue, 19 Aug 2014 20:06:24 +0000 (20:06 +0000)]
kernel: update bcma to code from v3.17-rc1

This is needed for some new patches.

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

9 years agobase-files: fix inverse logic in board_detect script
blogic [Tue, 19 Aug 2014 09:59:39 +0000 (09:59 +0000)]
base-files: fix inverse logic in board_detect script

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

9 years agoodhcpd: various DHCPv4 and DHCPv6 fixes
cyrus [Tue, 19 Aug 2014 05:58:51 +0000 (05:58 +0000)]
odhcpd: various DHCPv4 and DHCPv6 fixes

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

9 years agodnsmasq: respect option dhcpv4 disabled in dhcp-config
cyrus [Tue, 19 Aug 2014 05:58:44 +0000 (05:58 +0000)]
dnsmasq: respect option dhcpv4 disabled in dhcp-config

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

9 years agokernel: 3.14: update bcm47xxpart
hauke [Mon, 18 Aug 2014 21:57:54 +0000 (21:57 +0000)]
kernel: 3.14: update bcm47xxpart

It it used by brcm47xx and bcm53xx targets, so put patches in generic.

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

9 years agobrcm63xx: enable fallback sprom for Speedport W500 V
jogo [Mon, 18 Aug 2014 21:50:45 +0000 (21:50 +0000)]
brcm63xx: enable fallback sprom for Speedport W500 V

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42211 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: tag images/dtbs with profiles
jogo [Mon, 18 Aug 2014 21:50:42 +0000 (21:50 +0000)]
brcm63xx: tag images/dtbs with profiles

This prevents generating every supported image, except for de "Default" profile.
Also fixes Neufbox 6 image generation.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42210 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add profiles for DTB supported devices
jogo [Mon, 18 Aug 2014 21:50:40 +0000 (21:50 +0000)]
brcm63xx: add profiles for DTB supported devices

Remove generic profiles and add profiles for each DTB supported device.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42209 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: move generic profiles to top dir and remove smp profiles
jogo [Mon, 18 Aug 2014 21:50:37 +0000 (21:50 +0000)]
brcm63xx: move generic profiles to top dir and remove smp profiles

Use generic profiles for brcm63xx instead of having similar profiles for
each subtarget.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42208 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: simplify HG556a image generation
jogo [Mon, 18 Aug 2014 21:50:34 +0000 (21:50 +0000)]
brcm63xx: simplify HG556a image generation

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42207 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: fix HG556a boards and remove fallback board
jogo [Mon, 18 Aug 2014 21:50:29 +0000 (21:50 +0000)]
brcm63xx: fix HG556a boards and remove fallback board

This changes board info to match the Wiki
http://wiki.openwrt.org/toh/huawei/hg556a, removes the no longer needed
fallback board and fixes HG556 Ralink eeprom extraction.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: rename partitions instead]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42206 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: build alternative TRX using less optimized LZMA
hauke [Mon, 18 Aug 2014 21:00:55 +0000 (21:00 +0000)]
brcm47xx: image: build alternative TRX using less optimized LZMA

There is a group of devices that lzma-loader doesn't work with. They
simply hang at "Starting program at 0x80001000" which is really hard to
debug and we didn't find any solution for this for years.

Broadcom doesn't use lzma-loader on these devices anyway. They decided
to drop lzma-loader and use less optimal LZMA compression that can be
handled by CFE itself (it doesn't use dictionary).

So support these devices we will need kernel compressed with different
parameters and trx without a loader.

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

9 years agobrcm47xx/bcm53xx: improve description
hauke [Mon, 18 Aug 2014 20:29:26 +0000 (20:29 +0000)]
brcm47xx/bcm53xx: improve description

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

9 years agobcm53xx: remove kernel 3.10
hauke [Mon, 18 Aug 2014 20:28:53 +0000 (20:28 +0000)]
bcm53xx: remove kernel 3.10

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

9 years agobrcm47xx: update to kernel 3.14
hauke [Mon, 18 Aug 2014 20:28:21 +0000 (20:28 +0000)]
brcm47xx: update to kernel 3.14

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

9 years agoramips: add omni plug leds
blogic [Mon, 18 Aug 2014 16:09:21 +0000 (16:09 +0000)]
ramips: add omni plug leds

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

9 years agoramips: Add support for Omnima MiniPlug
blogic [Mon, 18 Aug 2014 16:06:48 +0000 (16:06 +0000)]
ramips: Add support for Omnima MiniPlug

This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI flash

Signed-off-by: Ivan Ignjatic<ivan@omnima.co.uk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42200 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: wan6 should reference wan intead of referencing itself.
blogic [Mon, 18 Aug 2014 13:16:35 +0000 (13:16 +0000)]
base-files: wan6 should reference wan intead of referencing itself.

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

9 years agovalgrind: set --enable-only64bit option for x86_64
blogic [Mon, 18 Aug 2014 13:10:19 +0000 (13:10 +0000)]
valgrind: set --enable-only64bit option for x86_64

There does not seem to be a good reason to build both
when building for x86_64.

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

9 years agovalgrind: explicitly disable mpicc compiler
blogic [Mon, 18 Aug 2014 13:10:16 +0000 (13:10 +0000)]
valgrind: explicitly disable mpicc compiler

If there's an mpicc compile on the machine, the configure
script will take it, causing a bit of headache.

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

9 years agogmp: add host compile
blogic [Mon, 18 Aug 2014 13:10:11 +0000 (13:10 +0000)]
gmp: add host compile

Currently, any package that uses host compile and depends on
libgmp.so will fail. This is because gmp is not compile for
host machine. So, staging_dir/host has only static lib for gmp

 $ ls staging_dir/host/lib/libgmp* -1
 staging_dir/host/lib/libgmp.a
 staging_dir/host/lib/libgmp.la
 staging_dir/host/lib/libgmpxx.a
 staging_dir/host/lib/libgmpxx.la

Addind host compile in gmp, the dependent package can use:

 PKG_BUILD_DEPENDS:=gmp/host

That will compile gmp to staging_dir/host with *.so files

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42196 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobusybox: Fix pam_start link errors when PAM support is enabled
blogic [Mon, 18 Aug 2014 13:10:08 +0000 (13:10 +0000)]
busybox: Fix pam_start link errors when PAM support is enabled

Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by
CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include:
login.c:(.text.login_main+0x122): undefined reference to `pam_start'

Signed-off-by: Stephen Parry <sgparry@mainscreen.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42195 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix switch config for Edimax 3G-6200n
blogic [Mon, 18 Aug 2014 13:10:04 +0000 (13:10 +0000)]
ramips: fix switch config for Edimax 3G-6200n

Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42194 3c298f89-4303-0410-b956-a3cf2f4a3e73