Ubiquiti EdgeRouter X (ER

文章正文
发布时间:2025-08-17 03:40

本帖最后由 至尊红颜 于 2016-9-20 10:38 编辑

这款小巧精致的路由器有4个LAN口1个wan口,参看以下外观截图
硬件配置:
System-On-Chip        MediaTek MT7621AT
NAND FLASH             256M
MEMORY                  256M
WLAN 2.4G               -
WLAN 5G                  -
USB ports                 -

官方固件下载地址:
https://dl.ubnt.com/firmwares/edgemax/v1.9.0/ER-e50.v1.9.0.4901118.tar

官方固件有hw_nat

官方分区表:
Creating 7 MTD partitions on "MT7621-NAND":
0x000000000000-0x00000ff80000 : "ALL"
0x000000000000-0x000000080000 : "Bootloader"
0x000000080000-0x0000000e0000 : "Config"
0x0000000e0000-0x000000140000 : "eeprom"
0x000000140000-0x000000440000 : "Kernel"
0x000000440000-0x000000740000 : "Kernel2"
0x000000740000-0x00000ff00000 : "RootFS"

OpenWrt Upgrade URL:
https://downloads.openwrt.org/snapshots/trunk/ramips/mt7621/openwrt-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar

openwrt没有hw_nat,没有开源驱动

OP 分区表:
6 ofpart partitions found on MTD device MT7621-NAND
Creating 6 MTD partitions on "MT7621-NAND":        
0x000000000000-0x000000080000 : "u-boot"           
0x000000080000-0x0000000e0000 : "u-boot-env"      
0x0000000e0000-0x000000140000 : "factory"         
0x000000140000-0x000000440000 : "kernel1"         
0x000000440000-0x000000740000 : "kernel2"         
0x000000740000-0x00000ff00000 : "ubi"              


不要随意乱动factory分区,尤其是分区擦写时,参看以下截图:

官方固件刷OP firmware起不来肿么办,不要慌张,只要官方uboot还在就问题不大, tftp刷机:
i.  上TTL串口,参看inner_side截图
ii. 选择uboot启动方式,可以是1或是2,设置tftp client和server IP 地址,注意device是router
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.
default: 3                                                                                                                          4
You choosed 1
                                                                                                                                         0




1: System Load Linux to SDRAM via TFTP.
Please Input new ones /or Ctrl-C to discard
        Input device IP (172.16.3.212) ==:192.168.2.199
        Input server IP (172.16.3.210) ==:192.168.2.104
        Input Linux Kernel filename (vme50) ==

penwrt.bin


netboot_common, argc= 3


NetTxPacket = 0x8FFE55C0


KSEG1ADDR(NetTxPacket) = 0xAFFE55C0


NetLoop,call eth_halt !


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


Waitting for RX_DMA_BUSY status Start... done




ETH_STATE_ACTIVE!!
TFTP from server 192.168.2.104; our IP address is 192.168.2.199
Filename 'openwrt.bin'.


TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: checksum bad                     
checksum bad         
checksum bad
Got ARP REPLY, set server/gtwy eth addr (70:5a:b6:b4:24:a1)
Got it                                                     
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############                                                   
done                  
Bytes transferred = 2731102 (29ac5e hex)
NetBootFileXferSize= 0029ac5e           
..Erasing NAND Flash...      
ranand_erase: start:80000, len:20000
.Writing to NAND Flash...            
done                     
Automatic boot of image at addr 0x80A00000 ...
## Booting image at 80a00000 ...              
   Image Name:   MIPS OpenWrt Linux-4.4.6
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2731038 Bytes =  2.6 MB                  
   Load Address: 80001000               
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd                           
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256


Starting kernel ...

(ps:以上log中将openwrt-ramips-mt7621-ubnt-erx-initramfs-kernel.bin文件重命名成openwrt.bin)
iii. Perfect, 板子想预期的一样正常启动了,百度网盘中有openwrt-ramips-mt7621-ubnt-erx-initramfs-kernel.bin
BusyBox v1.24.2 () built-in shell (ash)


  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, 49928)
-----------------------------------------------------
  * 2 oz. Orange Juice         Combine all juices in a
  * 2 oz. Pineapple Juice      tall glass filled with
  * 2 oz. Grapefruit Juice     ice, stir well.
  * 2 oz. Cranberry Juice
-----------------------------------------------------
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#

ramfs bin文件百度网盘地址:


欢迎大家加入我们的技术交流QQ群:331230369  加群申请信息填”openwrter“ 群内大牛多多






 

ubiquiti路由器

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分 参与人数 4恩山币 +4 理由

荒野无灯
  + 1   很详细的帖子  

fengchen
  + 1   原厂也是6个分区,all是整个flash  

mxw63624701
  + 1   然并卵  

kerwinkoo
  + 1   亲,你这么厉害,我想做你的经纪人!  

查看全部评分