User Tools

Site Tools


toh:compex:wp54

Compex WP54

The device is supported in OpenWrt since Kamikaze 8.09. But WP54g type is not supported in the newest version 12.09. (Device do not boot and diagnostic led flashing - probably some kernel panic error)

Hardware info

Architecture: MIPS
Vendor: ADMtek (Infineon)
Bootloader: CFE
System-On-Chip: ADM5120 (Little Endian)
CPU Speed: 175 Mhz
Flash size: 4 MiB
RAM: 16 MiB SDRAM
Wireless: 1x Type III miniPCI slot, usually with Compex WLM54G or WLM54AG card
Ethernet: 2 x 10/100 Base-TX Ethernet Ports (with Auto MDI/MDIX)
USB: no
Serial: yes
JTAG: yes

Installation

Restore mode

If you want to upload firmware to router by tftp, you will have to turn your device to this mode. The procedure is following:

  1. Turn off the device.
  2. Press and hold the reset button.
  3. Plug the device (still hold the button).
  4. Wait until the Diagnostic LED (second from the left) starts flashing quickly. (This will happen almost immediately.)
  5. Now release the reset button. Your router is in Restore mode.

TFTP installation notes

Set your ethernet interface into static mode (IP address 192.168.168.10, netmask 255.255.255.0, default gateway 192.168.168.1), put your router into Restore mode and upload the firmware by TFTP using the following commands (replace XXXXXX with wp54g or wp54ag):

$ tftp 192.168.168.1
tftp> binary
tftp> trace
tftp> put openwrt-adm5120-router_le-XXXXXX-squashfs.bin

Diagnostic LED will now stop blinking for a while; if the flashing procedure is successfully done, it will start blinking slowly. Now reboot your router manually (turn off - turn on) and OpenWrt will boot.

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
Terminal Upgrade Process
  • Login as root via SSH on 192.168.1.1
  • Use the following commands to upgrade.

cd /tmp
# XXXXXX is wp54g or wp54ag
wget http://downloads.openwrt.org/**path-to-latest-release**/adm5120_router_le/openwrt-adm5120-router_le-XXXXXX-squashfs.bin
sysupgrade /tmp/openwrt-adm5120-router_le-XXXXXX-squashfs.bin

Wireless

Atheros-based card are supported. The device doesn't work with Broadcom cards, since kmod-ssb causes kernel panic at startup.

Both madwifi and ath5k work well with WLM54(A)G cards. You will need some wireless authenticator and/or supplicant (wpad-mini/wpad/wpa-supplicant/hostpad/hostapd-mini).

:!: Madwifi doesn't support MAC changes through UCI on this architecture. If you want to change of wireless MAC, see this.

Useful sources

This page has been assebled from a number of different pages from the oldwiki and current wiki. See them for more (possibily outdated) informations.

Tags

For some Help with the Tags, please have a look here: tags

toh/compex/wp54.txt · Last modified: 2014/04/16 20:53 (external edit)