Commit Graph

439 Commits (9473673ae33c0d856124ffcb10fefefdc61c82e7)

Author SHA1 Message Date
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 64d31e6c6b ar71xx: register the second ethernet interface on the AP136
Also fix the default network configuration
according to the new setup.

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

SVN-Revision: 34854
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
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 33a99ce46b ar71xx: install lzma compressed elf kernel image from wget2nand
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34273
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 9da2c85b67 ar71xx: enable sysupgrade for the OpenMesh MR600
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34235
12 years ago
Gabor Juhos 6380301d01 ar71xx: rename om2p.sh upgrade script to openmesh.sh
It will be used on other boards as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34234
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 3a86affcdd ar71xx: enable sysupgrade for the CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33960
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 ff481a5518 ar71xx: reject TP-Link images containing a bootloader
The original TP-Link firmware images can be flashed via
the sysupgrade command, however those may contain a
bootloader. Flashing such an image via sysupgrade
bricks the board, and it can't be recovered without
a serial console.

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

SVN-Revision: 33944
12 years ago
Gabor Juhos 35a91a4fe8 ar71xx: OM2P-HS sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33803
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 f1283d8583 ar71xx: fix sysupgrade for jjPlus JWAP003
[juhosg: change commit message]

Signed-off-by: Artur Wronowski <arteqw@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33769
12 years ago
Gabor Juhos 1944f7b916 ar71xx: ew-dorin: added ethernet switch configuration
Signed-off-by: embedded wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33768
12 years ago
Gabor Juhos 02a85dfd85 ar71xx: user-space support for TL-WR841N/ND v8
SVN-Revision: 33622
12 years ago
Gabor Juhos ffc0ea6c5d ar71xx: create 'fat' images for the DIR-825/TEW-673GRU boards
With these images, it is possible to use the 'unused'
partition of the flash. The 'fat' images can be installed
with the sysupgrade command. When a 'fat' image is
installed from a regular one, the platform specific
sysupgrade script copies the calibration data to the
end of the flash. Likewise, when a regular image is
installed  from the 'fat' version the sysupgrade script
copies the calibration data back to the original location.

