ubnt解决方案
查看: 14168|回复: 20

[已解决] WRV54G(GTWX5715)固件更新教程。

[复制链接]

198

回帖

5618

积分

70 小时

在线时间

中校

Embedded Linux砖家

注册时间
2008-10-23
金币
4923 个
威望
55 个
荣誉
12 个

尚未签到

发表于 2010-7-30 17:19 |显示全部楼层
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 -i

Initialize non-volatile configuration - continue (y/n)? y

Run script at boot: t   

Boot script:

Enter script, terminate with empty line

>> fis load linux

>> exec

>>

Boot script timeout (1000ms resolution): 2

Use BOOTP for network configuration: false

Gateway IP address:

Local IP address:

Local IP address mask:

Default server IP address:

Console baud rate: 115200

GDB connection port: 9000

Force console for special debug messages: false

Network debug at boot time: false

Default network device: npe_eth0

Network hardware address [MAC] for npe_eth0: 0x00:0x03:0x47:0xDF:0x32:0xA8

Network hardware address [MAC] for npe_eth1: 0x00:0x03:0x47:0xDF:0x32:0xAA

Update 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: .


初始、格式化化整个flash

RedBoot> fis init

About to initialize [format] 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-zImage  

Using 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.img

Using 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

承接OpenWrt.AirOS,DD-WRT 移植‘修改等项目。

28

回帖

184

积分

78 小时

在线时间

上等兵

注册时间
2013-9-6
金币
141 个
威望
1 个
荣誉
0 个
累计签到:1 天
连续签到:0 天
[LV.20]漫游旅程
发表于 2014-9-25 23:36 |显示全部楼层
不错多谢指点
回复

使用道具 举报

2244

回帖

4219

积分

294 小时

在线时间

少校

注册时间
2010-4-11
金币
1843 个
威望
1 个
荣誉
0 个

尚未签到

发表于 2010-7-30 19:47 |显示全部楼层
不错。顶顶。。
回复

使用道具 举报

3

回帖

6

积分

3 小时

在线时间

预备兵

注册时间
2010-7-25
金币
3 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2010-7-31 06:25 |显示全部楼层
!!
回复

使用道具 举报

11

回帖

37

积分

8 小时

在线时间

新兵上阵

注册时间
2010-8-4
金币
18 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2010-8-5 09:33 |显示全部楼层
还真想刷刷看,让老路由也支持802.11n。
回复

使用道具 举报

34

回帖

332

积分

25 小时

在线时间

少尉

注册时间
2009-12-14
金币
287 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2010-8-13 08:29 |显示全部楼层
关键是如何通过JTAG 刷redboot
回复

使用道具 举报

11

回帖

37

积分

8 小时

在线时间

新兵上阵

注册时间
2010-8-4
金币
18 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2010-8-17 18:34 |显示全部楼层
原版的ROM是不是一定要先刷RedBoot,不用JTag是不是刷不成RedBoot?想刷,但现在没有刷RedBoot。
回复

使用道具 举报

22

回帖

115

积分

5 小时

在线时间

上等兵

注册时间
2006-3-20
金币
82 个
威望
2 个
荣誉
0 个

尚未签到

发表于 2010-8-21 11:59 |显示全部楼层
我有个JLINK V8 不知道如何连上机器, 我现在无法检测到CPU的型号,只是连上WRV54G有反映.
回复

使用道具 举报

198

回帖

5618

积分

70 小时

在线时间

中校

Embedded Linux砖家

注册时间
2008-10-23
金币
4923 个
威望
55 个
荣誉
12 个

尚未签到

发表于 2010-8-21 15:27 |显示全部楼层
。。。
回复

使用道具 举报

198

回帖

5618

积分

70 小时

在线时间

中校

Embedded Linux砖家

注册时间
2008-10-23
金币
4923 个
威望
55 个
荣誉
12 个

尚未签到

发表于 2010-8-21 15:27 |显示全部楼层
使用TFTP更新
回复

使用道具 举报

22

回帖

115

积分

5 小时

在线时间

上等兵

注册时间
2006-3-20
金币
82 个
威望
2 个
荣誉
0 个

尚未签到

发表于 2010-8-21 20:57 |显示全部楼层
刷进去了文件 但fis create linux 卡住了 无法建立文件
回复

使用道具 举报

22

回帖

115

积分

5 小时

在线时间

上等兵

注册时间
2006-3-20
金币
82 个
威望
2 个
荣誉
0 个

尚未签到

发表于 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 [format] 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 [ROM]
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

到这就死了
回复

使用道具 举报

22

回帖

115

积分

5 小时

在线时间

上等兵

注册时间
2006-3-20
金币
82 个
威望
2 个
荣誉
0 个

尚未签到

发表于 2010-8-23 11:08 |显示全部楼层
文件全写进去了 从启动动不了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册 微信登录

本版积分规则

站点统计 | Archiver | 手机版 | 无线门户 ( 粤ICP备11076993号|粤公网安备44010602008359号 ) |网站地图

GMT+8, 2024-4-24 09:27

返回顶部 返回列表