How to unbrick Belkin F5D8235-4 v2 (N+) router

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Goto page Previous  1, 2, 3
Author Message
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Tue Jan 31, 2012 4:27    Post subject: Reply with quote
You are getting gibberish already before config_usbotg is called, the text is displayed before calling that routine.

The only difference at this point is that the boot loader has been moved to ram and is run from there (the relocate code message).

You likely have a faulty ram chip but it can be a comms error since code runs faster in ram so your chars will be output with less pause between them.
You did disable all kind of handshaking in the terminal programs?

What's the history, how did it brick and what firmware was it running?

_________________
Kernel panic: Aiee, killing interrupt handler!
Sponsor
theslightestofhand
DD-WRT Novice


Joined: 22 Jan 2011
Posts: 4

PostPosted: Tue Jan 31, 2012 11:35    Post subject: Reply with quote
LOM wrote:
You are getting gibberish already before config_usbotg is called, the text is displayed before calling that routine.

The only difference at this point is that the boot loader has been moved to ram and is run from there (the relocate code message).

You likely have a faulty ram chip but it can be a comms error since code runs faster in ram so your chars will be output with less pause between them.
You did disable all kind of handshaking in the terminal programs?

What's the history, how did it brick and what firmware was it running?


I have tried it with and without a handshake as suggested by https://sites.google.com/site/sleclire/belkin-f5d8235-4-v2000-router/interfacing-the-belkin-f5d8235-4-v2000-router-via-its-serial-console in Minicom and Putty, however I just turned off the handshake in Br@y++ Terminal and it seems to get past the config_usbotg.

It seems to be in an infinite loop booting after error "Uncompressing Kernel Image ... LZMA error 1 - must RESET board to recover"

I looks like I might be able to access the TFTP interface but I can't try right now as I need to go to work.

Thanks for your help and showing my error
theslightestofhand
DD-WRT Novice


Joined: 22 Jan 2011
Posts: 4

PostPosted: Wed Feb 01, 2012 13:01    Post subject: Reply with quote
I was able to access the uboot menu to allow configuring of TFTP booting.

