Роутеры HAME MPR-Ax

и их клоны

Прошивки

Перепрошивка роутера из уже установленной ранней версии OpenWrt достаточно проста и доступна из Luci или командной строки при наличии интернет подключения:

$ cd /tmp
$ wget http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/openwrt-ramips-rt305x-mpr-a2-squashfs-sysupgrade.bin
$ mtd write openwrt-ramips-rt305x-mpr-a2-squashfs-sysupgrade.bin firmware

Прочее

Лог

Мне попался интересный экземпляр, с 32мб SDRAM на борту, которые прекрасно видел штатный uBoot, но сама прошивка считала, что у неё только 16мб.

Так что я, не мудрствуя лукаво, залил прошивку через TFTP mpr-a1-32m-luci-usb-mjpg.bin оставив оригинальный uboot.

Лог уже перешитого устройства:

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

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb4000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 42 
spi device id: c2 20 16 c2 20 (2016c220)
find flash: MX25L3205D
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:   MIPS OpenWrt Linux-3.7.5
   Created:      2013-04-11  14:41:22 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    915849 Bytes = 894.4 kB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:df989 
..............   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Лог, после включения при зажатой кнопке. Устройство сразу улетает в TFTP

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

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb4000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 42 
spi device id: c2 20 16 c2 20 (2016c220)
find flash: MX25L3205D
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**************
raspi_read: from:40004 len:6 
.
 NetTxPacket = 0x81FE6AC0 

 KSEG1ADDR(NetTxPacket) = 0xA1FE6AC0 

 NetLoop,call eth_halt ! 

 NetLoop,call eth_init ! 
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 Header Payload scatter function is Disable !! 

 ETH_STATE_ACTIVE!! 
Using Eth0 (10/100-M) device
TFTP from server 192.168.1.55; our IP address is 192.168.1.2
Filename '000c43305018'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: *
ArpTimeoutCheck 
T T T Got ARP REPLY, set server/gtwy eth addr (44:8a:5b:58:f2:3e)
Got it

TFTP error: 'File not found' (1)
Starting again

Trying Eth0 (10/100-M)

 ETH_STATE_ACTIVE!! 
Using Eth0 (10/100-M) device
TFTP from server 192.168.1.55; our IP address is 192.168.1.2
Filename '000c43305018'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: Got ARP REPLY, set server/gtwy eth addr (44:8a:5b:58:f2:3e)
Got it

TFTP error: 'File not found' (1)
Starting again

Trying Eth0 (10/100-M)

 ETH_STATE_ACTIVE!! 
Using Eth0 (10/100-M) device
TFTP from server 192.168.1.55; our IP address is 192.168.1.2
Filename '000c43305018'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: Got ARP REPLY, set server/gtwy eth addr (44:8a:5b:58:f2:3e)
Got it

TFTP error: 'File not found' (1)
Starting again
 
comments powered by Disqus