nokianokia 发表于 2011-5-1 20:14

linksys WRT320N TTL 问题 求救

我的Linksys wrt320n 用ttl 修复,出现以下情况,请问是不是不能用此方式修复,还是修复方法有问题?
CFE> help
CMD:
Available commands:

gpio                Set GPIO.
upgrade             Upgrade Firmware
et                  Broadcom Ethernet utility.
modify            Modify flash data.
nvram               NVRAM utility.
reboot            Reboot.
flash               Update a flash memory device
batch               Load a batch file into memory and execute it
go                  Verify and boot OS image.
boot                Load an executable file into memory and execute it
load                Load an executable file into memory without executing it
save                Save a region of memory to a remote file via TFTP
ttcp                TCP test command.
tcp constest      tcp console test.
tcp listen          port listener.
tcp connect         TCP connection test.
rlogin            mini rlogin client.
ping                Ping a remote IP host.
arp               Display or modify the ARP Table
ifconfig            Configure the Ethernet interface
show clocks         Show current values of the clocks.
show devices      Display information about the installed devices.
unsetenv            Delete an environment variable.
printenv            Display the environment variables
setenv            Set an environment variable.
help                Obtain help for CFE commands

For more information about a command, enter 'help command-name'
*** command status = 0
我不知道用那个命令,后来我用下面的命令,出现以下,
CFE> show devices
CMD:
Device Name          Description
----------------------------------------------------------------------------
uart0                NS16550 UART at 0x18000300
flash0.boot          ST Serial flash offset 00000000 size 256KB
flash0.trx         ST Serial flash offset 00040000 size 1KB
flash0.os            ST Serial flash offset 0004001C size 7904KB
flash0.nvram         ST Serial flash offset 007F8000 size 32KB
flash1.boot          ST Serial flash offset 00000000 size 256KB
flash1.trx         ST Serial flash offset 00040000 size 7904KB
flash1.nvram         ST Serial flash offset 007F8000 size 32KB
flash0               ST Serial flash size 8192KB
eth0               Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller
*** command status = 0
请问我是不是有几个固件在设备上,我用
CFE>nvram erase 命令后,还是这样子,出现上面的情况,请问是不是没有清出nvram 成功?我该怎么操作?

stainless 发表于 2011-5-1 20:27

我是按dd-wrt wiki上的说明做的 http://www.dd-wrt.com/wiki/index.php/Serial_Recovery

nokianokia 发表于 2011-5-1 20:48

我的开机时的ttl相关信息为
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Jul 24 07:15:00 EDT 2009 (root@Raymond.Lai)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.

No DPN
This is a Serial Flash
Boot partition size = 262144(0x40000)
Found a 8MB ST compatible serial flash
Partition information:
boot    #00   00000000 -> 0003FFFF(262144)
trx   #01   00040000 -> 0004001B(28)
os      #02   0004001C -> 007F7FFF(8093668)
nvram   #03   007F8000 -> 007FFFFF(32768)
Partition information:
boot    #00   00000000 -> 0003FFFF(262144)
trx   #01   00040000 -> 007F7FFF(8093696)
nvram   #02   007F8000 -> 007FFFFF(32768)
BCM47XX_GMAC_ID
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.9
CPU type 0x19740: 354MHz
Total memory: 32768 KBytes

Total memory used by CFE:0x80700000 - 0x807A1D80 (662912)
Initialized Data:          0x80735D20 - 0x80738920 (11264)
BSS Area:                  0x80738920 - 0x8073BD80 (13408)
Local Heap:                0x8073BD80 - 0x8079FD80 (409600)
Stack Area:                0x8079FD80 - 0x807A1D80 (8192)
Text (code) segment:       0x80700000 - 0x80735D18 (220440)
Boot area (physical):      0x007A2000 - 0x007E2000
Relocation Factor:         I:00000000 - D:00000000

Boot version:==> v5.4
The boot is CFE
Update lan mac from to
Committing NVRAM...done
Waiting for reset button release...done

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Jul 24 07:15:00 EDT 2009 (root@Raymond.Lai)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.

No DPN
This is a Serial Flash
Boot partition size = 262144(0x40000)
Found a 8MB ST compatible serial flash
Partition information:
boot    #00   00000000 -> 0003FFFF(262144)
trx   #01   00040000 -> 0004001B(28)
os      #02   0004001C -> 007F7FFF(8093668)
nvram   #03   007F8000 -> 007FFFFF(32768)
Partition information:
boot    #00   00000000 -> 0003FFFF(262144)
trx   #01   00040000 -> 007F7FFF(8093696)
nvram   #02   007F8000 -> 007FFFFF(32768)
BCM47XX_GMAC_ID
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.9
CPU type 0x19740: 354MHz
Total memory: 32768 KBytes

Total memory used by CFE:0x80700000 - 0x807A1D80 (662912)
Initialized Data:          0x80735D20 - 0x80738920 (11264)
BSS Area:                  0x80738920 - 0x8073BD80 (13408)
Local Heap:                0x8073BD80 - 0x8079FD80 (409600)
Stack Area:                0x8079FD80 - 0x807A1D80 (8192)
Text (code) segment:       0x80700000 - 0x80735D18 (220440)
Boot area (physical):      0x007A2000 - 0x007E2000
Relocation Factor:         I:00000000 - D:00000000

Boot version: v5.4
The boot is CFE
Nothing...

### CLKDIV= 0x20a082c, SFlashClkDiv=2 clkdivsf=2 ###
### Change it to 0x20a082c (2) ###
CMD:
Device eth0:hwaddr 68-7F-74-44-4D-7C, ipaddr 192.168.1.1, mask 255.255.255.0
      gateway not set, nameserver not set
CMD:
Check CRC of image1
Len:   0x2B0000   (2818048)       (0xBC040000)
Offset0: 0x1C         (28)            (0xBC04001C)
Offset1: 0xA2A10      (666128)      (0xBC0E2A10)
Offset2: 0x0(0)   (0xBC040000)
Header CRC:    0x10AED533
Calculate CRC: 0x10AED533
Image 1 is OK
Try to load image 1.
CMD:
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .... 1564672 bytes read

### Start=193228641 E=260639420 Delta=67410779 ###
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
然后就停在那儿不动,能看出是什么问题不?

stainless 发表于 2011-5-1 20:52

问题和我遇到的一样,没有拿到CFE的提示符。
参见:

https://www.right.com.cn/forum/viewthread.php?tid=44644&page=1#pid330635

linxd_3310 发表于 2012-7-26 10:16

CFE下面有upgrade命令的呀

cdmud2000 发表于 2015-5-23 15:06

nokianokia 发表于 2011-5-1 20:48
我的开机时的ttl相关信息为
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Jul 24 07: ...

   这是刷错了固件造成的,如果没有刷CFE(用JTAG或仿真器),用TFTP应该可以救回,先找到原厂固件或ldd-wrt.v24-14144_NEWD-2_K2.6_big.bin刷回。前期应该先恢复出厂设置(按WPS键也行,断电再通电10S以上),再次断电再通电,同时开启CMD,PING 192.168.1.1 -T 直到ping 通时,点TFTP上传!
   如果刷错了CFE,只能用JTAG或仿真器重刷原厂的CFE.
页: [1]
查看完整版本: linksys WRT320N TTL 问题 求救