OpenWrt Forum Archive

Topic: HAME MPR-A1 - Small and cheap router with built-in battery

The content of this topic has been archived between 12 May 2015 and 2 May 2018. Unfortunately there are posts – most likely complete pages – missing.

I found below solution in this thread, can you please tell me a TFTP server for Widnows which I can use for this.

Flashing
For the specific uBoot (U-Boot 1.1.3 (Sep  1 2012 - 08:34:08)) in this particular clone, the procedure for flashing is fairly straight forward.
Setup a TFTP server on a PC with the IP address 10.10.10.3 and name the sysupgrade.bin file as "Kernal.bin".
Power off the router.
Connect the router to the PC ethernet port directly.
Hold down the reset button whilst turning on the router.
Release the reset button 1-2 seconds after turning on the router.
The router should transfer the "Kernal.bin" file with the IP 10.10.10.123 and flash it then automatically reboot.
The blue LED should light up briefly when it restarts. The green LED should blink during boot and then stay on continously once it has booted.

hi,all
I have two Hame A1 in hand and both are 4MB/16MB flash and sdram.
I tried to compile the ralink SDK to it.
The USB is ok, thanks to you guys's awsome job on the figuring out the gpio.
The wireless AP can be connected.
The problem is when I tried to do the SiteSurvey on the wireless card, it got nothing.
I would like to configure it to ap-client mode. But if no SiteSurvey available, it won't work.
Please everyone, any thoughts would be grateful. Many thanks.

Squonk wrote:

Mine is also an "M1 Mini3G Wifi Router", but its has 32 MB DRAM and "Hardware Version" is "F5-3.1" vs. "F1-2.1" in your case:
http://thumbnails111.imagebam.com/31282/1ff273312817069.gif

Please contact me by PM if your are still interested in getting the partition backup.

HI,
one month back I bought "M1 Mini3G Wifi Router" from aliexpress and I upgrade the firmware "EDT-V9 WCDMA & EVDO Version" from here: http://www.edtv8.com/English/html/9548173136.html
firmware is same as M1 Mini3G Wifi Router but its using build-on SIM functionality. I thought its new upgraded firmware version and I will be able to use (4G) Wimax greenpaket UH350 RNDIS based device while plugin as USB on my M1 Mini3G Wifi Router but After firmware update I lost USB option in setup and I also can't use 3g usb device.
Does any one have original firmware of M1 Mini3G Wifi Router?? If have please share the link. or help me to run Wimax greenpaket UH350.
Thanks

maks740 wrote:

Hi!
Please help.
I have a router. It works fine, only two firmware: factory and HameA1. Perhaps this is due to the fact that the hardware is available only 16Mb memory, although the memory chip - 32Mb (IS42S16160B) Perhaps there is an opportunity to make available 32Mb?

firmware version ver 4.34 Build140311 Mid
hardware version Spi 59-YJ ver 2.0


PCB
https://www.dropbox.com/s/xypv9v7uh2jbt … 4.jpg?dl=0
https://www.dropbox.com/s/45c76vly8drzr … 0.jpg?dl=0

Software (WEB screenshot):
https://www.dropbox.com/s/oxwckdf76olez … 7.png?dl=0
https://www.dropbox.com/s/dq2cxj7jpind3 … 7.jpg?dl=0

Factory firmware:
https://www.dropbox.com/s/d3tefw90f723z … n.bin?dl=0

Sorry for my english

Information:
Information

P.S. PCB Zorlik ZL5900V2

(Last edited by maks740 on 19 Nov 2014, 08:02)

What do you think would work flash winbond 25q128?
http://www.nexflash.com/NR/rdonlyres/1C … Q128BV.pdf

Some dev used 128mbit
https://wikidevi.com/wiki/Ralink_RT5350

Upd
Boot on 25q128 defult firmware:

U-Boot 1.1.7 (Dec 13 2011 - 13:49:42)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb4000
spi_wait_nsec: 42
spi device id: ef 40 18 0 0 (40180000)
Warning: un-recognized chip ID, please update bootloader!
raspi_read: from:30000 len:1000
.*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping
DRAM_TYPE: SDRAM
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Dec 13 2011  Time:13:49:42
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

 ##### The CPU freq = 360 MHZ ####
 estimate memory size =32 Mbytes
raspi_read: from:40028 len:6
.
raspi_read: from:0 len:30004
....*************Is_update = 0 plat = 1**************

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                     0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.   Image Name:   Linux Kernel Image
   Created:      2013-08-23   7:31:57 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3794821 Bytes =  3.6 MB
   Load Address: 80000000
   Entry Point:  80307000
raspi_read: from:50040 len:39e785
..........................................................   Verifying Checksum ... Bad Data CRC

Add

[    0.000000] Linux version 3.7.5 (lich@lich-pc) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #2 Thu Apr 11 22:41:02 CST 2013
[    0.000000] prom: fw_arg0=00000001, fw_arg1=81f52fb0, fw_arg2=81f533b0, fw_arg3=00000000
[    0.000000] env=  (null) is not in RAM, skipping
[    0.000000] env=  (null) is not in RAM, skipping
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT5350 id:1 rev:3 running at 360.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80255c70, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=MPR-A1 console=ttyS1,57600 mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),2880k(rootfs),3776k@0x50000(firmware) rootfstype=squashfs,jffs2 mem=32M
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00035c14
[    0.000000] Readback ErrCtl register=00035c14
[    0.000000] Memory: 29632k/32768k available (1969k kernel code, 3136k reserved, 473k data, 180k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is HAME MPR-A1
[    0.130000] bio: create slab <bio-0> at 0
[    0.140000] Switching to clocksource MIPS
[    0.150000] NET: Registered protocol family 2
[    0.160000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.190000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.200000] TCP: reno registered
[    0.210000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.230000] NET: Registered protocol family 1
[    0.280000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.290000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.320000] msgmni has been set to 57
[    0.320000] io scheduler noop registered
[    0.330000] io scheduler deadline registered (default)
[    0.340000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.360000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.370000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.390000] ramips-spi ramips-spi.0: master is unqueued, this is deprecated
[    0.410000] m25p80 spi0.0: found w25q128, expected pm25lq032
[    0.420000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.430000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.440000] Creating 6 MTD partitions on "spi0.0":
[    0.450000] 0x000000000000-0x000000030000 : "u-boot"
[    0.460000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.480000] 0x000000040000-0x000000050000 : "factory"
[    0.490000] 0x000000050000-0x000000130000 : "kernel"
[    0.500000] 0x000000130000-0x000000400000 : "rootfs"
[    0.520000] mtd: partition "rootfs" set to be root filesystem
[    0.530000] mtd: partition "rootfs_data" created automatically, ofs=380000, len=80000 
[    0.550000] 0x000000380000-0x000000400000 : "rootfs_data"
[    0.560000] 0x000000050000-0x000000400000 : "firmware"
[    0.580000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 35, using 35
[    0.600000] TCP: cubic registered

Boot with https://github.com/JiapengLi/OpenWrt-RT … ter/mpr-a1

(Last edited by vitaliy_86 on 17 Feb 2015, 12:16)

Hi All,

can someone help me with building a sysimage to my A1 clone (4M/16M)? I've successfully changed the original FW to openwrt and now want to upgrade it with sysupgrade from a custom build FW. Unfortunatelly I cannot build a sysupgrade image from 14.07. The "make" runs successfully, but I'm not getting a "-sysupgrade-*.bin". The files I get:

-rw-r--r-- 1 viper viper  665 Nov  7 15:13 md5sums
-rw-r--r-- 1 viper viper 4.3M Nov  7 15:13 openwrt-ramips-rt305x-mpr-a1-initramfs-uImage.bin
-rw-r--r-- 1 viper viper 3.5M Nov  7 15:13 openwrt-ramips-rt305x-root.squashfs
-rw-r--r-- 1 viper viper 8.3M Nov  6 00:14 openwrt-ramips-rt305x-root.squashfs.save
-rw-r--r-- 1 viper viper 967K Nov  7 15:13 openwrt-ramips-rt305x-uImage.bin
-rw-r--r-- 1 viper viper 4.3M Nov  7 15:13 openwrt-ramips-rt305x-uImage-initramfs.bin
-rwxr-xr-x 1 viper viper 2.8M Nov  7 15:12 openwrt-ramips-rt305x-vmlinux.bin
-rwxr-xr-x 1 viper viper 2.9M Nov  7 15:12 openwrt-ramips-rt305x-vmlinux.elf
-rwxr-xr-x 1 viper viper 6.1M Nov  7 15:13 openwrt-ramips-rt305x-vmlinux-initramfs.bin
-rwxr-xr-x 1 viper viper 6.1M Nov  7 15:13 openwrt-ramips-rt305x-vmlinux-initramfs.elf
drwxr-xr-x 5 viper viper 4.0K Oct 24 12:17 packages

How can I build an image which can be used with sysupgrade?

v1pr wrote:

Hi All,

can someone help me with building a sysimage to my A1 clone (4M/16M)? I've successfully changed the original FW to openwrt and now want to upgrade it with sysupgrade from a custom build FW. Unfortunatelly I cannot build a sysupgrade image from 14.07. The "make" runs successfully, but I'm not getting a "-sysupgrade-*.bin". The files I get:

-rw-r--r-- 1 viper viper  665 Nov  7 15:13 md5sums
-rw-r--r-- 1 viper viper 4.3M Nov  7 15:13 openwrt-ramips-rt305x-mpr-a1-initramfs-uImage.bin
-rw-r--r-- 1 viper viper 3.5M Nov  7 15:13 openwrt-ramips-rt305x-root.squashfs
-rw-r--r-- 1 viper viper 8.3M Nov  6 00:14 openwrt-ramips-rt305x-root.squashfs.save
-rw-r--r-- 1 viper viper 967K Nov  7 15:13 openwrt-ramips-rt305x-uImage.bin
-rw-r--r-- 1 viper viper 4.3M Nov  7 15:13 openwrt-ramips-rt305x-uImage-initramfs.bin
-rwxr-xr-x 1 viper viper 2.8M Nov  7 15:12 openwrt-ramips-rt305x-vmlinux.bin
-rwxr-xr-x 1 viper viper 2.9M Nov  7 15:12 openwrt-ramips-rt305x-vmlinux.elf
-rwxr-xr-x 1 viper viper 6.1M Nov  7 15:13 openwrt-ramips-rt305x-vmlinux-initramfs.bin
-rwxr-xr-x 1 viper viper 6.1M Nov  7 15:13 openwrt-ramips-rt305x-vmlinux-initramfs.elf
drwxr-xr-x 5 viper viper 4.0K Oct 24 12:17 packages

How can I build an image which can be used with sysupgrade?

I had this problem, because my sysupgrade was bigger than 4M so it won't be generated. 
Try to remove something and build again.
Or do as i did, begin with a clean build and put more features 1 by 1 til you find your max.

kantha wrote:

I found below solution in this thread, can you please tell me a TFTP server for Widnows which I can use for this.

Flashing
For the specific uBoot (U-Boot 1.1.3 (Sep  1 2012 - 08:34:08)) in this particular clone, the procedure for flashing is fairly straight forward.
Setup a TFTP server on a PC with the IP address 10.10.10.3 and name the sysupgrade.bin file as "Kernal.bin".
Power off the router.
Connect the router to the PC ethernet port directly.
Hold down the reset button whilst turning on the router.
Release the reset button 1-2 seconds after turning on the router.
The router should transfer the "Kernal.bin" file with the IP 10.10.10.123 and flash it then automatically reboot.
The blue LED should light up briefly when it restarts. The green LED should blink during boot and then stay on continously once it has booted.


I tried flashing it with this method and it didn't work either, it didn't even established a connection.

Can't access the damn thing in any way. Through ethernet when I try to connect it, it won't find an IP. When I create one manually like 192.168.169.2 there are bytes sent and received but whan trying to access 192.168.169.1 to go to the config page it won't open anything.

Can't connect the stupid thing through wifi either because 12345678 won't work and there is no sticker or mention of another wifi key anywhere.

The only solution is to reflash new firmware and I can't do it either, I think I'm just going to throw it to the trash.

Taipoka wrote:

I had this problem, because my sysupgrade was bigger than 4M so it won't be generated. 
Try to remove something and build again.
Or do as i did, begin with a clean build and put more features 1 by 1 til you find your max.

Thanks, that did help! smile I wonder, why there isn't a warning for that sad

The strangest thing just happened, I was resetting my unit but the battery was low, it died while the light was flashing, I thought I might have bricked it, to my surprise when I plugged it to charge and turned it on, the wifi SSID showed up as 3GWi-Fi_B4E2 instead of NEWPOSTECH_B4E2, and this time wifi key 12345678 worked and now it is working perfectly.

Its so odd, it's like the vendor had put in some custom firmware and by interrupting the reset process it reverted back to the original firmware somehow.

I was really about to give up and throw it away, glad I didn't.

Hello all. I got a couple of those devices in order to install openwrt on them. I tried updating the uboot in order to support 32MB of RAM. Both devices came with 32MB chips. The update took place over TFTP using the uboot menu. The update was succesfull, according to the message displayed (.Done) but the device was bricked :-

   On the second device, I flashed an openwrt image first. Everything worked fine, but I still have 16MB of RAM. I need to update the uboot now. Couldn't do it through mdt write <image> u-boot. Probably, wont work through TFTP, like before.

Any ideas on how to update uboot?

steliosm wrote:

Hello all. I got a couple of those devices in order to install openwrt on them. I tried updating the uboot in order to support 32MB of RAM. Both devices came with 32MB chips. The update took place over TFTP using the uboot menu. The update was succesfull, according to the message displayed (.Done) but the device was bricked :-

   On the second device, I flashed an openwrt image first. Everything worked fine, but I still have 16MB of RAM. I need to update the uboot now. Couldn't do it through mdt write <image> u-boot. Probably, wont work through TFTP, like before.

Any ideas on how to update uboot?

Hi,

where did you order it from? I only got 16MB devices sad

Upgrading the u-boot: try this

uboot128.img is for the 32MB devices, uboot.img is for the 16MB devices, if I remember correctly.

I got them from eBay. This is the device.
I checked the SDRAM IC and I find out that they were 32MB RAM chips.

I can't follow the steps in that link, since I need shell access on the device in order to mtd write the bootloader. The latest devices run a "BoC Router" shell which is a restricted shell. I also tried the TFTP method but the first device got bricked.

After flashing an OpenWRT that has the mem=32M in the kernel command line I was able to see the whole (32MBytes) RAM. So, it seems there is no need to update the u-boot anymore on those devices.

Hello,

I have bought a HAME A15 clone to use the integrated USB host to control my Neato Botvac Robot.
So far, I have succeeded in packaging and flashing my own OpenWrt image but am stuck at properly configuring the wifi.
Ideally, the A15 would just be just like any other client device getting its ip via dhcp, so I tried to configure it in 'sta' mode. My config files are attached.
Although the ifconfig looks good to me and the A15 gets an ip address from my dhcp server, I can't ping or telnet it nor can i ping the main router from the A15. the /etc/config/firewall is empty, so i guess no firewall restrictions apply.
Can anyone give me a hint what I am doing wrong?
---
root@OpenWrt:/# cat /etc/config/wireless

config wifi-device  radio0
        option type     mac80211
        option channel  auto
        option hwmode   11ng
        option path     'platform/rt2800_wmac.0'
        option htmode   HT20
        list ht_capab   GF
        list ht_capab   SHORT-GI-20
        list ht_capab   SHORT-GI-40
        list ht_capab   RX-STBC1
        option disabled 0


config wifi-iface
        option device   radio0
        option network  wlan
        option mode     sta
        option ssid     xxx
        option encryption psk2
        option key xxx


root@OpenWrt:/# cat /etc/config/network
config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'


config interface 'lan'
        option ifname 'eth0.1'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.181.200'
        option netmask '255.255.255.0'
        option macaddr '21:48:20:03:21:18'


config interface 'wlan'
        option proto 'dhcp'
        option macaddr '21:48:20:03:21:20'


config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'
        option macaddr '21:48:20:03:21:19'


config switch
        option name 'rt305x'
        option reset '1'
        option enable_vlan '1'


config switch_vlan
        option device 'rt305x'
        option vlan '1'
        option ports '0 1 2 3  6t'


config switch_vlan
        option device 'rt305x'
        option vlan '2'
        option ports '4  6t‘


root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 2E:67:FB:52:1C:5C
          inet addr:192.168.181.200  Bcast:192.168.181.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:784 errors:0 dropped:0 overruns:0 frame:0
          TX packets:498 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:50732 (49.5 KiB)  TX bytes:34042 (33.2 KiB)


eth0      Link encap:Ethernet  HWaddr 2E:67:FB:52:1C:5C
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4472 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2606 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:395891 (386.6 KiB)  TX bytes:574322 (560.8 KiB)
          Interrupt:5


eth0.1    Link encap:Ethernet  HWaddr 2E:67:FB:52:1C:5C
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:786 errors:0 dropped:0 overruns:0 frame:0
          TX packets:498 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:51053 (49.8 KiB)  TX bytes:34042 (33.2 KiB)


eth0.2    Link encap:Ethernet  HWaddr 2E:67:FB:52:1C:5C
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:55806 (54.4 KiB)


lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:22553 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22553 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1850772 (1.7 MiB)  TX bytes:1850772 (1.7 MiB)


wlan0     Link encap:Ethernet  HWaddr 2C:67:FB:52:1C:5C
          inet addr:192.168.181.19  Bcast:192.168.181.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:679 errors:0 dropped:97 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:114787 (112.0 KiB)  TX bytes:1539 (1.5 KiB)

Hi guys.

Anyone have the stock firmware for the MPR-L8 2.1.3.8 or know where I can find it?


Best regards.

Hi guys,

I have a clone of hame mpr-a1 same as this one "http://my-embedded.blogspot.com.au/2014 … 5350f.html"

I'm trying to upgrade the flash from 4mb to 8mb(W25Q64FVSSIG) any help would be great.
I really like the size of the router would be great to upgrade the flash.
block mount is great , but I'd prefer to keep the USB port for other devices.
I have a CH341 USB programmer in hand.

Is there a way to expand the size of the firmware from 4mb to 8mb?
The closest firmware I could find is MPR-A2.

Thanks in advance.
Jeff

Where did you buy the Flash chip? How much was it? I was planning the same, but considering that the TP-Link WR-710N is not that expensive and includes power supply, 8M/32M maybe it's not worth doing it.

BTW, you can build a custom firmware anytime with openwrt buildroot - it's pretty easy. Actually it took me a while to build an image smaller than 4MB..

MPR-A1 16 megabyte flash chip upgrade

jfresh wrote:

Hi guys,

Is there a way to expand the size of the firmware from 4mb to 8mb?
The closest firmware I could find is MPR-A2.

Thanks in advance.
Jeff

In my case , I do expand MPR-A1 firmware to 16 megabyte flash , moded uboot --to recognize  W25Q128BV flash chip-- and moded CHAOS CALMER (Bleeding Edge, r44233) firmware --to utilize full rootfs--.

My trick is to a make new profile for MPR-A1 16MB flash version named MPR-A3 by creating new dts file.
We don't have to touch MPR-A1 dts file for further use.

/dts-v1/;

/include/ "rt5350.dtsi"

/ {
    compatible = "MPRA3", "ralink,rt5350-soc";
    model = "HAME MPR-A3";

    palmbus@10000000 {
        spi@b00 {
            status = "okay";
            m25p80@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "w25q128";
                reg = <0 0>;
                linux,modalias = "m25p80", "w25q128";
                spi-max-frequency = <10000000>;

                partition@0 {
                    label = "u-boot";
                    reg = <0x0 0x30000>;
                    read-only;
                };

                partition@30000 {
                    label = "u-boot-env";
                    reg = <0x30000 0x10000>;
                    read-only;
                };

                factory: partition@40000 {
                    label = "factory";
                    reg = <0x40000 0x10000>;
                    read-only;
                };

                partition@50000 {
                    label = "firmware";
                    reg = <0x50000 0xfb0000>;
                };
            };
        };
    };

    pinctrl {
        state_default: pinctrl0 {
            gpio {
                ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
                ralink,function = "gpio";
            };
        };
    };

    ethernet@10100000 {
        mtd-mac-address = <&factory 0x4>;
    };

    esw@10110000 {
        ralink,portmap = <0x2f>;
    };

    wmac@10180000 {
        ralink,mtd-eeprom = <&factory 0>;
    };

    ehci@101c0000 {
        status = "okay";
    };

    ohci@101c1000 {
        status = "okay";
    };

    gpio-leds {
        compatible = "gpio-leds";
        system {
            label = "hame:blue:system";
            gpios = <&gpio0 20 1>;
        };
        power {
            label = "hame:red:power";
            gpios = <&gpio0 17 1>;
        };
    };

    gpio-keys-polled {
        compatible = "gpio-keys-polled";
        #address-cells = <1>;
        #size-cells = <0>;
        poll-interval = <20>;
        wps {
            label = "reset";
            gpios = <&gpio0 0 1>;
            linux,code = <0x198>;
        };
    };

    gpio_export {
        compatible = "gpio-export";
        #size-cells = <0>;

        usb {
            gpio-export,name = "usb";
            gpio-export,output = <1>;
            gpios = <&gpio0 7 0>;
        };
        root_hub {
            gpio-export,name = "root_hub";
            gpio-export,output = <1>;
            gpios = <&gpio0 12 0>;
        };
    };
};

Here the diff I've made pastebin

[    0.490000] Creating 4 MTD partitions on "spi32766.0":
[    0.510000] 0x000000000000-0x000000030000 : "u-boot"
[    0.520000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.540000] 0x000000040000-0x000000050000 : "factory"
[    0.540000] 0x000000050000-0x000001000000 : "firmware"
[    0.610000] 2 uimage-fw partitions found on MTD device firmware
[    0.630000] 0x000000050000-0x00000015157f : "kernel"
[    0.640000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.670000] 0x00000015157f-0x000001000000 : "rootfs"
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                   12.5M    472.0K     12.0M   4% /
/dev/root                 2.3M      2.3M         0 100% /rom
tmpfs                    14.3M    512.0K     13.8M   3% /tmp
/dev/mtdblock6           12.5M    472.0K     12.0M   4% /overlay
overlayfs:/overlay       12.5M    472.0K     12.0M   4% /
tmpfs                   512.0K         0    512.0K   0% /dev

I hope this help you.

(Last edited by saturn-b on 1 Feb 2015, 14:49)

@v1per, sorry for the super late reply just came back from overseas, I got it of ebay for around 5$ for 5pcs (chinese stock).

@saturn-b, thank you so much for your help, I'll definitely give it a try very soon.
the device is very stable I had it on for 1 month while overseas, with no prob.

anyone have any idea if I could install a pigtail (external antenna) or even upgrade the RAM to 64mb maybe, would be cool to serve as tor transparent proxy.

Hello All,

I think I bricked my original Hame MPR-A2.
I tried to install using the method in the Wiki (http://wiki.openwrt.org/toh/hame/mpr-a2)

I have installed the initramfs-uImage.bin, but I cannot install the squashfs-sysupgrade.bin.


Logs say:
Tue Feb 10 17:44:40 2015 kern.err kernel: [   12.450000] rt2800_wmac 10180000.wmac: failed to get mtd device "factory"
Tue Feb 10 17:44:40 2015 kern.info kernel: [   12.470000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
Tue Feb 10 17:44:40 2015 kern.warn kernel: [   12.490000] rt2800_wmac 10180000.wmac: Direct firmware load failed with error -2
Tue Feb 10 17:44:40 2015 kern.warn kernel: [   12.500000] rt2800_wmac 10180000.wmac: Falling back to user helper
Tue Feb 10 17:44:40 2015 kern.err kernel: [   12.580000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
Tue Feb 10 17:44:40 2015 kern.warn kernel: [   12.600000] rt2800_wmac: probe of 10180000.wmac failed with error -2

and /proc/mtd says:

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
root@OpenWrt:/#


Anyone got a suggestion of what to try next? Thanks in advance!

http://forum.anywlan.com/thread-329993-1-1.html

 [    0.520000] 0x000000000000-0x000000030000 : "u-boot"
 [    0.530000] 0x000000030000-0x000000040000 : "u-boot-env"
 [    0.550000] 0x000000040000-0x000000050000 : "factory"
 [    0.560000] 0x000000050000-0x000000800000 : "firmware"
 [    0.580000] 0x000000146297-0x000000800000 : "rootfs"

http://www.right.com.cn/FORUM/thread-147326-1-1.html

U-Boot 1.1.3 (Aug 15 2014 - 00:32:37)

 Board: Ralink APSoC DRAM:  32 MB
 relocate_code Pointer at: 81fb4000
 ******************************
 Software System Reset Occurred
 ******************************
 spi_wait_nsec: 42 
 spi device id: ef 40 18 0 0 (40180000)
 find flash: W25Q128BV

(Last edited by vitaliy_86 on 21 Feb 2015, 09:06)

Bought 2 of them last October in Shanghai, and one of them being faulty at the microUSB port, I flashed with OpenWRT, an image I made myself. Works great, except the antenna, it is so poor the conection.

Anyone knows about the free GPIO?