Commit Graph

293 Commits (e61fe4e4d762eb3e00c43b6714a229835efc7ea5)

Author SHA1 Message Date
John Crispin 7f772910a1 ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection
[ ] conditions should use = instead of == for string equality.

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

SVN-Revision: 42796
10 years ago
John Crispin 05777fb947 ar71xx: simplify TP-LINK model detection
All TP-LINK machine names begin with "TP-LINK", so there's no need to check for
more specific model names. This also allows adding new models like the Archer
series more easily.

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

SVN-Revision: 42795
10 years ago
John Crispin 7dbbdfb61f ar71xx: add qihoo 360 c301 router support
Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac.
Its chipset is AR9344 + AR9882 with two 16MB flashes.

This patch adds its initial support.

v2:
* use mtd_get_mac_ascii to fetch MAC address for ath10k.
* use ath79_register_pci to initialize AR9882.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

SVN-Revision: 42552
10 years ago
John Crispin cb37fe5ca5 ar71xx: add board support for ubnt loco m xw
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 42549
10 years ago
John Crispin 254b2670e1 ar71xx: add Support for RB2011UiAS-2HnD
SVN-Revision: 42317
10 years ago
Imre Kaloz ecba34a3ee add support for the NC-LINK SMART-300
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 42130
10 years ago
Imre Kaloz dc628f2e08 add support for the archer c5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41814
10 years ago
John Crispin eae9b2541a ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41788
10 years ago
John Crispin e50abb5d53 ar71xx: add user-space support for the OpenMesh OM5P
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 41770
10 years ago
John Crispin d19530c693 ar71xx: Add UBNT airGateway support
This patch adds support for the Ubiquiti Networks airGateway.

Based in part on code posted by David Hutchison <dhutchison@bluemesh.net> on openwrt-devel:
  https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/023035.html

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

SVN-Revision: 41766
10 years ago
Gabor Juhos 54206fb0ce ar71xx: add user-space support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41659
10 years ago
Gabor Juhos f27f2fec4f ar71xx: add user-space support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41650
10 years ago
Gabor Juhos 50c554a475 ar71xx: add user-space support for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5716/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41641
10 years ago
John Crispin e503eeb465 ar71xx: add support for nanostation m xw
SVN-Revision: 41636
10 years ago
Gabor Juhos 2d6542242a ar71xx: add user-space support for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41625
10 years ago
Gabor Juhos 6991725a1e ar71xx: add user-space support for GL.iNet v1
Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5652/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41619
10 years ago
Gabor Juhos 0ffe21c792 ar71xx: Support for Mikrotik RB2011UiAS
The RB2011UiAS is almost exactly the same as the RB2011UAS, which is
already supported. Hardware-wise, it adds a passive power injector on
Eth10. Software-wise, Routerboot passes a different board name on the
kernel command line. Hence the need for a patch.

Not yet working:

* touchscreen: doesn't work on RB2011UAS either. The touchscreen itself
  seems to be driven by an ADS7843-compatible IC, but figuring out which
  GPIO pins it's connected to is work for the future.
* control of power injector: remains off. Probably also GPIO-controlled.