I have taken the F5D8235v2_WW_2.01.09.bin from the belkin website and removed the first 19 bytes to remove the unnecessary header. However, when I try to boot i am still getting:
Uncompressing Kernel Image ... "LZMA ERROR 1 - must RESET board to recover"

    Trying Eth0 (10/100-M)

    Waitting for RX_DMA_BUSY status Start... done
    0 smi_init check[0x0509]=0x5937
    0 smi_init check[0x0509]=0x5937

    Header Payload scatter function is Disable !!

    ETH_STATE_ACTIVE!!
    *** Warning: no boot file name; using 'test.bin'
    Using Eth0 (10/100-M) device
    TFTP from server 192.168.2.123; our IP address is 192.168.2.1
    Filename 'test.bin'.

    TIMEOUT_COUNT=10,Load address: 0x80800000
    Loading: Got ARP REPLY, set server/gtwy eth addr (02:26:b9:f1:4f:8Cool
    Got it
    T #
    first block received
    ################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################
    done
    Bytes transferred = 6074368 (5cb000 hex)
    NetBootFileXferSize= 005cb000
    Automatic boot of image at addr 0x80800000 ...
    ## Booting image at 80800000 ...
    Image Name: Linux Kernel Image
    Created: 2011-01-26 8:25:45 UTC

    System Control Status = 0x30440000
    Image Type: MIPS Linux Kernel Image (lzma compressed)
    Data Size: 1178553 Bytes = Load Address: 80000000
    Entry Point: 80364000
    Verifying Checksum ... LZMA ERROR 1 - must RESET board to recover


Any idea on how to debug going forward?
ratafak
DD-WRT Novice


Joined: 18 Apr 2012
Posts: 2

PostPosted: Wed Apr 18, 2012 12:01    Post subject: Reply with quote
Hello,
my route also brick. Was on original belkin latest firmware and one day just stop working. Only all led lights up. When i connect him with my CA-42, only what i get is this message and stuck on latest line
"SDRAM size..."

I except continue listing with uboot menu, but this menu doesn't show.
It's able reflash Uboot? Or router is dead?
Thanks

P.S.
Sorry for my english.


Quote:
U-Boot 1.1.3 (Nov 7 2008 - 00:24:27)

Board: Ralink APSoC DRAM: 32 MB
relocate_code Pointer at: 81fa0000
=====config_usbotg =====
flash_protect ON: from 0xBF000000 to 0xBF02F0F7
protect on 0
protect on 1
protect on 2
protect on 3
protect on 4
protect on 5
protect on 6
protect on 7
protect on 8
protect on 9
flash_protect ON: from 0xBF030000 to 0xBF03FFFF
protect on 10
============================================
Ralink UBoot Version: 3.2
--------------------------------------------
ASIC 3052_MP2 (Port5<->GigaSW)
DRAM COMPONENT: 128Mbits
DRAM BUS: 32BIT
Total memory: 32 MBytes
Date:Nov 7 2008 Time:00:24:27
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 384 MHZ ####

SDRAM bus set to 32 bit
SDRAM size =32 Mbytes
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Wed Apr 18, 2012 12:16    Post subject: Reply with quote
ratafak wrote:


I except continue listing with uboot menu, but this menu doesn't show.
It's able reflash Uboot? Or router is dead?
Thanks



If it stops at exactly the same place each time then it is a faulty RT3052 chip and it is related to the internal ethernet switch.

Next operation after displaying SDRAM size is programming the internal eth switch and then follows the
"OperationSelect" routine which displays

Please choose the operation:
Load system code to SDRAM via TFTP.
Load system code then write to Flash via TFT

and so on.

It is dead Jim!

_________________
Kernel panic: Aiee, killing interrupt handler!
ratafak
DD-WRT Novice


Joined: 18 Apr 2012
Posts: 2

PostPosted: Wed Apr 18, 2012 12:30    Post subject: Reply with quote
Already, thx for help anyway. So i go buy new router.
HMZX
DD-WRT Novice


Joined: 07 Jan 2013
Posts: 1

PostPosted: Wed Jan 16, 2013 17:53    Post subject: Reply with quote
Hi guys,

I think I bricked my router too after trying to install DD WRT. It was updating the firmware and then my mum switched it off. Now only the wireless lights up blue, the rest don't. I tried a 30/30/30 but nothing seems to work... Any help?

And sorry if i missed something, nothing on this thread seems to work.
scaran
DD-WRT Novice


Joined: 18 Jan 2014
Posts: 2

PostPosted: Sun Jan 19, 2014 11:40    Post subject: Belkin F5D8235-4 v2 bricked Reply with quote
My Belkin F5D8235-4 v2 (N+)router was bricked after flashed on web gui.Tried 30/30/30 but cannot reset, and failed to connect by wired cable by tftp connection as no IP address assign.
The only way is through the serial cable interface ?
Please help.
Kimberley
DD-WRT Novice


Joined: 09 Jul 2014
Posts: 9

PostPosted: Mon Jul 14, 2014 20:25    Post subject: Reply with quote
Hi, I know this is an old thread, but I have the same problem.

Now I tried the TFTP method but it doesn't seem to work.
I cut the first 19 bytes off the stock firmware, named it test.bin and put it on a TFTP server on 10.10.10.3. I also tested the TFTP server. No help Sad
Although the LAN LED goes blue for a few seconds on restart, I can't even seem to ping it, not on 192.168.1.2, and not on 10.10.10.123.
Is a serial to USB cable my option?
In that case I would need two (one male and one female I guess?). I don't have any computer with a serial port anymore.
js1662
DD-WRT Guru


Joined: 23 Jul 2014
Posts: 1237
Location: BC, CA

PostPosted: Fri Jul 25, 2014 9:13    Post subject: Reply with quote
Kimberley wrote:
Hi, I know this is an old thread, but I have the same problem.

Now I tried the TFTP method but it doesn't seem to work.
I cut the first 19 bytes off the stock firmware, named it test.bin and put it on a TFTP server on 10.10.10.3. I also tested the TFTP server. No help Sad
Although the LAN LED goes blue for a few seconds on restart, I can't even seem to ping it, not on 192.168.1.2, and not on 10.10.10.123.
Is a serial to USB cable my option?
In that case I would need two (one male and one female I guess?). I don't have any computer with a serial port anymore.


If TFTP doesn't work, I will suggest you let it go and move on with another router instead of spending the money and time to try the serial method as the money to spend on an USB to serial adaptor and a serial cable that need to be modified with the right header may cover or more than the cost of getting another N router. Serial method is not easy as the serial interface is not accessible outside the unit. You have to open up the unit and found the serial interface header. See the following link for more information for your reference

http://wiki.openwrt.org/tho/belkin/f5d8235-4

However, it is a different story if you want to get some experience on this serial thing.
js1662
DD-WRT Guru


Joined: 23 Jul 2014
Posts: 1237
Location: BC, CA

PostPosted: Mon Aug 18, 2014 2:21    Post subject: I have unbricked my F5D8235-4 v2 Reply with quote
Recently I bricked my F5D8235-4 v2 after I flashed openwrt to it. I can't ping the router afterwards. However some LEDs on the router is on and the blue router LED is flashing so the router is not dead.

I tried the hard way, i.e. using serial interface, and I can flash the stock firmware back to the router. Would like to share my findings as follows:

- open up the unit and find J2 for the serial port, check this link for info: https://forum.openwrt.org/viewtopic.php?id=21998

Please note that J2 is a 3.3V TTL interface so you can't connect it directly to a PC's RS232 serial port. You can use USB to serial (3.3V TTL) adaptor such as PL2303HX so you don't have to worry if your PC or notebook doesn't have a RS232 serial port. For me, I am using a converter board that convert 3.3V serial to RS232.

- for serial setting, use 57600 for baud rate, 8 bits, no parity and 1 stop bit.

- after the router is power up, it will start u-boot and within 1 second, you can type 2 for writing to the flash using tftp.

- use tftp server and a XP machine with 10/100M network interface, I found that win 7 won't work for me. By default, router ip is 192.168.2.1, server ip is 192.168.2.123 and I rename the firmware to test.bin

- for the Belkin stock firmware, as per info from other post, you have to delete the first 19 bytes by using a hex editor and flash the modified firmware to the router.

Please note that my case may not be same as yours so it may not work for you. Hope the above helps and good luck!

Edit: I forgot to mention that I am a hardware guy so I have the necessary tool such as soldering iron which is almost a must for connecting to the J2 serial interface.
Goto page Previous  1, 2, 3 Display posts from previous:    Page 3 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink 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 cannot attach files in this forum
You cannot download files in this forum