|
在帮忙看看这次的
+**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) © 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 |
|