User Tools

Site Tools


toh:compex:wp54

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:compex:wp54 [2013/01/14 20:08]
toh:compex:wp54 [2016/02/25 10:48] (current)
dangh [Hardware info]
Line 1: Line 1:
 +====== 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 | 1 × Type III miniPCI slot, usually with Compex WLM54G or WLM54AG card |
 +^ Ethernet | 2 × 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 **[[toh:​compex:​wp54#​restore_mode|Restore mode]]** and upload the firmware by TFTP using the following commands (replace XXXXXX with wp54g or wp54ag):
 +
 +<​code>​
 +$ tftp 192.168.168.1
 +tftp> binary
 +tftp> trace
 +tftp> put openwrt-adm5120-router_le-XXXXXX-squashfs.bin
 +</​code>​
 +
 +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.
 +
 +<code bash>
 +$ 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
 +</​code>​
 +
 +===== 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 [[http://​madwifi-project.org/​wiki/​UserDocs/​ChangeMacAddress|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.
 +
 +  *<​del>​[[http://​www.compex.com.sg/​forum/​|Compex forum]]</​del>​
 +  *<​del>​[[http://​cpx.px.cz/​|another Compex forum (CZ/​ENG)]]</​del>​
 +
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +{{tag>​ADM5120 FastEthernet 1NIC 1WNIC 2Port 16RAM 4Flash MIPS MIPS32 4Kc}}