DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-02-03 20:11:07

qn1234
Member
Registered: 2006-08-18
Posts: 94

I Bricked Mine

I bricked mine, then I tried to flash it with the 1.02us firmware.  I extracted the file out with fwdump and used loadb k for sec1 and loadb r for sec2.   On restarting, I got "Bad Header Checksum".  I retried and got the same message.  Any ideas?

Here's the log:

Code:

## Ready for binary (kermit) download ...
## Total Size      = 0x000d06ee = 853742 Bytes
## Start Addr      = 0x00100000
Un-Protect Flash Bank # 1
Erase Kernel from 0xfff10000 to 0xffffffff .. done
Erased 15 sectors
Kernel Size = 853742
Copy to Flash... done
Protect Flash Bank # 1
=> *

U-Boot 0.2.0 (May 11 2005 - 18:56:16)

CPU:   MPC8245 V1.2 at 170.503 MHz:
Board: Sandpoint 8245
DRAM:  32 MB
FLASH: FUJI_DL323BE
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at fff10000 ...
Bad Header Checksum
=>

Offline

 

#2 2007-02-03 20:47:07

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: I Bricked Mine

As you can see, your Kernel Size is wrong, correct kernel size for 1.02us is 853759.
This probably means your data is not transfered correctly or fwdump did mess something up. Did you configure your ckermit properly with following information?

Code:

set line /dev/ttyS0
set speed 9600
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set rec pack 1000
set send pack 1000
set window 5

And in transfer statistics did you see something in Error Count and Last Error line?


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2007-02-04 03:49:36

qn1234
Member
Registered: 2006-08-18
Posts: 94

Re: I Bricked Mine

I'm using TeraTerm on Windows XP on a laptop with a USB-Serial cable.  I have Ubuntu running in Vmware.  I'll try it again with different settings in TeraTerm and see what happens.  Worse case I can put Linux on my old desktop since it has a serial port.  There's no driver for Linux for this USB-Serial cable.

Looks like firmware.sec1 has the correct size, so TeraTerm must've pocketed some change when it transfered it.

--
Quang

Offline

 

#4 2007-02-04 07:51:31

qn1234
Member
Registered: 2006-08-18
Posts: 94

Re: I Bricked Mine

I got it working again.  Kermit 95 v 2.1.3 for Windows did it.

--
Quang

Offline

 

#5 2007-02-05 02:44:23

beattie
Member / Developer
From: West Coast, USA
Registered: 2006-11-17
Posts: 92
Website

Re: I Bricked Mine

qn1234 wrote:

I got it working again.  Kermit 95 v 2.1.3 for Windows did it.

--
Quang

Yeah I have to used ckermit under linux.

Offline

 

#6 2007-02-06 06:36:15

qn1234
Member
Registered: 2006-08-18
Posts: 94

Re: I Bricked Mine

Hi beattie,

Are you working on anything interesting? smile

Thanks,
Quang

Offline

 

#7 2007-02-07 06:04:15

beattie
Member / Developer
From: West Coast, USA
Registered: 2006-11-17
Posts: 92
Website

Re: I Bricked Mine

qn1234 wrote:

Hi beattie,

Are you working on anything interesting? smile

Thanks,
Quang

Well I figured out how to control the LEDs now I'm trying to figure out how to read the switches.  I'd like to completely replace the firmware.

Strace does not show anything related to the switches and the binary that reads the switches is striped so disassembly does not show me anything useful (any PowerPC asembly experts here?).

Lacking JTAG, I'll probably need to look at the raw GPIO inputs.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB