Topic: Un-brick a WG302

Need a little bit of help here.

WG302v1.

I did have openwrt loaded. It was a bit buggy, i did some stuff, now it wont boot. Ive tried re-installing/flashing openwrt and the original netgear software. No joy.

== Executing boot script in 2.000 seconds - enter ^C to abort
RedBoot> fis load -b 0x01600000 kernel
No image 'kernel' found
RedBoot> exec 0x01600000
Base address unknown - use "-b" option
RedBoot>
RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.92 - built 10:44:29, Apr  9 2004

Platform: IXDP425 Development Platform (XScale)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x10000000, 0x0001f9b8-0x0ffd1000 available
FLASH: 0x50000000 - 0x50800000, 64 blocks of 0x00020000 bytes each.

Bootcode Version 1.9 2004/04/08
== Executing boot script in 2.000 seconds - enter ^C to abort
^C
RedBoot> ^C
RedBoot> fis init -f
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0x50060000-0x507c0000: Err = a2

   initialization failed 0x50060000: Error trying to erase
... Erase from 0x507e0000-0x507e0000:
... Erase from 0x50800000-0x50800000:
... Unlock from 0x507e0000-0x50800000: .
... Erase from 0x507e0000-0x50800000: .
... Program from 0x0ffdf000-0x0ffff000 at 0x507e0000: .
... Lock from 0x507e0000-0x50800000: .
RedBoot>
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00060000  0x00000000
RedBoot config    0x507C0000  0x507C0000  0x00001000  0x00000000
Config backup     0x507C1000  0x507C1000  0x00001000  0x00000000
FIS directory     0x507E0000  0x507E0000  0x00020000  0x00000000
RedBoot> load -r -b %{FREEMEMLO} openwrt-wg302v1-zImage
Using default protocol (TFTP)
Raw file loaded 0x0001fc00-0x000f525f, assumed entry at 0x0001fc00
RedBoot> fis create kernel
Can't locate e0000(917504) bytes free in FLASH
RedBoot> load -r -b %{FREEMEMLO} openwrt-ixp4xx-generic-squashfs.img
Using default protocol (TFTP)
Raw file loaded 0x0001fc00-0x001dfbff, assumed entry at 0x0001fc00
RedBoot> fis create -r  0x0001fc00 -l 0x620000 rootfs
Can't locate 620000(6422528) bytes free in FLASH
RedBoot>

Here is an attempt to get the netgear firmware back on by holding the reset button

--------------------------------------------------------------------------------
Checksum of firmware is correct!------------------------------------------------
Raw file loaded 0x01600000-0x019d3007, assumed entry at 0x01600000--------------
*** Initialize FLASH Image System-----------------------------------------------
... Erase from 0x50060000-0x507c0000: Err = a2----------------------------------
--------------------------------------------------------------------------------
   initialization failed 0x50060000: Error trying to erase----------------------
... Erase from 0x507e0000-0x507e0000: ------------------------------------------
... Erase from 0x50800000-0x50800000: ------------------------------------------
... Unlock from 0x507e0000-0x50800000: .----------------------------------------
... Erase from 0x507e0000-0x50800000: .-----------------------------------------
... Program from 0x0ffdf000-0x0ffff000 at 0x507e0000: .-------------------------
... Lock from 0x507e0000-0x50800000: .------------------------------------------
Flash can't be initialized! Error 3---------------------------------------------
== Executing boot script in 2.000 seconds - enter ^C to abort-------------------
RedBoot> fis load -b 0x01600000 kernel------------------------------------------
No image 'kernel' found---------------------------------------------------------
RedBoot> exec 0x01600000--------------------------------------------------------
Using base address 0x01600000 and length 0x003d3008-----------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-

any help, greatly appreciated!

Re: Un-brick a WG302

bump to get my lovely AP running again :'(

Re: Un-brick a WG302

Best info/help I have to offer is here.
You could find some info redboot, but don't expect much.

Re: Un-brick a WG302

Flash erase errors are always a bad sign. If software causes (bugs) can be ruled out it generally hints at a hardware problem, in the best case it might be simply an instable power supply (too low voltage, line noise, bad grounding, leaking currents) in the worst case the flash chip is indeed broken and you cannot do much (aside from soldering another one).