找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4167|回复: 4

新丁请教误使用NVRAM清除DB120如何恢复

[复制链接]
发表于 2010-2-5 13:20:09 | 显示全部楼层 |阅读模式
本帖最后由 politankz 于 2010-2-5 13:21 编辑

进入DB120的CFE闲的没事做使用E N Y参数清除了NVRAM在重设参数时乱设导致启动到
==>   Bcm963xx Software Version: 3.10L.CT_10.A2pB022g.d20e   <==

device usb0 entered promiscuous mode
br0: port 1(usb0) entering learning state
br0: topology change detected, propagating
br0: port 1(usb0) entering forwarding state
device eth0 entered promiscuous mode
br0: port 2(eth0) entering learning state
br0: topology change detected, propagating
br0: port 2(eth0) entering forwarding state
SIGUSR1
#
时便停止下来,请教一下如何设置NVRAM

Resetting board...

CFE version 1.0.37-10.3 for BCM96358 (32bit,SP,BE)
Build Date: Thu Feb 12 13:10:57 CST 2009 (root@localhost.localdomain)
Copyright (C) 2000-2006 Broadcom Corporation.

Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.
Parallel flash device: name MX29LV320T, id 0x227a, size 16384KB

*** Board is not initialized properly ***

Press:  <enter> to use current value
        '-' to go previous parameter
        '.' to clear the current value
        'x' to exit this command
96358VW2         ------- 0
96358VW2_epon    ------- 1
96358VW2_b20     ------- 2
Board Id (0-2)                    :                     改选第几项?

Number of MAC Addresses (1-32)    :  10  改设置多少?

附进入CFE显示信息


CFE version 1.0.37-10.3 for BCM96358 (32bit,SP,BE)                                                  
Build Date: Thu Feb 12 13:10:57 CST 2009 (root@localhost.localdomain)                                                                     
Copyright (C) 2000-2006 Broadcom Corporation.                                             

Boot Address 0xbe000000                       

Initializing Arena.                  
Initializing Devices.                     
Parallel flash device: name MX29LV320T, id 0x227a, size 16384KB                                                               
Flash Layout: Boot[0,0xbe000000] Kern[9,0xbe020000]                                                   
              AuxFS[261,0xbefe0000] Misc[261,0xbefe0000] PSI[262,0xbeff0000]                                                                           
Flash RootFS Partition Length: 16515072                                       
CFE using EMAC 1               
CPU type 0x2A010: 300MHz, Bus: 13                              
CPU running TP0               
Total memory: 33554432 bytes (32MB)                                   

Total memory used by CFE:  0x80401000 - 0x805285D0 (1209808)                                                            
Initialized Data:          0x8041E210 - 0x8041FDF0 (7136)                                                         
BSS Area:                  0x8041FDF0 - 0x804265D0 (26592)                                                         
Local Heap:                0x804265D0 - 0x805265D0 (1048576)                    
Stack Area:                0x805265D0 - 0x805285D0 (8192)
Text (code) segment:       0x80401000 - 0x8041E210 (119312)
Boot area (physical):      0x00529000 - 0x00569000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1:ffffff00
Host IP address                   : 192.168.1.159
Gateway IP address                :
Run from flash/host (f/h)         : h
Default host run file name        : 308nfs6358
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id (0-2)                    : 96358VW2_epon
Number of MAC Addresses (1-32)    : 12
Base MAC Address                  : 00:10:18:00:00:00
PSI Size (1-64) KBytes            : 24
Flash Block Size (1-128) in KBytes: 64
Auxillary File System Size Percent: 0
Main Thread Number [0|1]          : 0

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 1
web info: Waiting for connection on socket 0.
CFE>
发表于 2010-2-5 14:27:28 | 显示全部楼层
自己看正常的信息:

Board IP address                  : 192.168.1.1:ffffff00
Host IP address                   : 192.168.1.20
Gateway IP address                :
Run from flash/host (f/h)         : h
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id (0-9)                    : 96358VW2
Number of MAC Addresses (1-32)    : 24
Base MAC Address                  : 00:1e:40:c7:22:45
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
 楼主| 发表于 2010-2-5 14:41:08 | 显示全部楼层
谢谢东哥热心回答,我已经按照上述的正常信息设置DB120,但还是停留在这里

ip_nat_pptp version 2.0 loaded
ip_ct_h323: init success
ip_nat_h323: init success
ip_conntrack_rtsp v0.01 loading
ip_nat_rtsp v0.01 loading
ip_nat_irc: Unknown symbol needs_ip_conntrack_irc
insmod: cannot insert `/lib/modules/2.6.8.1/kernel/net/ipv4/netfilter/ip_nat_irc
.ko': Success (2): Success
ip_nat_ftp: Unknown symbol needs_ip_conntrack_ftp
insmod: cannot insert `/lib/modules/2.6.8.1/kernel/net/ipv4/netfilter/ip_nat_ftp
.ko': Success (2): Success

==>   Bcm963xx Software Version: 3.10L.CT_10.A2pB022g.d20e   <==

device usb0 entered promiscuous mode
br0: port 1(usb0) entering learning state
br0: topology change detected, propagating
br0: port 1(usb0) entering forwarding state
device eth0 entered promiscuous mode
br0: port 2(eth0) entering learning state
br0: topology change detected, propagating
br0: port 2(eth0) entering forwarding state
SIGUSR1
#
发表于 2010-2-6 13:37:48 | 显示全部楼层
用一下 i 命令
 楼主| 发表于 2010-2-6 23:47:43 | 显示全部楼层
用一下 i 命令
YES东 发表于 2010-2-6 13:37



  都试过了,还是不行。最后我刷了个带CFE的固件,居然可以了。我的DB120的FLASH是MX29的
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|宽带技术网 |网站地图 粤公网安备44152102000001号

GMT+8, 2025-5-19 19:12 , Processed in 0.023048 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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