找回密码
 立即注册
img_loading
智能检测中

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
glinet
楼主: qwea

wrt300n v2 如何改造刷openwrt (8M-32M机)攻略

[复制链接]
发表于 2010-5-11 12:03 | 显示全部楼层
在帮忙看看这次的
+**Warning** FLASH configuration checksum error or invalid key
Use 'fconfig -i' to [re]initialize database

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 2.02 - built 19:12:51, May  1 2010

Platform: Intel Generic Residential Gateway (IXP42X 400MHz) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x02000000, [0x00024a88-0x01fe1000] available
FLASH: 0x50000000 - 0x50800000, 128 blocks of 0x00010000 bytes each.
RedBoot> ^C
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0x507f0000-0x50800000: .
RedBoot> ether

Trying NPE-B...success. Using NPE-B with PHY 16.
Ethernet eth0: MAC address 00:03:47:df:32:a8
IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.10
RedBoot>  ip -h 192.168.1.10
IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.10
RedBoot>  load -r -b 0x200000 -h 192.168.1.10 wrt.zI
Using default protocol (TFTP)
Raw file loaded 0x00200000-0x002c86e7, assumed entry at 0x00200000
RedBoot> fis create kernel
... Erase from 0x50060000-0x50130000: .............
... Erase from 0x507f0000-0x50800000: .
RedBoot> load -r -b 0x200000 -h 192.168.1.10 wrt.img
Using default protocol (TFTP)
Raw file loaded 0x00200000-0x0047ffff, assumed entry at 0x00200000
RedBoot> fis create rootfs
... Erase from 0x50130000-0x503b0000: ........................................
... Erase from 0x507f0000-0x50800000: .
RedBoot> fis load kernel
RedBoot> exec
Using base address 0x00200000 and length 0x000c86e8
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.32.10 (openwrt@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #2 Tue May 4 14:37:00 CST 2010
CPU: XScale-IXP42x Family [690541d1] revision 1 (ARMv5TE), cr=000039ff
CPU: VIVT data cache, VIVT instruction cache
Machine: Linksys WRT300N v2
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30164KB available (2064K code, 130K data, 88K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:32
Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
Switching to clocksource OSTS
NET: Registered protocol family 2
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
NET: Registered protocol family 1
IXP4xx Queue Manager initialized.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  &copy; 2001-2006 Red Hat, Inc.
msgmni has been set to 58
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc8001000 (irq = 13) is a XScale
console [ttyS0] enabled
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
IXP4XX-Flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7f0000
5 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 5 MTD partitions on "IXP4XX-Flash.0":
0x000000000000-0x000000060000 : "RedBoot"
0x000000060000-0x000000130000 : "kernel"
0x000000130000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=390000, len=460000
0x000000390000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x0000007ff000 : "FIS directory"
0x0000007ff000-0x000000800000 : "RedBoot config"
IXP4xx MII Bus: probed
eth0: MII PHY 32 on NPE-B
eth1: MII PHY 1 on NPE-C
i2c /dev entries driver
IXP4xx Watchdog Timer: heartbeat 60 sec
TCP westwood registered
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>
XScale DSP coprocessor detected.
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing init memory: 88K
Please be patient, while OpenWrt loads ...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
- init -

Please press Enter to activate this console. device eth0 entered promiscuous mode
device eth0 left promiscuous mode
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
Generic kernel compatibility enabled based on linux-next next-20100113
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
loop: module loaded
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (472 buckets, 1888 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
IMQ driver loaded successfully.
        Hooking IMQ before NAT on PREROUTING.
        Hooking IMQ after NAT on POSTROUTING.
xt_time: kernel timezone is -0000
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2010-5-11 12:34 | 显示全部楼层
已经刷好了呀。
自己添加启动插件就可以。redboot已经明显提示你了。唉。。。。。。
RedBoot> fco -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): 1
Use BOOTP for network configuration: f   
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: .
RedBoot>
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 13:29 | 显示全部楼层
我开始弄的那个变砖了,现在TTL读不到数据了,不知道还有救不,变砖的原因是我在写入redboot-32m.bin时忘记接网线,然后关了电源重启,就这样杯具,第一次玩这东西时不太懂,唉..........
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 14:30 | 显示全部楼层
诚征兄弟帮助刷这个路由,有酬谢
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2010-5-11 15:12 | 显示全部楼层
33# 无颜无色


那正是杯具了。。。。。。。。。只有jtag或者拆flash用编程器了
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 17:52 | 显示全部楼层
诚征兄弟帮助刷这个路由,有酬谢
haibeihj 发表于 2010-5-11 14:30

猫大都写得那么详细了,你还要帮刷
不过我可以帮刷
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 17:53 | 显示全部楼层
我开始弄的那个变砖了,现在TTL读不到数据了,不知道还有救不,变砖的原因是我在写入redboot-32m.bin时忘记接网线,然后关了电源重启,就这样杯具,第一次玩这东西时不太懂,唉..........
无颜无色 发表于 2010-5-11 13:29

哎,也不仔细看提示,就闭着眼睛输命令
看来只能用JTAG或编程器刷了
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 18:54 | 显示全部楼层
根本看不懂这些命令,猫大说刷好了,添加启动插件就可以,可是我加的和猫大提示的不一样啊,还是没起来
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2010-5-11 20:58 | 显示全部楼层
38# dubf520


难道依葫芦画瓢都不会???? 都已经贴出来。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 21:48 | 显示全部楼层
38# dubf520


难道依葫芦画瓢都不会???? 都已经贴出来。
qwea 发表于 2010-5-11 20:58

我是第一个小白,现在板子还在等待高手指导
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 22:19 | 显示全部楼层
37# rzd4evr


其实搞坏了也不是什么坏事,至少让自己要又可以多学东西 正准备动手焊JTAG线,这个有点难度,接点太小了
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 22:41 | 显示全部楼层
38# dubf520


重新启动你的路由器,出现(以下黑体字是你要输入的)

RedBoot>ether

Trying NPE-B...success. Using NPE-B with PHY 16.
Ethernet eth0: MAC address 00:03:47:df:32:a8
IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.10

RedBoot>fis load kernel
RedBoot>fconfig boot_script

XXXXXXXX:false
把它改成:
XXXXXXXX:true回车
再出现:
RedBoot>fconfig boot_script_timeout
XXXXXXXXX:0,把0改为3回车
RedBoot>fconfig boot_script_data
>>ether
>>fis load kernel
>>exec
>>回车
出现
Initialize non-volatile configuration - continue (y/n)? y

RedBoot>reset重启就正常了

或按qwea上面提供的也可以完成
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 23:03 | 显示全部楼层
本帖最后由 lsdugao 于 2010-5-11 23:04 编辑

菜鸟求救!安装完后一切正常,重新启动后就只有QQ、阿里旺旺能用,网页再也打不开,怀疑是防火墙的问题,由于英语不好,试着改了多次都不行。重新安装系统,依然如此。请高手指点!不胜感激
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 23:09 | 显示全部楼层
43# lsdugao


电脑本地连接改回自动获得IP地址没有?
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-5-11 23:33 | 显示全部楼层
本帖最后由 lsdugao 于 2010-5-11 23:36 编辑
电脑本地连接改回自动获得IP地址没有?
无颜无色 发表于 2010-5-11 23:09

你真行!但我还是不明白,指定IP和自动获取IP怎么会不同呢?
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛

只谈技术、莫论政事!切勿转播谣言!为了你也为了他人。
只谈技术、莫论政事!(点击见详情) 切记不要随意传播谣言,把自己的日子过安稳了就行,为了自己好也为了大家好。 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。

查看 »

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

GMT+8, 2025-5-28 07:39

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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

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