help

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
michael2010
Posts: 9
Joined: Wed Mar 24, 2010 5:28 pm

help

Post by michael2010 »

Hi, I just got everything ready and flashed my Asus WL 520gU. Everything went fine (so I thought) till it was time to reboot.

Code: Select all

Failed.: Timeout occured
Reading :: TFTP Server.
TFTP_BLKLEN!!
break!! last block!!
Done. 1230520 bytes read
Download of 0x12c6b8 bytes completed
Write kernel and filesystem binary to FLASH (0xbfc20000)
Programming...
copysize=1230520, amtcopy=1230520
done. 1230520 bytes written
The "done" part came rather fast maybe a minute if tops. I waited another 5 minutes but nothing happened. I unplugged and waited for a minute and plugged it back in. Now I still get the following:

Code: Select all

Failed.: Timeout occured
Reading :: TFTP Server.
When I look closely at the boot now I see the following message:

Code: Select all

Decompressing..........done


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Thu Mar  6 10:05:04 CST 2008 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.31.0
CPU type 0x29029: 240MHz
Total memory: 16384 KBytes

Total memory used by CFE:  0x80400000 - 0x80497FF0 (622576)
Initialized Data:          0x8042F370 - 0x80431830 (9408)
BSS Area:                  0x80431830 - 0x80431FF0 (1984)
Local Heap:                0x80431FF0 - 0x80495FF0 (409600)
Stack Area:                0x80495FF0 - 0x80497FF0 (8192)
Text (code) segment:       0x80400000 - 0x8042F370 (193392)
Boot area (physical):      0x00498000 - 0x004D8000
Relocation Factor:         I:00000000 - D:00000000

Device eth0:  hwaddr E0-CB-4E-9A-7F-EA, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

Reading :: TFTP Server.
Failed.: Timeout occured
Reading :: TFTP Server.
Failed.: Timeout occured
In the instruction you listed that the image sizes might vary. Mine look bigger. Any idea what went wrong? I have the slight feeling that it is toast but I'm not sure why it would finish correct but then not decompress. I would be glad for any advice. Thanks. Regards, Michael
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: help

Post by mightyohm »

No, the router is not bricked. Something did go wrong during the flash, and it is luckily triggering rescue mode so you can TFTP a new image. This is why having a serial cable for the flash steps is so helpful!

What boot image file did you try to send?

It's possible that the image is corrupted. Tftp finished based on your logs, so you definitely waited long enough before power cycling the router.
michael2010
Posts: 9
Joined: Wed Mar 24, 2010 5:28 pm

Re: help

Post by michael2010 »

Jeff, I used the "easy way" and used your image and you are right it was corrupt. It was incomplete. I don't know how that happen but it did. I should have verified that the down load was done. But from the looks of the firefox download window it looked. fine.

I just used the newly downloaded image, and it worked great:

Code: Select all

BusyBox v1.11.2 (2008-12-01 16:57:55 PST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r12857) -------------------
Thanks for the help. I keep you posted. Regards, Michael
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: help

Post by mightyohm »

Awesome!
:D
Post Reply