Temat: WNR2000 brick po stocku
Witam, mam problem z przywróceniem WNR2000v1 z Openwrt do fabrycznego softu producenta. Postępowałem według opisu na stronie http://wiki.openwrt.org/toh/netgear/wnr … _wnr2000v1. Wszystko działało poprawnie, jednak chciałem wrócić do softu NETGEAR-a. Po próbie router już nie wstał, powstał bootloop. Po TFTP wgrywa się soft, ale po poprawnym wgraniu powstaje bootloop. Wrzucam log z seriala:
Now running in RAM - U-Boot at: 81fc0000
id read 0x100000ff
flash size 4MB, sector count = 64
Flash: 4MB
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
Fetching MAC Address from 0x81fea700
: cfg1 0xf cfg2 0x7114
eth0: 00:1f:33:fa:6e:6f
dup 1 speed 100
eth0 up
eth0
### main_loop entered: bootdelay=4
### main_loop: bootcmd="bootm 0xbf2a0000"
Hit any key to stop autoboot: 0
Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual
nmrp server is stopped or failed !
## Booting image at bf2a0000 ...
Image Name: Linux Kernel Image
Created: 2009-07-10 6:43:00 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 746467 Bytes = 729 kB
Load Address: 80060000
Entry Point: 80270000
Verifying Checksum ... OK
Uncompressing Kernel Image ...OK
No initrd
## Transferring control to Linux (at address 80270000) ...
## Giving linux memsize in bytes, 33554432
Starting kernel ...
Linux version 2.6.15 (root@alime-laptop) (gcc version 3.4.4 (OpenWrt-2.0)) #199 Fri Jul 10 14:42:53 CST 2009
flash_size passed from bootloader = 4
arg 1: board=WNR2000
arg 2: console=ttyS0,115200
arg 3: init=/etc/preinit
arg 4: mtdparts=ar7100-nor0:256k(u-boot),64k(u-boot-env),2304k(rootfs),64k(user-config),1152k(uImage),128k(language_table),64k(rootfs_checksum),64k(ART)
arg 5: rootfstype=squashfs
arg 6: rootdelay=2
arg 7: panic=10
arg 8: mem=32M
CPU revision is: 00019374
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists
Kernel command line: board=WNR2000 console=ttyS0,115200 init=/etc/preinit mtdparts=ar7100-nor0:256k(u-boot),64k(u-boot-env),2304k(rootfs),64k(user-config),1152k(uImage),128k(language_table),64k(rootfs_checksum),64k(ART) rootfstype=squashfs rootdelay=2 panic=10 mem=32M
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
PID hash table entries: 256 (order: 8, 4096 bytes)
Using 200.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29708k/32768k available (1760k kernel code, 3044k reserved, 347k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocol family 16
calling simple_config callback..
AR7100 GPIOC major 0
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Initializing Cryptographic API
io scheduler noop registered
Serial: 8250/16550 driver $Revision: #2 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
8 cmdlinepart partitions found on MTD device ar7100-nor0
Creating 8 MTD partitions on "ar7100-nor0":
0x00000000-0x00040000 : "u-boot"
0x00040000-0x00050000 : "u-boot-env"
0x00050000-0x00290000 : "rootfs"
0x00290000-0x002a0000 : "user-config"
0x002a0000-0x003c0000 : "uImage"
0x003c0000-0x003e0000 : "language_table"
0x003e0000-0x003f0000 : "rootfs_checksum"
0x003f0000-0x00400000 : "ART"
u32 classifier
Perfomance counters on
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
ip_conntrack version 2.4 (256 buckets, 2048 max) - 256 bytes per conntrack
ip_conntrack_rtsp v0.6.21 loading
ip_nat_rtsp v0.6.21 loading
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2002 Netfilter core team
IPP2P v0.8.2 loading
DNIFILTER loading
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2002 Netfilter core team
NET: Registered protocol family 17
Ebtables v2.0 registered
ar7100wdt_init: Registering WDT success
Waiting 2sec before mounting root device...
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
<0>Rebooting in 10 seconds..Podejrzewam uszkodzenie partycji rootfs, tylko nie wiem jak ją przywrócić, ew. wrócić nawet do softu z Openwrt. Pozostaje dostęp przez serial-a, który na szczęście działa poprawnie i mam dostęp do konsoli bootloadera ar7100.