Bricked Fonera - Can't abort boot script

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


Joined: 08 Feb 2015
Posts: 6

PostPosted: Sun Feb 08, 2015 18:38    Post subject: Bricked Fonera - Can't abort boot script Reply with quote
Hi!

I'm having a problem very similar to the one in this thread but I can't seem to solve it in any way.

This happened a couple months ago, so I don't remember which was the version I was using, but I was trying to update my Fonera to a newer version of DD-WRT and it got bricked in the process. I just got into solving this problem some days ago and since I couldn't access it through telnet, I managed to get a USB-to-serial kind-of adapter and this is my setup:




This way I can access it through serial and this is what I get:

Quote:
Ethernet eth0: MAC address 00:18:84:25:12:f0
IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0
Default server: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version v1.3.0 - built 16:57:58, Aug 7 2006

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: ap51
RAM: 0x80000000-0x81000000, [0x80040450-0x80fe1000] available
FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 10.000 seconds - enter ^C to abort
RedBoot> fis load -l linux
Image loaded from 0x80041000-0x80306bf0
RedBoot> exec
Now booting linux kernel:
Base address 0x80030000 Entry 0x80041000
Cmdline :
[ 0.000000] Linux version 3.2.41-svn21039 (rootddwr) gccvesin .63 21220 (rerlese (inro CC4.-212.2)) 874 on ar25023842 ET203
[ 00000] botonol [arl0]enbld
000000 CU evsin i: 00904 MIP 4Ec
[ 0.0000 Deerind hyica RM ap
[ 0.0000] mmoy:010000 000000(uabe)
[ 0.0000]Zoe FNranes
0.0000 Nomal x000000->0x00100
000000 Mvalezon sar PN or ac nde
[ .0000]eary_od_mp[1 atie FNranes
[ 0.0000] 0 0x00000 > 0000100
[ 0.000000]Buit zneist i Zneorer,moiltygrupig ff ota pge: 06
[ 0.0000]Kene cmmad in: onolettS011200rot=f0 rotftye=qushs nintr nit/sinint
[ 0.0000 PI hshtaleentie: 4 ordr:-4 26 yte)
[ 00000] enty ace as taleenris:204 (rdr:1, 19 bte)
[ 000000 Iod-cahehah abe etres 124(orer 0 496 yts)
[ 0.000000] Primryintrutin ace 1kB VPT 4way lneiz 1 byes
0.0000 Pimay at cch 16B,4-ay VIT,noalass, insie 6 yte
[ 0.000000] Memoy:1240/1384 aaiabe (29k erelcod, 54k eseve, 86 dta,15k ni, k hghem
[ 00.BXN 0Š#NB.Ý;ù.ÐxÈYí•.ˆ˜ü.Sˆ.´!..b)å.QˆŒ„”;JG9ÿ„;!âä.!sG®$o+.#.ˆ}XH¢¬!r!Àӄ.[).ö.°.1¤)¥/HE”.Fú#ÖÍ.-Cž'.ó+ÖÍ.-Až'.ó+ÖÍ+-#hJ...C).HyB9XJÕRǬ..—Š9!±"À#.´.Á.BÈxC).HxB9XJkʋ.B.CXÌBˆHñ.Â#!©þ.G!oŒû.C½ù.KÎ2ÊhB
ó..õßÎý.Ä}J#š..Rß!܈ƒ=Â1´.âŠeõ.bÊ)œH]¼Èäˆ.B².ý.BCvÊ.bò.M.â.B¾.ö.bb.9!7b).K.Käÿ.BJ.ù.À„Õ( „ò.BJò.BJÈbþ.bJä:.BJH²¤8d.²€8¥Cgä. –1Šÿ€(Ìü.£Ž)Æ)ù.`.ÊG¥)U.@ˆBþ..p)õ;Ær¸?(‰ˆj+..¡XÏ!¥@¶*.2`..HV•Ÿ!.
+Ï)‰9!¾H"ê.{œà
G«¥J.R6H3­Ñ.C-Ê*ìGՄ–.„.~¡}ÿ)Þ.1J.gøÊ3Œ.#ø.’”y@üEá.›Xø¤(`...36´C!.A‰ €#-Ã.!.E‡.!#CN!
⤀#jJJ#XÇ.!î¿CHJ0ÍB ..xÈ5Õ


After this, everything starts again from the beginning and the output is almost the same, being the only differences in the gibberish part, so won't consider it relevant.

The problem here is that I can't seem to send the Control + C command to abort the boot script! I've tried an handful of apps in different OSes (Mac OSX - CoolTerm, Serial, Putty / Windows - Putty, HyperTerminal, two others that I can't remember the names) and I wasn't able to have any kind of success.

The adapter has 2 others leds besides the red (indicating power), one green for TX and one blue for RX. When the router is printing something in the console the green one (TX) lights up and when I press Control + C the blue one (RX) lights up too, so I just can't understand what is happening.

Can someone try to help me here?
Sponsor
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 341

PostPosted: Sun Feb 08, 2015 18:41    Post subject: Reply with quote
See flow control option Very Happy
Red_Acid
DD-WRT Novice


Joined: 08 Feb 2015
Posts: 6

PostPosted: Sun Feb 08, 2015 18:55    Post subject: Reply with quote
I have none chosen, should I have one? This are my connection settings:



XON/XOFF, RTS/CTS and DTR/DSR, all unchecked.
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 341

PostPosted: Sun Feb 08, 2015 18:58    Post subject: Reply with quote
Flow control: none
Check GND conectivity
Red_Acid
DD-WRT Novice


Joined: 08 Feb 2015
Posts: 6

PostPosted: Sun Feb 08, 2015 19:51    Post subject: Reply with quote
Nothing different, still the same. Tried with another cable (the brown one that you can see near the adapter) and checked if it's rightly pushed into the adapter and still can't Control+C the boot script.
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 341

PostPosted: Sun Feb 08, 2015 21:25    Post subject: Reply with quote
https://www.gargoyle-router.com/wiki/doku.php?id=fon_flash

https://www.gargoyle-router.com/wiki/doku.php?id=windows_install

I don't have this router but try info in links
Red_Acid
DD-WRT Novice


Joined: 08 Feb 2015
Posts: 6

PostPosted: Sun Feb 15, 2015 23:48    Post subject: Reply with quote
Sorry for the late response, but I've managed to unbrick my Fonera, although it wasn't through serial connection but by using telnet!

That Gargoyle stuff didn't work either so I searched a bit more and found the following snippet for telnet connection in OpenWRT documentation, which worked for me - all my previous attempts to connect through telnet didn't worked at all before this:

Code:
echo -e "\0377\0364\0377\0375\0006" > break
nc -vvv 192.168.1.254 9000 < break ; telnet 192.168.1.254 9000


With it, I finally could access Redboot and unbrick my Fonera. First I had to reflash Redboot because it was corrupted but then I managed to finally install DD-WRT. Smile


Anyway, thanks for the help, TendaW311R+.
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 341

PostPosted: Mon Feb 16, 2015 8:30    Post subject: Reply with quote
Can you now access bootloader and stop it throught serial console ? Very Happy
Red_Acid
DD-WRT Novice


Joined: 08 Feb 2015
Posts: 6

PostPosted: Mon Feb 16, 2015 9:25    Post subject: Reply with quote
Well, that's a good question but I don't have an answer for that. The USB-to-serial adapter wasn't mine and since I could access Redboot through telnet to solve my problem, I already gave it back to the owner as he was in need of it for some Arduino related stuff.

But I'll ask him if he lends me it again this week so I can try that in a couple of minutes and leave feedback here. Smile
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 341

PostPosted: Mon Feb 16, 2015 9:27    Post subject: Reply with quote
Thank you for reply Wink
cataxhan
DD-WRT Novice


Joined: 30 Nov 2016
Posts: 1

PostPosted: Wed Nov 30, 2016 21:46    Post subject: Reply with quote
Hello,

I have the same problem. Did you ever manage to make the connection work?

I found this old Fonera (stock fw 0.7.1 r5) lying around and decided to put DD-WRT in it. For some reason, Ctrl-C cannot be used to cancel the boot process and I'm unable to enter RedBoot to update firmware. Also, as it has never been flashed, I'm unable to use telnet to connect (Gargoyle/FonFlash needs that also). Apparently theres no other way to enable telnet than to use serial connection (there was a dns hack but the servers are now gone).

Like OP, I've tried different os's, systems and programs for the serial connection, and tbh used too much time changing the settings such as flow control. I'm using a bit unorthodox serial connection by using Arduino as my USB to serial converter, but I don't think that it matters as there has been problems with different configurations also.

I was trying to search some information regarding the problem, and could find actually quite many threads regarding this but no solution. Problem, that is, that Ctrl-C does nothing when using serial connection. So, does anyone have any more ideas what to try? Thanks!

(Sorry for resurrecting an old thread, couldn't find a rule against it, I hope it is ok.)
Red_Acid
DD-WRT Novice


Joined: 08 Feb 2015
Posts: 6

PostPosted: Thu Dec 01, 2016 14:38    Post subject: Reply with quote
Hi, cataxhan.

Sorry to hear that you're having the same problem that I had.

Unfortunately, I don't have an answer for you.

Since I've unbrick it with telnet (like I said in a previous comment) I've never touched the serial connection approach again.

And if you can't access it through telnet and after everything you and I tried with serial without success, I'm afraid that you have a total brick on your hands. Sad
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum 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