1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 22:25:20 +02:00
Commit Graph

222 Commits

Author SHA1 Message Date
nbd
f243888497 ar71xx: fix db120 board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:31 +00:00
juhosg
b99e4f9ccd ar71xx: add support for the TRENDNet TEW-673GRU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 16:26:25 +00:00
juhosg
efe78d1eeb ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 20:49:34 +00:00
juhosg
8be0cce7cc ar71xx: fix ethernet LEDs on the DIR-600-A1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:24 +00:00
juhosg
01af86f6ed ar71xx: unify LED names on D-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:15 +00:00
juhosg
65ca4389f1 ar71xx: support for D-LINK DIR-615 rev. E4
This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.

It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number
- I was using 1, and those patches used 17.

[juhosg: add 3.2 support]

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:09 +00:00
juhosg
4bc970ba4f ar71xx: add support for TP-Link TL-MR11U
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.

Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade

[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]

Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:01 +00:00
florian
ebbec463c7 [ar71xx] add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:49 +00:00
juhosg
af63c6a4f8 ar71xx: add support for Compex WPE72/WPE72NX
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.

[juhosg: add support to 3.2 as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:41 +00:00
juhosg
0bca69f7bf ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
This patch fixes the board detection of the TL-MR3020.

The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.

The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.

[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:45 +00:00
juhosg
280177d53b ar71xx: preset WLAN LED config on MZK-W300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:36 +00:00
juhosg
19be413163 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:35 +00:00
juhosg
66663e2809 ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:54:59 +00:00
juhosg
01c809eff1 ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
juhosg
4c93839943 ar71xx: fix RB-750 network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:54 +00:00
juhosg
978d04d680 ar71xx: fix LED configuration on the RB-750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:28 +00:00
juhosg
b8e2e95b70 ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:54 +00:00
juhosg
bf238aa8e9 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:57 +00:00
juhosg
c96ab77e4e ar71xx: show correct model name on TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:55 +00:00
juhosg
342be7abf7 ar71xx: fix network configuration for the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:52 +00:00
juhosg
9229d15c65 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:50 +00:00
juhosg
28c6546050 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:49 +00:00
juhosg
2b1cf2b32c ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:47 +00:00
juhosg
fd1bdc7c45 ar71xx: add support for the ALFA Network N2/N5 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:25 +00:00
juhosg
a604775f66 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:46 +00:00
juhosg
096af0d2e8 ar71xx: fix LEDs on the WRT400N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 13:54:11 +00:00
juhosg
0d1ced0ac9 ar71xx: enable sysupgrade support for airrouter
Works for me! ;-)

Patch-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:59:43 +00:00
juhosg
2eb905f8ba ar71xx: fix sysupgrade on PB42/PB44 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:57:01 +00:00
jogo
c5ceea4e34 ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Thanks netprince for reporting and testing.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 19:32:40 +00:00
nbd
cdf64b5cdc ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-18 22:20:17 +00:00
juhosg
12930c3272 ar71xx: connect GMAC0 to the internal switch on DB120
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:38 +00:00
juhosg
d8f4833329 ar71xx: add support for ALFA Network's Hornet-UB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:10 +00:00
juhosg
6caa8876b2 ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:40 +00:00
juhosg
e310d5b786 ar71xx: fix WNDR3x00 model detection
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.

r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.

I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:39 +00:00
juhosg
ae0a750c4b ar71xx: add TP-Link board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:11:01 +00:00
juhosg
f6ab961f67 ar71xx: verify hardware id of firmware images on TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:11:51 +00:00
nbd
c1679af6b3 ar71xx: add preliminary support for wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:51 +00:00
juhosg
44a7438217 ar71xx: rewrite WNDR3700/3800 handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:03:54 +00:00
jow
62f688b6ec [ar71xx] add some missing wndr3800 base-files definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:21 +00:00
juhosg
1f7d4ca407 ar71xx: change user-space board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:20 +00:00
juhosg
41d8ed17e0 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:02 +00:00
juhosg
8d3dba5fca ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:59 +00:00
juhosg
2a4fea0542 ar71xx: use /lib/functions/uci-defaults.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:47 +00:00
juhosg
4baa5f5378 ar71xx: fix wndr3800 machine name
This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:38 +00:00
juhosg
a3d2129487 ar71xx: add diag support for the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:10 +00:00
juhosg
b780360c45 ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:04 +00:00
juhosg
e3ad4fdef0 ar71xx: create TL-WA901ND network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:24 +00:00
juhosg
53b106bac4 ar71xx: create ALL0258N network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:23 +00:00
juhosg
6827eb6991 ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:20 +00:00
juhosg
cec23da75a ar71xx: create WZR-HP-G300NH network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:17 +00:00