Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:compex:wp546hv [2016/02/24 09:37] – [Upgrading OpenWRT (on Compex Myloader)] dangh | toh:compex:wp546hv [2016/06/10 01:56] – [Hardware info] ltd | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Compex WP546HV ====== | ||
| + | The device is supported in OpenWrt since Kamikaze 8.09. | ||
| + | |||
| + | ===== Hardware info ===== | ||
| + | ^ Architecture | MIPS | | ||
| + | ^ Vendor | Atheros | | ||
| + | ^ Bootloader | CFE | | ||
| + | ^ System-On-Chip | AR7161 | | ||
| + | ^ CPU Speed | 680 Mhz | | ||
| + | ^ Flash size | 8 MB (up to 16 MB)| | ||
| + | ^ RAM | 64 MB (Max 128 MB) DDR SDRAM | | ||
| + | ^ Wireless | 2 × MiniPCI slots, support all Compex MiniPCI cards | | ||
| + | ^ Ethernet | 2 × 10/100/1000 Base-TX Ethernet Port (with Auto MDI/MDIX) | | ||
| + | ^ USB | 2 × USB 2.0 ports (optional) | | ||
| + | ^ 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, | ||
| + | |||
| + | < | ||
| + | $ tftp 192.168.168.1 | ||
| + | tftp> binary | ||
| + | tftp> trace | ||
| + | tftp> put openwrt-ar71xx-wp546.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 (on Compex Myloader) ===== | ||
| + | |||
| + | === Minimum Requirement === | ||
| + | - Compex loader version 2.64 or above. | ||
| + | - OpenWRT will only be supported on WP546 with 4MB NOR flash and above. | ||
| + | - Please ensure that the Ethernet connection is able to ping address = 192.168.168.1 | ||
| + | - If there is a USB NAND flash available on board, you would need to change the loader configuration. Please refer to “what to do if there is a onboard NAND Flash”. | ||
| + | |||
| + | === Compiling OpenWRT suitable for use on WP546 === | ||
| + | |||
| + | - Getting source codes< | ||
| + | $ svn co -r 12448 https:// | ||
| + | - Apply patches from the files mod-wp546.tgz< | ||
| + | $ tar -zxvf mod-wp546.tgz | ||
| + | $ cp -a mod-wp546/* trunk/</ | ||
| + | - Compile< | ||
| + | $ cd trunk | ||
| + | $ cp wp546.config .config | ||
| + | $ make</ | ||
| + | |||
| + | === Uploading the OpenWRT firmware to WP546 running MyLoader v2.64.0424 === | ||
| + | |||
| + | a. Via Compex Firmware | ||
| + | *Put the AP in Firmware Upgrade mode and upload the file. | ||
| + | *This file is for WP546 with 4MB or 8MB NOR flash. | ||
| + | b. Via TFTP | ||
| + | *Go to the firmware upgrade mode (By pressing and hold the Reset button and plug-in the power adapter). | ||
| + | *Upload the OpenWRT image to the device (//$// **tftp -i 192.168.168.1 put openwrt-ar71xx-wp546.bin**) | ||
| + | |||
| + | ===== Wireless ===== | ||
| + | |||
| + | Both madwifi and ath9k work well with all Compex MiniPCI cards. You will need some wireless authenticator and/or supplicant (wpad-mini/ | ||
| + | |||
| + | :!: Madwifi doesn' | ||
| + | |||
| + | ===== Useful sources ===== | ||
| + | |||
| + | This page has been assembled from a number of different pages from the old wiki and the current wiki. Refer to them for more (possibly outdated) information. | ||
| + | |||
| + | *[[http:// | ||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||