Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:compex:mmc543hv [2016/02/24 09:25] – [Upgrading OpenWRT(on Compex Myloader)] danghtoh:compex:mmc543hv [2024/02/12 08:58] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Compex MMC543HV ======
  
 +{{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}}
 +
 +===== Supported Versions =====
 +<!-- ToH: {
 +  "source": "json",
 +  "dom": "t",
 +  "paging": false,
 +  "rotate": true,
 +  "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "oemdevicehomepageurl", "owrt_forum_topic_url", "deviceid"],
 +  "filterColumns": {"model": "^MMC543HV$"}
 +} -->
 +
 +
 +===== Hardware Highlights =====
 +<!-- ToH: {
 +  "source": "json",
 +  "dom": "t",
 +  "paging": false,
 +  "rotate": true,
 +  "shownColumns": ["model", "version", "cpu", "cpumhz", "flashmb", "rammb", "wlanhardware", "wlan24ghz", "wlan50ghz", "ethernet100mports", "ethernet1gports", "modem", "usbports"],
 +  "filterColumns": {"model": "^MMC543HV$"}
 +} -->
 +
 +
 +===== Installation =====
 +<!-- ToH: {
 +  "source": "json",
 +  "dom": "t",
 +  "paging": false,
 +  "rotate": true,
 +  "shownColumns": ["model", "version", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareoemstockurl"],
 +  "filterColumns": {"model": "^MMC543HV$"}
 +} -->
 +
 +-> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
 +
 +
 +==== 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:mmc543hv#restore_mode|Restore mode]]** and upload the firmware by TFTP using the following commands (replace XXXXXX with wp543):
 +
 +<code>
 +$ tftp 192.168.168.1
 +tftp> binary
 +tftp> trace
 +tftp> put openwrt-ar71xx-wp543.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 (on Compex Myloader) =====
 +
 +=== Minimum Requirement ===
 +  - Compex loader version 2.54 or above.
 +  - OpenWrt will only be supported on WP543 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 WP543 ===
 +  - Getting source codes<code bash>
 +$ svn co -r 12448 https://snv.openwrt.org/openwrt/trunk
 +</code>
 +  - Apply patches from the files mod-wp543.tgz<code bash>
 +$ tar -zxvf mod-wp543.tgz
 +$ cp -a mod-wp543/* trunk/
 +</code>
 +  - Compile<code bash>
 +$ cd trunk
 +$ cp wp543.config .config
 +$ make
 +</code>
 +
 +OpenWrt Firmware will be in //bin/openwrt-ar71xx-wp543.bin//
 +
 +=== Uploading the OpenWrt firmware to WP543 running MyLoader v2.54.0717 ===
 +
 +a. Via Compex Firmware
 +  * Put the AP in Firmware Upgrade mode and upload the file.
 +  * This file is for WP543 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-wp543.bin**)
 +
 +
 +===== Hardware info =====
 +^ Architecture     | MIPS                                                        |
 +^ Vendor           | Atheros                                                     |
 +^ Bootloader       | CFE                                                         |
 +^ System-On-Chip   | AR7130                                                      |
 +^ CPU Speed        | 300 Mhz                                                     |
 +^ Flash size       | 4 MB (up to 16 MB)                                          |
 +^ RAM              | 32 MB (Max 64 MB) DDR SDRAM                                 |
 +^ Wireless         | 1 × 9.2mm MiniPCI slot , support all Compex MiniPCI cards   |
 +^ Ethernet         | 1 × 10/100 Base-TX Ethernet Port (with Auto MDI/MDIX)       |
 +^ USB              | 2 × USB 2.0 ports (optional)                                |
 +^ Serial           | yes                                                         |
 +^ JTAG             | yes                                                         |
 +
 +
 +===== Wireless =====
 +
 +Both madwifi and ath9k work well with all Compex MiniPCI 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 assembled from a number of different pages from the old wiki and the current wiki. Refer to them for more (possibly outdated) information.
 +
 +  *<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>AR7130 4flash 32ram}}