openwrt/svn-archive/archive.git
5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 years agoramips: fix switch config for Edimax 3G-6200n
John Crispin [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>
SVN-Revision: 42194

5 years agoar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC
John Crispin [Mon, 18 Aug 2014 13:10:00 +0000 (13:10 +0000)]
ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC

This sets the MAC address of the WLAN interface to the "official" primary MAC
address (the one on the label under the devices, and the one used with the stock
firmware). The MAC address used so far (primary-1) isn't even used at all with
the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the
WAN interface (like OpenWrt does with this patch).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 42193

5 years agoralink: clean up HAME profiles, remove unnecessary packages.
John Crispin [Mon, 18 Aug 2014 13:09:46 +0000 (13:09 +0000)]
ralink: clean up HAME profiles, remove unnecessary packages.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 42192

5 years agoramips: add mpr-a1 to default profile
John Crispin [Mon, 18 Aug 2014 13:09:43 +0000 (13:09 +0000)]
ramips: add mpr-a1 to default profile

Add hame mpr-a1 to default ramips profile.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 42191

5 years agoramips: Hame: change LED name mpr-x -> hame
John Crispin [Mon, 18 Aug 2014 13:09:39 +0000 (13:09 +0000)]
ramips: Hame: change LED name mpr-x -> hame

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 42190

5 years agoar71xx: build factory image for EnGenius ESR900 and ESR1750
John Crispin [Mon, 18 Aug 2014 13:09:34 +0000 (13:09 +0000)]
ar71xx: build factory image for EnGenius ESR900 and ESR1750

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42189

5 years agolantiq: update to 3.14
John Crispin [Mon, 18 Aug 2014 13:09:30 +0000 (13:09 +0000)]
lantiq: update to 3.14

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

5 years agoocteon: update to 3.14
John Crispin [Mon, 18 Aug 2014 13:09:24 +0000 (13:09 +0000)]
octeon: update to 3.14

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

5 years agoramips: make use of the new board detection layer
John Crispin [Mon, 18 Aug 2014 13:09:20 +0000 (13:09 +0000)]
ramips: make use of the new board detection layer

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

5 years agobase-files: add a hardware detection layer
John Crispin [Mon, 18 Aug 2014 13:09:17 +0000 (13:09 +0000)]
base-files: add a hardware detection layer

this allows targets to use the new uci-default helper which will generate
a file called /etc/board.json. a tool called /bin/config_generate can then
be used to generate the default uci settings.

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

5 years agoar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
John Crispin [Mon, 18 Aug 2014 13:09:14 +0000 (13:09 +0000)]
ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board

The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the
mini-PCIe device. Not configuring the LED pin inside the platform data
makes it impossible to configure it through any standard OpenWrt tool.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 42184

5 years agolantiq: generate unique ARV7519RW22 firmware
John Crispin [Mon, 18 Aug 2014 13:09:11 +0000 (13:09 +0000)]
lantiq: generate unique ARV7519RW22 firmware

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42183

5 years agolantiq: add support for xrx200 firmware depending on soc type
John Crispin [Mon, 18 Aug 2014 13:09:08 +0000 (13:09 +0000)]
lantiq: add support for xrx200 firmware depending on soc type

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42182

5 years agolantiq: export soc type
John Crispin [Mon, 18 Aug 2014 13:08:59 +0000 (13:08 +0000)]
lantiq: export soc type

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42181

5 years agolantiq: improve ARV7519RW22 support
John Crispin [Mon, 18 Aug 2014 13:08:56 +0000 (13:08 +0000)]
lantiq: improve ARV7519RW22 support

- use full board name
- rename uboot-env partition
- add dsl_fw partition
- remove unneeded pinmux groups
- move gigabit ethernet to LAN
- load mac address from mtd

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42180

5 years agoramips: add a workaround to fix failsafe on RT5350
John Crispin [Mon, 18 Aug 2014 13:08:52 +0000 (13:08 +0000)]
ramips: add a workaround to fix failsafe on RT5350

Due to TCP connections not working when VLAN is disabled, this is
needed to get failsafe functional.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 42179

5 years agoramips: enable additional GPIOs on HAME MPR-A1
John Crispin [Mon, 18 Aug 2014 13:08:48 +0000 (13:08 +0000)]
ramips: enable additional GPIOs on HAME MPR-A1

According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose
6 unused GPIOs, only one of them working as configured in the current
DTS. This patch enables GPIO22-26.

Tested on hardware.

[1] http://i.imgur.com/kHVW2Ox.jpg
[2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 42178

5 years agoar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they...
John Crispin [Mon, 18 Aug 2014 13:08:45 +0000 (13:08 +0000)]
ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they have the same flash layout

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42177

5 years agoralink: add back the gpio_export_named() patch for 3.14
John Crispin [Mon, 18 Aug 2014 13:08:33 +0000 (13:08 +0000)]
ralink: add back the gpio_export_named() patch for 3.14

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

5 years agoadm8668: revert changeset 34554
Florian Fainelli [Sat, 16 Aug 2014 18:09:31 +0000 (18:09 +0000)]
adm8668: revert changeset 34554

The conversion was not 100% correct and leads to u-boot failing to
verify the CRC, revert that change for now.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 42170

5 years agoar7: remove 972-cpmac_fixup patch
Florian Fainelli [Sat, 16 Aug 2014 17:32:46 +0000 (17:32 +0000)]
ar7: remove 972-cpmac_fixup patch

This patch is causing more harm than good on most AR7 routers out there,
better have no manageable switch rather than no ethernet connection, at
least for now.

Fixes #16523, #5927

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 42168

5 years agobrcm47xx: image: update list of Netgear WNR* firmwares
Hauke Mehrtens [Thu, 14 Aug 2014 21:22:17 +0000 (21:22 +0000)]
brcm47xx: image: update list of Netgear WNR* firmwares

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

5 years agobrcm47xx: fix brcm47xx.legacy build
Hauke Mehrtens [Thu, 14 Aug 2014 21:21:27 +0000 (21:21 +0000)]
brcm47xx: fix brcm47xx.legacy build

we should check for ssb here.

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

5 years agodropbear: fix keepalive with putty
Jonas Gorski [Wed, 13 Aug 2014 20:49:56 +0000 (20:49 +0000)]
dropbear: fix keepalive with putty

Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses, which broke
at least putty.

Fixes #17522 / #17523.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42162

5 years agonetifd: assign ipv6-prefixes with length <64 with /64 on-link routes
Steven Barth [Wed, 13 Aug 2014 14:57:11 +0000 (14:57 +0000)]
netifd: assign ipv6-prefixes with length <64 with /64 on-link routes

SVN-Revision: 42161

5 years agoodhcpd: improve DHCPv6-PD detection
Steven Barth [Wed, 13 Aug 2014 14:57:07 +0000 (14:57 +0000)]
odhcpd: improve DHCPv6-PD detection

SVN-Revision: 42160

5 years agoppp: enable IPv6CP by default
Steven Barth [Wed, 13 Aug 2014 10:18:20 +0000 (10:18 +0000)]
ppp: enable IPv6CP by default

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

5 years agoodhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)
Steven Barth [Tue, 12 Aug 2014 13:30:04 +0000 (13:30 +0000)]
odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)

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