lintel 发表于 2010-7-30 17:19

WRV54G(GTWX5715)固件更新教程。

1.进入WRV54G的Redboot命令模式。
   按住reset按键,并接上电源,等待15秒。如果没有问题,redboot会进入待命模式。
   把网线接到WRV54G的WAN口。路由默认的IP为192.168.1.1,端口为9000
   在win下通过telnet连接路由。
   参考下面的命令:
      telnet 192.168.1.1 9000

    成功的话会出现Redboot的提示符.
    RedBoot>


2.配置Redboot.
    在红色为redboot下输入



RedBoot> fconfig -iInitialize non-volatile configuration - continue (y/n)? yRun script at boot: t    Boot script: Enter script, terminate with empty line>> fis load linux>> exec>> Boot script timeout (1000ms resolution): 2Use BOOTP for network configuration: falseGateway IP address: Local IP address: Local IP address mask: Default server IP address: Console baud rate: 115200GDB connection port: 9000Force console for special debug messages: falseNetwork debug at boot time: falseDefault network device: npe_eth0Network hardware address for npe_eth0: 0x00:0x03:0x47:0xDF:0x32:0xA8Network hardware address for npe_eth1: 0x00:0x03:0x47:0xDF:0x32:0xAAUpdate RedBoot non-volatile configuration - continue (y/n)? y... Unlock from 0x507e0000-0x50800000: .... Erase from 0x507e0000-0x50800000: .... Program from 0x03fd0000-0x03ff0000 at 0x507e0000: .... Lock from 0x507e0000-0x50800000: .
初始、格式化化整个flashRedBoot> fis initAbout to initialize FLASH image system - continue (y/n)? y*** Initialize FLASH Image System... Unlock from 0x507e0000-0x50800000: .... Erase from 0x507e0000-0x50800000: .... Program from 0x03fd0000-0x03ff0000 at 0x507e0000: .... Lock from 0x507e0000-0x50800000: .
载入内核RedBoot> load -r -b %{FREEMEMLO} -h 192.168.1.121 openwrt-ixp4xx-generic-zImageUsing default protocol (TFTP)Raw file loaded 0x00024c00-0x00106663, assumed entry at 0x00024c00写入内核RedBoot> fis create linux... Erase from 0x50080000-0x50180000: ........... Program from 0x00024c00-0x00106664 at 0x50080000: ........... Unlock from 0x507e0000-0x50800000: .... Erase from 0x507e0000-0x50800000: .... Program from 0x03fd0000-0x03ff0000 at 0x507e0000: .... Lock from 0x507e0000-0x50800000: .载入文件系统RedBoot> load -r -b %{FREEMEMLO} -h 192.168.1.121 openwrt-ixp4xx-generic-squashfs.imgUsing default protocol (TFTP)Raw file loaded 0x00024c00-0x00204bff, assumed entry at 0x00024c00写入文件系统RedBoot> fis create rootfs ... Erase from 0x50180000-0x50360000: .................. Program from 0x00024c00-0x00204c00 at 0x50180000: .................. Unlock from 0x507e0000-0x50800000: .... Erase from 0x507e0000-0x50800000: .... Program from 0x03fd0000-0x03ff0000 at 0x507e0000: .... Lock from 0x507e0000-0x50800000: .重启RedBoot> reset

lovelycool 发表于 2014-9-25 23:36

不错多谢指点

WIFI-DIY 发表于 2010-7-30 19:47

不错。顶顶。。

花开终落败 发表于 2010-7-31 06:25

回贴是一种美德!!

glinzx 发表于 2010-8-5 09:33

还真想刷刷看,让老路由也支持802.11n。

wzzhen 发表于 2010-8-13 08:29

关键是如何通过JTAG 刷redboot

glinzx 发表于 2010-8-17 18:34

原版的ROM是不是一定要先刷RedBoot,不用JTag是不是刷不成RedBoot?想刷,但现在没有刷RedBoot。

moto 发表于 2010-8-21 11:59

我有个JLINK V8 不知道如何连上机器, 我现在无法检测到CPU的型号,只是连上WRV54G有反映.

lintel 发表于 2010-8-21 15:27

。。。

lintel 发表于 2010-8-21 15:27

使用TFTP更新

moto 发表于 2010-8-21 20:57

刷进去了文件 但fis create linux 卡住了 无法建立文件

moto 发表于 2010-8-23 11:07

RedBoot> fconfig -i
Initialize non-volatile configuration - continue (y/n)? y
tun script at boot: false
Boot script:
Enter script, terminate with empty line
>> fis load linux
>> exec
>>
Boot script timeout (1000ms resolution)2 02
Use BOOTP for network configuratiof: true
Gateway IP address:
Local IP address:
Local IP address mask:
Default server IP address:
Console baud rate: 115200
DNS server IP address:
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Default network dnpe_eth082559_eth0
Update RedBoot non-volatile configuration - continue (y/n)? y
... Unlock from 0x50fc0000-0x50fc1000: .
... Erase from 0x50fc0000-0x50fc1000: .
... Program from 0x0ffd2000-0x0ffd3000 at 0x50fc0000: .
... Lock from 0x50fc0000-0x50fc1000: .
RedBoot> fis init -f
About to initialize FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0x50040000-0x50fc0000: ..........................................
................................................................................
..
... Erase from 0x50fe0000-0x50fe0000:
... Erase from 0x51000000-0x51000000:
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x0ffdf000-0x0ffff000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot> load -r -b %{FREEMEMLO} -h 192.168.1.2 openwrt-ixp4xx-generic-zImage
Using default protocol (TFTP)
Raw file loaded 0x0001fc00-0x00117dd7, assumed entry at 0x0001fc00
RedBoot> fis create linux
... Erase from 0x50040000-0x50140000: ........
... Program from 0x0001fc00-0x00117dd8 at 0x50040000: ........
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x0ffdf000-0x0ffff000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
imgBoot> load -r -b %{FREEMEMLO} -h 192.168.1.2 openwrt-ixp4xx-generic-squashfs.
Using default protocol (TFTP)
Raw file loaded 0x0001fc00-0x005dfbff, assumed entry at 0x0001fc00
imgBoot> load -r -b %{FREEMEMLO} -h 192.168.1.2 openwrt-ixp4xx-generic-squashfs.
Using default protocol (TFTP)
Raw file loaded 0x0001fc00-0x005dfbff, assumed entry at 0x0001fc00
RedBoot> fis create rootfs
... Erase from 0x50140000-0x50700000: ..........................................
....
... Program from 0x0001fc00-0x005dfc00 at 0x50140000: ..........................
....................
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x0ffdf000-0x0ffff000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot> reset


RedBoot(tm) bootstrap and debug environment
Red Hat certified release, version 1.92p1 - built 15:55:13, Jul 22 2004

Platform: IXDP425 Development Platform (XScale)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x10000000, 0x0001f890-0x0ffd1000 available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
RedBoot> fis load linux
RedBoot> exec
Using base address 0x0001fc00 and length 0x000f81d8

到这就死了

moto 发表于 2010-8-23 11:08

文件全写进去了 从启动动不了。
页: [1] 2
查看完整版本: WRV54G(GTWX5715)固件更新教程。