Rename from OpenWrtDocs/Hardware/Airlink/AR525W
Airlink101 AR525W
NOTE: Many of these units will stop functioning altogether after operating awhile, with no obvious way to get them working again. This problem is completely irrespective of what firmware they may be running. If you open the router, you will find that the RFI shield on the MiniPCI card is hot to the touch when this happens. Press a chemical cold-pack against that part while it's running. As long as cold remains applied directly to the RFI shield, the unit will operate as intended, indefinitely.
GPL tarball : http://www.airlink101.com/gpl/ar525w/
JTAG Port
This model has an unpopulated 6-pin header that exposes a JTAG port. The pins are listed below:
Pin 1 |
Vddh |
Pin 2 |
Vss |
Pin 3 |
TDO |
Pin 4 |
TMS |
Pin 5 |
TDI |
Pin 6 |
TCK |
Board view, component side:
[TCK] [TDI] [TMS] [TDO] [Vss] [3.3]
Serial Ports
This model has an unpopulated 9-pin header that exposes a 3.3V serial port. Some pins are listed below:
Pin 1 |
Tx |
Pin 2 |
3.3V |
Pin 3 |
|
Pin 4 |
3.3V |
Pin 5 |
|
Pin 6 |
GND |
Pin 7 |
Rx |
Pin 8 |
GND |
Pin 9 |
|
|
|
Board view, component side:
[ ] [RX ] [ ] [ ] [TX ] <
[GND] [GND] [Vcc] [Vcc]
Serial connection parameters are : 38400,8N1
The bootloader is RedBoot, and is a highly modified version by Dante Su. No sources are provided yet for RedBoot, only an incorrect binary image in the GPL tarball. Equivalent source is on the LinkSys FTP site.
THIS UNIT REQUIRES A CONVERTER TO COMMUNICATE WITH THE SERIAL PORT. See this thread for details: http://forum.x-wrt.org/index.php/topic,641.0.html GPL Tarball located here: http://www.airlink101.com/gpl/
Power Supply
The manufacturer's website says this unit runs on 12V@1A, with no specified polarity. other websites say this unit runs on 5V. I'm successfully running mine using a power adapter that provides 5V@2A, with a positive tip. The power adapter that comes with it says 12V@500mA.
Update 09/01/2008 , from bonafide :
...To add to this confusion, the power adapter on the ar525w I acquired reads 12V@500mA, yet measured 17+V. The client who didn't want it was complaining about connection problems. So I chucked the weird PS and hooked the ar525w up to a 12V supply. It's running well, without excessive heat on the RALink wireless miniPCI card so far.
Boot Log
+Ethernet eth0: MAC address 00:00:01:02:03:04 IP: 192.168.1.1/255.255.255.0, Gateway: 192.168.1.254 Default server: 0.0.0.0 RedBoot(tm) bootstrap and debug environment [ROM] Non-certified release, version v2_0 - built 18:31:11, Aug 4 2005 Platform: PC (I386) Copyright (C) 2000, 2001, 2002, Red Hat, Inc. RAM: 0x00000000-0x000f0000, 0x00072ed0-0x000a0000 available ver 00:0003 05-24-05 <press Ctrl+C to enter prompt mode> # Activate RDC-Keilven's RS232 Patch V2 RedBoot> # Kernel size = 721702 bytes # FW size = 2823008 bytes # fwcheck: base = 0x00400000, size = 0x00000400 # Firmware Checksum O.K # Kernel copying......BEGIN # Kernel copying......FINISH mem_size: 1000000 Linux version 2.4.29 (terence@cvs2) (gcc version 3.4.1) #123 Tue Aug 2 11:54:21 CST 2005 BIOS-provided physical RAM map: BIOS-e801: 0000000000000000 - 000000000009f000 (usable) BIOS-e801: 0000000000100000 - 0000000001000000 (usable) 16MB LOWMEM available. On node 0 totalpages: 4096 zone(0): 4096 pages. zone(1): 0 pages. zone(2): 0 pages. DMI not present. Kernel command line: console=ttyS0,38400 root=/dev/mtdblock1 noinitrd Initializing CPU#0 #sysinit: [sysinit] BusyBox v1.00 (2005.08.02-03:56+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. # Using /etc/resetDefault.o This is the parent process, pid = 28 # update nvram with default list! # interfaces_init...... Using /etc/rt61ap.o This is the child process, pid = 31 Setting ra0 configuration.... CountryRegion=5 BssidNum=1 SSID=airlink WirelessMode=0 TxRate=0 Channel=6 BeaconPeriod=100 DtimPeriod=1 TxPower=100 BGProtection=0 RTSThreshold=2346 FragThreshold=2346 TxBurst=1 ShortSlot=1 PktAggregate=1 NoForwarding=0 NoForwardingBTNBSSID=0 HideSSID=0 Key1Type=0 Key1Str= Key2Type=0 Key2Str= Key3Type=0 Key3Str= Key4Type=0 Key4Str= WdsEnable=0 AutoChannelSelect=0 RekeyInterval=3600 WPAPSK= AccessPolicy0=0 RADIUS_Server=0.0.0.0 RADIUS_Port=1812 RADIUS_Key= own_ip_addr=192.168.1.1 session_timeout_interval=0 DisableOLBC=1 AuthMode=WEPAUTO EncrypType=NONE DefaultKeyID=1 BasicRate=15 IEEE8021X=0 # lan services init...... Start UPnP # wan_init...... Configuration file: /var/RT61AP/RT61AP.dat conf->SsidNum=1 IP address: '0.0.0.0' RADIUS_Port: '1812' Line 36: empty shared secret is not allowed. RADIUS_Key: '', Key_len: 0 session_timeout policy = not use Read Session Timeout Interval 0 seconds. Set Session Timeout Interval 3600 seconds. 1 errors found in configuration file '/var/RT61AP/RT61AP.dat' Could not allocate memory for rtapd->conf httpd : This is httpd...ssl_enabled is 0
Flashing OpenWrt
The RDC-321x SoC support is not included in the kamikaze 7.0x releases, but is in trunk. So you have to checkout the latest trunk.
Run make menuconfig, then in Target, choose "RDC321x x86 [2.6]" and Target Profile "Airlink101 AR525W". Run the build process with "make".
You should flash this image using TFTP : bin/openwrt-rdc-jffs2-64k-ar525w.img and this one using the web interface : bin/openwrt-rdc-jffs2-64k-ar525w-web.img
Myself and others have not had much luck with these images and have rendered the network interfaces disabled on the 525W after flashing. Please see http://forum.x-wrt.org/index.php/topic,641.0.html for details of our experiences and instructions on returning your 525W to the original firmware. BTW, the 525W is picky about the browser you use for the GUI flash, stick with IE for this unit.
Update 05/28/2008 , from Bruce :
I got the ethernet ports working tweaking the driver for r6040. I'll post all the procedure on the following thread : http://forum.x-wrt.org/index.php?topic=865.0 I have one airlink 525 running with openwrt, and the other one being use for development.
Update 09/01/2008 , from bonafide :
...it is unfortunately true that Mozilla chokes on the IE-centric web-based firmware upgrade. I had to use M$ to go that route to flash the unit. Ick.
But otherwise trunk is working just fine.
Bootlog :
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version v2_0 - built 18:31:11, Aug 4 2005
Platform: PC (I386)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
RAM: 0x00000000-0x000f0000, 0x00072ed0-0x000a0000 available
ver 00:0003 05-24-05
<press Ctrl+C to enter prompt mode>
# Activate RDC-Keilven's RS232 Patch V2
RedBoot>
# Kernel size = 752160 bytes
# FW size = 2214464 bytes
# fwcheck: base = 0x00400000, size = 0x00000400
# Firmware Checksum O.K
# Kernel copying......BEGIN
# Kernel copying......FINISH
mem_size: 1000000
Uncompressing Linux
Done, booting
Linux version 2.6.24.7 (ffainelli@jumper) (gcc version 4.1.2) #1 Wed Aug 13 17:22:20 CEST 2008
BIOS-provided physical RAM map:
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
BIOS-e801: 0000000000100000 - 0000000001000000 (usable)
16MB LOWMEM available.
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 4096
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 4096
DMI not present or invalid.
Allocating PCI resources starting at 10000000 (gap: 01000000:ff000000)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: console=ttyS0,38400 root=/dev/mtdblock1 noinitrd init=/etc/preinit
Initializing CPU#0
PID hash table entries: 64 (order: 6, 256 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13952k/16384k available (1259k kernel code, 2044k reserved, 343k data, 136k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xffffa000 - 0xfffff000 ( 20 kB)
vmalloc : 0xc1800000 - 0xffff8000 ( 999 MB)
lowmem : 0xc0000000 - 0xc1000000 ( 16 MB)
.init : 0xc0294000 - 0xc02b6000 ( 136 kB)
.data : 0xc023aebd - 0xc0290cfc ( 343 kB)
.text : 0xc0100000 - 0xc023aebd (1259 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Mount-cache hash table entries: 512
Compat vDSO mapped to ffffe000.
CPU: 486
Checking 'hlt' instruction... OK.
Freeing SMP alternatives: 0k freed
net_namespace: 64 bytes
NET: Registered protocol family 16
PCI: Using configuration type 1
Setting up standard PCI resources
PCI: Probing PCI hardware
Time: pit clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
rdc321x: init success
Total HugeTLB memory allocated, 0
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
Non-volatile memory driver v1.2
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
flash device: 400000 at ffc00000
RDC3210 Flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
RDC3210 Flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 4 MTD partitions on "RDC3210 Flash":
0x00000000-0x003e0000 : "linux"
0x000b7a40-0x00220000 : "romfs"
mtd: partition "romfs" doesn't start on an erase block boundary -- force read-only
0x00220000-0x003e0000 : "rootfs_data"
0x003e0000-0x00400000 : "bootldr"
Registered led device: rdc321x:dmz
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Using IPI Shortcut mode
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
- preinit -
Press CTRL-C for failsafe
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
- init -
Please press Enter to activate this console. PPP generic driver version 2.4.2
ipt_time loading
<6>r6040: RDC R6040 NAPI net driver,version 0.19 (16Jun2008)
r6040: debug 0
<6>r6040: RDC R6040 NAPI net driver,version 0.19 (16Jun2008)
r6040: debug 0
br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth1 entered promiscuous mode
br-lan: port 1(eth1) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth1) entering forwarding state
BusyBox v1.8.2 (2008-08-12 16:27:52 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r12285) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into Link Change x9022
10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/#