Signed-off-by: Soren Harward <stharward@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5841/
[juhosg: rename and refresh the kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41617
10 years ago
John Crispin 9e26031a88 ar71xx: add support for TP-LINK TL-WA860RE v1
New router/repeater from TP-LINK

- CPU: Atheros AR9341-DL3A (AP123)
- Flash: 4MB
- Ram: 32MB

Similar to TL-WA850RE.

Changes: rename file after r41596

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

SVN-Revision: 41598
10 years ago
John Crispin 42a37b2a89 ar71xx: added support for TL-WA830RE V2
Corrected patch ath79 insted of auth79. Sorry.

Signed-off-by: Fredrik Jonson <fredrik@famjonson.se>

SVN-Revision: 41596
10 years ago
John Crispin 3519322e62 ar71xx: Add support for MikroTik RouterBOARD SXT Lite
This patch adds support for the MikroTik RouterBOARD SXT Lite.

The new RB911L series is also supported as a result.

v2 of this patch fixes the wmac offset to match what is on the sticker.
v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh
v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly
v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41450
10 years ago
John Crispin e6e6a85dc9 ar71xx: add support for EasyLink M150 and M-mini
v3 refreshes the patch on trunk@41337

This patch adds support for the EasyLink EL-M150 and M-mini

http://wiki.openwrt.org/toh/easylink/el-m150
http://wiki.openwrt.org/toh/easylink/el-m-mini

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 41348
10 years ago
John Crispin 23cdea78d8 ar71xx: Fixes for 951Ui-2HnD board support
WAN and LAN are swapped the wrong way around.  This patch fixes that by adding the 951Ui-2HnD to ar71xx.sh and the relevant entry in 02_network.

This patch also defines the ACT LED as the status LED in diag.sh.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41255
10 years ago
John Crispin 8a3c713c97 ar71xx: add user-space support for HiWiFi HC6361 board.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40974
10 years ago
John Crispin 85b889940d ar71xx: add support to TP-LINK TL-WA730RE v1
The TL-WA730RE seems to be almost identical to TL-WA701ND, just
that it comes without PoE and a stock-firmware claiming the device
to be a "Range Extender".

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40972
10 years ago
John Crispin 599ddc7a85 ar71xx: fix board detection for TL-WA7510N
Detect TL-WA7510N v1 by the board name as defined in mach-tl-wa901nd.c
and add hardware ID to tplink_board_detect

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40971
10 years ago
John Crispin 60ec05fdcb ar71xx: add support for dlink dir-615-e1
Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be
uploaded through dlink's normal firmware update web page.

Add profile for dir-615-e1 so the generated image can be uploaded
through the firmware update web page.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40969
10 years ago
John Crispin ac3fd59a2b ar71xx: add user-space support for OpenMesh OM2P-HSv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 40962
10 years ago
John Crispin c788102ebc ar71xx: add user-space support for OpenMesh OM2Pv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 40956
10 years ago
Gabor Juhos ecec091d33 ar71xx: add user-space support for the ZyXEL NBG6716 board
Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40500
10 years ago
Felix Fietkau 7131a104f5 ar71xx: add support for the TP-LINK TL-WR841N/ND v9
Everything seems to be working fine. Potential issues:

* VLAN port IDs are reversed with regard to the numbers on the case.

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

SVN-Revision: 40400
10 years ago
Gabor Juhos b68564ed3f ar71xx: build image for TL-WDR4300v1 (IL)
The version of TL-WDR4300 sold in Israel comes with a different
hardware id.

Patch-by: Daniel <daniel@makrotopia.org>
Patchwork: http://patchwork.openwrt.org/patch/5001/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40038
10 years ago
Gabor Juhos 02f2e90d5f ar71xx: add user space support for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg: use correct board name in uci-defaults/02_network]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40033
10 years ago
Gabor Juhos 590bafe3de ar71xx: define status LED for the RB91x boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39705
10 years ago
Gabor Juhos 7ec2d80ae3 ar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 board
Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4849/
[juhosg:
  - use the Archer C7 specific LED setup instead of adding
    identical code]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39636
10 years ago
Gabor Juhos 037b42838f ar71xx: dragino2: add missing sysupgrade support.
The original dragino2 board support was missing some changes from the
upstream svn repository (http://svn.dragino.com/dragino2) that supported
sysupgrade.

[juhosg: change subject]

Signed-off-by: Karl Palsson <karlp@remake.is>
Patchwork: http://patchwork.openwrt.org/patch/4801/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39429
10 years ago
Gabor Juhos 7038fd9c52 ar71xx: add userspace support for WD My Net N750
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: remove the image generation part until the ethernet
         switch issue is resolved]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39078
11 years ago
Gabor Juhos 3af206abb3 ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4508/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39074
11 years ago
Gabor Juhos 3e994a81d4 ar71xx: add user space support for the TL-WA801ND v2
Patch to add the user space support for the TL-WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4501/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39064
11 years ago
Gabor Juhos 1fa75d430a ar71xx: sysupgrade for My Net Wi-Fi Range Extender
This patch enables the convenient sysupgrade feature for
WD's Wi-Fi Range Extender.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4341/
[juhosg:
  - rename 'mynet_rext_check_image' function to 'cybertan_check_image'
    and move that into platform.sh,
  - remove the the model specific 'platform_do_upgrade_mynet_rext' function,
  - drop the mynet-rext.sh script,
  - remove the image/Makefile change,
  - update commit message]
[christian:
  - check all 8 bytes of the firmware/device magic]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38966
11 years ago
Gabor Juhos 7db7757bf2 ar71xx: add user-space support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38956
11 years ago
Gabor Juhos ed036155ee ar71xx: add user space support for the TL-WR842N/ND v2
Patch to add the user space support for the TL-WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4354/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38814
11 years ago
Gabor Juhos d4cc7aac4b ar71xx: add user space support for the TL-WA750RE/WA850RE Range extender
Patch to add user space support for the TL-WA750RE/WA850RE range extender

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38718
11 years ago
Gabor Juhos ddcce63c78 ar71xx: add user-space support for the WD My Net Wi-Fi Range Extender
Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38687
11 years ago
Gabor Juhos 003a801dd9 ar71xx: add user-space support for the BXU2000n-2 A1 board
Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38592
11 years ago
Gabor Juhos acd4ea62e7 ar71xx: add user space support for the Sitecom WLR-8100 wireless router
Patchwork: http://patchwork.openwrt.org/patch/4148/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38590
11 years ago
Gabor Juhos 164cd38b41 ar71xx: add user-space support for TL-MR3040 v2
Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38191
11 years ago
Gabor Juhos 525fcc6e11 ar71xx: add user-space support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38132
11 years ago
Gabor Juhos 7f9d2292fa ar71xx: add user-space support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38074
11 years ago
Gabor Juhos 5e3c7d14ec ar71xx: add user-space support for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38064
11 years ago
Gabor Juhos 3d4b042c4b ar71xx: add user-space support for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38060
11 years ago
Luka Perkov 5064c81457 ar71xx: add support for hornet-ub-x2
The hornet-ub-x2 is hornet-ub variant with double more flash and ram.

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

SVN-Revision: 37788
11 years ago
John Crispin eb7669fc5d ar71xx: fix TL-WR710N board detection
Fix for recognize TL-WR710N

http://patchwork.openwrt.org/patch/3946/

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

SVN-Revision: 37782
11 years ago
John Crispin f835cb6cc4 ar71xx: remove duplicate dir505 entry from board detection code
https://dev.openwrt.org/ticket/14006

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

SVN-Revision: 37723
11 years ago
John Crispin 553a469728 ar71xx: add support for dir 505 a1
this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

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

