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

#26 2006-12-14 21:31:43

kevin
Member
Registered: 2006-10-16
Posts: 10

Re: linux kernel

I love you beattie smile
now to do this myself and see how it goes.. the kernels I built before never produced any serial output.
I would most appreciate any information you have on the jtag connection on this device.. I thought there wasn't one

If I get a kernel booted and working nicely i'll write up a little tutorial on putting debian on the hard drive

Last edited by kevin (2006-12-14 21:48:34)

Offline

 

#27 2006-12-14 23:37:39

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

Re: linux kernel

kevin wrote:

I would most appreciate any information you have on the jtag connection on this device.. I thought there wasn't one

In http://dns323.kood.org/dsmg600/_detail/ … ache=cache just to the right of the battery you will see the double row header I added to J8.  You should have empty pads.  It is my understanding that this is the JTAG connector.  My JTAG interface is supposed to be in the mail from Bulgaria.  When it gets here, I'll let you know if it works.

Offline

 

#28 2007-01-03 19:54:21

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

Re: linux kernel

kevin wrote:

I love you beattie smile
now to do this myself and see how it goes.. the kernels I built before never produced any serial output.
I would most appreciate any information you have on the jtag connection on this device..

Well I hooked up my JTAG interface and it seems to have no effect, I'm going to have to take a close look see if there are some jumpers, or resistors that need to be installed for the JTAG to work.  Frankly I woul d be very surprised if there was no JTAG, as that is the easiest way to flash/re flash a unit at the factory,  Though with a bed of nails you don't need the actual connector.

Offline

 

#29 2007-01-12 06:23:42

kevin
Member
Registered: 2006-10-16
Posts: 10

Re: linux kernel

I think I have bricked my device somehow sad, with no change except someone moving it around, I no longer get serial output from the device. so I suspect it may have been physically shorted or damaged.  just giving a reason why I haven't posted anything lately smile

Offline

 

#30 2007-01-12 06:35:19

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

Re: linux kernel

bummer, have you checked your serial port,  if the xmit and receive are shorted it won't boot... you know th epart about hit any key... also if the 3.3v is shorted, some protective circut might cut in and prevent it from powering up.

Offline

 

#31 2007-01-31 08:58:32

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

Re: linux kernel

I have made a patchset to 2.4.21-pre4 kernel.

Files needed to compile kernel for DSM-G600:
http://kernel.org/pub/linux/kernel/v2.4 … 20.tar.bz2
http://kernel.org/pub/linux/kernel/v2.4 … 1-pre4.bz2
http://dns323.kood.org/downloads/people … smg600.bz2

Setup a toolchain and u-boot tools, use this wiki page as a guide.

Kernel can be patched and built with following commands

Code:

tar -xvjf linux-2.4.20.tar.bz2;cd linux-2.4.20
bzcat patch-2.4.21-pre4.bz2 | patch -p1
bzcat linux-2.4.21-pre4-dsmg600.bz2 | patch -p1
chmod 777 arch/ppc/boot/utils/mkimage.wrapper
cd ver;make;cd ..
mkdir /tftpboot/
cd include;ln -s asm-ppc asm;cd ..
make oldconfig;make clean;make dep;make pImage

Note:
If someone is willing to port this patch to more recent kernel then you should know that this patch has probably some entries which is not needed and used in DSM-G600 kernel.


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

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB