wrt54g V8 serial port flash

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
ekraus
DD-WRT Novice


Joined: 28 Nov 2015
Posts: 6

PostPosted: Sun Jun 21, 2020 20:43    Post subject: wrt54g V8 serial port flash Reply with quote
I have a wrt54g V8 with a serial port on the board.
I have accessed the router via the serial port.
I am looking for help to reflash it with the DDWRT firmware.
It was working with DDWRT and I tried to update the firmware and it never completed. I am looking for help.
Thanks
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Sun Jun 21, 2020 22:09    Post subject: Reply with quote
https://wiki.dd-wrt.com/wiki/index.php/Recover_from_a_bad_flash

https://wiki.dd-wrt.com/wiki/index.php/Tftp_flash

https://wiki.dd-wrt.com/wiki/index.php/Serial_Recovery

https://wiki.dd-wrt.com/wiki/index.php/How_To_Flash_the_WRT54Gv8

https://wiki.dd-wrt.com/wiki/index.php/Linksys_WRT54G_v8.1

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ekraus
DD-WRT Novice


Joined: 28 Nov 2015
Posts: 6

PostPosted: Mon Jun 22, 2020 13:12    Post subject: Reply with quote
First of all thanks.
I have tried every way that has been documented in your post.
This is what i encounter.
I am attached via serial to the router.
upon boot this is what i get.

Device eth0: hwaddr 00-1C-10-97-ED-3F, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Boot program checksum is invalid
Reading :: Failed.: Timeout occured
Reading :: Failed.: Interrupted
CFE>

TFTP does not work.
I can ping the router.
It seems that if I can get the firmware into it I can bring it back to life.
The other thing is that in order to recover you need the original Linksys firmware that is not available.

So I am lost.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Mon Jun 22, 2020 13:30    Post subject: Reply with quote
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=145255&postdays=0&postorder=asc&start=30

Found via Linksysinfo-dot-org: https://www.linksysinfo.org/index.php?threads/wrt54g-v8-latest-firmware-download.70746/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ekraus
DD-WRT Novice


Joined: 28 Nov 2015
Posts: 6

PostPosted: Mon Jun 22, 2020 17:51    Post subject: Reply with quote
I had already checked the Linksys OEM firmware thread and found no listing for the v8 firmware.

I have the DDWRT binary but cant figure out how to get the Broadcom CFE to load it. There must be some way to do it. It would be a shame to dump the router.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Mon Jun 22, 2020 18:03    Post subject: Reply with quote
I guess I need to be more obvious
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Mon Jun 22, 2020 20:06    Post subject: Reply with quote
ekraus wrote:
I appreciate the firmware but I am still lost as to how to get it in the router. I haven't seen a line of code or done anything from a command line since I retired in 2002 so forgive me for being ignorant. + navigating the internet is a pain in the ass. I have 2 of the 54G's one works fine
and this one took a shit!


I guess I posted all those links to information, especially the one on how to do a serial recovery for nothing? Please keep the discussion in the forum. Thank you.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ekraus
DD-WRT Novice


Joined: 28 Nov 2015
Posts: 6

PostPosted: Mon Jun 22, 2020 22:04    Post subject: Reply with quote
This is what I get after I issue
nvram erase and I am not quite sure if its getting erased, then a Ctrl c. Still trying to load DDWRT.

CFE> nvram erase
*** command status = 0
CFE> reboot


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Nov 23 11:34:59 EST 2007 (tornado@dd-wrt.com)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
Boot partition size = 262144(0x40000)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5
CPU type 0x29029: 240MHz
Total memory: 8192 KBytes

Total memory used by CFE: 0x80700000 - 0x807977D0 (620496)
Initialized Data: 0x8072E860 - 0x80730FB0 (10064)
BSS Area: 0x80730FB0 - 0x807317D0 (2080)
Local Heap: 0x807317D0 - 0x807957D0 (409600)
Stack Area: 0x807957D0 - 0x807977D0 (8192)
Text (code) segment: 0x80700000 - 0x8072E860 (190560)
Boot area (physical): 0x006BF000 - 0x006FF000
Relocation Factor: I:00000000 - D:00000000

Committing NVRAM...done
▒aiting for reset button release...done

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Nov 23 11:34:59 EST 2007 (tornado@dd-wrt.com)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
Boot partition size = 262144(0x40000)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5
CPU type 0x29029: 240MHz
Total memory: 8192 KBytes

Total memory used by CFE: 0x80700000 - 0x807977D0 (620496)
Initialized Data: 0x8072E860 - 0x80730FB0 (10064)
BSS Area: 0x80730FB0 - 0x807317D0 (2080)
Local Heap: 0x807317D0 - 0x807957D0 (409600)
Stack Area: 0x807957D0 - 0x807977D0 (8192)
Text (code) segment: 0x80700000 - 0x8072E860 (190560)
Boot area (physical): 0x006BF000 - 0x006FF000
Relocation Factor: I:00000000 - D:00000000

Device eth0: hwaddr 00-1C-10-97-ED-3F, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Invalid boot block on disk
Reading :: Failed.: Interrupted
CFE>
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Mon Jun 22, 2020 22:13    Post subject: Reply with quote
I guess the wiki is confusing to you. First, break boot with ctrl-c to get to cfe prompt. Then:
Code:
cfe> nvram erase [press enter]
cfe>flash -ctheader : flash1.trx[press enter]

At this point, you use tftp to push the firmware file to 192.168.1.1. When this completes and you are back at the cfe prompt:
Code:
cfe> go [press enter]

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ekraus
DD-WRT Novice


Joined: 28 Nov 2015
Posts: 6

PostPosted: Tue Jun 23, 2020 5:37    Post subject: Reply with quote
flash -ctheader : flash1.trx
Does not work

CFE> nvram erase
*** command status = 0
CFE> flash -ctheader : flash1.trx
Invalid switch: -ctheader
*** command status = -8
CFE>

flash -noheader : flash1.trx
This does allow the upload but fails and gives the
Invalid boot block on disk error

CFE> nvram erase
*** command status = 0
CFE> flash -noheader : flash1.trx
Reading :: Done. 1768904 bytes read
Programming...done. 1768904 bytes written
*** command status = 0
CFE> go
Invalid boot block on disk
Reading :: Failed.: Timeout occured
Reading ::

By the way using Tftpd64 does not work, that is why I was having problems. I had an old version of tftp.exe that I downloaded in 2010 allowed the upgrade
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Tue Jun 23, 2020 15:12    Post subject: Reply with quote
What is the output of:
Code:
devinfo show

and
Code:
show devices


The Linksys client here: https://www.linksys.com/us/support-article?articleNum=137928

or

tftpd32 v4.52 32-bit standard edition server/client software with "Use Anticipation Window of 1024 bytes" under settings for TFTP checked might help (using the TFTP client, not server).

There is a section in the Serial recovery wiki that discusses extra steps that may be required to do serial recovery, but without the output of 'devinfo show' or 'show devices', I am not sure what to suggest specifically.

Also, I just remembered this:

8.0 Broadcom BCM5354 @ 240 MHz 8 MB 2 MB CDFF/CDFG
Some units come with 16 MB of RAM. VxWorks killer works. Antennas cannot be removed.

If you used the VxWorks killer in the past, then stock firmware may not flash. You may have to follow the initial flash procedure in the wiki to some extent:

https://wiki.dd-wrt.com/wiki/index.php/Linksys_WRT54G_v8.0_%26_v8.2

The problem is, most of the links in that wiki are broken, so I will post the right links here:

ftp://ftp.dd-wrt.com/others/tornado/Gv8/
ftp://ftp.dd-wrt.com/others/tornado/CFE_Updater/
ftp://ftp.dd-wrt.com/betas/2010/08-12-10-r14929/broadcom/dd-wrt.v24_micro_generic.bin

Also, worst case scenario, JTAG may be required, but that is extreme case if all else fails. You may wish to try the linked micro_generic.bin file with -noheader FIRST to see if it takes and comes up.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ekraus
DD-WRT Novice


Joined: 28 Nov 2015
Posts: 6

PostPosted: Wed Jun 24, 2020 15:18    Post subject: Reply with quote
OK so I was able to get dd-wrt.v24_micro_generic in and the router is up.
Using tftp.exe.
But I cant get either the linksys firmware or the last build of DDWRT for this router in.
I am using the the firmware upgrade, firmware management page.
Is the micro_generic a totally functional load?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Wed Jun 24, 2020 17:00    Post subject: Reply with quote
If by "last build" you mean 40559, you do not want to flash that build and it may not even flash. You should be able to flash this build without issue: https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/05-19-2020-r43192/broadcom/

And as far as I know, you should be able to upgrade to newer builds from there. Releases are posted in this forum, but you can also check here:

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum