Commit graph

24791 commits

Author SHA1 Message Date
Gabor Juhos
8b6f392b72 ar71xx: add model detection for the MERCURY MW4530R board
Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37570
2013-07-28 10:23:29 +00:00
Gabor Juhos
b49dc036e8 ar71xx: TEW632BRP has buttons 'active low', fix board config
Looks like trunk@37090 has changed the logic that determines
if router's button was pressed. This resulted in TEW632BRP
always booting into failsafe mode because it detected pressed
button (which was not pressed).

Measure with voltmeter has shown that buttons on this router
are actually active-low. This patch reflects this fact in
board configuration and fixes 'load info failsafe mode' issue.

Note: it looks like Trendnet TEW632BRP and a close relative
to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may
exist on those routers as well. This patch doesn't affect
routers other than 632BRP and unfortunately I do not have
hardware to test this issue with other routers.

This patch fixes #13893 and is tested on actuall Trendnet
TEW632BRP.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37569
2013-07-28 10:23:22 +00:00
John Crispin
8dd30fa775 ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37568
2013-07-27 09:23:52 +00:00
John Crispin
13b7ab81cf ralink: gpio driver should not set gpio to input when irq is querired
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37567
2013-07-27 09:23:45 +00:00
John Crispin
eb089abd28 ramips: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37566
2013-07-27 09:23:40 +00:00
John Crispin
718b47f0b4 ramips: MPR-A2 should use memory auto detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37565
2013-07-27 09:23:34 +00:00
John Crispin
115c6f85cf ramips: enable usb phy support on rt5350
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37564
2013-07-27 09:23:29 +00:00
John Crispin
f4c4ca0b00 ralink: switch back to dwc_otg ... dwc2 seems to not work well with 3G modems
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37563
2013-07-27 09:23:24 +00:00
John Crispin
4176b6fdd3 strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/

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

SVN-Revision: 37562
2013-07-27 09:23:18 +00:00
John Crispin
c4413b6e08 ramips: unbreak asiarf dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37561
2013-07-26 15:19:19 +00:00
Felix Fietkau
aff8c18ad0 openvpn: update to 2.3.2
this patches updates openvpn to v2.3.2
and adds a PKG_MD5SUM to the Makefile

This release fixes a memory access violation when cipher none is used
on ar71xx - at least with my config

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 37560
2013-07-26 12:35:22 +00:00
Steven Barth
4d37ae33b6 6relayd: Overridden DNS should affect DHCPv6
SVN-Revision: 37558
2013-07-26 11:59:25 +00:00
Felix Fietkau
8faa8a6420 uhttpd: update to latest version, fixes issues with POST and keep-alive (#13940)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37556
2013-07-26 10:03:07 +00:00
Felix Fietkau
3d2ace5d71 authsae: add myself as a maintainer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37555
2013-07-26 10:03:03 +00:00
Felix Fietkau
4478c69b86 authsae: adapt uci scripts to use authsae
This patch modifies the uci scripts to be able to
start meshd-nl80211 for encrypted mesh networks,
therefor a new script (authsae.sh) is inserted.

Signed-off-by: Emanuel Taube <emanuel.taube@gmail.com>
[etienne.champetier@free.fr: just update mac80211.sh path]
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 37554
2013-07-26 10:02:59 +00:00
Felix Fietkau
6dbea6416b authsae 80211s authentication daemon
This patch adds authsae open80211s authentication daemon (http://open80211s.org)
It's a rework of Peter Naulls patch (http://patchwork.openwrt.org/patch/1350/)
I've excluded the sample conf file as it's useless when used with mac80211.sh (Emanuel Taube patch)
It now link against libnl-tiny instead of libnl (patch merged in authsae git)
Authsae is 58 Ko (OPENSSL_WITH_EC option adds 35Ko to libopenssl)

Signed-off-by: Peter Naulls <peter@chocky.org>
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 37553
2013-07-26 10:02:55 +00:00
Felix Fietkau
4e049d82b4 libconfig: add from /packages, update to latest version, add myself as maintainer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37552
2013-07-26 10:02:51 +00:00
Jo-Philipp Wich
3f8c8d6f60 ubox: update to git head
- discard vfat labels with only spaces
	- support using swap files
	- support extroot when required kmods and block-mount are installed on jffs2

SVN-Revision: 37551
2013-07-26 09:09:05 +00:00
Gabor Juhos
f093cda481 ar71xx: add profile and fixup image generation for the TL-MR10U board
Create a separate board profile and update the profile
name in image/makefile. Also use the correct machtype
string in kernel command line.

Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37550
2013-07-26 07:32:01 +00:00
Gabor Juhos
2fb993fdbf firmware-utils/mktplinkfw: add support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37549
2013-07-26 07:32:00 +00:00
Gabor Juhos
f4d5ecdb9f ar71xx: add user-space support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37548
2013-07-26 07:31:59 +00:00
Gabor Juhos
ec7fe3fab7 ar71xx: add kernel support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

[juhosg: extend WR703N code to handle the TL-MR10U
instead of adding a separate mach-tl-mr10u file]]

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37547
2013-07-26 07:31:57 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
Luka Perkov
aa81b9ed5f kernel: be consistent with formatting style
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37545
2013-07-26 01:09:50 +00:00
John Crispin
bfe65eaf7a lantiq: remove stale phy register setup properties from dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37544
2013-07-25 20:54:51 +00:00
John Crispin
54b4074074 lantiq: add TP-Link TDW8970 image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37543
2013-07-25 20:29:24 +00:00
John Crispin
a2c5540727 lantiq: add profile for TP-Link TDW8970
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37542
2013-07-25 20:29:20 +00:00
John Crispin
a99042c6a4 lantiq: add devicetree for TP-Link TDW8970
Signed-of-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37541
2013-07-25 20:29:15 +00:00
John Crispin
313636c1e4 lantiq: fix initramfs image generation for lzmaloader based images
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37540
2013-07-25 20:29:10 +00:00
John Crispin
a4d31c0353 lantiq: make macs loadable from mtd partitions
This is a really ugly hack but it will have to do until we copy the ramips patches to the lantiq tree

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

SVN-Revision: 37539
2013-07-25 20:29:05 +00:00
John Crispin
32f7ae4ce6 lantiq: add a hook to make leds work on the secondary usb bus
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37538
2013-07-25 20:29:01 +00:00
John Crispin
4036be4408 lantiq: update pcie driver
This is an intermediate commit until the new OF driver is functional.

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

SVN-Revision: 37537
2013-07-25 20:28:56 +00:00
John Crispin
3251cddf31 mac8021: add ath9k pcie id for AR9381
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37536
2013-07-25 20:28:45 +00:00
John Crispin
3e54dbbf60 base-files: be verbose when entering failsafe due to a button being pressed
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37535
2013-07-25 20:28:36 +00:00
Lars-Peter Clausen
dee22d069f xburst: Add missing kernel config symbol
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 37534
2013-07-25 18:39:34 +00:00
John Crispin
04aaf7a03e ramips: disable hg255d
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37532
2013-07-25 17:03:08 +00:00
John Crispin
7feebeb193 ramipe: disable HG255D support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37531
2013-07-25 16:55:48 +00:00
John Crispin
9b2c7be0c4 ramips: important patch for HG255D
r37505 add support for Huawei HG255D, but it only tested under a community hacked u-boot ("lintel u-boot"), which has a different mtd layout compared to origin one. If you install it on a box with origin u-boot, the origin factory part will be destroyed, and your wifi interface will never up!!!

This patch shrink firmware part in mtd layout to exclude origin factory part, and  I will prepare another patch to fix the eeprom extract issue for box with origin u-boot.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37530
2013-07-25 16:01:58 +00:00
Jo-Philipp Wich
bbf2b18933 ubox: update to git head
- use dynamically sized buffer, fixes label extraction on vfat partitions with huge cluster size
	- strip trailing spaces from vfat labels, aligns behaviour with "blkid"

SVN-Revision: 37529
2013-07-24 18:24:57 +00:00
Felix Fietkau
8ba022ab48 ustream-ssl: update to latest version, add a package for the polarssl build variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37528
2013-07-24 16:59:51 +00:00
Felix Fietkau
4cd1ace48d polarssl: update to version 1.2.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37527
2013-07-24 16:59:43 +00:00
Felix Fietkau
e4b7360ec6 libubox: update to latest version, includes a small uloop fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37526
2013-07-24 13:02:21 +00:00
Felix Fietkau
82e51044d8 uClibc: build with debug symbols by default (without changing other compile related flags)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37525
2013-07-24 12:38:09 +00:00
Felix Fietkau
ca186db09f openssl: enable elliptic curve crypto by default (so that it can be used by things like ipsec as well)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37524
2013-07-24 12:38:06 +00:00
Felix Fietkau
da654a0c42 openssl: add elliptic curve crypto compilation options to openssl
This patch adds EC compilation options to openssl
OPENSSL_WITH_EC is needed for authsae (OPENSSL_WITH_EC2M isn't)
Activating ec (but not ec2m) in openssl take 35Ko more on ar71xx (ipk size)
Activating both take 52Ko.

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 37523
2013-07-24 12:37:55 +00:00
Jo-Philipp Wich
1e8e6b4645 ubox: update to git head
- fixes vfat partition detection on big endian systems

SVN-Revision: 37522
2013-07-24 10:08:58 +00:00
John Crispin
3ad136d9e3 ramips: Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
http://www.asiarf.com/Smallest-Tiny-Ralink-802-11n-Wireless-AP-Router-Module-Board-AWM002-product-view-375.html

Signed-off-by Jon Smirl <jonsmirl@gmail.com>

SVN-Revision: 37521
2013-07-24 08:54:41 +00:00
Jonas Gorski
b037b0011e kernel: ebtables depends on bridge
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37520
2013-07-23 19:53:08 +00:00
Felix Fietkau
bb494ed639 kernel: fix remaining initramfs related breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37518
2013-07-23 13:11:41 +00:00
John Crispin
3f3cac6136 ramips: fix HG255D VLAN initial detect issue
Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37517
2013-07-23 13:07:00 +00:00