SVN-Revision: 33540
12 years ago
Gabor Juhos e2504a977a ar71xx: add missing backslash to uci-defaults/leds (closes #12240)
SVN-Revision: 33537
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 02cb5f9dcd ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
SVN-Revision: 33308
12 years ago
Gabor Juhos 5fdbb33db4 ar71xx: Buffalo WZR-HP-AG300H LED support
An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

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

SVN-Revision: 33294
12 years ago
Gabor Juhos 4079f3163f ar71xx: sysupgrade for the ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33285
12 years ago
Gabor Juhos abffa4ecfb ar71xx: rename all0258n.sh to allnet.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33284
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 182a18a369 ar71xx: setup WLAN LED for the TL-WA901ND v2
Closes #11889.

SVN-Revision: 33202
12 years ago
Gabor Juhos 5fc4b7f5fd ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33165
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 1af4fd7660 ar71xx: Buffalo WLAE-AG300N wireless led patch
Here is the uci-defaults version of the led support for
the Buffalo WLAE-AG300N.

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

SVN-Revision: 32932
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 b020a7e7c3 ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32635
12 years ago
Gabor Juhos b2f0476871 ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32613
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
Luka Perkov 7f00e5ffc6 uboot-envtools: update to 2012.04.01
SVN-Revision: 32051
12 years ago
Gabor Juhos cd7ab1d30b ar71xx: add default LED setup for the DB120 board
SVN-Revision: 31997
12 years ago
Gabor Juhos 4e40bdc190 ar71xx: use the generic uci-default functions for initial LED setup
SVN-Revision: 31992
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 59b0c1b2b9 ar71xx: TL-WR741NDv4: add WLAN LED config
On TP-Link TL-WR741ND version 4, the WLAN LED must be configured to work.

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

SVN-Revision: 31461
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 fe6d66afe2 ar71xx: add rb750 to diag.sh
Support status led in diag.sh for RB750

Patch from: Evangelos Arkalis <arkalis.e@gmail.com>

SVN-Revision: 31207
12 years ago
Gabor Juhos e6b685650b ar71xx: use modules for LED triggers
SVN-Revision: 31107
12 years ago
Gabor Juhos 8a2e4b49de ar71xx: add initial support for RB750GL
SVN-Revision: 31025
12 years ago
Gabor Juhos 6ac12fbb3c ar71xx: use AR8327 on the DB120 board
SVN-Revision: 31012
12 years ago
Gabor Juhos 6036151187 ar71xx: add support for the jjPlus JA76PF2 board
SVN-Revision: 30957
12 years ago
Gabor Juhos a680662391 ar71xx: change LED name prefix on the jjplus boards
SVN-Revision: 30956
12 years ago
Felix Fietkau c918810414 ar71xx: switch to kmod-gpio-button-hotplug
SVN-Revision: 30660
13 years ago
Gabor Juhos 1c57a22aae ar71xx: add model detection for TL-WR842N/ND
SVN-Revision: 30507
13 years ago
Felix Fietkau 61f48beadd ar71xx: fix db120 board detection
SVN-Revision: 30408
13 years ago
Gabor Juhos 48e85cd47b ar71xx: add support for the TRENDNet TEW-673GRU board
SVN-Revision: 30376
13 years ago
Gabor Juhos 41bd6bd282 ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
SVN-Revision: 29978
13 years ago
Gabor Juhos dd47afc197 ar71xx: fix ethernet LEDs on the DIR-600-A1 board
SVN-Revision: 29975
13 years ago
Gabor Juhos 8200f0c61a ar71xx: unify LED names on D-Link boards
SVN-Revision: 29974
13 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
13 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
13 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
13 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 038d4e0d77 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>

SVN-Revision: 29905
13 years ago
Gabor Juhos 23e1b451dc ar71xx: preset WLAN LED config on MZK-W300NH
SVN-Revision: 29896
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 f638c6207b ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
SVN-Revision: 29672
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 84cd8a5ee0 ar71xx: fix RB-750 network configuration
SVN-Revision: 29668
13 years ago
Gabor Juhos 232eb83f74 ar71xx: fix LED configuration on the RB-750
SVN-Revision: 29666
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 72019009c7 ar71xx: fix network configuration for the TL-WA901N/ND boards
SVN-Revision: 29654
13 years ago
Gabor Juhos 90bfef9ec9 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
SVN-Revision: 29653
13 years ago
Gabor Juhos 5eb502d9c1 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

SVN-Revision: 29652
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
Gabor Juhos 5c067db8a7 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
SVN-Revision: 29631
13 years ago
Gabor Juhos 557009bbdb ar71xx: fix LEDs on the WRT400N
SVN-Revision: 29624
13 years ago
Gabor Juhos 76dacee995 ar71xx: enable sysupgrade support for airrouter
Works for me! ;-)

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

SVN-Revision: 29614
13 years ago
Gabor Juhos c6ee919b2a ar71xx: fix sysupgrade on PB42/PB44 boards
SVN-Revision: 29613
13 years ago
Jonas Gorski 8799627ef0 ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Thanks netprince for reporting and testing.

SVN-Revision: 29595
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 67c7980290 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.

SVN-Revision: 29557
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
Jo-Philipp Wich 78699c2e51 add some missing wndr3800 base-files definitions
SVN-Revision: 29433
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 0612667c34 ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29394
13 years ago
Gabor Juhos 39348e387f ar71xx: use /lib/functions/uci-defaults.sh
SVN-Revision: 29385
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 8687fc3e41 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>

