Compex WP54
The device is supported in OpenWrt since Kamikaze 8.09.
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:
- Turn off the device.
- Press and hold the reset button.
- Plug the device (still hold the button).
- Wait until the Diagnostic LED (second from the left) starts flashing quickly. (This will happen almost immediately.)
- 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
- Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ (LuCI Upgrade URL)
- Upload TRX file to LuCI
- Wait for reboot
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
Although OpenWrt firmware images are compiled in -G and -AG versions, they don't contain wireless drivers. (This may be a bug in OpenWrt compile scripts, however, Compex devices were sold as bare boards and may contain many various wi-fi cards. You may select the driver according to your needs.). For -AG version, you will need to install this packages:
- libnl-tiny
- wireless-tools
- kmod-madwifi
- wpa-supplicant (Client mode won't work properly without this package.)
If you want to change of wireless MAC, see this. Madwifi doesn't support MAC changes through UCI on this architecture.
You may try kmod-ath5k and its depends, however, this is untested.
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.
toh/compex/wp54.txt · Last modified: 2011/10/29 22:03 by awm1