ASUS WL-500g Premium

The ASUS WL-500gP was a top of the line Linux based router. It featured plenty of RAM and Flash, USB 2.0 ports, and a fast CPU. It also featured a miniPCI slot that allowed to change the wireless card.

Later it got updated by using a newer SoC which integrates most components, but retained most features of the first version except the replacable wireless, which also got integrated into the SoC.

Supported Versions

Version/Model S/N OpenWrt Version Supported Model Specific Notes
v1 - Backfire 10.03 wireless in miniPCI slot, replacable;
antenna on the left (from the front view)
v2 - Backfire 10.03 most features integrated in SoC;
antenna on the right (from the front view)

Note: The wireless in the v2 is a low power wireless PHY, which currently isn't really supported by b43, therefore 2.4 is still recommended for the v2.

Note: As of r18801 in the 8.09 (kamikaze) branch, the wireless in v2 works fine even with the 2.6 kernel at least in the client mode - so if you do not need AP mode and need 2.6 kernel, v2 should be usable now. Other wireless modes were not tested.

Note: As of Backfire 10.03.1-rc4, the wireless in v2 somehow works with the 2.6 kernel in AP mode. WPA2-PSK and No Encryption modes were tested. However, the recommendation to avoid 2.6 kernels still applies: wireless stops working now and then, needing b43/b43legacy module(s) reload to recover.

Note: As of Attitude Adjustment 12.09-beta2 the v2 seems to work well, including the wireless.

Note: with the default factory firmware, it is possible to know what version you have by

  • going to http://192.168.1.1/Main_AdmStatus_Content.asp (Firmware upgrade needed if page is empty)
  • typing "cat /proc/cpuinfo" in the "System Command:" text box
  • checking your "system type"
    • BCM4704/BCM4780 means V1
    • BCM5354 means V2

Hardware Highlights

version CPU Ram Flash Network USB Serial JTag
v1 Broadcom BCM4704@264Mhz 32MiB 8MiB 4 x 1 2x 2.0 Yes No
v2 Broadcom BCM5354@240Mhz 32MiB 8MiB 4 x 1 2x 2.0 Yes No

Installation

This section details what is required to install and upgrade OpenWrt. First we link to software that you should download before you start reading the instructions on how to install.

Choosing the right image

Backfire (10.03.1)

The WL-500gP is supported by two targets:

    • Uses an older 2.4 kernel
    • Uses the binary only broadcom driver, which supports the wireless in the v2.
    • Recommended for v2
    • Uses a 2.6 kernel, it is faster and has more features
    • Uses the open source b43 wireless driver, which currently does not work with the wireless in the v2
    • Recommended for v1
    • Upgrade with brcm47xx Backfire 10.03.1 works seamlessy on V.1, with restored config from 10.03

Attitude adjustment (12.09)

    • Uses the kernel 3.3.8
    • Faster than previous versions but it consumes more RAM memory, more features available
    • It can use either open source b43 wireless driver or wl broadcom binary driver.

OEM easy installation

Does not work yet. The TRX utility needs a rewrite (Sep. 1st 2007, confirmed by nbd on IRC).

FIXME does this still apply? — KanjiMonster 2010/04/11 13:13

TEST STILL FAILS on Tablet ASUS WL-500g Premium V2 with newest ASUS Firmware version 3.0.4.4 — porter 2011/04/28 00:18

TEST STILL FAILS on ASUS WL-500g Premium V1 with ASUS Firmware (not sure about the version) — sup 2012/05/05 20:22

OEM installation using the TFTP method

To install OpenWrt using TFTP or the ASUS firmware restoration tool you have to put the router in diag mode.

Note: In diag mode, the router takes the address stored in nvram, usually 192.168.1.1, but if you changed the router's IP address in its original firmware or in the previously installed OpenWrt, it will use that. Once the installation is complete, the router's IP address will always be 192.168.1.1. In the further sections 192.168.1.1 is assumed.

To put the router in the diag mode, do this:

  • Unplug the router's power cord.
  • Confirm your PC is configured to use a fixed IP in the 192.168.1.0/24 range (do not use .1).
  • Connect the router's LAN1 port directly to your PC.
  • Push the black RESTORE button using a pen or such, and keep the button pushed down.
  • Plug the power on while keeping the RESTORE button pushed for few seconds.
  • When you see a slowly blinking power light, you are in diag mode.
  • Now the router should accept an image via TFTP or via the ASUS firmware restoration tool.

