1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-18 22:14:38 +03:00
Commit Graph

87 Commits

Author SHA1 Message Date
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
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
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
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
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
03dd4c25f7 ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:25:00 +00:00
juhosg
8c1109a28d ar71xx: wrap long lines in the upgrade script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:24:59 +00:00
juhosg
266baaf0dd ar71xx: add support for the Buffalo WHR-HP-GN board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:10 +00:00
juhosg
17990be972 ar71xx: add support for the Buffalo WHR-G301N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:07 +00:00
juhosg
77da44561c ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:52 +00:00
juhosg
11cfb889eb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 09:23:32 +00:00
juhosg
5a382347ed 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-30 13:06:30 +00:00
juhosg
85713e36cb ar71xx: add initial support for the OpenMesh OM2P board
Based on a patch by Marek Lindner <marek@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 07:54:51 +00:00
juhosg
c01dd82e04 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:26 +00:00
juhosg
61504e67d9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:21 +00:00
jogo
0f7b0ae7de linux: ar71xx: add support for Mikrotik Routerboard RB493G
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:16 +00:00
juhosg
5fdfc7948a ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:53 +00:00
juhosg
cc9b5b3507 ar71xx: enable sysupgrade on the AP96 and DB120 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:18 +00:00
juhosg
700dd5a8c6 ar71xx: use the same test for AP121 and Zcomax sysupgrade images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:17 +00:00
jogo
e5839cb102 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 11:57:51 +00:00
nbd
56e7a18c3e ar71xx: add wzr-hp-ag300h sysupgrade support (patch from #9650)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 03:03:34 +00:00
nbd
e00ba06f78 ar71xx: add default network config for wzr-hp-ag300h (based on a patch from #9607)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-25 13:54:42 +00:00
juhosg
165010d573 ar71xx: add sysupgrade support for the AP121 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:45 +00:00
juhosg
5d12cb1277 ar71xx: add default network config for the AP121 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:44 +00:00
nbd
118a9c5154 ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 21:27:42 +00:00
juhosg
ec1dcc5bda ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:21 +00:00
juhosg
b47906964d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:10 +00:00
juhosg
ae81dbbb22 ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:31 +00:00
juhosg
9e07cb05fa ar71xx: add support for the WNDR3700v2 board
Based on a patch by Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:42 +00:00
claudio
898076f479 [ar71xx] unifi: add sysupgrade and leds support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 17:28:34 +00:00
juhosg
9bdc5b83af ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:51 +00:00
juhosg
ddbca99fbc ar71xx: add support for the TP-LINK TL-MR3220 v1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:48 +00:00
juhosg
680d895a87 ar71xx: add nbg460n image generation
This adds image generation for NBG460N/550N/550NH boards.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 15:17:03 +00:00
juhosg
97627d06c5 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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 07:09:29 +00:00
juhosg
3628a161a5 ar71xx: add support for the TL-MR3420 v1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:59 +00:00
nbd
4fa1e52b3a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 08:59:53 +00:00
juhosg
006386c4b4 ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:37 +00:00
juhosg
4ebeeb5634 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 21:07:31 +00:00
nbd
e0673d1c94 ar71xx: fix sysupgrade on the ubnt nanostation m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 18:16:47 +00:00
nbd
858ebac7b8 ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 12:37:44 +00:00
juhosg
8119ffe60a ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
cshore
d1d038f985 ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:20:49 +00:00