Temat: OpenWrt zwałka na wrt54g3gv2-vf
Przedwczoraj podjąłem decyzję, wgrywam alternatywny firmware do ruterka - OpenWrt. Po pierwszym podniesieniu się i kilku zmianach w konfigu karty WiFi ruter już nie wstał. Co ciekawe na pingi odpowiadał ale to wszystko. A więc odzysk firmweru po tftp i nic. Zmajstrowałem kabelek RS232 z tego co miałem tj. kabel nokia DLR-3P i podpoiłem się. Ucieszyłem się gdy zobaczyłem komunikaty jednak rooter nie przyjmował żadnych poleceń. i tu moje pytanie
1.czy ktoś wie jaki może być powód (kabel TX sprawdzałem i wygląda OK).
2.co mi ten ruter chce powiedzieć przez te logi:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Thu Aug 7 16:44:55 CST 2008 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena
Initializing Devices.
No DPN
This is a Parallel Flash
Boot partition size = 262144(0x40000)
Try 4: vendor id = 0x0001, device id = 0x2201
Flash type is "S29GL128N10TFI010 8Mx16"
Total size is 0x1000000.
Block size is 0x20000.
Total blocks are 122. (Image 1 are 61(7995392), Image 2 is 61(7995392))
Partition information:
boot #00 00000000 -> 0003FFFF (262144)
trx #01 00040000 -> 0004001F (32)
os #02 00040020DFFFF (7995360)
trx2 #03 007E0000 -> 007E001F (32)
os2 #04 007E0020 -> 00F7FFFF (7995360)
lang #05 00F80000 -> 00FF7FFF (491520)
nvram #06 00FF8000 -> 00FFFFFF (32768)
Partition information:
boot #00 00000000 -> 0003FFFF (262144)
trx #01 00040000 -> 007DFFFF (7995392)
trx2 #02 007E0000 -> 00F7FFFF (7995392)
lang #03 00F80000 -> 00FF7FFF (491520)
nvram #04 00FF8000 -> 00FFFFFF (32768)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5
et1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5
CPU type 0x29006: 264MHz
Total memory: 32768 KBytes
Total memory used by CFE: 0x80700000 - 0x807A51F0 (676336)
Initialized Data: 0x8073B950 - 0x8073E9A0 (12368)
BSS Area: 0x8073E9A0 - 0x8073F1F0 (2128)
Local Heap: 0x8073F1F0 - 0x807A31F0 (409600)
Stack Area: 0x807A31F0 - 0x807A51F0 (8192)
Text (code) segment: 0x80700000 - 0x8073B950 (244048)
Boot area (physical): 0x007A6000 - 0x007E6000
Relocation Factor: I:00000000 - D:00000000
Boot version: v5.5
The boot is CFE
mac_init(): Find mac [00:23:69:57:2F:0D] in location 0
Nothing...
CMD: [ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0]
Device eth0: hwaddr 00-23-69-57-2F-0D, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
CMD: [go;]
Check CRC of image1
Len: 0xDA400 (893952) (0xBC040000)
Offset0: 0x20 (32) (0xBC040020)
Offset1: 0x978 (2424) (0xBC040978)
Offset2: 0xDA400 (893952) (0xBC11A400)
Offset3: 0x2A1D1C (2759964) (0xBC2E1D1C)
Version: v3.0.24 #006
Stable: 0xFF
Try: 0x74, 0x74, 0x74
Try three time, and can't boot the image, maybe the image is bad. (Set skip_check_flag=1 to skip check.)
Check CRC of image2
Invalid boot block on disk
CMD: [flash -ctheader : flash1.trx]
Reading :: Failed.: Timeout occured
i tak te dwa ostatnie komunikaty non stop
natomiast po wgraniu firmweru
C:\Documents and Settings\paytel>tftp -i 192.168.1.1 PUT "c:\Documents and Settings\paytel\Moje dokumenty\Downloads\openwrt-wrt54g3gv2-vf-squashfs.bin"
ok.3 bootowania wyględają następująco:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Thu Aug 7 16:44:55 CST 2008 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena
Initializing Devices.
No DPN
This is a Parallel Flash
Boot partition size = 262144(0x40000)
Try 4: vendor id = 0x0001, device id = 0x2201
Flash type is "S29GL128N10TFI010 8Mx16"
Total size is 0x1000000.
Block size is 0x20000.
Total blocks are 122. (Image 1 are 61(7995392), Image 2 is 61(7995392))
Partition information:
boot #00 00000000 -> 0003FFFF (262144)
trx #01 00040000 -> 0004001F (32)
os #02 00040020 -> 007DFFFF (7995360)
trx2 #03 007E0000 -> 007E001F (32)
os2 #04 007E0020 -> 00F7FFFF (7995360)
lang #05 00F80000 -> 00FF7FFF (491520)
nvram #06 00FF8000 -> 00FFFFFF (32768)
Partition information:
boot #00 00000000 -> 0003FFFF (262144)
trx #01 00040000 -> 007DFFFF (7995392)
trx2 #02 007E0000 -> 00F7FFFF (7995392)
lang #03 00F80000 -> 00FF7FFF (491520)
nvram #04 00FF8000 -> 00FFFFFF (32768)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5
et1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5
CPU type 0x29006: 264MHz
Total memory: 32768 KBytes
Total memory used by CFE: 0x80700000 - 0x807A51F0 (676336)
Initialized Data: 0x8073B950 - 0x8073E9A0 (12368)
BSS Area: 0x8073E9A0 - 0x8073F1F0 (2128)
Local Heap: 0x8073F1F0 - 0x807A31F0 (409600)
Stack Area: 0x807A31F0 - 0x807A51F0 (8192)
Text (code) segment: 0x80700000 - 0x8073B950 (244048)
Boot area (physical): 0x007A6000 - 0x007E6000
Relocation Factor: I:00000000 - D:00000000
Boot version: v5.5
The boot is CFE
mac_init(): Find mac [00:23:69:57:2F:0D] in location 0
Nothing...
CMD: [ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0]
Device eth0: hwaddr 00-23-69-57-2F-0D, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
CMD: [go;]
Check CRC of image1
Len: 0xDA400 (893952) (0xBC040000)
Offset0: 0x20 (32) (0xBC040020)
Offset1: 0x978 (2424) (0xBC040978)
Offset2: 0xDA400 (893952) (0xBC11A400)
Offset3: 0x2A1D1C (2759964) (0xBC2E1D1C)
Version: v3.0.24 #006
Stable: 0xFF
Try: 0x74, 0x74, 0xFF
Header CRC: 0x7C2B6036
Calculate CRC: 0x7C2B6036
Image 1 is OK
Check CRC of image2
Invalid boot block on disk
Image Status : IMG2_BAD
Try to load image 1.
Change to load image 1.
Write 't' to 0x2E1D38 (0xBC2E1D38)
Try 4: vendor id = 0x0001, device id = 0x2201
Flash type is "S29GL128N10TFI010 8Mx16"
Write 2 bytes from 2E1D38 to 2E1D3A
Write 2 bytes
CMD: [boot -raw -z -addr=0x80001000 -max=0xf40000 flash0.os:]
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 4092 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
Linux version 2.6.32.10 (openwrt@wrt1.marcant.net) (gcc version 4.3.3 (GCC) ) #20 Tue Apr 6 15:53:48 CEST 2010
CPU revision is: 00029006 (Broadcom BCM3302)
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243)
ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243)
ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243)
ssb: Initializing MIPS core...
ssb: set_irq: core 0x0806, irq 4 => 4
ssb: set_irq: core 0x0806, irq 5 => 5
ssb: set_irq: core 0x0808, irq 6 => 2
ssb: set_irq: core 0x0804, irq 2 => 6
ssb: after irq reconfiguration
ssb: core 0x0800, irq : 2(S) 3* 4 5 6 D I
ssb: core 0x0806, irq : 2(S) 3 4* 5 6 D I
ssb: core 0x0806, irq : 2(S) 3 4 5* 6 D I
ssb: core 0x0808, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x0804, irq : 2(S) 3 4 5 6* D I
ssb: core 0x0816, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x0807, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x080b, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x080f, irq : 2(S) 3 4 5 6 D I*
ssb: Sonics Silicon Backplane found at address 0x18000000
Serial init done.
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00002000
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)
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
Memory: 29524k/32768k available (2322k kernel code, 3244k reserved, 357k data, 136k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
console [ttyS0] enabled
Calibrating delay loop... 263.16 BogoMIPS (lpj=526336)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
ssb: PCIcore in host mode found
PCI: Fixing up bridge 0000:00:00.0
PCI: Fixing up device 0000:00:00.0
PCI: Fixing latency timer of device 0000:00:00.0 to 168
pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:02.0: PME# disabled
pci 0000:00:02.1: PME# supported from D0 D1 D2 D3hot
pci 0000:00:02.1: PME# disabled
pci 0000:00:03.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
pci 0000:00:03.0: BAR 8: can't allocate I/O resource [0x800-0x7ff]
pci 0000:00:03.0: CardBus bridge, secondary bus 0000:01
pci 0000:00:03.0: IO window: 0x000400-0x0004ff
pci 0000:00:03.0: PREFETCH window: 0x40000000-0x43ffffff
pci 0000:00:03.0: MEM window: 0x44000000-0x47ffffff
PCI: Enabling device 0000:00:03.0 (0000 -> 0003)
PCI: Fixing up device 0000:00:03.0
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Fixing up device 0000:00:01.0
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
ssb: Unsupported SPROM revision 0 detected. Will extract v1
ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
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
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 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
flash init: 0x1c000000 0x02000000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Physically mapped flash: 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.
Flash device: 0x1000000 at 0x1fc00000
bootloader size: 262144
Creating 4 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x000000fe0000 : "linux"
0x00000011a400-0x000000fe0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=300000, len=CE0000
0x000000300000-0x000000fe0000 : "rootfs_data"
0x000000fe0000-0x000001000000 : "nvram"
b44.c:v2.0
eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:23:69:57:2f:0d
b44: eth1: PHY Reset would not complete.
eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:90:4c:60:00:2b
BCM47xx Watchdog Timer enabled (30 seconds, nowayout)
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>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
diag: Detected 'Linksys WRTSL54GS'
diag: Detected 'diag: Detected 'diag: Detected 'diag: [...]
bttyS0: 3 input overrun(s)
44: eth0: powerb44: eth0: Link b44: eth0: Flow b44: eth0: powerPress the [f] key and hit [enter] to enter failsafe mode
później już tylko sieczka ![]()
Jakieś pomysły jak sonie z tym poradzić?