It responds to ping, so you can confirm that it is in diag mode and ready for the tftp by using "ping 192.168.1.1".

TFTP

It is possible to install OpenWrt using a TFTP client when the router is in diag mode.

  • Execute the TFTP commands below:
    • Linux (or Mac OS X)

tftp 192.168.1.1 (replace it with its real ip address)
tftp> binary
tftp> trace
tftp> put openwrt-brcm-2.4-squashfs.trx

  • Windows

tftp -i 192.168.1.1 PUT openwrt-brcm-2.4-squashfs.trx

  • After the TFTP upload is complete, wait at least six minutes. The firmware is first loaded into the RAM, and then flashed. This process takes a little time, and to ensure that the router is not bricked you should wait six minutes.
  • The router will reboot itself automatically after the upgrade is complete. Rebooting may take a while. It might be the case that the router does not reboot by itself; if this happens it should be safe to wait for the period mentioned and then to do a manual reboot (pull the power-cord).
  • You are done! You should be able to telnet to your router (IP address: 192.168.1.1 - even if you were using another one previously) and start configuring.

NOTES:

  • Windows 7 does not install its tftp client as default, you have to manually add it. Earlier version do include it in their default installations.
  • Netkit's tftp doesn't work quite often; use atftp.
  • After TFTP upload is complete, DON'T reboot (replug) too early! It might brick your router.
Automated Ping and TFTP Script

./ping_atftp 192.168.1.1 openwrt-brcm-2.4-squashfs.trx

ASUS firmware restoration tool (Windows only)

If you are on Windows it is recommended to use the ASUS firmware restoration tool to install OpenWrt. The ASUS firmware restoration tool can be found on the CD. Make sure the router is in diag mode.

  • Browse the .trx file (openwrt-brcm-2.4-squashfs.trx).
  • Press Upload. The router will reboot itself automatically after the upgrade is complete. Rebooting may take a while.
  • You are done! You should be able to telnet to your router (IP address: 192.168.1.1) and start configuring.

If the firmware restoration tool can't seem find your router even though you are certain that it is in diag mode, it may be because the restoration tool is not very smart about which network interface to use. Disable all network interfaces except for the correct (LAN) network interface and try again.

Upgrading OpenWrt

If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

LuCI Web Upgrade Process

FIXME use correct URL

Terminal Upgrade Process
  • Login as root via SSH on 192.168.1.1
  • Use the following commands to upgrade.

cd /tmp/
wget http://downloads.openwrt.org/latest/brcm-2.4/openwrt-brcm-2.4-squashfs.trx
sysupgrade /tmp/openwrt-brcm-2.4-squashfs.trx

If this does not work (reboot without change) try using mdt. Make sure "linux" is the correct mtd target! (cat /proc/mtd). Tested with v1 models.

cd /tmp/
wget [link to image]
mtd -r write /tmp/[image].trx linux

Hardware

Info

Version: v1 v2
Architecture: MIPS MIPS
Vendor: Broadcom Broadcom
Bootloader: CFE CFE
System-On-Chip: Broadcom BCM4704 Broadcom BCM5354
CPU/Speed BMIPS3300 V0.6 / 264 MHz :?: / 240 MHz
Flash-Chip: EON EN29LV302B-70TCP
Spansion S29GL064A90TFIR7
Macronix 29LV640DB
Flash size: 8 MiB 8 MiB
RAM-Chips: HY5DU281622FTP-5 / DDR-400 :?:
RAM size: 32* MiB 32 MiB
Wireless: Broadcom BCM4318 802.11b/g (miniPCI) Broadcom BCM43xx 802.11b/g (integrated)
Ethernet: Robo switch BCM5325E Switch in CPU
USB: 2x 2.0 Via VT6212L 2x 2.0
Power adapter 5V DC 2.5 A / UMEC UP0181B-05PE :?:
Serial: Yes Yes
JTAG: No Yes (pinout same as wrt54G)

* some older models have only 16 MiB enabled.

Photos

http://wiki.openwrt.org/oldwiki/openwrtdocs/hardware/asus/wl500gp/img_0007
With a Atheros Wistron CM9
MiniPCI WiFi card

