politankz 发表于 2010-2-5 13:20:09

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

本帖最后由 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 Kern                                                   
            AuxFS Misc PSI                                                                           
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

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 1
web info: Waiting for connection on socket 0.
CFE>

YES东 发表于 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

politankz 发表于 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
#

YES东 发表于 2010-2-6 13:37:48

用一下 i 命令

politankz 发表于 2010-2-6 23:47:43

用一下 i 命令
YES东 发表于 2010-2-6 13:37 https://www.chinadsl.net/images/common/back.gif


都试过了,还是不行。最后我刷了个带CFE的固件,居然可以了。我的DB120的FLASH是MX29的
页: [1]
查看完整版本: 新丁请教误使用NVRAM清除DB120如何恢复