找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4407|回复: 4

WR841N V5 变砖 求助!

[复制链接]
发表于 2011-2-2 01:18 | 显示全部楼层 |阅读模式
用USB-TTL线 SecureCRT 可以看到以下信息:


U-Boot 1.1.4 (Nov 16 2009 - 09:06:24)

AP93 (ar7240) U-boot
DRAM:  
sri
#### TAP VALUE 1 = 8, 2 = 9
32 MB
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover

Resetting...


一直不停的重复!无法停止!
求教下面该如何操作!
发表于 2011-2-2 01:49 | 显示全部楼层
Autobooting in 1 seconds
这里飞快按tpl三个键中断启动
然后按教程整吧 满论坛都是 搜一下
 楼主| 发表于 2011-2-2 16:55 | 显示全部楼层
还是不行,没办法停下来!
发表于 2011-2-2 17:01 | 显示全部楼层
FON Fonera + 安装 DD_wrt 固件:

准备工作:

1,DD_wrt 固件:linux.bin  

2,Tftpd32软件:http://tftpd32.jounin.net/

3,PuTTY 软件: http://wrc.gro.clinux.org/putty/

4,RS232-TTL电缆

安装固件:

1,连接RS232-TTL电缆到Fonera +,PC上打开PuTTY ,设定好COM属性,9600-8-N-1 and no flow control.  

2,解压缩Tftpd32软件,并把DD_wrt 固件 linux.bin 拷贝到Tftpd32目录中,并打开Tftpd32软件。  

3,Fonera + LAN口(黑色)网线连接PC,并设置pc网卡地址为 192.168.1.117(TFTP服务器地址)。  

4,连接Fonera +电源,在PuTTY终端窗口中应能看到以下启动内容:   







+Ethernet eth0: MAC address **:**:**:**:**:**

IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0

Default server: 192.168.1.254



RedBoot(tm) bootstrap and debug environment [ROMRAM]

OpenWrt certified release, version 1.1 - built 22:32:28, May  7 2007   

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: FON 2201

RAM: 0x80000000-0x81000000, [0x80040290-0x80fe1000] available

FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.









5,在出现  







== Executing boot script in 2.000 seconds - enter ^C to abort

RedBoot>









时两秒内按下键盘上 Ctrl + c键,终止RedBoot继续运行,键入 fis init 初始化FIS目录,将所有的flash空间初始化。  







RedBoot> fis init

About to initialize [format] FLASH image system - continue (y/n)? y

*** Initialize FLASH Image System

... Erase from 0xa87e0000-0xa87f0000: .

... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .









6,键入 fis list ,显示FIS(Flash Image System)中当前的所有映象文件。  







RedBoot> fis list

Name                 FLASH addr   Mem addr     Length         Entry point

RedBoot             0xA8000000  0xA8000000  0x00030000  0x00000000

FIS directory       0xA87E0000  0xA87E0000  0x0000F000  0x00000000

RedBoot config    0xA87EF000  0xA87EF000  0x00001000  0x00000000









7,设置或改变系统使用的IP地址,

使用格式:ip_address [-l local_ip_address] [-h server_ip_address] [-d DNS_server_ip_address]

本例为:  ip_address -l 192.168.1.254/24 -h 192.168.1.117 (192.168.1.117 就是第3步设定的 PC TFTP服务器地址)。  







RedBoot> ip_address -l 192.168.1.254/24 -h 192.168.1.117

IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0

Default server: 192.168.1.117









8,键入 load -r -v -b 0x80041000 linux.bin  下载数据到目标系统RAM中,(-r  下载未处理的数据到RAM,-v  下载过程显示进度, -b  数据下载到RAM的地址)。  







RedBoot>load -r -v -b 0x80041000 linux.bin

Using default protocol (TFTP)

Raw file loaded 0x80041000-0x802e3fff, assumed entry at 0x80041000









9,键入 fis create linux  在FIS(Flash Image System)目录中创建一个映象,将当前RAM中的数据写入FLASH存储器中。因此,在使用该命令之前,映象文件数据必须已经保存在RAM中。

特别注意,此过程会耗时数十分钟请耐心等待!直至 RedBoot> 出现为 写入FLASH完成。  







RedBoot> fis create linux

... Erase from 0xa8030000-0xa8652000: ................................................................................

... Program from 0x80040400-0x80662400 at 0xa8030000: ........................................................

... Erase from 0xa87e0000-0xa87f0000: ................................................................................

... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .........................................................

RedBoot>









10,键入 fconfig ,对已保存在flash中的配置选项进行管理和重配置,一直回车到最后选择y回车保存redboot配置到flash。  







RedBoot> fconfig

Run script at boot: true

Boot script:

Enter script, terminate with empty line

>> fis load -l linux

>> exec

>>

Boot script timeout (1000ms resolution): 2

Use BOOTP for network configuration: false

Gateway IP address:

Local IP address: 192.168.1.1

Local IP address mask: 255.255.255.0

Default server IP address: 192.168.1.254

Console baud rate: 9600

GDB connection port: 9000

Force console for special debug messages: false

Network debug at boot time: false

Update RedBoot non-volatile configuration - continue (y/n)? y

... Erase from 0xa87e0000-0xa87f0000: .

... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .









11,键入 reset,重新启动  Fonera + 。  







RedBoot> reset

... Resetting









12, 启动 DD_wrt 过程:  







+Ethernet eth0: MAC address 00:18:84:a5:6f:28

IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0

Default server: 192.168.1.254

RedBoot(tm) bootstrap and debug environment [ROMRAM]

OpenWrt certified release, version 1.1 - built 22:32:28, May  7 2007

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: FON 2201

RAM: 0x80000000-0x81000000, [0x80040290-0x80fe1000] available

FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.

== Executing boot script in 2.000 seconds - enter ^C to abort

RedBoot> fis load -l linux

Image loaded from 0x80041000-0x802d0c58

RedBoot>  exec

Now booting linux kernel:

Base address 0x80030000 Entry 0x80041000

Cmdline : .......................................









现在你的 FON Fonera + 安装 DD_wrt 固件已经成功,在 IE 浏览器栏中键入 http://192.168.1.1/ 即可打开 DD_wrt 的 Wed配置管理页面, 初始路由器用户名:boot ,路由器密码:admin
 楼主| 发表于 2011-2-15 19:19 | 显示全部楼层
买了个编程器,重刷flash,搞定!!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-8 04:56

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表