SVN-Revision: 28971
13 years ago
Gabor Juhos 87704b8078 ar71xx: create TL-WA901ND network config from uci-defaults
SVN-Revision: 28833
13 years ago
Gabor Juhos 09fdfa444f ar71xx: create ALL0258N network config from uci-defaults
SVN-Revision: 28832
13 years ago
Gabor Juhos 63348f5fed ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
SVN-Revision: 28831
13 years ago
Gabor Juhos c3692c8331 ar71xx: create WZR-HP-G300NH network config from uci-defaults
SVN-Revision: 28830
13 years ago
Gabor Juhos ee1a07a11d ar71xx: create RB-493G network config from uci-defaults
SVN-Revision: 28829
13 years ago
Gabor Juhos d82d063d81 ar71xx: create TL-WR1043ND network config from uci-defaults
SVN-Revision: 28828
13 years ago
Gabor Juhos 68be590894 ar71xx: create WRT160NL network config from uci-defaults
SVN-Revision: 28827
13 years ago
Gabor Juhos 83901e47c9 ar71xx: create PB92 network config from uci-defaults
SVN-Revision: 28826
13 years ago
Gabor Juhos 22ab9fc9ad ar71xx: create DIR-825-B1 network config from uci-defaults
SVN-Revision: 28825
13 years ago
Gabor Juhos e866ba5753 ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
SVN-Revision: 28824
13 years ago
Gabor Juhos 9298c7afe5 ar71xx: create RB-450 network config from uci-defaults
SVN-Revision: 28823
13 years ago
Gabor Juhos ac256f97bd ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
SVN-Revision: 28822
13 years ago
Gabor Juhos 944ac3f6cf ar71xx: create RB-433{,U} network config from uci defaults
SVN-Revision: 28821
13 years ago
Gabor Juhos 6e8390ae6c ar71xx: create even more network configs from the uci-defaults script
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.

SVN-Revision: 28820
13 years ago
Gabor Juhos b62560413a ar71xx: create more network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.

SVN-Revision: 28819
13 years ago
Gabor Juhos 6c92b26bac ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
a single ethernet interface.

SVN-Revision: 28818
13 years ago
Gabor Juhos 0a8e5dbf7b ar71xx: create generic network config from an uci-defaults script
SVN-Revision: 28817
13 years ago
Gabor Juhos 54c034ae7a ar71xx: remove AP81 defconfig, it is the same as the generic config
SVN-Revision: 28816
13 years ago
Gabor Juhos eb9ef60e2d ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
SVN-Revision: 28812
13 years ago
Gabor Juhos 8456840d82 ar71xx: wrap long lines in the upgrade script
SVN-Revision: 28811
13 years ago
Gabor Juhos b27254a2c5 ar71xx: add default network configuration for the WHR-HP-GN
SVN-Revision: 28807
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 43e2e2e4ef ar71xx: combine LEDs setup in one file
SVN-Revision: 28704
13 years ago
Gabor Juhos f372620ffa ar71xx: unify LED names on Planex boards
SVN-Revision: 28703
13 years ago
Gabor Juhos 66ab406d5a ar71xx: unify LED names on Buffalo boards
SVN-Revision: 28702
13 years ago
Gabor Juhos e7586959df ar71xx: unify LED names on TP-Link boards
SVN-Revision: 28701
13 years ago
Gabor Juhos 3a7b12a27d ar71xx/all0258n: sysupgrade support
U-Boot on the ALL0258N needs offset, size and md5 for kernel and rootfs to be
stored in the U-Boot environment.
If the checksums don't match during boot, a failsafe-system is booted instead.
This patch adds a board-specific sysupgrade hack for the all0258n which
calculates and updates the checksums for the U-Boot environment.

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

SVN-Revision: 28700
13 years ago
Gabor Juhos f40557a692 ar71xx/all0258n: add default config
This adds default network and uboot-env settings for the ALL0258N.

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

SVN-Revision: 28699
13 years ago
Gabor Juhos 06d9653b36 ar71xx: remove default network config of the mzk-w04nu board as well
It works with the generic config.

SVN-Revision: 28695
13 years ago
Gabor Juhos 693c777eaf ar71xx: remove LED setup of nonexistent interfaces on RB750
SVN-Revision: 28693
13 years ago
Gabor Juhos 2bcd612e72 ar71xx: remove default network config of the wnr2000 board
It is the same as the generic configuration.

SVN-Revision: 28692
13 years ago
Gabor Juhos 39b3bfcf6a ar71xx/sysupgrade: use $magic_long instead of $magic when comparing with a 32-bit value
Aparently $magic_long was meant here instead of $magic when comparing with
32-bit values.

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

SVN-Revision: 28678
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
Jo-Philipp Wich b61de9c865 base-files: make sure inittab-console-fixup returns with success (#10275)
SVN-Revision: 28562
13 years ago
Jonas Gorski a136b67604 linux: ar71xx: add support for Mikrotik Routerboard RB493G
SVN-Revision: 28423
13 years ago
Gabor Juhos e45d7d7006 ar71xx: enable login only on the system console by default
SVN-Revision: 28294
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
Gabor Juhos 85b858fae6 ar71xx: enable sysupgrade on the AP96 and DB120 boards
SVN-Revision: 27901
13 years ago
Gabor Juhos fb77134596 ar71xx: use the same test for AP121 and Zcomax sysupgrade images
SVN-Revision: 27900
13 years ago
Jonas Gorski e18ceb1dac ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

SVN-Revision: 27814
13 years ago
Felix Fietkau 7afed2d86c ar71xx: add wzr-hp-ag300h sysupgrade support (patch from #9650)
SVN-Revision: 27434
13 years ago
Jo-Philipp Wich 701543d3ef revert r27043 (#9513)
SVN-Revision: 27343
13 years ago
Jo-Philipp Wich 1edef5ec98 revert r27341, it introduce wrong behaviour for other models
SVN-Revision: 27342
13 years ago
Jo-Philipp Wich 3b3103b2f1 turn status LED off if device finished initializing
SVN-Revision: 27341
13 years ago
Felix Fietkau cc56af716c ar71xx: add default network config for wzr-hp-ag300h (based on a patch from #9607)
SVN-Revision: 27283
13 years ago
Vasilis Tsiligiannis 70106f153d Remove trailing spaces, convert spaces to tabs
SVN-Revision: 27153
13 years ago
Felix Fietkau 9160e06af5 ar71xx: override inittab to enable login on ttyATH0
SVN-Revision: 27128
13 years ago
Gabor Juhos 9e435c03e0 ar71xx: add sysupgrade support for the AP121 boards
SVN-Revision: 27069
13 years ago
Gabor Juhos 646937135f ar71xx: add default network config for the AP121 boards
SVN-Revision: 27068
13 years ago
Gabor Juhos 650c7cc2fd ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
SVN-Revision: 27043
13 years ago
Gabor Juhos 4834fdaccd ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
SVN-Revision: 27042
13 years ago
Gabor Juhos b39eebdf1e ar71xx: add uci config for the WLAN LED on the WRT160NL
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>

SVN-Revision: 26861
13 years ago
Gabor Juhos 858e2e719b ar71xx: use phy0tpt trigger for the WLAN LEDs
SVN-Revision: 26860
13 years ago
Felix Fietkau cbc75a9c70 ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
SVN-Revision: 26779
13 years ago
Alexandros C. Couloumbis f13581eedb linux/ar71xx: update wget2nand script
SVN-Revision: 26747
13 years ago
Gabor Juhos e193547733 ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
SVN-Revision: 26603
13 years ago
Gabor Juhos 54ede24829 ar71xx: Add support for WZR-HP-G301NH
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26601
13 years ago
Felix Fietkau 784d808d07 ar71xx: add default configuration for the switch on AP96
Enables forwarding of frames between the switch ports (eth0).
Patch by Jouni Malinen

SVN-Revision: 26180
14 years ago
Gabor Juhos 8eb616de82 ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

SVN-Revision: 26119
14 years ago
Gabor Juhos 67c3e0bf7e ar71xx: add support for the WNDR3700v2 board
Based on a patch by Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25118
14 years ago
Gabor Juhos 061228d73c ar71xx: make uci-default scripts executable
Reported-by: Nuno Gonçalves <nunojpg@gmail.com>

SVN-Revision: 24897
14 years ago
Claudio Mignanti 2c0596cd69 unifi: add sysupgrade and leds support
SVN-Revision: 24737
14 years ago
Gabor Juhos e7ea6387a3 ar71xx: use usbdev trigger for USB LEDs by default
SVN-Revision: 24648
14 years ago
Gabor Juhos a26c3e60e2 ar71xx: populate LED configuration for WZR-HP-G300NH
Signed-off-by: Dave Lichterman <laviddichterman@gmail.com>

[nand-disk trigger has been removed - juhosg]

SVN-Revision: 24642
14 years ago
Gabor Juhos a2a5598c00 ar71xx: add wlan led for the TL-WR941ND
SVN-Revision: 24612
14 years ago
Gabor Juhos 9f38f9bf76 ar71xx: add missing files for the JA76PF board
SVN-Revision: 24444
14 years ago
Gabor Juhos b680f088ba ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz

SVN-Revision: 24440
14 years ago
Gabor Juhos 5b0c83edd9 ar71xx: add support for the TP-LINK TL-MR3220 v1 board
SVN-Revision: 24439
14 years ago
Gabor Juhos 83834da33b ar71xx: add default network configuration file for the TL-MR3420
SVN-Revision: 24437
14 years ago
Gabor Juhos 081796fe47 ar71xx: add nbg460n image generation
This adds image generation for NBG460N/550N/550NH boards.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>

SVN-Revision: 24419
14 years ago
Jo-Philipp Wich 6f7e2d4ce8 tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
SVN-Revision: 24215
14 years ago
Felix Fietkau 5f3f1b8cd8 ar71xx: Configure WNDR3700 switch LED colors properly (#8103)
For WNDR3700, use green for 1Gb/s and amber for 100Mb/s and 10Mb/s on
the four LAN port switch LEDs. The LEDs will be lit to indicate a link
and will blink to indicate activity. This matches the stock firmware
and the description printed on the label on the unit's underside.

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

SVN-Revision: 23879
14 years ago
Felix Fietkau b3b2227869 Revert "ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)" on submitter's request
SVN-Revision: 23878
14 years ago
Felix Fietkau 77eee74d56 ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)
Make the WiFi LEDs blink for activity on the WNDR3700, matching the
stock firmware and user expectations. The green 2.4GHz and blue 5GHz
LEDs will illuminate with the radio on, and will blink to indicate
transmission and reception.

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

SVN-Revision: 23877
14 years ago
Felix Fietkau fc035b3cb6 ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
SVN-Revision: 23439
14 years ago
Felix Fietkau 3941621dbc ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)
SVN-Revision: 23432
14 years ago
Gabor Juhos 697f5d0bdd ar71xx: initial support for jjPlus JWAP003
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

(the GPIODEV code has been removed, the sysfs interface
can be used to control the GPIO lines instead - juhosg)

SVN-Revision: 23165
14 years ago
Gabor Juhos 32d12d5e5c ar71xx: add support for the TL-MR3420 v1 board
SVN-Revision: 23136
14 years ago
Felix Fietkau a7bb7dd99e Add support for Atheros AP96 reference board
This is still preliminary and not really tested much. Anyway, this
version seems to be enough to get both wired and wireless
interfaces working. Buttons and leds are also working.

mach-ap96.c is based on mach-wndr3700.c.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>

SVN-Revision: 23125
14 years ago
Gabor Juhos b4336a8e2d ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
SVN-Revision: 22882
14 years ago
Felix Fietkau 523fcf0497 ar71xx: add a new driver for the ar7240 switch using swconfig. hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563
SVN-Revision: 22675
14 years ago
Gabor Juhos e35f7ef51d ar71xx: add eap7660d board to diag.sh and sysupgrade
This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22644
14 years ago
Alexandros C. Couloumbis 9aef272f4a linux/ar71xx: add nanostation-m signature (thanks Antonio Anselmi)
SVN-Revision: 22631
14 years ago