OpenWrt Forum Archive

Topic: Asus WL-500gx Support in Experimental

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

What is the status of support for the Asus WL-500gx /deluxe router? I have one of these devices, and would like to run openwrt on it, in particular due to its support for VoIP through Asterisk.
http://openwrt.org/OpenWrtDocs/Hardware/Asus/WL500GD states:

1.2. Software Overview
The next experimental snapshot will support these units.

Who is working on that? What needs to be done, and who is doing the work? Has anybody gotten the experimental firmware to run on that Asus router? I downloaded the  last experimental snapshot, and successfully built it, so I am at the point where I could help with implementing the WL-500gx support, if someone points me at the tasks which need to be done. However, I do not want to duplicate any work, and definitely will need some help to find out what is involved in this task.

Greetings,
TSCoreNinja

It's supported for months now smile

Great ;-) , but why do I only see Linksys WRT54G, Linksys WRT54GS and Motorola as options when I use "make menuconfig", and enter the device selection item?
Snapshot is 23rd of April, 2005, downloaded from http://openwrt.org/downloads/experiment … al.tar.bz2

And most important, how do I select the appropriate options to actually support the wl500gx? Or is there any specific config to use? I have found nothing on this in the docs directory...

Greetings,
TSCoreNinja

(Last edited by tscoreninja on 20 May 2005, 13:51)

Just use a standard compile. It will work fine on the WL-500G Deluxe. You have to flash either openwrt-generic-jffs2-4MB.trx or openwrt-generic-squashfs.trx

OK, thanks a lot for the infos, I will give it a try...

please post your experience here because the generic trx from the "openwrt" does not work for my wl500g.
but i have successfully build the "buildroot" image with special support for the asus hardware (e.g. parport)

After bad experiences with crashes on high bandwidth from WLAN to WAN/LAN with the WL500g (standard) I sold my device and got myself a WL500g Deluxe, relying on the infos in this thread.
The current experimental does crash in a quiet more disappointing way than the standard version, because it does not only crash and then reboot, it crashes and keeps hanging until you plug the power off.
I tested with the following firmwares:

- old experimental (april 05): crashes
- current experimental: crashes
- old snapshot: works, but no usb-support

So maybe someone who's looking for a good device which works fine with OpenWrt may appreciate this information. Don't buy a Asus if you want to use WLAN on OpenWrt.

Best regards,
Sendo.

P.S.: If against one's expectations there is someone with better experiences, who prooves me wrong: please let me know.

my asus wl-500g is working fine now for a few weeks. (no reboots or hangups, just does what it should)

i've build the "old" buildroot version with kernel 2.4.20

usb storage & webcam, parallel printer (HP Laserjet) and pppoecd for internet connection are working fine and WLAN with wep128 runs even with a large amount of data transmitted...

i'm satisfied with it. now trying the experimental on a second device...

Here are the results of trying to get the HEAD Branch from 13 June 2005 to run on a Asus wl-500gx (deluxe):

1. Flash the FW generic build trx 4 MB jffs2
2. device reboots - output while booting is
--------
Reading :: TFTP Server.
Done. 2732032 bytes read
Download of 0x29b000 bytes completed
Write kernel and filesystem binary to FLASH (0xbfc40000)
flash device 'flash1.trx'
Programming...
done. 2732032 bytes written
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3704 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029007
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, linesize 16 bytes.
Linux version 2.4.30 (root@zit-4-176) (gcc version 3.4.3) #1 Mon Jun 13 16:28:03
CEST 2005
Setting the PFC value as 0x15
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/pre
init noinitrd console=ttyS0,115200
CPU: BCM5365 rev 1 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 3.27 BogoMIPS
Memory: 30500k/32768k available (1399k kernel code, 2268k reserved, 100k data, 7
6k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
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
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
Software Watchdog Timer: 0.05, timer margin: 60 sec
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003f0000 : "linux"
0x000baa24-0x002db000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-o
nly
0x003f0000-0x00400000 : "nvram"
0x002e0000-0x003f0000 : "OpenWrt"
Initializing Cryptographic API
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 2048 bind 4096)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 316 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 76k freed
Algorithmics/MIPS FPU Emulator v1.5
Using /lib/modules/2.4.30/diag.o
diag boardtype: 00000000
Unlocking linux ...
Could not unlock MTD device: linux
Unlocking OpenWrt ...
Could not unlock MTD device: OpenWrt
Erasing OpenWrt ...
Partition moved; please reboot
Warning: DQ5 raised while program operation was in progress, however operation c
ompleted OK
.
.
<repeated very often>
.
.
Warning: DQ5 raised while program operation was in progress, however operation c
ompleted OK
init started:  BusyBox v1.00 (2005.06.13-14:34+0000) multi-call binary

Please press Enter to activate this console. jffs2.bbc: SIZE compression mode ac
tivated.
PCI: Enabling device 01:03.0 (0004 -> 0006)
eth0: Broadcom BCM4320 802.11 Wireless Controller 3.90.23.0
device eth0 entered promiscuous mode
Data bus error, epc == 800a7f3c, ra == 800a7f34
Oops in traps.c::do_be, line 385:
$0 : 00000000 1000fc00 c011f000 c011f000 ac080000 00000004 c011f000 0c080083
$8 : 00000000 00000000 00000000 00000000 00001143 00705aac 0000000a 00000000
$16: 8108db60 00000001 00001143 00000000 00000000 81f03eb0 00000000 00008914
$24: 00000000 80107c70                   81f02000 81f03da0 7fff7c90 800a7f34
Hi : 00000cc6
Lo : 66ed5600
epc   : 800a7f3c    Tainted: P
Status: 1000fc02
Cause : 0000001c
PrId  : 00029007
Process ifconfig (pid: 356, stackpage=81f02000)
Stack:    81e11760 80167e7c 8106bf94 8102f8d4 00000000 81c48000 c00dda78
81074f20 811540c0 00000001 81f03ee0 81181620 00000000 1000fc00 80000000
8100001c 2aaaed00 8114ad00 00000300 00001000 80323236 81f02000 8108da60
81070400 00001143 00000000 c00d27dc 2b000000 2b000000 80021de8 81c2db60
81f02000 8108da60 c00d1e98 81c2db60 81057910 ffffffbf 0048f1e0 81070400
00000000 ...
Call Trace:   [<c00dda78>] [<c00d27dc>] [<80021de8>] [<c00d1e98>] [<800c3d64>]
[<800c5588>] [<80105e40>] [<800495d0>] [<800bcfe4>] [<80008a80>] [<8005c0dc>]

Code: 8c910064  1040001c  00403021 <8c420004> 00c02821  00021482  30420001  1040
000f  02002021
----

3. Then i have a shell on the rerial console BUT on the next reboot

4. i get on the console:

-----
        gateway not set, nameserver not set
Rescue Flag disable.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

Reading :: TFTP Server.
Failed.: Timeout occured
-----

Anyone Any ideas what could be wrong and how to fix it.
binary fw realeases from downloads.openwrt.org (TESTED Branch)
are working - so i think nothings wrong with the hw itself.

Any help very appreciated !!!

cheers
Albert

(Last edited by mmaexx on 13 Jun 2005, 16:52)

This problem has been fixed in CVS HEAD. Seems like the GCC 3.4.3 has a few bugs. We switched to 3.4.4 now. When you use a modified buildroot and want to keep your changes, you should run cvs update -PAd, make distclean and make again.

The discussion might have continued from here.