|
本帖最后由 redboy 于 2017-7-24 00:17 编辑
本人新手,我有一个弘浩明传的路由,CPU IXP425,自带redboot ,以下是启动信息:
RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.92 - built 19:52:32, Dec 27 2006
IWNCOMM IXP425 Boot Version: 1.0
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
Copyright (C) 2004, IWNCOMM, Inc.
Platform: IXDP425 Development Platform (XScale)
RAM: 0x00000000-0x02000000, 0x0001b168-0x01fe1000 available
FLASH: 0x50000000 - 0x50800000, 128 blocks of 0x00010000 bytes each.
网上应该是没有专门的固件的,我暂时不会编译固件,所以在网上搜索到ddwrt有ixp425固件。问题一:只要路由器的cpu型号对应,固件就能通刷吗?(内存足够)
问题二:我的路由器到底是刷img格式的固件还是刷bin格式的呢?有什么区别?
进入redboot后进行了如下操作:
fis init -f
load -r -v -b 0x0001b168 -h 192.168.1.10 linux.bin
fis create ixp425
配置启动文件(fconfig boot_script_data)如下:
fis load ixp425
exec
后来重启就是错误信息了:
+
Ethernet eth1: MAC address 00:05:83:08:01:03
IP: 192.168.1.192/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.72, DNS server IP: 0.0.0.0
RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.92 - built 19:52:32, Dec 27 2006
IWNCOMM IXP425 Boot Version: 1.0
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
Copyright (C) 2004, IWNCOMM, Inc.
Platform: IXDP425 Development Platform (XScale)
RAM: 0x00000000-0x02000000, 0x0001b168-0x01fe1000 available
FLASH: 0x50000000 - 0x50800000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> fis load ixp425
RedBoot> exec
entry is 0x6000000
load_addr is 0x1b168
length is 0x717000
Using base address 0x0001b168 and length 0x00717000
trampoline is 0x1f00
Uncompressing Linux...
XZ-compressed data is corrupt
-- System halted
求论坛大神指点 |
|