http://wiki.openwrt.org/oldwiki/openwrtdocs/hardware/asus/wl500gp/img_3505
With a Gigabyte GN-WIAG02 (168c:0013)
802.11abg MiniPCI WiFi card (Atheros AR5212) and 2nd antenna

Opening the case

Note: This will void your warranty!

Remove the 4 nubs under the case, now you can see some screws. Unscrew them. You're done. When you're finished you can put the rubbers back into the gadgets. They'll stick alone.

Serial

V1

Serial is located on pin soldering points (ready for soldering of 8-pin connector for use with detachable cable) on the centre of the right upper side (viewing from front panel) under ventilation holes. At right from these points, you can see printed pin descriptions (V1):

RESET
GND 3.3V_OUT
UART_TX1 UART_TX0
UART_RX1 UART_RX0

Pin 1 (with the square solder pad) is RX0.

V2

For (V2) tts/0 is on the J4 connector:

3.3V_OUT
UART_RX0
UART_TX0
GND

3.3V_OUT is next to the label J4 for the connector which is the closest pin to the word ASUS printed on the board. Transmit (UART_TX0) was confirmed with an oscilloscope. Transmit was also connected to Receive (UART_RX0) and data was read back to ensure it was actual the receive pin. Data can be written to tts/1, but the pins have not been identified.

These serial ports use CMOS levels. You need an additional voltage converter to get a standard serial port. The parameters are 115200 baud and 8-n-1.

While connect serial to V2, the VCC pin is not needed. TX from serial converter to the UART_RX0 pin, RX from serial converter to the UART_TX0 pin. Here's the boot log while running /backfire/10.03.1/brcm47xx/openwrt-brcm47xx-squashfs.trx

Buttons

