OpenWrt Forum Archive

Topic: WGT634U r6580 will not recover on power off or reboot

The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

WGT634U  r 6580 or r6596 will not recover on power off or reboot
(Blowout on brcm47xx-2.6)
Linux OpenWrt 2.6.19

had to use CFE serial cable to flash r6513 to recover my WGT634U, it's a real pain in the ASS to do a flash with CFE, I've done this about six times now, and six rebuilds and two fresh svn rebuilds on r6596.

on r6580  or r6596 it just continues to boot  never had problems with gcc 3.4.6, I could nerver get 4.1.2 to work


****  is their a problem with gcc-4.1.2

binutils-2.16.1.tar.bz2
-rw-rw-r-- 1 linksys linksys 39707720 Mar 17 14:42 gcc-4.1.2.tar.bz2
-rw-rw-r-- 1 linksys linksys    93646 Mar 17 14:28 genext2fs-1.4rc1.tar.gz
-rw-rw-r-- 1 linksys linksys    19480 Mar 17 14:28 ipkg-utils-1.7.tar.gz
-rw-rw-r-- 1 linksys linksys 42729366 Mar 17 14:31 linux-2.6.19.2.tar.bz2
-rw-rw-r-- 1 linksys linksys   194914 Mar 17 14:29 lzma432.tar.bz2
-rw-rw-r-- 1 linksys linksys  1335505 Mar 17 14:30 mtd_20050122.orig.tar.gz
-rw-rw-r-- 1 linksys linksys   767189 Mar 17 14:27 sed-4.1.2.tar.gz
-rw-rw-r-- 1 linksys linksys   384917 Mar 17 14:29 squashfs3.0.tar.gz
-rw-rw-r-- 1 linksys linksys  1793088 Mar 17 14:33 uClibc-0.9.28.2.tar.bz2

(Last edited by breath on 18 Mar 2007, 00:53)

I'm using 6580 and it's working great. Try a 'make clean' to get rid of any old junk that may be killing your build. I do that whenever a big change comes out (like changing gcc versions).

