少校
- 注册时间
- 2012-2-24
- 金币
- 4446 个
- 威望
- 8 个
- 荣誉
- 0 个
累计签到:444 天 连续签到:0 天 [LV.730]常住居民
|
最近从朋友那边看到一个fir302b的路由没人用放在那觉得可惜,原因玩的时候会卡。反正没人用拿回来刷刷看。
一开始用 海蜘蛛 按照他的说明来的用的webs升级。才上上去就没用了。。折腾了好几天看看有没有不拆机可以刷回的方法。
不过怎么试都没用设备死活不响应。
无奈只能拆开焊排针。
下面来说下刷机经验。
看来好多帖子。
1.有串口的情况先 按住键盘ctrl+c 不然进不去。
2.进去后打 flash -noheader 【tftp地址】:/[文件名] flash1.trx
3.等待出现如下字
done. 3969024 bytes written
*** command status = 0
CFE>
4.拔网线后reboot
Cisco TFTP Server 和 镜像 在附件有
下面列出串口log
======================================================================
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered (default)
HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
骵rial8250: ttyS0 at MMIO 0xb8000300 (irq = 8) is a 16550A
PPP generic driver version 2.4.2
MPPE/MPPC encryption/compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.18.3
PPTP driver version 0.8.5
pflash: found no supported devices
Found an ST compatible serial flash with 64 64KB blocks; total size 4MB
Creating 5 MTD partitions on "sflash":
0x00000000-0x00020000 : "pmon"
0x00020000-0x003f0000 : "linux"
0x000fa400-0x003f0000 : "rootfs"
0x003f0000-0x00400000 : "jffs2"
0x003f0000-0x00400000 : "nvram"
_nvram_init: allocat header: 2166259712, size= 32768
u32 classifier
OLD policer on
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (512 buckets, 4096 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
ipt_account 0.1.21 : Piotr Gasidlo <quaker@barbara.eu.org>, http://www.barbara.eu.org/~quaker/ipt_account/
net/ipv4/netfilter/tomato_ct.c [Sep 10 2014 16:15:53]
create dev playmud.gmail.com sucessed
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 124k freed
Unhandled kernel unaligned access[#1]:
Cpu 0
$ 0 : 00000000 00000000 ffffffff 000001ff
$ 4 : 8027e8dc 00000000 00000000 00000000
$ 8 : 00000000 00000000 fffffffa ffffffff
$12 : ffffffff 00000008 00000008 ffffffff
$16 : 8110f6a0 00000001 00000000 00000400
$20 : 00000bb8 00000000 81115ba0 00000000
$24 : 00000002 8005c168
$28 : 8110e000 8110f620 8110f790 800ac22c
Hi : 00000000
Lo : 02625a00
epc : 800ac278 Not tainted
ra : 800ac22c Status: 11008003 KERNEL EXL IE
Cause : 00000010
BadVA : 0000014b
PrId : 00019749
Modules linked in:
Process swapper (pid: 1, threadinfo=8110e000, task=8110cc00)
Stack : 80311308 00000002 802ea000 8110f6a0 00000400 00000001 811f2200 811f2000
811f2000 8110f6a0 002edf77 00000000 8110f790 800ae8dc 8110f6a0 00000001
811f2200 811f2000 802e8000 8110f6a0 002edf77 00000000 8110f790 800d3edc
00000001 00000000 00000000 811e48ac 00000400 802f5540 00000000 00000002
80311988 80311308 80311348 80311388 803113c8 80311ec8 80311f08 80311f48
...
Call Trace:[<800059f8>][<80006944>][<80006dc8>][<80281754>][<80001548>][<802815bc>]
Code: 8c420038 10400005 240301ff <9442014c> 14400002 2443ffff 240301ff 00731024 14400006
Kernel panic - not syncing: Attempted to kill init!
Decompressing...done
CFE version 5.100.138.2205 based on BBP 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Sat Jan 11 15:58:50 CST 2014 (guojianping@Server-SW-X03)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 131072(0x20000)
Found an ST compatible serial flash with 64 64KB blocks; total size 4MB
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.2205
CPU type 0x19749: 300MHz
Tot mem: 32768 KBytes
CFE mem: 0x80700000 - 0x80799430 (627760)
Data: 0x8072EFA0 - 0x807321F0 (12880)
BSS: 0x807321F0 - 0x80733430 (4672)
Heap: 0x80733430 - 0x80797430 (409600)
Stack: 0x80797430 - 0x80799430 (8192)
Text: 0x80700000 - 0x8072EF98 (192408)
Device eth0: hwaddr F0-EB-D0-63-6D-CD, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
***Press <Ctrl+C> key enter boot command line.***
Startup canceled
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE>
CFE>
CFE>
CFE> ls
Invalid command: "ls"
Available commands: mac, dp, nvram, reboot, flash, batch, go, boot, load, upload, save, ping, arp, ifconfig, unsetprienv, getprienv, setprienv, show, help
*** command status = -1
CFE> admin
Invalid command: "admin"
Available commands: mac, dp, nvram, reboot, flash, batch, go, boot, load, upload, save, ping, arp, ifconfig, unsetprienv, getprienv, setprienv, show, help
*** command status = -1
CFE> flash -noheader 192.168.1.3:/vmlinuz flash.trx
flash.trx: Device not found
*** command status = -6
CFE> flash -noheader 192.168.1.3:/vmlinuz flash1.trx
Reading 192.168.1.3:/vmlinuz: Done. 3969024 bytes read
Programming...
done. 3969024 bytes written
*** command status = 0
CFE> ftp
Invalid command: "ftp"
Available commands: mac, dp, nvram, reboot, flash, batch, go, boot, load, upload, save, ping, arp, ifconfig, unsetprienv, getprienv, setprienv, show, help
*** command status = -1
CFE> reboot
Decompressing...done
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|