SVN-Revision: 37703
11 years ago
Gabor Juhos 41d136f2c8 ar71xx: add user-space support for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37576
11 years ago
Gabor Juhos 5f5257e234 ar71xx: add user-space support for the TL-WR710N board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37573
11 years ago
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
11 years ago
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
11 years ago
John Crispin 39531131a9 ar71xx: add carambola2 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37260
11 years ago
Gabor Juhos 50c59c4797 ar71xx: add user-space support for RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36793
11 years ago
Gabor Juhos 35b5b38316 ar71xx: add user-space support for TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36789
11 years ago
Gabor Juhos c4d0a49348 ar71xx: typo in detect TL-MR10U/TL-MR11U
At offset 0x40, signature for TL-MR10U/TL-MR11U begin
from 0x00, not 0x10/0x11.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36727
11 years ago
Gabor Juhos 0842478e44 ar71xx: add TP-LINK TL-MR10U
Small router with 4MB flash, 32MB RAM
http://www.tp-link.com.cn/product_300.html

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36722
11 years ago
Gabor Juhos 852b8e9490 ar71xx: add user-space model detection for the RNX-N360RT board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36581
11 years ago
Gabor Juhos 33a2cbfd5c ar71xx: add user-space support for Netgear WNDAP360
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36579
11 years ago
Gabor Juhos 7c2632fbc5 ar71xx: add user-space support for WNR2000v3
Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36461
11 years ago
Gabor Juhos 7c4e2c1f72 ar71xx: add user-space support for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36457
11 years ago
Gabor Juhos 2998abab7c ar71xx: add user-space support for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3442/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35962
11 years ago
Gabor Juhos 3fa3cbae7c ar71xx: add user space support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35958
11 years ago
Luka Perkov a5ebfc79ba ar71xx: rework changes from r35840
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35865
11 years ago
Luka Perkov 107e0c6d1f ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35840
11 years ago
Gabor Juhos ea71239d8a ar71xx: add model detection for the TL-WA830RE board
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35788
11 years ago
Gabor Juhos 4215b1c93c ar71xx: add user-space support for the Mikrotik RB951G board
[juhosg: change rb-951g to rb-951g-2hnd in the scripts]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35634
11 years ago
Gabor Juhos 2af995ba1d ar71xx: add user-space support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35429
11 years ago
Gabor Juhos 119dc460a3 ar71xx: add user-space support for TL-WDR3500 board
Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35424
11 years ago
Gabor Juhos 2a5193308f ar71xx: add user space support for dir-825-c1
[juhosg: fix whitespaces in some scripts]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35402
11 years ago
Gabor Juhos 5d4ddbce72 ar71xx: add user-space support for the AP132 board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35396
11 years ago
Gabor Juhos 22ce389e6a ar71xx: add TP-LINK WA-801ND to run-time model detection
A small cosmetic fix to show the HW model name correctly in LuCI.

Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35365
11 years ago
Gabor Juhos dddf05bde2 ar71xx: Add userspace support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34918
12 years ago
Gabor Juhos f3f05d86fe ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34885
12 years ago
Gabor Juhos c887a7fe4e ar71xx: rename AP136 to AP136-010
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34883
12 years ago
Gabor Juhos b1b7aa674e ar71xx: add user-space support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: add uci-defaults/network support]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34780
12 years ago
Gabor Juhos abbd18776e ar71xx: add user-space support for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34728
12 years ago
Gabor Juhos dcdfcb75f0 ar71xx: add user-space support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34649
12 years ago
Gabor Juhos 47f9b2a110 ar71xx: TP-LINK also has a family TL-WDR
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34577
12 years ago
Gabor Juhos 169e596268 ar71xx: add user-space support for the RB435G board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34240
12 years ago
Gabor Juhos c3174179b7 ar71xx: add user-space support for the OpenMesh MR600 board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34232
12 years ago
Gabor Juhos 9c5c079329 ar71xx: add user-space support for the Ubiquiti UniFi AP-Outdoor board
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34197
12 years ago
Gabor Juhos 165b7d2173 ar71xx: user space support for the TL-WA7510N
[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34188
12 years ago
Gabor Juhos 9287e0c863 ar71xx: add user-space part for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33957
12 years ago
Gabor Juhos c5a32cfc92 ar71xx: add support for the OpenMesh OM2P-HS board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33800
12 years ago
Gabor Juhos 02a85dfd85 ar71xx: user-space support for TL-WR841N/ND v8
SVN-Revision: 33622
12 years ago
Gabor Juhos e70ad61e44 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

SVN-Revision: 33535
12 years ago
Gabor Juhos 9a11f882d7 ar71xx: revert DIR-825-B1 wholeflash image support.
It should be implemmented in a cleaner way.

This reverts the following commits:
[ar71xx] dir-825-b1: Fix wholeflash images
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash"

SVN-Revision: 33459
12 years ago
Daniel Dickinson 0f254b4b67 dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
SVN-Revision: 33447
12 years ago
Gabor Juhos aa2f4d4c8d ar71xx: add initial support for RB2011UAS-2HnD
SVN-Revision: 33349
12 years ago
Gabor Juhos 6ae5ec16e0 ar71xx: add preliminary support for Mikrotik RB2011L
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.

[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 33344
12 years ago
Daniel Dickinson c3b7139ab2 dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
SVN-Revision: 33326
12 years ago
Gabor Juhos 1d96b0275c ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33282
12 years ago
Gabor Juhos 8744f8d183 ar71xx: TEW-712BR user space support
SVN-Revision: 33232
12 years ago
Gabor Juhos 5a694e09c8 ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

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

SVN-Revision: 33224
12 years ago
Gabor Juhos 0517183b9c ar71xx: add support for TP-Link TL-WDR3600
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

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

SVN-Revision: 33219
12 years ago
Gabor Juhos 563400ef10 ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code]

Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32934
12 years ago
Gabor Juhos 010aec0619 ar71xx: Buffalo WLAE-AG300N initial support
The patch set for Buffalo WLAE-AG300N initial support.

There is another patch for wireless led support that
is posted separately.

Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.

[juhosg: fix coding style]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32931
12 years ago
Gabor Juhos 7daf851adf ar71xx: fix PB44 board detection
SVN-Revision: 32737
12 years ago
Gabor Juhos 33220828dc ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0
The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is
identical, but requires different firmware headers:

TL-WDR4300:
00000040  43 00 00 01 00 00 00 01  00 00 00 00 76 fb 83 40  |C...........v..@|

TL-WDR4310:
00000040  43 10 00 01 00 00 00 01  00 00 00 00 38 2b 50 6c  |C...........8+Pl|

[juhosg: change commit message, use a different model name]

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>

SVN-Revision: 32683
12 years ago
Gabor Juhos 797944d3f1 ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32611
12 years ago
Gabor Juhos b219848bfc ar71xx: AP136 user-space support
SVN-Revision: 32608
12 years ago
Gabor Juhos 2d97a52045 ar71xx: add user space support for the TL-WDR4300
SVN-Revision: 32460
12 years ago
Gabor Juhos 27fea0b6d7 ar71xx: correctly detect NETGEAR WNDRMAC
This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32453
12 years ago
Felix Fietkau 26cf21df02 ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
SVN-Revision: 32447
12 years ago
Gabor Juhos 758f670376 ar71xx: add support for TP-Link TL-MR3040
Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.

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

SVN-Revision: 31845
12 years ago
Gabor Juhos ab897ab04e ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31608
12 years ago
Gabor Juhos e295a077ce ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnD
Great collaboration on these two fantastic routers on the openwrt forum:
https://forum.openwrt.org/viewtopic.php?id=32320
Above all kudos to aryufan. Well done and thank you everyone else who
contributed.

To-Do: LED for wlan is not yet activated
To-Do: TxPower over 20dBm (RB751U) or 22dBm (RB751G) are not accepted by
the router

Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com>
[juhosg: fix line wrapped patch, fix checkpatch errors, add missing
kernel patches]

SVN-Revision: 31208
12 years ago
Gabor Juhos 8a2e4b49de ar71xx: add initial support for RB750GL
SVN-Revision: 31025
12 years ago
Gabor Juhos 6036151187 ar71xx: add support for the jjPlus JA76PF2 board
SVN-Revision: 30957
12 years ago
Gabor Juhos 1c57a22aae ar71xx: add model detection for TL-WR842N/ND
SVN-Revision: 30507
12 years ago
Felix Fietkau 61f48beadd ar71xx: fix db120 board detection
SVN-Revision: 30408
12 years ago
Gabor Juhos 48e85cd47b ar71xx: add support for the TRENDNet TEW-673GRU board
SVN-Revision: 30376
12 years ago
Gabor Juhos faeca86e50 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>

SVN-Revision: 29973
12 years ago
Gabor Juhos 97e4ddd012 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>

SVN-Revision: 29972
12 years ago
Florian Fainelli eeb00634a7 add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

SVN-Revision: 29935
12 years ago
Gabor Juhos e1e84badaa 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>

SVN-Revision: 29912
13 years ago
Gabor Juhos a1dcbc66a6 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

SVN-Revision: 29680
13 years ago
Gabor Juhos 1e848b17ad ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29669
13 years ago
Gabor Juhos b8f0d86115 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.

SVN-Revision: 29662
13 years ago
Gabor Juhos 2f53f82203 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.

SVN-Revision: 29658
13 years ago
Gabor Juhos 301b1b4f92 ar71xx: show correct model name on TL-WA701N/ND boards
SVN-Revision: 29657
13 years ago
Gabor Juhos 1045c83527 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>

SVN-Revision: 29651
13 years ago
Gabor Juhos 1e68f10b87 ar71xx: add support for the ALFA Network N2/N5 boards
SVN-Revision: 29635
13 years ago
Felix Fietkau 0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
13 years ago
Gabor Juhos b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
13 years ago
Gabor Juhos 058998acdb 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>

SVN-Revision: 29513
13 years ago
Gabor Juhos 8eb8a6e1e7 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>

SVN-Revision: 29472
13 years ago
Gabor Juhos f7a482d382 ar71xx: add TP-Link board detection
SVN-Revision: 29459
13 years ago
Gabor Juhos c6bcf8d1d8 ar71xx: verify hardware id of firmware images on TP-Link boards
SVN-Revision: 29455
13 years ago
Felix Fietkau 1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
13 years ago
Gabor Juhos 4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
13 years ago
Gabor Juhos 5177814ade ar71xx: change user-space board detection
SVN-Revision: 29432
13 years ago
Gabor Juhos f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
13 years ago
Gabor Juhos c20d7378e5 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>

SVN-Revision: 29326
13 years ago
Gabor Juhos d461fdd519 ar71xx: add diag support for the DB120 board
SVN-Revision: 28975
13 years ago
Gabor Juhos a801d620a7 ar71xx: add support for the Buffalo WHR-HP-GN board
SVN-Revision: 28805
13 years ago
Gabor Juhos 4509af17ed ar71xx: add support for the Buffalo WHR-G301N board
SVN-Revision: 28803
13 years ago
Gabor Juhos 91f08d47c2 ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet.

SVN-Revision: 28706
13 years ago
Gabor Juhos 1646346798 ar71xx: add initial support for the OpenMesh OM2P board
Based on a patch by Marek Lindner <marek@open-mesh.com>

SVN-Revision: 28617
13 years ago
Gabor Juhos 9d51cda2db ar71xx: Buffalo WHR-HP-G300N kernel support
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0 RX 0

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 28567
13 years ago
Gabor Juhos d96e321bd1 ar71xx: add kernel support for the Allnet ALL0258N board
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.

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

SVN-Revision: 28564
13 years ago
Jonas Gorski a136b67604 linux: ar71xx: add support for Mikrotik Routerboard RB493G
SVN-Revision: 28423
13 years ago
Gabor Juhos 733399600f ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

SVN-Revision: 28277
13 years ago