Linksys EA8500 bricked :( Help recover using TTL

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
ic2d
DD-WRT Novice


Joined: 08 Oct 2019
Posts: 3

PostPosted: Tue Oct 08, 2019 16:56    Post subject: Linksys EA8500 bricked :( Help recover using TTL Reply with quote
Hello, my router is bricked Sad tried to use the DD wrt instruction to debrick it, but after "restart" it does nothing, just booting back Sad

In putty i see this when switching on the router:

Code:
U-Boot 2012.07 [Standard IPQ806X.LN,r40331] (Oct 12 2015 - 17:00:55)

CBT U-Boot ver: 1.0.12

smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:0:3:7f:ba:db:1
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:0:3:7f:ba:db:2
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is         00:03:7f:ba:db:01
Address in environment is  00:06:3b:01:41:00
, eth1
Hit any key to stop autoboot:  0
MMC Device 0 not found
MMC Device 0 not found
setenv - set environment variables

Write Reg: 0x00000660: Oldval = 0x00140020 Newval = 0x0014007e
Write Reg: 0x0000066c: Oldval = 0x0014005c Newval = 0x0014007d
Write Reg: 0x00000678: Oldval = 0x0014005a Newval = 0x0014007b
Write Reg: 0x00000684: Oldval = 0x00140056 Newval = 0x00140077
Write Reg: 0x00000690: Oldval = 0x0014004e Newval = 0x0014006f
Write Reg: 0x0000069c: Oldval = 0x00140001 Newval = 0x0014005f
Write Reg: 0x000006a8: Oldval = 0x0014001e Newval = 0x0014003f
Write Reg: 0x00000420: Oldval = 0x00020001 Newval = 0x00010001
Write Reg: 0x00000428: Oldval = 0x00010001 Newval = 0x00010001
Write Reg: 0x00000430: Oldval = 0x00010001 Newval = 0x00010001
Write Reg: 0x00000438: Oldval = 0x00010001 Newval = 0x00010001
Write Reg: 0x00000440: Oldval = 0x00010001 Newval = 0x00010001
Write Reg: 0x00000448: Oldval = 0x00020001 Newval = 0x00010001
Write Reg: 0x00000450: Oldval = 0x00010001 Newval = 0x00010001
(IPQ) #


TFTP launched, copying commands to flash the router.

Code:
(IPQ) # setenv image ddwrt.img
setenv image ddwrt.img
(IPQ) # setenv ipaddr 192.168.1.1
setenv ipaddr 192.168.1.1
(IPQ) # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
(IPQ) # run flashimg
run flashimg
Mac1 unit failed
Using eth1 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'ddwrt.img'.
Load address: 0x42000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################################
done
Bytes transferred = 38940927 (25230ff hex)

NAND erase: device 0 offset 0xf80000, size 0x2800000
Erasing at 0x3760000 -- 100% complete.
OK

NAND write: device 0 offset 0xf80000, size 0x25230ff
 39059456 bytes written: OK
(IPQ) # run flashimg2
run flashimg2
Using eth1 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'ddwrt.img'.
Load address: 0x42000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################################
done
Bytes transferred = 38940927 (25230ff hex)

NAND erase: device 0 offset 0x3780000, size 0x2800000
Erasing at 0x5f60000 -- 100% complete.
OK

NAND write: device 0 offset 0x3780000, size 0x25230ff
 39059456 bytes written: OK
(IPQ) #


Now, i need to restart the router using command Reset, the router will reboot and run the DDWRT, but...

Code:
(IPQ) # reset
reset
resetting ...

Resetting with watch dog!


U-Boot 2012.07 [Standard IPQ806X.LN,r40331] (Oct 12 2015 - 17:00:55)

CBT U-Boot ver: 1.0.12

smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:0:3:7f:ba:db:1
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:0:3:7f:ba:db:2
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is         00:03:7f:ba:db:01
Address in environment is  00:06:3b:01:41:00
, eth1
Hit any key to stop autoboot:  0
MMC Device 0 not found
MMC Device 0 not found
setenv - set environment variables

Write Reg: 0x00000660: Oldval = 0x00140020 Newval = 0x0014007e
Write Reg: 0x0000066c: Oldval = 0x0014005c Newval = 0x0014007d
Write Reg: 0x00000678: Oldval = 0x0014005a Newval = 0x0014007b
Write Reg: 0x00000684: Oldval = 0x00140056 Newval = 0x00140077
Write Reg: 0x00000690: Oldval = 0x0014004e Newval = 0x0014006f
Write Reg: 0x0000069c: Oldval = 0x00140001 Newval = 0x0014005f
Write Reg: 0x000006a8: Oldval = 0x0014001e Newval = 0x0014003f
Write Reg: 0x00000420: Oldval = 0x00020001 Newval = 0x00010001
Write Reg: 0x00000428: Oldval = 0x00010001 Newval = 0x00010001
Write Reg: 0x00000430: Oldval = 0x00010001 Newval = 0x00010001
Write Reg: 0x00000438: Oldval = 0x00010001 Newval = 0x00010001
Write Reg: 0x00000440: Oldval = 0x00010001 Newval = 0x00010001
Write Reg: 0x00000448: Oldval = 0x00020001 Newval = 0x00010001
Write Reg: 0x00000450: Oldval = 0x00010001 Newval = 0x00010001
(IPQ) #


Now, im stuck..I dont know what do...Go and buy another router, and throw this out?! Sad Can someone help?

Oh, also, maybe this will be needed...printenv
Code:
(IPQ) # printenv
printenv
altkern=3780000
auto_recovery=no
autostart=no
baudrate=115200
boot_part=1
boot_part_ready=2
boot_ver=1.0.12
bootargs=console=ttyHSL1,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs
bootcmd=bootipq
bootdelay=5
ethact=eth0
ethaddr=00:06:3b:01:41:00
fileaddr=42000000
filesize=1960000
flashimg=tftp $loadaddr $image;nand erase $prikern $imgsize;nand write $loadaddr $prikern $filesize
flashimg2=tftp $loadaddr $image;nand erase $altkern $imgsize;nand write $loadaddr $altkern $filesize
fsbootargs=ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs
image=orig.eu.1.1.9.img
imgsize=2800000
ipaddr=192.168.1.1
loadaddr=42000000
machid=1260
mtddevname=fs
mtddevnum=0
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:0x2500000@0x1280000(fs),
netmask=255.255.255.0
partbootargs=console=ttyHSL1,115200n8 init=/sbin/init rootfstype=squashfs root=31:14
partbootargs2=console=ttyHSL1,115200n8 init=/sbin/init rootfstype=squashfs root=31:16
partition=nand0,0
prikern=f80000
serverip=192.168.1.2
stderr=serial
stdin=serial
stdout=serial

Environment size: 1272/262140 bytes
(IPQ) #
Sponsor
PowerPoldi
DD-WRT User


Joined: 15 Oct 2016
Posts: 70

PostPosted: Sun Oct 13, 2019 15:11    Post subject: Reply with quote
EA8500 is powered by Qualcomm SOC.
Better ask this thread in the Atheros-Section!
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sun Oct 13, 2019 18:31    Post subject: Reply with quote
Moved to the correct forum.
_________________
I am far from a guru, I'm barely a novice.
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Sun Oct 13, 2019 19:23    Post subject: Re: Linksys EA8500 bricked :( Help recover using TTL Reply with quote
ic2d wrote:
Filename 'ddwrt.img'.

What exact build number and file name of the DD-WRT firmware you used Question Question Question
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Sun Oct 13, 2019 20:27    Post subject: Re: Linksys EA8500 bricked :( Help recover using TTL Reply with quote
The reason I ask about the exact firmware you used ----
ic2d wrote:
.... #####################################################
done
Bytes transferred = 38940927 (25230ff hex) ...

Seems to me you may have used an older firmware from main DD-WRT ...which will NOT work Rolling Eyes
see ---
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1177889#1177889

Prolly best just use instructions from 'THIS PAGE'
all you need to install DD-WRT is on that page.

good luck Razz
ic2d
DD-WRT Novice


Joined: 08 Oct 2019
Posts: 3

PostPosted: Wed Oct 16, 2019 12:58    Post subject: Reply with quote
Thanks to all for your reply. My problem was with env's. Bootargs was wrong. Smile
Now router i running fine. default prinenv for now is
auto_recovery=yes
autostart=yes
baudrate=115200
boot_part=1
boot_part_ready=3
boot_ver=1.0.12
bootargs=console=ttyHSL1,115200n8 init=/sbin/init rootfstype=squashfs root=31:14
bootcmd=bootipq
bootdelay=2
ethact=eth0
ethaddr=00:06:3b:01:41:00
flashimg=tftp $loadaddr $image;nand erase $prikern $imgsize;nand write $loadaddr $prikern $filesize
flashimg2=tftp $loadaddr $image;nand erase $altkern $imgsize;nand write $loadaddr $altkern $filesize
fsbootargs=ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs
image=wraith.bin
imgsize=2800000
ipaddr=192.168.1.1
loadaddr=42000000
machid=1260
netmask=255.255.255.0
partbootargs=console=ttyHSL1,115200n8 init=/sbin/init rootfstype=squashfs root=31:14
partbootargs2=console=ttyHSL1,115200n8 init=/sbin/init rootfstype=squashfs root=31:16
prikern=f80000
serverip=192.168.1.254
stderr=serial
stdin=serial
stdout=serial
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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