r6595 is working great for me (I think better than ever - but I haven't used it for long yet)

(other than a strange network scripts problem I haven't yet tracked down)

you guys can recover on a Netgear WGT634U I'm using all defaults now .

I'm doing a total fresh SVN rebuild now! AGAIN!

(Last edited by breath on 17 Mar 2007, 21:29)

Same problem here. Just started from scratch. Should be done in about an hour.

Well it works like a charm now

WGT634U  Will not recover r6596 (2.6 Kernel, GCC 4.1.2) all defaults in config file, the SVN is completely new load.
brcm47xx-2.6
Have to reload image r6513 it seems to work OK

But r6596 looks like it's broke , Ill rebuild with gcc 3.4.6
Boot and Boot and Boot rolling Boots

CFE version 1.0.34 for BCM95365R (32bit,SP,LE)
Build Date: Tue Feb 24 03:21:41 CST 2004 (root@jackylinux)
Copyright (C) 2000,2001,2002 Broadcom Corporation.

Add MAC client version(DNI).
Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller
CPU type 0x29007: 200MHz
Total memory: 0x2000000 bytes (32MB)

Total memory used by CFE:  0x81BB1280 - 0x82000000 (4517248)
Initialized Data:          0x81BB1280 - 0x81BB3E90 (11280)
BSS Area:                  0x81BB3E90 - 0x81BB45D0 (1856)
Local Heap:                0x81BB45D0 - 0x81FB45D0 (4194304)
Stack Area:                0x81FB45D0 - 0x81FB65D0 (8192)
Text (code) segment:       0x81FB65E0 - 0x81FFFFB0 (301520)
Boot area (physical):      0x01B70000 - 0x01BB0000
Relocation Factor:         I:E23B65E0 - D:01BB0280

configure vlans
*****************************************************************
*********************** VLAN Driver initial  ********************
*****************************************************************
Process LAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add LAN port

Process WAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add WAN port
SUCCESS: enable ports  success
configure vlans...done
Device eth0:  hwaddr 00-09-5B-D1-xx-xx ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Loader:elf Filesys:raw Dev:flash0.os File: Options:(null)
***************************
****  MAC Client V1.0  ****
***************************
et0macaddr value :flag =0 value=00-09-5b-d1-14-bb
et1macaddr value :flag =0 value=00-09-5b-d1-14-bc
MAC exist at least one
system ethernet mac exist and not default....
Skip mac client process.....
Loading: 0x80001000/3732 Entry at 0x80001000
Closing network.
et0: link down
Starting program at 0x80001000

CFE> printenv
Variable Name        Value
-------------------- --------------------------------------------------
BOOT_CONSOLE         uart1
boardtype            bcm95365r
et0phyaddr           254
et0mdcport           0
configvlan           0x1
et0macaddr           00-09-5b-d1-14-bb
et1macaddr           00-09-5b-d1-14-bc
boot_wait            on
IFSTART              ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0
STARTUP              ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0;boot -elf flash0.os:
kernel_args          console=ttyS1,115200 root=/dev/ram0 init=linuxrc rw syst_size=8M
CFE_VERSION          1.0.34
CFE_BOARDNAME        BCM95365R
CFE_MEMORYSIZE       32
*** command status = 0

CFE> ifconfig eth0 -auto
DHCP registration failed on device eth0
et0: link down
*** command status = -23
CFE> ifconfig eth0 -auto
Device eth0:  hwaddr 00-09-5B-D1-14-BB, ipaddr 192.168.1.188, mask 255.255.255.0
        gateway 192.168.1.254, nameserver 192.168.1.254, domain launchmodem.com
*** command status = 0


CFE> printenv
Variable Name        Value
-------------------- --------------------------------------------------
BOOT_CONSOLE         uart1
boardtype            bcm95365r
et0phyaddr           254
et0mdcport           0
configvlan           0x1
et0macaddr           00-09-5b-d1-xx-xx
et1macaddr           00-09-5b-d1-xx-xx
boot_wait            on
IFSTART              ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0
STARTUP              ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0;boot -elf flash0.os:
kernel_args          console=ttyS1,115200 root=/dev/ram0 init=linuxrc rw syst_size=8M
CFE_VERSION          1.0.34
CFE_BOARDNAME        BCM95365R
CFE_MEMORYSIZE       32
BOOT_SERVER          192.168.1.254
NET_DEVICE           eth0
NET_DOMAIN           launchmodem.com
NET_IPADDR           192.168.1.188
NET_NETMASK          255.255.255.0
NET_GATEWAY          192.168.1.254
NET_NAMESERVER       192.168.1.254
*** command status = 0

CFE> show devices
Device Name          Description
-------------------  ---------------------------------------------------------
uart0                NS16550 UART at 0x18000300
uart1                NS16550 UART at 0x18000400
flash0.boot          New CFI flash at 1C000000 offset 00000000 size 384KB
flash0.config        New CFI flash at 1C000000 offset 00060000 size 128KB
flash0.os            New CFI flash at 1C000000 offset 00080000 size 7672KB
flash0.nvram         New CFI flash at 1C000000 offset 007FE000 size 8KB
eth0                 BCM4710 Ethernet unit 0 (00-09-5B-D1-xx-xx)
*** command status = 0

(Last edited by breath on 18 Mar 2007, 00:43)

I'm going to rebuild fresh SVN r6596 2.6 kernel with 3.4.6 GCC for the WGT634U

binutils-2.16.1.tar.bz2
-rw-rw-r-- 1 linksys linksys 28193401 Mar 17 19:23 gcc-3.4.6.tar.bz2
-rw-rw-r-- 1 linksys linksys    93646 Mar 17 18:59 genext2fs-1.4rc1.tar.gz
-rw-rw-r-- 1 linksys linksys    19480 Mar 17 18:59 ipkg-utils-1.7.tar.gz
-rw-rw-r-- 1 linksys linksys 42729366 Mar 17 19:02 linux-2.6.19.2.tar.bz2
-rw-rw-r-- 1 linksys linksys   194914 Mar 17 18:59 lzma432.tar.bz2
-rw-rw-r-- 1 linksys linksys  1335505 Mar 17 19:00 mtd_20050122.orig.tar.gz
-rw-rw-r-- 1 linksys linksys   767189 Mar 17 18:58 sed-4.1.2.tar.gz
-rw-rw-r-- 1 linksys linksys   384917 Mar 17 19:00 squashfs3.0.tar.gz
-rw-rw-r-- 1 linksys linksys  1793088 Mar 17 19:04 uClibc-0.9.28.2.tar.bz2

about a hour

Rebuild brcm47xx-2.6 with gcc 3.4.6 still will not recover

must be something in brcm47xx-2.6

Bummer!

Don't Piss on 220v

(Last edited by breath on 18 Mar 2007, 01:55)

Today I'll try r6600 kernel 2.6 for the WGT634U all defalts in config file and total new SVN, clear packages and kamikaze files, remove everything.



Don't Piss on 220v

(Last edited by breath on 18 Mar 2007, 14:43)

Still rolling boots, WGT634U will not recover going back to image r6543

cheers
Used CFE to Flash image openwrt-wgt634u-2.6-squashfs.bin to WGT634U

it worked this time r6605 have not tired the openwrt-brcm47xx-2.6-squashfs.trx using mtd

this worked
flash -noheader 192.168.1.190:openwrt-wgt634u-2.6-squashfs.bin flash0.os

cheers

Firmware               OpenWrt Kamikaze - With X-Wrt Extensions r6605
Kernel          Linux 2.6.19.2 #1 Sun Mar 18 10:44:58 EDT 2007
MAC          00:09:5B:D1:14:BB
Device         Netgear WGT634U
Board         Broadcom BCM47xx
Username          root

Web mgt. console          Webif2
Version        r2922

Starting program at 0x80001000                                                 
Linux version 2.6.19.2 (linksys@7000us) (gcc version 4.1.2) #1 Sun Mar 18 10:447
CPU revision is: 00029007                                                       
ssb: Sonics Silicon Backplane found on address 0x18000000                       
ssb: BUG: Assertion failed (bus->board_vendor && bus->board_type) at: drivers/s)
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x05, vendor 0x4243)               
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)           
ssb: Core 2 found: IPSEC (cc 0x80B, rev 0x01, vendor 0x4243)                   
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x02, vendor 0x4243)         
ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)                     
ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x01, vendor 0x4243)               
ssb: Core 6 found: MEMC SDRAM (cc 0x80F, rev 0x00, vendor 0x4243)               
ssb: Initializing MIPS core...                                                 
ssb: set_irq: core 0x0806, irq 2 => 2                                           
ssb: set_irq: core 0x0804, irq 0 => 3                                           
ssb: PCIcore in host mode found                                                 
early_nvram_init: WGT634U NVRAM found.                                         
Determined physical RAM map:                                                   
memory: 02000000 @ 00000000 (usable)                                           
Initrd not found or empty - disabling initrd                                   
Built 1 zonelists.  Total pages: 8128                                           
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/pr0
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.     
Primary data cache 4kB, 2-way, linesize 16 bytes.                               
Synthesized TLB refill handler (19 instructions).                               
Synthesized TLB load handler fastpath (31 instructions).                       
Synthesized TLB store handler fastpath (31 instructions).                       
Synthesized TLB modify handler fastpath (30 instructions).                     
PID hash table entries: 128 (order: 7, 512 bytes)                               
Using 100.000 MHz high precision timer.                                         
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)                   
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)                     
Memory: 29964k/32768k available (1968k kernel code, 2804k reserved, 275k data, )
Mount-cache hash table entries: 512                                             
Checking for 'wait' instruction...  unavailable.                               
NET: Registered protocol family 16                                             
PCI: fixing up bridge                                                           
PCI: Fixing up device 0000:00:00.0                                             
NET: Registered protocol family 2                                               
IP route cache hash table entries: 256 (order: -2, 1024 bytes)                 
TCP established hash table entries: 1024 (order: 0, 4096 bytes)                 
TCP bind hash table entries: 512 (order: -1, 2048 bytes)                       
TCP: Hash tables configured (established 1024 bind 512)                         
TCP reno registered                                                             
squashfs: version 3.0 (2006/03/15) Phillip Lougher                             
Registering mini_fo version $Id$                                               
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.                           
io scheduler noop registered                                                   
io scheduler deadline registered (default)                                     
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled       
serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A                             
serial8250: ttyS1 at MMIO 0x0 (irq = 3) is a 16550A                             
b44.c:v1.01 (Jun 16, 2006)                                                     
eth0: Broadcom 10/100BaseT Ethernet 00:09:5b:d1:14:bb                           
flash init: 0x1c000000 0x02000000                                               
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank             
Intel/Sharp Extended Query Table at 0x0031                                     
Using buffer write method                                                       
cfi_cmdset_0001: Erase suspend on write enabled                                 
Flash device: 0x800000 at 0x1fc00000                                           
bootloader size: 655360                                                         
Physically mapped flash: Filesystem type: squashfs, size=0x25af8d               
Updating TRX offsets and length:                                               
old trx = [0x0000001c, 0x000008f0, 0x000af000], len=0x0030a000 crc32=0xf964087c
new trx = [0x0000001c, 0x000008f0, 0x000af000], len=0x00320000 crc32=0xa22a0b04
Done                                                                           
Creating 5 MTD partitions on "Physically mapped flash":                         
0x00000000-0x000a0000 : "cfe"                                                   
0x000a0000-0x007e0000 : "linux"                                                 
0x0014f000-0x003c0000 : "rootfs"                                               
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-y
0x007e0000-0x00800000 : "nvram"                                                 
0x003c0000-0x007e0000 : "OpenWrt"                                               
ip_conntrack version 2.4 (256 buckets, 2048 max) - 240 bytes per conntrack     
ip_tables: (C) 2000-2006 Netfilter Core Team                                   
TCP vegas registered                                                           
NET: Registered protocol family 1                                               
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>                           
Time: MIPS clocksource has been installed.                                     
VFS: Mounted root (squashfs filesystem) readonly.                               
Freeing unused kernel memory: 116k freed                                       
Warning: unable to open an initial console.                                     
Algorithmics/MIPS FPU Emulator v1.5                                             
diag: Detected 'Netgear WGT634U'                                 

Boots OK

(Last edited by breath on 18 Mar 2007, 16:48)

The discussion might have continued from here.