User Tools

Site Tools


toh:hame:mpr-a2

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:hame:mpr-a2 [2013/05/15 14:04]
toh:hame:mpr-a2 [2014/09/30 17:20] (current)
rickyrockrat
Line 1: Line 1:
- 
 ====== Hame MPR-A2 ====== ====== Hame MPR-A2 ======
 +Small device with a 5200mAh Li-polymer [[#​Tags|rechargeable_battery]]. Product page: http://​www.hametech.com/​html/​product/​view2-24-49.html Size: 96.5(L) x 44.7(W) x 29.8(H) mm
  
-The device is marketed to have these functions:+===== Supported Versions ===== 
 +^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ 
 +| v1   ​| ​   | - | [[https://​dev.openwrt.org/​changeset/​36898|r36898]] |  |
  
-  * Power bank (5200 mAh) to charge any device through the USB connector +  * [[https://​forum.openwrt.org/​viewtopic.php?​id=37002&​p=19|Discussion on forum]]
-  * Wireless access point, uplink through external 3G dongle +
-  * Wireless access point, uplink through Ethernet+
  
-Product page: http://www.hametech.com/html/product/​view2-24-49.html+===== Hardware Highlights ===== 
 +^ CPU ^ Ram ^ Flash ^ Network ^ Supported [[wp>​IEEE 802.11]] versions ^ USB ^ Serial ^ JTag ^ 
 +| RT5350f @360MHz | 32MiB | 8MiB |  1 x 100BASE-TX ​ | 802.11b/g/n | 1x2.0 Host + 1xMicroUSB | Yes | No |
  
-===== Specifications ​=====+===== Installation ​=====
  
-Power Bank: +OpenWrt image cat be downloaded to HAME MPR-A2 simply by using the factory Web UI. 
-  * Capacity: 5200mAh Li-polymer battery +Here is the detailed procedure:
-  * 4 LED indicatorshow the current power +
-  * Protection for over charge, over discharge or short-circuit+
  
-External Interface: +Download the latest OpenWrt trunk sources to PC from svn:
-  * Micro USB: for power Charge +
-  * Standard USB 2.0: for Data Card/supply power for smart  phone and other mobile devices +
-  * RJ45 Port: 1 WAN (Support DHCP, ADSL, Static IP) or LAN+
  
-Other: +<​code>​ 
-  * Interfaces: ​ +mkdir openwrt 
-    * Micro USB for powering/​charging MPR-A2 +cd openwrt 
-    * USB 2.0, to connect 3G dongle or external device to be charged +svn co svn://svn.openwrt.org/​openwrt/​trunk 
-    * RJ45 +cd trunk 
-  * Size96.5(L) x 44.7(W) x 29.8(H) mm+</​code>​
  
-===== Hardware =====+If you plan to use OpenWrt with LuCI Web UI, additionally download the packages as follows:
  
 +<​code>​
 +./​scripts/​feeds update -a
  
-  ​* SoC: [[http://​www.mediatek.com/​_en/​01_products/​04_pro.php?​sn=1005|RA-5350f]] (360MHz)+./​scripts/​feeds install luci 
 +./​scripts/​feeds install luci-proto-ppp 
 +./​scripts/​feeds install luci-proto-3g 
 +</​code>​ 
 + 
 +Empty the openwrt/​trunk/​tmp folder. 
 + 
 +Run configuration menu: 
 + 
 +<​code>​ 
 +make menuconfig 
 +</​code>​ 
 + 
 +In the configuration menu, select the following options: 
 + 
 +  * Target System: Ralink RT288x/​RT3xxx 
 +  * Subtarget: RT3x5x/​RT5350 based boards 
 +  * Target Profile: HAME MPR-A2 
 + 
 + 
 +To install OpenWrt for the first time on a router with factory firmware you will need OpenWrt image in the standard “uImage” format. 
 +To compile such image, when performing "make menuconfig"​ select Target Images - ramdisk: 
 + 
 +  * Target Images: ramdisk 
 + 
 +If you plan to use OpenWrt with LuCI Web UI, additionally select following options: 
 + 
 +  * LuCI --> Collections --> luci 
 +  * LuCI --> Protocols --> luci-proto-3g 
 + 
 +After all the needed options are selected, exit the menu, save the configuration,​ and proceed to build: 
 + 
 +<​code>​ 
 +make 
 +</​code>​ 
 + 
 +After the build completes the firmware file will be located in the openwrt/​trunk/​bin/​ramips/​ folder, file name: 
 + 
 +<​code>​ 
 +openwrt-ramips-rt305x-mpr-a2-initramfs-uImage.bin 
 +</​code>​ 
 + 
 +To install the image, in the factory Web UI go to the firmware download page and download the above file. 
 + 
 +After OpenWrt is successfully installed, it is recommended to perform sysupgrade to squashfs firmware. 
 +To compile such image, when performing "make menuconfig"​ instead of "​initramfs"​ select the default "​squashfs"​ option: 
 + 
 +  * Target Images: squashfs 
 + 
 +After the build completes the firmware file will be located in the openwrt/​trunk/​bin/​ramips/​ folder, file name: 
 + 
 +<​code>​ 
 +openwrt-ramips-rt305x-mpr-a2-squashfs-sysupgrade.bin 
 +</​code>​ 
 + 
 +=====  Debrick hints =====  
 +Should the install go awry, you can get a tftp server running, then copy the openwrt-ramips-rt305x-mpr-a2-initramfs-uImage.bin to the 
 +root of the tftpserver. 
 +  
 +The IP of the server should be 192.168.1.55 (the Hame will come up at 192.168.1.2),​ then look for a file the same as the serial number. 
 +For instance, the SN (on the back) is 9c417c333ed7. Create a link from the openwrt bin file to this file name: 
 +<​code>​ 
 +ln -s openwrt-ramips-rt305x-mpr-a2-initramfs-uImage.bin 9c417c333ed7 
 +</​code>​ 
 +Then power off the Hame, press reset at the same time as power on, and the unit should try to receive the file and install it. 
 +Grep the syslog to debug, if it doesn'​t:​ 
 +<​code>​ grep tftp /​var/​log/​syslog </​code>​ 
 + 
 + 
 +===== Hardware ===== 
 +==== Info ==== 
 +  ​* SoC: [[http://​www.mediatek.com/​_en/​01_products/​04_pro.php?​sn=1005|RT5350f]] (360MHz)
   * Flash: 8 MB, m25p80, s25fl064k   * Flash: 8 MB, m25p80, s25fl064k
   * RAM: 32 MB   * RAM: 32 MB
-  * USBIntegrated+  * 4 LED indicatorshow the current power
  
 ==== Serial port ==== ==== Serial port ====
- 
 The serial port pads are located under the internal battery and are clearly labeled. The serial port pads are located under the internal battery and are clearly labeled.
  
-Serial port settings: 57600n8 +Serial port settings: ​''​57600n8''​
- +
- +
-===== Original firmware =====+
  
  
 +==== Original firmware ====
   * Boot loader: Ralink UBoot Version: 3.6.0.0   * Boot loader: Ralink UBoot Version: 3.6.0.0
   * Kernel: 2.6.21   * Kernel: 2.6.21
Line 563: Line 630:
  
 ==== Services ==== ==== Services ====
- 
   * Telnet (login: hame, password: hame)   * Telnet (login: hame, password: hame)
   * dnsmasq   * dnsmasq
Line 843: Line 909:
 </​HTML>​ </​HTML>​
  
-===== OpenWRT ​===== +===== Tags ===== 
- +---- 
-Support status: WIP [[toh:​start#​hame]] +{{tag>ramips rt5350 ​usb 32ram FastEthernet ​usb2.0 wlan mips32 mips rechargeable_battery portable_router}}
- +
-[[https://​github.com/​shmygov/​OpenWrt-HAME-MPR-A2|Patches]] +
- +
-[[https://​forum.openwrt.org/​viewtopic.php?​id=37002&​p=19|Discussion on forum]] +
- +
-{{tag>​usb 32ram fastethernet ​usb2.0 wlan mips32 mips rt5350}}+
toh/hame/mpr-a2.1368619486.txt.bz2 · Last modified: 2013/05/15 14:04 (external edit)