找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3070|回复: 3

请教大家CFE 版本的问题

[复制链接]
发表于 2008-5-16 16:51 | 显示全部楼层 |阅读模式
我最近把Flash由 2M =》 4M, CFE 随便用网上下载的,
但是用tftp升级FW 时总是报出错,下面是串口出来的调试信息,
那位朋友有4M Flash 的启动信息,可否发来参考一下?

谢谢!

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
LDR version 2.03.08 for identification.
Build Date: Wed Jul 13 19:16:25 CST 2005 (denny@dny_fc3.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
CPU type 0x29008: 200MHz
Total memory: 32768 KBytes

Total memory used by CFE:  0x80300000 - 0x8039B320 (635680)
Initialized Data:          0x803310B0 - 0x80333740 (9872)
BSS Area:                  0x80333740 - 0x80335320 (7136)
Local Heap:                0x80335320 - 0x80399320 (409600)
Stack Area:                0x80399320 - 0x8039B320 (8192)
Text (code) segment:       0x80300000 - 0x803310B0 (200880)
Boot area (physical):      0x0039C000 - 0x003DC000
Relocation Factor:         I:00000000 - D:00000000

Device eth0:  hwaddr 00-11-50-9D-B0-97, ipaddr 192.168.2.1, mask 255.255.255.0
        gateway not set, nameserver not set
I/O error
Reading :: Failed.: Timeout occured
Reading :: Failed.: Timeout occured
Reading :: Done. 3776512 bytes read
[flash1.trx] : Programming...Failed.: Unknown error
boardcase upgrade status to client: upgrade failure

Loader:raw Filesys:raw Dev:flash0.os File: Optionsnull)
Loading: .. 3732 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029008

Linux version 2.4.35 (root@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #1824 Wed Jan 2 02:15:57 CET 2008

。。。
以下省略,能正常启动路由器,可以在web 界面上设置参数。
 楼主| 发表于 2008-5-16 18:02 | 显示全部楼层
在CFE里 show devices,显示如下:
我算了一下,好像又够4M 哦

flash0.boot          New CFI flash at 1C000000 offset 00000000 size 256KB
flash0.trx           New CFI flash at 1C000000 offset 00040000 size 1KB
flash0.os            New CFI flash at 1C000000 offset 0004001C size 3584KB
flash0.dnvram        New CFI flash at 1C000000 offset 003C0000 size 128KB
flash0.nvram0        New CFI flash at 1C000000 offset 003E0000 size 96KB
flash0.nvram         New CFI flash at 1C000000 offset 003F8000 size 32KB
发表于 2008-5-17 00:14 | 显示全部楼层
reset 键长按, 然后在TFTP看看.

要PING 的时候TTL =100 才能使用 TFTP升级FW.
 楼主| 发表于 2008-5-19 18:54 | 显示全部楼层
JTAG 里对Flash划分:4M
1fc00000:1fc40000        CFE        0x40000                256kB
1fc40000:1FFE0000        Kernel        0x3a0000         3712kB
1ffe0000:20000000        NVRAM        0x20000                128kB

show devices in CFE
flash0.boot          New CFI flash at 1C000000 offset 00000000 size 256KB
flash0.trx           New CFI flash at 1C000000 offset 00040000 size 1KB
flash0.os            New CFI flash at 1C000000 offset 0004001C size 3584KB
flash0.dnvram        New CFI flash at 1C000000 offset 003C0000 size 128KB
flash0.nvram0        New CFI flash at 1C000000 offset 003E0000 size 96KB
flash0.nvram         New CFI flash at 1C000000 offset 003F8000 size 32KB

所以当image 超过3.5M时,系统就启动不了!!!

而DD-WRT的 STD版本大小是 3.6M

不过奇怪其它高人怎么用STD的 DD-WRT呢?

有可能是 CFE 版本不一样吧
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-9 02:51

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表