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
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
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
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
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
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
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
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
Steven Barth [Mon, 25 Aug 2014 06:11:53 +0000 (06:11 +0000)]
odhcp6c: enable softwires support by default
SVN-Revision: 42274
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
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
Steven Barth [Sun, 24 Aug 2014 08:12:57 +0000 (08:12 +0000)]
odhcpd: fix static lease behavior with dhcpv4
SVN-Revision: 42270
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Steven Barth [Tue, 19 Aug 2014 05:58:51 +0000 (05:58 +0000)]
odhcpd: various DHCPv4 and DHCPv6 fixes
SVN-Revision: 42217
Steven Barth [Tue, 19 Aug 2014 05:58:44 +0000 (05:58 +0000)]
dnsmasq: respect option dhcpv4 disabled in dhcp-config
SVN-Revision: 42216
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Steven Barth [Wed, 13 Aug 2014 14:57:07 +0000 (14:57 +0000)]
odhcpd: improve DHCPv6-PD detection
SVN-Revision: 42160
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
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
Jo-Philipp Wich [Tue, 12 Aug 2014 11:14:11 +0000 (11:14 +0000)]
package: fix segfault of iwinfo.scanlist("radio0").
This is a bug revealed in r41830.
First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname()
would be zeroed out if the argument is "wlan0" or the like. This will
happen in the following call stack.
nl80211_get_scanlist("radio0", buf, len);
nl80211_phy2ifname("radio0") // return static var nif with content "wlan0"
nl80211_get_scanlist(nif, buf, len); // tail call
nl80211_get_mode(nif);
nl80211_phy2ifname(nif); // zero out nif
Later we try nl80211_ifadd("") which was supposed to create interface
"tmp.", but that won't happen because nl80211_msg() will put an invalid
ifidx 0 to the nlmsg.
Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily
nl80211_get_scanlist() returned 0 and left *len undefined.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 42151
Luka Perkov [Mon, 11 Aug 2014 20:35:15 +0000 (20:35 +0000)]
imx6: update kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42149
Luka Perkov [Mon, 11 Aug 2014 20:35:13 +0000 (20:35 +0000)]
imx6: kernel: add GW5520 support
The GW5520 is a small form-factor single-board computer with the following
features:
* 70x100mm form-factor
* IMX6DL 800MHz SoC (IMX6Q optional)
* 512MB 32bit DDR3 SDRAM (up to 2GB optional)
* 256MB NAND FLASH (up to 2GB optional)
* Gateworks System Controller
* 2x front-panel Intel i210 GbE adapters with passive PoE support
* 2x MiniPCIe sockets with USB support
* 2x front-panel USB
* 1x rear-panel full-size HDMI connector
* 1x front-panel bi-color user LED
* 1x front-panel user pushbutton
* 1x rear-panel barrel jack for power
* 1x Application connector with:
* 2x TTL level UARTs
* 10x TTL level Digital IO
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 42148
Luka Perkov [Mon, 11 Aug 2014 20:35:10 +0000 (20:35 +0000)]
imx6: kernel: add GW16083 Ethernet Expansion Mezzanine support
The GW16083 Ethernet Expansion Mezzanine adds the following to supported
Gateworks baseboards:
* 7-port Ethernet Switch
* 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module)
* 2x RJ45 ports or SFP module (ENET5-6) (auto-selected)
This series adds support for a phy driver that adds support for ENET5/ENET6
PHY adding initialization for those PHY's and a polling mechanism that detects
SFP insertion and configuration.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 42147
Luka Perkov [Mon, 11 Aug 2014 20:35:06 +0000 (20:35 +0000)]
imx6: kernel: add GW16082 miniPCI Expansion Mezzanine support
The GW16082 miniPCI Expansion Mezzanine has the INTA/B/C/D IRQ's reversed
from the PCI standard. This will soon be resolved in the bootloader via
devicetree, but in the meantime this will work around the issue.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 42146
Luka Perkov [Mon, 11 Aug 2014 20:35:04 +0000 (20:35 +0000)]
imx6: kernel: fix occasional link failure
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 42145