Commit Graph

197 Commits (fff02e6ea8cfd10d4d572a431f507785730cb461)

Author SHA1 Message Date
Gabor Juhos 557009bbdb ar71xx: fix LEDs on the WRT400N
SVN-Revision: 29624
2011-12-31 13:54:11 +00:00
Gabor Juhos 76dacee995 ar71xx: enable sysupgrade support for airrouter
Works for me! ;-)

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

SVN-Revision: 29614
2011-12-27 16:59:43 +00:00
Gabor Juhos c6ee919b2a ar71xx: fix sysupgrade on PB42/PB44 boards
SVN-Revision: 29613
2011-12-27 16:57:01 +00:00
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
2011-12-21 19:32:40 +00:00
Felix Fietkau 0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
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
2011-12-15 22:25:38 +00:00
Gabor Juhos b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
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
2011-12-13 14:59:40 +00:00
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
2011-12-07 06:55:39 +00:00
Gabor Juhos f7a482d382 ar71xx: add TP-Link board detection
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos c6bcf8d1d8 ar71xx: verify hardware id of firmware images on TP-Link boards
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
Felix Fietkau 1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
Gabor Juhos 4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich 78699c2e51 add some missing wndr3800 base-files definitions
SVN-Revision: 29433
2011-12-05 12:56:21 +00:00
Gabor Juhos 5177814ade ar71xx: change user-space board detection
SVN-Revision: 29432
2011-12-05 12:56:20 +00:00
Gabor Juhos f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos 0612667c34 ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29394
2011-12-01 22:48:59 +00:00
Gabor Juhos 39348e387f ar71xx: use /lib/functions/uci-defaults.sh
SVN-Revision: 29385
2011-12-01 22:48:47 +00:00
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
2011-11-24 20:09:38 +00:00
Gabor Juhos d461fdd519 ar71xx: add diag support for the DB120 board
SVN-Revision: 28975
2011-11-12 10:54:10 +00:00
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
2011-11-12 10:54:04 +00:00
Gabor Juhos 87704b8078 ar71xx: create TL-WA901ND network config from uci-defaults
SVN-Revision: 28833
2011-11-07 21:44:24 +00:00
Gabor Juhos 09fdfa444f ar71xx: create ALL0258N network config from uci-defaults
SVN-Revision: 28832
2011-11-07 21:44:23 +00:00
Gabor Juhos 63348f5fed ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
SVN-Revision: 28831
2011-11-07 21:44:20 +00:00
Gabor Juhos c3692c8331 ar71xx: create WZR-HP-G300NH network config from uci-defaults
SVN-Revision: 28830
2011-11-07 21:44:17 +00:00
Gabor Juhos ee1a07a11d ar71xx: create RB-493G network config from uci-defaults
SVN-Revision: 28829
2011-11-07 21:44:12 +00:00
Gabor Juhos d82d063d81 ar71xx: create TL-WR1043ND network config from uci-defaults
SVN-Revision: 28828
2011-11-07 21:44:11 +00:00
Gabor Juhos 68be590894 ar71xx: create WRT160NL network config from uci-defaults
SVN-Revision: 28827
2011-11-07 21:44:09 +00:00
Gabor Juhos 83901e47c9 ar71xx: create PB92 network config from uci-defaults
SVN-Revision: 28826
2011-11-07 21:44:08 +00:00
Gabor Juhos 22ab9fc9ad ar71xx: create DIR-825-B1 network config from uci-defaults
SVN-Revision: 28825
2011-11-07 21:44:07 +00:00
Gabor Juhos e866ba5753 ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
SVN-Revision: 28824
2011-11-07 21:44:03 +00:00
Gabor Juhos 9298c7afe5 ar71xx: create RB-450 network config from uci-defaults
SVN-Revision: 28823
2011-11-07 21:44:02 +00:00
Gabor Juhos ac256f97bd ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
SVN-Revision: 28822
2011-11-07 21:44:01 +00:00
Gabor Juhos 944ac3f6cf ar71xx: create RB-433{,U} network config from uci defaults
SVN-Revision: 28821
2011-11-07 21:43:58 +00:00
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
2011-11-07 21:43:56 +00:00
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
2011-11-07 21:43:54 +00:00
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
2011-11-07 21:43:52 +00:00
Gabor Juhos 0a8e5dbf7b ar71xx: create generic network config from an uci-defaults script
SVN-Revision: 28817
2011-11-07 21:43:51 +00:00
Gabor Juhos 54c034ae7a ar71xx: remove AP81 defconfig, it is the same as the generic config
SVN-Revision: 28816
2011-11-07 21:34:33 +00:00
Gabor Juhos eb9ef60e2d ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
SVN-Revision: 28812
2011-11-07 20:25:00 +00:00
Gabor Juhos 8456840d82 ar71xx: wrap long lines in the upgrade script
SVN-Revision: 28811
2011-11-07 20:24:59 +00:00
Gabor Juhos b27254a2c5 ar71xx: add default network configuration for the WHR-HP-GN
SVN-Revision: 28807
2011-11-07 13:32:43 +00:00
Gabor Juhos a801d620a7 ar71xx: add support for the Buffalo WHR-HP-GN board
SVN-Revision: 28805
2011-11-07 12:59:10 +00:00
Gabor Juhos 4509af17ed ar71xx: add support for the Buffalo WHR-G301N board
SVN-Revision: 28803
2011-11-07 12:59:07 +00:00
Gabor Juhos 91f08d47c2 ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet.

SVN-Revision: 28706
2011-11-01 11:20:52 +00:00
Gabor Juhos 43e2e2e4ef ar71xx: combine LEDs setup in one file
SVN-Revision: 28704
2011-11-01 11:20:49 +00:00
Gabor Juhos f372620ffa ar71xx: unify LED names on Planex boards
SVN-Revision: 28703
2011-11-01 11:20:47 +00:00
Gabor Juhos 66ab406d5a ar71xx: unify LED names on Buffalo boards
SVN-Revision: 28702
2011-11-01 11:20:46 +00:00
Gabor Juhos e7586959df ar71xx: unify LED names on TP-Link boards
SVN-Revision: 28701
2011-11-01 11:20:44 +00:00
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
2011-11-01 09:23:32 +00:00