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 2008-06-13 23:59:17

vedeja
Member
Registered: 2008-02-21
Posts: 161

Kernel update

Is it possibe to update the DNS-323 to a more recent kernel?


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#2 2008-06-15 04:22:22

bspvette86
Member
Registered: 2008-05-09
Posts: 81

Re: Kernel update

Anything is possible if you have enough time and ambition.  What are you trying to accomplish by updating the kernel?

Cheers!
bspvette

Offline

 

#3 2008-06-15 11:28:57

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Kernel update

bspvette86 wrote:

What are you trying to accomplish by updating the kernel?

Basically this: http://dns323.kood.org/forum/t2422-Tell … Stick.html Kernel 2.6.14 should be sufficient.


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#4 2008-06-15 12:18:21

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Kernel update

The firmware kernels provide special interfaces for fan, led, button, spindown, etc. If you upgrade to another kernel version, you most likely break important functions.

Offline

 

#5 2008-06-15 13:50:48

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Kernel update

fonz wrote:

The firmware kernels provide special interfaces for fan, led, button, spindown, etc. If you upgrade to another kernel version, you most likely break important functions.

So it's obvious I must go the other way to implement the Tellstick. Upgrading kernel was suggested by the Tellstick vendor as an option to modifying ftdi_sio and and older kernel. I don't know exactly what needs be done but my search continues.


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#6 2008-06-17 17:24:36

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Kernel update

What about making changes to the current kernel and recompiling it?


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#7 2008-06-17 17:47:52

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Kernel update

vedeja wrote:

What about making changes to the current kernel and recompiling it?

Works fine.

Offline

 

#8 2008-06-17 17:53:42

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Kernel update

fonz wrote:

Works fine.

I know, it's probably not the place to ask such fundamental questions... Where do I start?


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#9 2008-06-17 18:09:35

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Kernel update

vedeja wrote:

Where do I start?

Cross-compiling the kernel is a lot easier than other packages. You only need cross-binutils and the inital cross-gcc from a toolchain, which is just step 1 from
http://www.eglibc.org/cgi-bin/viewcvs.c … s-building

gcc 4.1 should work fine, gcc3 might require some extra work. don't use 4.3.
uboot requires the kernel in a special format. You need the mkimage program (from uboot package in the dlink sources, I think) for this.

You can use the resulting compiler to cross-compile your new kernel. You should test your kernel before flashing. Use the uboot console (serial cable). If you don't have a serial connection, you can try my dns323-reloaded modules.

Note, however, that without a serial connection, you'll brick your device if the flashed kernel doesn't work.

Offline

 

#10 2008-06-19 00:24:08

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Kernel update

Where is the kernel source found?


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#11 2008-06-19 00:28:00

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Offline

 

#12 2008-11-28 11:58:01

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Kernel update

I know I've been spreading questions all over he forum about kernel updates and specific driver (FTDI USB serial driver) implementations.

http://dns323.kood.org/forum/t2329-FTDI_SIO.html
http://dns323.kood.org/forum/t2422-Tell … Stick.html
http://dns323.kood.org/forum/p23316-200 … tml#p23316

But I thought I'd pick it up here.
Now, why does the wiki say "Kernel: Linux-2.6.6 [...] Linux-2.6.12.6"? What is the meaning of 2.6.6 being mentioned? (If it had 2.6.6 my driver issue would be gone.)

Last edited by vedeja (2008-11-28 12:08:07)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#13 2008-11-28 12:41:33

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Kernel update

vedeja wrote:

Now, why does the wiki say "Kernel: Linux-2.6.6 [...] Linux-2.6.12.6"? What is the meaning of 2.6.6 being mentioned?

Early firmwares came with 2.6.6. http://dns323.kood.org/

Offline

 

#14 2008-11-28 12:59:02

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Kernel update

fonz wrote:

Early firmwares came with 2.6.6. http://dns323.kood.org/

OK. They must have had a good reason for degrading, but it's not helpful. sad


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#15 2008-11-28 13:09:16

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Kernel update

vedeja wrote:

OK. They must have had a good reason for degrading, but it's not helpful. sad

They upgraded: 2.6.12.6 > 2.6.6

Offline

 

#16 2008-11-28 15:46:58

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Kernel update

fonz wrote:

They upgraded: 2.6.12.6 > 2.6.6

Embarrassing. Thanks for clarifying the maths though. Nevertheless, hhe issue still remains.


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB