---
title: "路由器刷最新的dd-wrt 过程问题小计"
author: "explorer"
date: "2012-03-21T11:05:36Z"
tags: []
categories: ["编程语言"]
slug: "dd-wrt"
draft: false
lastmod: "2012-03-21T11:05:36Z"
id: 1460297
url: "https://explorer.iteye.com/blog/1460297"
---

去年11月打算为老旧的belkin 7231-4p刷个最新的DD-WRT， 该路由器是改装过的，4M flash, 16M RAM，CPU 200Mhz， 原来是 dd-wrt v24mini build 8420， 打算刷个 v24-presp2的。但是折腾了几次均未成功，后翻到官方论坛中的帖子：Peacock thead， [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486](http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486) ， 帖子中提高了几个非常重要的概念，建议想刷路由的同学好好看看。 才猜到可能是版本不对，后换了尺寸较小的usb\_generic才可以。

 

我开始的误区是4Mflash 那只要小于4M的bin应该都可以刷上去， 所以本着贪大求全的思路，找了4M flash 功能最多的bin。 后来通过哪个 Peacock thread 知道了 cfe 的概念才知道，每个机器能刷的 dd最大尺寸其实是各不相同的。

 

刷机成功后 flash实际使用情况如下：

Creating 5 MTD partitions on "Physically mapped flash":  
0x00000000-0x00040000 : "cfe"  
0x00040000-0x003f0000 : "linux"  
0x00124c00-0x00380000 : "rootfs"  
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only  
0x003f0000-0x00400000 : "nvram"  
0x00380000-0x003f0000 : "ddwrt"

 

 

 

以下是尝试过的几个dd 版本：

 

 

Downloads › others › eko › BrainSlayer-V24-preSP2 › 2010 › 02-03-10-r13832 › broadcom

 

C:\\Users\\explorer&gt;tftp -i 192.168.2.1 put dd-wrt.v24\_nokaid\_generic.bin  
传输成功: 14 秒 3710976 字节，265069 字节/秒  
失败, ping 一直返回100  
C:\\Users\\explorer&gt;tftp -i 192.168.2.1 put dd-wrt.v24-r14896\_nokaid\_generic.bin  
传输成功: 14 秒 3727360 字节，266240 字节/秒  
失败, ping 一直返回100

C:\\Users\\explorer&gt;tftp -i 192.168.2.1 put dd-wrt.v24-15200\_NEWD\_std-nokaid\_usb.bin  
传输成功: 15 秒 3846144 字节，256409 字节/秒  
失败, ping 一直返回100  
C:\\Users\\explorer&gt;tftp -i 192.168.2.1 put dd-wrt.v24-15200\_VINT\_std-nokaid\_usb.bin  
传输成功: 15 秒 3829760 字节，255317 字节/秒  
失败, ping 一直返回100

C:\\Users\\explorer&gt;tftp -i 192.168.2.1 put dd-wrt.v24-17084\_NEWD\_std-nokaid\_usb.bin  
传输成功: 14 秒 3866624 字节，276187 字节/秒  
失败, ping 一直返回100

C:\\Users\\explorer&gt;tftp -i 192.168.2.1 put dd-wrt.v24\_nokaid\_generic\[r17201].bin  
传输成功: 14 秒 3760128 字节，268580 字节/秒  
失败, ping 一直返回100

C:\\Users\\explorer&gt;tftp -i 192.168.2.1 put dd-wrt.v24\_usb\_generic\[r17201].bin  
传输成功: 13 秒 3387392 字节，260568 字节/秒  
刷新成功, connectd 常亮 ttl64