The ASUS WL-500g Premium has two buttons. They are RESTORE and EZSETUP. The buttons can be used with hotplug events. E. g. [#wifitoggle WiFi toggle].

BUTTON Event
RESTORE reset
EZSETUP ses

ACTION: released or pressed

Replacing the Wireless miniPCI Card

Note: This applies to v1 models only!

The standard wireless LAN controller is the BCM4318 on a MiniPCI card. Some people have replaced this with an Atheros MiniPCI card. The advantage is that the Atheros card has an open source driver and is supported by the 2.6 kernel version of OpenWrt. Atheros-based wireless cards that have been known to work include the Wistron CM9 (though some people say that signal quality is poor), and various Tp-Link cards such as the TL-WN560G (signal quality reported to be the same as with the original Broadcom controller).

In order to replace the Broadcom controller with an Atheros one, open the case (instructions above), carefully disconnect the antenna cable from the card, press out the two latches on the sides, and pull the card out of the socket. In some cases the card is glued to a supporting sponge on the main board, so you might have to apply a certain measure of force to get it out. Re-assemble the case, and install packages kmod-madwifi and hostapd-mini to get the new wireless controller to work. Change your /etc/config/wireless to include the following:

config 'wifi-device' 'wifi0' option 'type' 'atheros' config 'wifi-iface' option 'device' 'wifi0'

Go here for more info and an example configuration.

After installation of kmod-madwifi package you can automatically generate a standard /etc/config/wireless file for Atheros:

opkg update
opkg install kmod-madwifi wpad-mini
rm -f /etc/config/wireless
wifi detect > /etc/config/wireless

Specific Configuration

Interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
vlan0 LAN ports (1 to 4)
vlan1 WAN port DHCP
wl0/ath0 WiFi Disabled by default

LAN and WiFi is bridged to br-lan. WiFi is disabled by default for security reasons (to prevent an open access point).

Switch Ports (for VLANs)

Please note that the link between the physical ports and switch ports is different for v1 and v2 routers (see table below).

Port Switch port (v1) Switch port (v2)
Internet (WAN) 0 4
LAN 1 1 3
LAN 2 2 2
LAN 3 3 1
LAN 4 4 0
Internal connection 5 5

5 is the internal connection to the router itself. Don't be fooled: Port 1 on the v2 unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on. For v1 unit, WAN is switch port 0. LAN ports are switch ports 1,2,3,4. And LAN ports map exactly to switch ports.

Failsafe mode

If you forgot your password, broken one of the startup scripts, firewalled yourself or corrupted the JFFS2 partition, you can get back in by using OpenWrt's failsafe mode.

Boot into failsafe mode

  • Unplug the router's power cord.
  • Connect the router's LAN1 port directly to your PC.
  • Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (gateway and DNS is not required).
  • Plug the power on and wait for the power LED to switch off
  • While the power LED is off press any button (RESTORE and EZSETUP will work) a few times
  • Power LED goes fast-blinking (about 1 time per second)
  • You should be able to telnet to the router at 192.168.1.1 now (no username and password)

Enabling all RAM

*Note:* This applies only to earlier WL-500gP v1 models.

On newer ASUS WL-500g Premium router's all RAM is enabled by default. If you look at "dmesg | grep Memory" command's output, you will probably see that there's only 16MiB of RAM. Specs says there should be 32MiB. To enable 32MiB change the sdram_init and sdram_ncdl NVRAM variables as showed:

nvram set sdram_init=0x0009
nvram set sdram_ncdl=0x10308
nvram commit
reboot
Note:

  • this is not needed in 10.03.1 with V1 (BCM4704) - maybe it is needed only for BCM4780? — sup 2012/05/05 21:02
  • using a "attitude_adjustment" (beta or trunk) brcm47xx image it looks required. Otherwise you may get a memory dump while executing opkg install … (just a "Killed"). – validom 2012/11/14

Basic configuration

Since this part is identical for all devices, see Basic configuration.

Connect stuff to the USB port

To connect stuff to the USB port, please see Connect stuff to the USB port, the package kmod-usb2 is needed. For some devices the package kmod-usb-uhci-iv might also be needed.

An experience: pivot overlay

Action did to let the system see a 4GB usb stick, plus pivot overlay.

#on openwrt 12.09 final
opkg update #fresh list of available packages
#from http://wiki.openwrt.org/doc/howto/usb.storage
opkg install kmod-usb-storage
opkg install kmod-fs-ext4 #for ext2,3,4
opkg install kmod-usb-storage-extras
opkg install block-mount
opkg install kmod-scsi-generic
opkg install fdisk

fdisk -l 
  #to check if the usb storage is seen
  #won't work because some packages are missing

opkg install kmod-usb2 
  #now we will see the external storage

fdisk -l 
  #to locate the usb disk dev point, in my case /dev/sda1

dd if=/dev/zero of=/dev/sda bs=1M count=10
  #to clear any partition table on the usb stick

fdisk /dev/sda << PARTITION
n
p


+1G
n
p


+512M
n
p



w
PARTITION
  #n new
  #p primary
  #empty line - partition number
  #empty line - first sector
  #+1G size
  #w write partition table

fdisk -l
  #output like this:
  #Disk /dev/sda: 4051 MB, 4051697664 bytes
  #[...]
  #
  #   Device Boot      Start         End      Blocks   Id  System
  #/dev/sda1            2048     2099199     1048576   83  Linux
  #/dev/sda2         2099200     3147775      524288   83  Linux
  #/dev/sda3         3147776     7913471     2382848   83  Linux

mkdir -p /mnt/sda1-overlay
  #won't be used afterwards, just as reminder
mkdir -p /mnt/sda2-swap
  #won't be used afterwards, just as reminder
mkdir -p /mnt/sda3-data

mkswap /dev/sda2

# http://wiki.openwrt.org/doc/howto/storage
opkg install e2fsprogs
mkfs.ext2 /dev/sda1
mkfs.ext2 /dev/sda3

#now pivot overlay
#http://wiki.openwrt.org/doc/howto/extroot
mount /dev/sda1 /mnt/sda1-overlay/
mount /dev/sda3 /mnt/sda3-data/

mount
  #to check

#http://wiki.openwrt.org/doc/uci/fstab
cat - << FSTAB > /etc/config/fstab
config global automount
        option from_fstab 1
        option anon_mount 0

config global autoswap
        option from_fstab 1
        option anon_swap 0

config mount
        option target   /overlay
        option device   /dev/sda1
        option enabled  1
        option enabled_fsck 0

config mount
        option target   /mnt/sda3-data
        option device   /dev/sda3
        option enabled  1
        option enabled_fsck 0

config swap
        option device   /dev/sda2
        option enabled  1
FSTAB

tar -C /overlay -cvf - . | tar -C /mnt/sda1-overlay/ -xf -
  #copy the overlay

/etc/init.d/fstab enable
  #enable fstab at boot (warning, it takes a bit of time to boot)

reboot
  #cross your fingers!

#Problems
# Well i was lucky and i got no problems, if they appear, just
# report them here.

Hardware Mods

nothing?

Bootlogs

V1 Attitude Adjustment bootlog

root@OpenWrt:/# dmesg [ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 16:01:31 UTC 2013 [ 0.000000] CPU revision is: 00029006 (Broadcom BMIPS3300) [ 0.000000] bcm47xx: using ssb bus [ 0.000000] ssb: Found chip with id 0x4704, rev 0x09 and package 0x00 [ 0.000000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243) [ 0.000000] ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243) [ 0.000000] ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243) [ 0.000000] ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243) [ 0.000000] ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243) [ 0.000000] ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243) [ 0.000000] ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243) [ 0.000000] ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243) [ 0.000000] ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243) [ 0.000000] ssb: chipcommon status is 0x0 [ 0.000000] ssb: Initializing MIPS core... [ 0.000000] ssb: set_irq: core 0x0806, irq 4 => 4 [ 0.000000] ssb: set_irq: core 0x0806, irq 5 => 5 [ 0.000000] ssb: set_irq: core 0x0808, irq 6 => 2 [ 0.000000] ssb: set_irq: core 0x0804, irq 2 => 6 [ 0.000000] ssb: after irq reconfiguration [ 0.000000] ssb: core 0x0800, irq : 2(S) 3* 4 5 6 D I [ 0.000000] ssb: core 0x0806, irq : 2(S) 3 4* 5 6 D I [ 0.000000] ssb: core 0x0806, irq : 2(S) 3 4 5* 6 D I [ 0.000000] ssb: core 0x0808, irq : 2(S)* 3 4 5 6 D I [ 0.000000] ssb: core 0x0804, irq : 2(S) 3 4 5 6* D I [ 0.000000] ssb: core 0x0816, irq : 2(S)* 3 4 5 6 D I [ 0.000000] ssb: core 0x0807, irq : 2(S)* 3 4 5 6 D I [ 0.000000] ssb: core 0x080b, irq : 2(S)* 3 4 5 6 D I [ 0.000000] ssb: core 0x080f, irq : 2(S) 3 4 5 6 D I* [ 0.000000] found parallel flash. [ 0.000000] Unsupported SPROM revision 0 detected. Will extract v1 [ 0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000 [ 0.000000] Serial init done. [ 0.000000] gpiochip_add: registered GPIOs 0 to 15 on device: bcm47xx [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00002000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00002000 [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 802da6d0, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8128 pages, LIFO batch:0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes. [ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes [ 0.000000] Memory: 29100k/32768k available (2540k kernel code, 3668k reserved, 379k data, 168k init, 0k highmem) [ 0.000000] NR_IRQS:128 [ 0.000000] console [ttyS0] enabled [ 0.004000] Calibrating delay loop... 262.14 BogoMIPS (lpj=524288) [ 0.048000] pid_max: default: 32768 minimum: 301 [ 0.052000] Mount-cache hash table entries: 512 [ 0.060000] NET: Registered protocol family 16 [ 0.096000] bio: create slab at 0 [ 0.108000] Switching to clocksource MIPS [ 0.124000] ssb: PCIcore in host mode found [ 0.432000] PCI host bridge to bus 0000:00 [ 0.436000] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff] [ 0.444000] pci_bus 0000:00: root bus resource [io 0x0100-0x07ff] [ 0.448000] pci 0000:00:00.0: [14e4:4704] type 0 class 0x000600 [ 0.448000] PCI: Fixing up bridge 0000:00:00.0 [ 0.452000] pci 0000:00:00.0: setting latency timer to 64 [ 0.452000] PCI: Fixing up device 0000:00:00.0 [ 0.456000] PCI: Fixing latency timer of device 0000:00:00.0 to 168 [ 0.464000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x00001fff] [ 0.464000] pci 0000:00:00.0: reg 14: [mem 0x00000000-0x07ffffff pref] [ 0.464000] pci 0000:00:02.0: [14e4:4318] type 0 class 0x000280 [ 0.464000] pci 0000:00:02.0: reg 10: [mem 0x00000000-0x00001fff] [ 0.464000] pci 0000:00:03.0: [1106:3038] type 0 class 0x000c03 [ 0.464000] pci 0000:00:03.0: reg 20: [io 0xfce0-0xfcff] [ 0.464000] pci 0000:00:03.0: supports D1 D2 [ 0.464000] pci 0000:00:03.0: PME# supported from D0 D1 D2 D3hot [ 0.464000] pci 0000:00:03.1: [1106:3038] type 0 class 0x000c03 [ 0.464000] pci 0000:00:03.1: reg 20: [io 0xfce0-0xfcff] [ 0.464000] pci 0000:00:03.1: supports D1 D2 [ 0.464000] pci 0000:00:03.1: PME# supported from D0 D1 D2 D3hot [ 0.464000] pci 0000:00:03.2: [1106:3104] type 0 class 0x000c03 [ 0.468000] pci 0000:00:03.2: reg 10: [mem 0x00000000-0x000000ff] [ 0.468000] pci 0000:00:03.2: supports D1 D2 [ 0.468000] pci 0000:00:03.2: PME# supported from D0 D1 D2 D3hot [ 0.472000] pci 0000:00:02.0: BAR 0: assigned [mem 0x40000000-0x40001fff] [ 0.480000] pci 0000:00:03.2: BAR 0: assigned [mem 0x40002000-0x400020ff] [ 0.488000] pci 0000:00:03.0: BAR 4: assigned [io 0x0400-0x041f] [ 0.492000] pci 0000:00:03.1: BAR 4: assigned [io 0x0420-0x043f] [ 0.504000] PCI: Enabling device 0000:00:02.0 (0000 -> 0002) [ 0.512000] PCI: Fixing up device 0000:00:02.0 [ 0.516000] b43-pci-bridge 0000:00:02.0: setting latency timer to 64 [ 0.536000] ssb: Found chip with id 0x4318, rev 0x02 and package 0x02 [ 0.540000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243) [ 0.540000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243) [ 0.540000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243) [ 0.540000] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243) [ 0.560000] ssb: chipcommon status is 0x0 [ 0.564000] ssb: SPROM offset is 0x1000 [ 0.568000] ssb: SPROM revision 2 detected. [ 0.588000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:02.0 [ 0.600000] NET: Registered protocol family 2 [ 0.604000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.612000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.620000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.624000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.632000] TCP reno registered [ 0.636000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.640000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.648000] NET: Registered protocol family 1 [ 0.652000] PCI: CLS 0 bytes, default 16 [ 0.664000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.668000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.680000] msgmni has been set to 56 [ 0.684000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.692000] io scheduler noop registered [ 0.696000] io scheduler deadline registered (default) [ 0.704000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.732000] serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A [ 0.760000] serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A [ 0.804000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A [ 0.832000] serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A [ 0.844000] bcm47xx_pflash: flash init: 0x1c000000 0x02000000 [ 0.852000] Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001301 [ 0.860000] Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0 [ 0.864000] Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0 [ 0.864000] Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0 [ 0.864000] Amd/Fujitsu Extended Query Table at 0x0040 [ 0.868000] Amd/Fujitsu Extended Query version 1.3. [ 0.872000] number of CFI chips: 1 [ 0.876000] bcm47xx_pflash: Flash device: 0x2000000 at 0x1fc00000 [ 0.884000] bcm47xx_part: bootloader size: 262144 [ 0.892000] bcm47xx_part: Looking for dual image [ 0.900000] bcm47xx_part: TRX offset : 0 [ 0.904000] 4 bcm47xx partitions found on MTD device Physically mapped flash [ 0.912000] Creating 4 MTD partitions on "Physically mapped flash": [ 0.920000] 0x000000000000-0x000000040000 : "cfe" [ 0.932000] 0x000000040000-0x0000007f0000 : "linux" [ 0.940000] 0x000000133c00-0x0000007f0000 : "rootfs" [ 0.944000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.964000] mtd: partition "rootfs" set to be root filesystem [ 0.968000] mtd: partition "rootfs_data" created automatically, ofs=310000, len=4E0000 [ 0.976000] 0x000000310000-0x0000007f0000 : "rootfs_data" [ 0.988000] 0x0000007f0000-0x000000800000 : "nvram" [ 1.000000] bcm47xx_sflash: error registering platform driver: -19 [ 1.008000] bcm47xx_nflash: error registering platform driver: -19 [ 1.016000] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0 [ 1.028000] b44 ssb0:0: eth0: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:1e:8c:02:35:7f [ 1.044000] b44 ssb0:1: eth1: PHY Reset would not complete [ 1.048000] b44 ssb0:1: eth1: Broadcom 44xx/47xx 10/100 PCI ethernet driver 40:10:18:00:00:2d [ 1.060000] BCM47xx Watchdog Timer enabled (30 seconds, nowayout) [ 1.068000] TCP cubic registered [ 1.072000] NET: Registered protocol family 17 [ 1.076000] Bridge firewalling registered [ 1.080000] 8021q: 802.1Q VLAN Support v1.8 [ 1.096000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.104000] Freeing unused kernel memory: 168k freed [ 4.320000] diag: Detected 'ASUS WL-500g Premium' [ 4.376000] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex [ 4.384000] b44 ssb0:0: eth0: Flow control is off for TX and off for RX [ 5.520000] roboswitch: Probing device eth0: found a 5325! It's a 5350. [ 12.808000] JFFS2 notice: (351) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 6 of xref (0 dead, 2 orphan) found. [ 13.204000] b44 ssb0:0: eth0: powering down PHY [ 17.316000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 17.324000] Backport based on wireless-testing.git master-2012-09-07 [ 17.332000] compat.git: wireless-testing.git [ 17.392000] cfg80211: Calling CRDA to update world regulatory domain [ 17.396000] cfg80211: World regulatory domain updated: [ 17.404000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 17.412000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 17.420000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 17.428000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 17.436000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 17.444000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 18.304000] b43-phy0: Broadcom 4318 WLAN found (core revision 9) [ 18.352000] b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7 [ 18.380000] Broadcom 43xx driver loaded [ Features: PNL ] [ 18.460000] Broadcom 43xx-legacy driver loaded [ Features: PLID ] [ 18.888000] PPP generic driver version 2.4.2 [ 19.388000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 19.392000] Registered led device: b43-phy0::tx [ 19.392000] Registered led device: b43-phy0::rx [ 19.392000] Registered led device: b43-phy0::assoc [ 19.392000] Registered led device: b43-phy0::radio [ 19.420000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 19.696000] NET: Registered protocol family 24 [ 19.740000] nf_conntrack version 0.5.0 (457 buckets, 1828 max) [ 23.816000] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex [ 23.820000] b44 ssb0:0: eth0: Flow control is off for TX and off for RX [ 27.124000] b44 ssb0:0: eth0: powering down PHY [ 27.148000] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex [ 27.152000] b44 ssb0:0: eth0: Flow control is off for TX and off for RX [ 27.184000] device eth0.0 entered promiscuous mode [ 27.188000] device eth0 entered promiscuous mode [ 27.200000] br-lan: port 1(eth0.0) entered forwarding state [ 27.204000] br-lan: port 1(eth0.0) entered forwarding state [ 29.208000] br-lan: port 1(eth0.0) entered forwarding state

V2 Backfire bootlog

Decompressing..........done CFE version 1.0.37 for BCM947XX (32bit,SP,LE) Build Date: Mon Apr 16 14:41:05 CST 2007 (root@localhost.localdomain) Copyright (C) 2000,2001,2002,2003 Broadcom Corporation. Initializing Arena Initializing Devices. Boot partition size = 131072(0x20000) et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.23.0 CPU type 0x29029: 240MHz Total memory: 32768 KBytes Total memory used by CFE: 0x80400000 - 0x8049A790 (632720) Initialized Data: 0x80430720 - 0x80432D10 (9712) BSS Area: 0x80432D10 - 0x80434790 (6784) Local Heap: 0x80434790 - 0x80498790 (409600) Stack Area: 0x80498790 - 0x8049A790 (8192) Text (code) segment: 0x80400000 - 0x80430720 (198432) Boot area (physical): 0x0049B000 - 0x004DB000 Relocation Factor: I:00000000 - D:00000000 Device eth0: hwaddr 00-1F-XX-XX-XX-XX, ipaddr 192.168.1.1, mask 255.255.255.0 gateway not set, nameserver not set Null Rescue Flag. Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null) Loading: TFTP Server. Failed. Could not load :: Timeout occured Loader:raw Filesys:raw Dev:flash0.os File: Options:(null) Loading: .. 4092 bytes read Entry at 0x80001000 Closing network. Starting program at 0x80001000 Linux version 2.6.32.27 (jow@nd-build-02.linux-appliance.net) (gcc version 4.3.3 (GCC) ) #5 Wed Dec 21 05:56:26 CET 2011 CPU revision is: 00029029 (Broadcom BCM3302) ssb: chipcommon status is 0x0 ssb: Initializing MIPS core... ssb: set_irq: core 0x0806, irq 4 => 4 ssb: set_irq: core 0x0816, irq 5 => 2 ssb: set_irq: core 0x0812, irq 2 => 5 ssb: after irq reconfiguration ssb: core 0x0800, irq : 2(S) 3* 4 5 6 D I ssb: core 0x0806, irq : 2(S) 3 4* 5 6 D I ssb: core 0x0816, irq : 2(S)* 3 4 5 6 D I ssb: core 0x0819, irq : 2(S) 3 4 5 6* D I ssb: core 0x080f, irq : 2(S) 3 4 5 6 D I* ssb: core 0x0812, irq : 2(S) 3 4 5* 6 D I ssb: core 0x081c, irq : 2(S) 3 4 5 6 D I* ssb: Sonics Silicon Backplane found at address 0x18000000 Serial init done. Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00002000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00002000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 PID hash table entries: 128 (order: -3, 512 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes. Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes Memory: 29496k/32768k available (2332k kernel code, 3272k reserved, 355k data, 136k init, 0k highmem) Hierarchical RCU implementation. NR_IRQS:128 console [ttyS0] enabled Calibrating delay loop... 239.61 BogoMIPS (lpj=479232) Mount-cache hash table entries: 512 NET: Registered protocol family 16 bio: create slab at 0 Switching to clocksource MIPS NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered NET: Registered protocol family 1 squashfs: version 4.0 (2009/01/31) Phillip Lougher Registering mini_fo version $Id$ JFFS2 version 2.2. (NAND) (SUMMARY) ?? 2001-2006 Red Hat, Inc. msgmni has been set to 57 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A flash init: 0x1c000000 0x02000000 Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank CFI mfr 0x000000c2 CFI id 0x000022cb Amd/Fujitsu Extended Query Table at 0x0040 Amd/Fujitsu Extended Query version 1.1. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Flash device: 0x800000 at 0x1fc00000 bootloader size: 131072 Creating 4 MTD partitions on "Physically mapped flash": 0x000000000000-0x000000020000 : "cfe" 0x000000020000-0x0000007f0000 : "linux" 0x0000000fb000-0x0000007f0000 : "rootfs" mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=510000 0x0000002e0000-0x0000007f0000 : "rootfs_data" 0x0000007f0000-0x000000800000 : "nvram" b44.c:v2.0 eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:1f:xx:xx:xx:xx BCM47xx Watchdog Timer enabled (30 seconds, nowayout) TCP westwood registered NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <@candelatech.com> All bugs added by David S. Miller <@redhat.com> VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Freeing unused kernel memory: 136k freed Please be patient, while OpenWrt loads ... diag: Detected 'ASUS WL-500g Premium V2' b44: eth0: Link is up at 100 Mbps, full duplex. b44: eth0: Flow control is off for TX and off for RX. roboswitch: Probing device eth0: found a 5325! It's a 5350. - preinit - Press the [f] key and hit [enter] to enter failsafe mode - regular preinit - switching to jffs2 mini_fo: using base directory: / mini_fo: using storage directory: /overlay - init - b44: eth0: powering down PHY Please press Enter to activate this console. b44: eth0: Link is up at 100 Mbps, full duplex. b44: eth0: Flow control is off for TX and off for RX. device eth0.0 entered promiscuous mode device eth0 entered promiscuous mode br-lan: port 1(eth0.0) entering forwarding state Compat-wireless backport release: compat-wireless-2011-11-08-1-g4ab9b62 Backport based on wireless-testing.git master-2011-11-15 cfg80211: Calling CRDA to update world regulatory domain PPP generic driver version 2.4.2 NET: Registered protocol family 24 b43-phy0: Broadcom 5354 WLAN found (core revision 13) Registered led device: b43-phy0::tx Registered led device: b43-phy0::rx Broadcom 43xx driver loaded [ Features: PL ] Broadcom 43xx-legacy driver loaded [ Features: PLID ] ip_tables: (C) 2000-2006 Netfilter Core Team nf_conntrack version 0.5.0 (463 buckets, 1852 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. cfg80211: World regulatory domain updated: cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) xt_time: kernel timezone is -0000


External Links

Tutorials

Product Info Pages

Forum Threads

Tags

Back to top

toh/asus/wl500gp.txt · Last modified: 2014/09/28 12:41 by pier4r