|
我是个新手!
最近在玩RG100a-AA,刷openwrt玩的同时,也在研究其CFE,同时注意到ECOS有一个开源的redboot,功能强大!!
1、目标:将DD或TT刷入RG100A,并且能正常启动使用无线路由功能(ADSL肯定不能用啦)!
2、可行性:
DD支持16M的flash应该不是问题,有RG100E刷DD成功为证,不知两者Flash是否一样?。
DD支持BCM96358,DDWRT上说到现在支持BCM96358,不过是另外一个版本的6358。
3、思路:改写CFE:重新编译redboot, 刷入RG100A, 再在redboot下手工写入DD到falsh的适当位置让其启动!
4、步骤: 为保险起见,暂时在VM虚拟机上尝试( 非专业人士,无任何硬件和软件环境,JTAG线无并行口试验),已成功编译X86的redboot,在VM中启动成功,
下一步,尝试在VM中写入DD-X86的Bin!
需要了解的:
1、在RG100a现有的CFE上刷DD,会出现什么状况?最好有详细故障显示说明。
2、RG100A的现有的CFE是使用哪种booter? 可运行的命令和调整空间太小,
TTL下只找到如下信息:
CFE> help
Available commands:
w Write the whole image start from beginning of the flash
e Erase [n]vram or [a]ll flash except bootrom
r Run program from flash image or from host depend on [f/h] flag
p Print boot line and board parameter info
c Change booline parameters
f Write image to the flash
i2 Erase TW persistent storage data
i Erase persistent storage data
b Change board parameters
reset Reset the board
flashimage Flashes a compressed image after the bootloader.
help Obtain help for CFE commands
For more information about a command, enter 'help command-name'
*** command status = 0
CFE> p
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id (0-8) : 96358VW2
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:74:04:03:7d:f2
PSI Size (1-64) KBytes : 24
Flash Block Size (1-128) in KBytes: 128
Auxillary File System Size Percent: 25
Main Thread Number [0|1] : 0
附上两篇技术文章:
1、 启动redboot后,向目标机烧写一个linux内核的全过程:http://blog.csdn.net/freedarkeyes/archive/2008/05/15/2448424.aspx
2、Actiontec MI424WR的OpenWrt 实验-编译和运行: http://www.lupaworld.com/131820/viewspace-126590.html
坛子里的高手或前辈肯定有过不少尝试和经验,希望能得到大家的一些指点! |
|