OpenWrt Forum Archive

Topic: Airlink AR525w

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Anyone know what the status of getting this to work is?  I'm not a programmer but if anyones who wants to give it a whack and lives in orange county california I'll bring mine over so you can test it out.

Trahloc

I would like for this router to be able to use openwrt.

In particular, this router is made by one of the Fry's store brands. Because of this, it is periodically sold for insanely low prices. For example: last weekend, it sold for $30.

Does anybody have the serial pinout of this device ? I think pins 6 is GND and ping 5 is 3.3v

I tried to compile the provided source code from Airlink101.
The firmware image was created successfully, but when I flashed it the router stoped working.

I made myself a serial cable and saw the following:

+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 = 713181 bytes
# FW size = 2679296 bytes

# fwcheck: base = 0x00400000, size = 0x00000400 # Firmware Checksum O.K # Kernel copying......BEGIN # Kernel copying......FINISH

mem_size: 1000000
Linux version 2.4.29 (root@debian) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #180 Sun Oct 15 21:08:35 EEST 2006

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
Calibrating delay loop... 49.86 BogoMIPS
Memory: 14300k/16384k available (1042k kernel code, 1696k reserved, 207k data, 76k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
CPU: Cyrix Cx486SLC
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch
(rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
rdc: RDC R6040 net driver, version 0.6 (9July2004)
rdc: RDC R6040 net driver, version 0.6 (9July2004)
rdc: RDC R6040 net driver, version 0.6 (9July2004)
PPP generic driver version 2.4.2
flash device: 400000 at ffc00000
## Decide to use AMD/Fujitsu Standard command set.
## MFG ID = 0x007F, DEV ID = 0x22F6
Total size = 4 MB
Creating 5 MTD partitions on "RDC3210 Flash":
0x00000000-0x003c0000 : "linux"
0x000ae200-0x003c0000 : "romfs"
mtd: partition "romfs" doesn't start on an erase block boundary -- force read-only
0x003c0000-0x003d0000 : "nvram"
0x003d0000-0x003e0000 : "factory"
0x003e0000-0x00400000 : "bootldr"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.1 (8192 buckets, 65536 max) - 340 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_time loading
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 76k freed
Kernel panic: No init found.  Try passing init= option to kernel.

If anyone knows something it would be great smile

p.s. - http://wiki.openwrt.org/OpenWrtDocs/Har … 8ar525w%29 -here is the pinout of the serial port.

I am looking for the JTAG pinout, if any of you has it ?

A simple null modem serial cable connected to the AR525w, per the pinout diagram provided is not working. I am getting junk characters on the terminal screen. Any help would be much appreciated.

anyone ever get this to work?  I've got a bricked unit after flashing the latest from
http://downloads.x-wrt.org/xwrt/kamikaz … 5w-web.img

I tried to build a serial cable based on http://wiki.openwrt.org/OpenWrtDocs/Har … 101/AR525W

Board view, component side:

      [   ] [RX ] [   ] [   ] [TX ] <
            [GND] [GND] [Vcc] [Vcc]

Serial connection parameters are : 38400,8N1

I used the above and connected RX -> Computer TX (P2), TX -> Computer RX (P3), and both GND -> Computer Sig GND (P7).  I used Tera Term with 38400,8N1, no flow and all i get is gibberish on a 525 reset.  Tried various baud/parity/... settings to no avail.

Could you provide your cable and connection details?  Also, have you found any way to debrick this unit.

Thanks in advance.


Any help appreciated.

OK, thanks to some help form this and other forum members, I've got the serial interface working.  I bought a Schmart Module Populated RS232 at Fry's (4717389) http://shop4.outpost.com/%7Brhi0LFDSXYq … IN_RSLT_PG

and it works like a champ.

Now, how do I get a PPP link going with a Windows XP SP2 box so I can reflash the original software?

While playing around a bit, I noticed that in /etc/config/wireless, the file by default has the wireless interface disabled.  There's also a ton of errors on the boot.  I'll be happy to send them to anyone interested.

Any help much appreciated.  I'm willing to help if someone's willing to teach a little.

I tried to flash my Airlink AR525W with an image built from the trunk and bricked my router same as you.  Here is the only way that I could figure out to get the original firmware back on the routers.  It is not that easy and requires the serial connection which it seems like you already have.

1.  Go to Airlink and download the latest firmware (http://www.airlink101.com/support/index … s&id=9)
2.  Edit this file with a hex editor and remove the first 8 bytes of the file.  Your new file shoud now start with the letters "GMTK".
3.  Stop the router in the Redboot bootloader.  Do this by first holding down CTRL-C on a terminal connected to the router serial connection and then applying power to the router.
4.  Type "tftpd" at the Redboot prompt on the router.
5.  Use tftp to transfer the file edited in step 2 to the router (i.e. in windows tftp -i 192.168.1.1 put AR525-firmware.bin)
6.  Once the transfer is complete type "reset" at the redboot prompt and the original firmware should be restored.

If anyone knows what is wrong with the AR525 image on the trunk I would love to hear about it.

The discussion might have continued from here.