openwrt/staging/981213.git
10 years agoprocd: run the mdns register outside the sub shell container
John Crispin [Fri, 29 Aug 2014 18:36:29 +0000 (18:36 +0000)]
procd: run the mdns register outside the sub shell container

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

10 years agodropbear: add mdns support to the init.d script
John Crispin [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>
SVN-Revision: 42326

10 years agomdns: update to latest git
John Crispin [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>
SVN-Revision: 42325

10 years agoprocd: update to latest git HEAD
John Crispin [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>
SVN-Revision: 42324

10 years agotools/libtool: add missing dependency on m4
Felix Fietkau [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>
SVN-Revision: 42322

10 years agoralink: DIR-645 picks up incorrect MAC address in DTS file
John Crispin [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>
SVN-Revision: 42321

10 years agodnsmasq: Make the --dhcp-host logic easier to understand
John Crispin [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>
SVN-Revision: 42320

10 years agodnsmasq: Fix hosts file format when MAC address is not specified
John Crispin [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>
SVN-Revision: 42319

10 years agodnsmasq: Create rDNS records for LuCI "Hostnames"
John Crispin [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>
SVN-Revision: 42318

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

SVN-Revision: 42317

10 years agolantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
John Crispin [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>
SVN-Revision: 42316

10 years agoramips: unbreak i2c for 3.14
John Crispin [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>
SVN-Revision: 42315

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42314

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

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

10 years agotools/bc: add missing dependency on bison
Felix Fietkau [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>
SVN-Revision: 42309

10 years agotools/flex: disable building shared libfl.so
Felix Fietkau [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>
SVN-Revision: 42308

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

SVN-Revision: 42307

10 years agoralink: set 3.14 as default
John Crispin [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>
SVN-Revision: 42305

10 years agokernel: add package for huawei ncm modems
John Crispin [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>
SVN-Revision: 42304

10 years agotarget/toolchain: strip files, leave out the initial gcc
Felix Fietkau [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>
SVN-Revision: 42302

10 years agobuild: override hardcoded paths to bison and m4 to make the SDK more relocatable
Felix Fietkau [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>
SVN-Revision: 42300

10 years agoumbim: update to latest git
John Crispin [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>
SVN-Revision: 42299

10 years agousbmode: update to latest git
John Crispin [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>
SVN-Revision: 42298

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42297

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42296

10 years agokernel: 3.14: backport for igb driver resolving a driver crash
Luka Perkov [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>
SVN-Revision: 42295

10 years agoimx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade
Luka Perkov [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>
SVN-Revision: 42294

10 years agoralink: the mt7620 evb has a usb port
John Crispin [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>
SVN-Revision: 42293

10 years agoralink: a few 3.14 related fixes
John Crispin [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>
SVN-Revision: 42292

10 years agoralink: fix mt7620 ohci 3.14
John Crispin [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>
SVN-Revision: 42291

10 years agoralink: fix mt7620 ohci 3.10
John Crispin [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>
SVN-Revision: 42290

10 years agoralink: mt7620 has obchi/ehci and not dwc2
John Crispin [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>
SVN-Revision: 42289

10 years agokernel: add ohci-platform.ko for 3.11+
John Crispin [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>
SVN-Revision: 42288

10 years agokernel: add own Kconfig for OpenWrt mtdsplit drivers
John Crispin [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>
SVN-Revision: 42287

10 years agouhttpd: do not configure TLS parameters if libustream-ssl is not present
Jo-Philipp Wich [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>
SVN-Revision: 42284

10 years agoPKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by default
John Crispin [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>
SVN-Revision: 42282

10 years agomac80211/rt2x00: allow disabling bands through dts
John Crispin [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>
SVN-Revision: 42281

10 years agoar71xx: use ETH_ALEN for consistency
John Crispin [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>
SVN-Revision: 42280

10 years agoar71xx: enable sysupgrade for the EnGenius ESR900
John Crispin [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>
SVN-Revision: 42279

10 years agopackage/*: remove useless explicit set of function returncode
John Crispin [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>
SVN-Revision: 42278

10 years agoramips: enable second SPI for VoCore
John Crispin [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>
SVN-Revision: 42277

10 years agoramips: second spi device on rt5350
John Crispin [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>
SVN-Revision: 42276

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

SVN-Revision: 42274

10 years agoiwinfo: properly decode SSIDs when scanning through wpa_supplicant
Jo-Philipp Wich [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>
SVN-Revision: 42273

10 years agobcm53xx: update bcma device tree intergeneration and fix nvram parsing
Hauke Mehrtens [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>
SVN-Revision: 42272

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

SVN-Revision: 42270

10 years agokernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches
Florian Fainelli [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>
SVN-Revision: 42263

10 years agoumbim: add netifd proto handler for mbim style lte modems
John Crispin [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>
SVN-Revision: 42262

10 years agobase-files: properly generate the ula
John Crispin [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>
SVN-Revision: 42261

10 years agobcm53xx: add bcm53xxspiflash driver for SPI flashes
Hauke Mehrtens [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>
SVN-Revision: 42260

10 years agobcm53xx: backport more spi-nor patches
Hauke Mehrtens [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>
SVN-Revision: 42259

10 years agouclient: update to latest version, fixes HTTP keepalive issues
Felix Fietkau [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>
SVN-Revision: 42257

10 years agoxtables-addons: update to version 2.5
Felix Fietkau [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>
SVN-Revision: 42256

10 years agodropbear: restore performance by disabling mips16
Jonas Gorski [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>
SVN-Revision: 42250

10 years agodropbear: fix keepalive more
Jonas Gorski [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>
SVN-Revision: 42249

10 years agobrcm63xx: Add DT support for P870HW-51a
Jonas Gorski [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>
SVN-Revision: 42248

10 years agobrcm63xx: Add DT support for HG553
Jonas Gorski [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>
SVN-Revision: 42247

10 years agobrcm63xx: Add DT support for HG520v
Jonas Gorski [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>
SVN-Revision: 42246

10 years agobrcm63xx: Add DT support for A4001N
Jonas Gorski [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>
SVN-Revision: 42245

10 years agobrcm63xx: Add DT support for A4001N1
Jonas Gorski [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>
SVN-Revision: 42244

10 years agobrcm63xx: Add DT support for WAP-5813n
Jonas Gorski [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>
SVN-Revision: 42243

10 years agobrcm63xx: Add DT support for VR-3025un
Jonas Gorski [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>
SVN-Revision: 42242

10 years agobrcm63xx: Add DT support for VR-3025u
Jonas Gorski [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>
SVN-Revision: 42241

10 years agobrcm63xx: Add DT support for AR-5387un
Jonas Gorski [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>
SVN-Revision: 42240

10 years agobrcm63xx: Add DT support for AR-5381u
Jonas Gorski [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>
SVN-Revision: 42239

10 years agobrcm63xx: Add DT support for CT-6373
Jonas Gorski [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>
SVN-Revision: 42238

10 years agobrcm63xx: Add DT support for CT-5365
Jonas Gorski [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>
SVN-Revision: 42237

10 years agobrcm63xx: use DT for partitions on SPW500V
Jonas Gorski [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>
SVN-Revision: 42236

10 years agobrcm63xx: dts: fix spelling of "bank-width"
Jonas Gorski [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>
SVN-Revision: 42235

10 years agobrcm63xx: dsl-274xb-c: linux partition should not be read-only
Jonas Gorski [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>
SVN-Revision: 42234

10 years agofirewall: the firewall did not start properly on boot
John Crispin [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>
SVN-Revision: 42233

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

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

10 years agolibubox: update to latest git revision
John Crispin [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>
SVN-Revision: 42230

10 years agovalgrind: fix build failure on uml
Nicolas Thill [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>
SVN-Revision: 42229

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

SVN-Revision: 42227

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

SVN-Revision: 42225

10 years agobcm53xx: add SPI controller driver
Hauke Mehrtens [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>
SVN-Revision: 42223

10 years agobcm53xx: backport spi nor code form kernel v3.17-rc1.
Hauke Mehrtens [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>
SVN-Revision: 42222

10 years agokernel: update bcma to code from v3.17-rc1
Hauke Mehrtens [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>
SVN-Revision: 42221

10 years agobase-files: fix inverse logic in board_detect script
John Crispin [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>
SVN-Revision: 42220

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

SVN-Revision: 42217

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

SVN-Revision: 42216

10 years agokernel: 3.14: update bcm47xxpart
Hauke Mehrtens [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>
SVN-Revision: 42212

10 years agobrcm63xx: enable fallback sprom for Speedport W500 V
Jonas Gorski [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>
SVN-Revision: 42211

10 years agobrcm63xx: tag images/dtbs with profiles
Jonas Gorski [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>
SVN-Revision: 42210

10 years agobrcm63xx: add profiles for DTB supported devices
Jonas Gorski [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>
SVN-Revision: 42209

10 years agobrcm63xx: move generic profiles to top dir and remove smp profiles
Jonas Gorski [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>
SVN-Revision: 42208

10 years agobrcm63xx: simplify HG556a image generation
Jonas Gorski [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>
SVN-Revision: 42207

10 years agobrcm63xx: fix HG556a boards and remove fallback board
Jonas Gorski [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>
SVN-Revision: 42206

10 years agobrcm47xx: image: build alternative TRX using less optimized LZMA
Hauke Mehrtens [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>
SVN-Revision: 42205

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

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

10 years agobcm53xx: remove kernel 3.10
Hauke Mehrtens [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>
SVN-Revision: 42203

10 years agobrcm47xx: update to kernel 3.14
Hauke Mehrtens [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>
SVN-Revision: 42202

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

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

10 years agoramips: Add support for Omnima MiniPlug
John Crispin [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>
SVN-Revision: 42200

10 years agobase-files: wan6 should reference wan intead of referencing itself.
John Crispin [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>
SVN-Revision: 42199

10 years agovalgrind: set --enable-only64bit option for x86_64
John Crispin [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.

SVN-Revision: 42198

10 years agovalgrind: explicitly disable mpicc compiler
John Crispin [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.

SVN-Revision: 42197

10 years agogmp: add host compile
John Crispin [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>
SVN-Revision: 42196

10 years agobusybox: Fix pam_start link errors when PAM support is enabled
John Crispin [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>
SVN-Revision: 42195