Un-brick a WG302

Post new topic   Reply to topic    DD-WRT Forum Index -> ARM or PPC based Hardware
Author Message
gtabomber
DD-WRT Novice


Joined: 13 Mar 2012
Posts: 2

PostPosted: Tue Mar 13, 2012 4:20    Post subject: Un-brick a WG302 Reply with quote
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.

Code:

== 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>



Code:
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>


Code:
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


Code:

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

Code:
--------------------------------------------------------------------------------
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!
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Tue Mar 13, 2012 8:34    Post subject: Reply with quote
u have openwrt installed so u should ask there
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
gtabomber
DD-WRT Novice


Joined: 13 Mar 2012
Posts: 2

PostPosted: Tue Mar 13, 2012 14:51    Post subject: Reply with quote
id be happy to put the netgear software back on
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> ARM or PPC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum