Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Love it, need "How to" for custom kernel, for custom applications...< Next Oldest | Next Newest >
mshilly Offline





Group: Members
Posts: 19
Joined: Dec. 2005
Posted: Jan. 03 2006,01:39 QUOTE

I have chosen DSL for a custom project that I would like to make a number of.  In general, I am making Digital Picture Frames and want to run DSL with XV and Unclutter from a frugal install on a 32MB CF card.  I chose 32MB because I can get the cards for $4.99 from my local K-Mart (yeah, it's not high tech but it is really cheap).  So, I have started to strip down DSL to about 30MB.  I started with remastering but after removing all non-essential apps I only got down to a 38MB KNOPPIX file (down from 47MB).  I started looking at the Kernel object files to see what I could get rid of.  

I don't need network, pcmcia, multiprocessor, parallel or serial support.  So I decided to reconfigure the kernel to see what more I can save.

I would like to see a "how to" for kernel reconfiguration and tie it into the remastering process.  I am even willing to start:

"How to remaster DSL with a custom kernel"

1) Install DSL to a HD with 1GB swap space. (The swap may or may not be necessary).

2) Install gun_utils.dsl, gcc1.dsl, linux-kernel-headers.dsl

3) As user DSL, Download and uncompress the kernel-2.4.31.tar.gz from the mirror to a user directory (ie. /home/dsl/kernel_source)

4) link the linux-2.4.31 directory to linux
   (ln -s linux-2.4.31 linux)

5) download knoppix-kernel.patch to the root of the source tree. (/home/dsl/kernel_source/linux-2.4.31)  Apply the patch using ? (haven't figured out how to patch the source with a patch script).

6) download dsl.config to the root of the source tree, and copy to .config.

7) run 'make config' to do your kernel configuration. Or edit .config and run 'make oldconfig'.

8) run 'make dep' to check all the dependencies.

9) run 'make bzImage' to compile the kernel.

From here it is not clear to me how to get the new kernel (what files and where) into the remastering source directory and what is needed for the bootloader to get the new kernel.

Please correct and fill in any missing stuff.  I know it lacks some details but I can hammer those out as soon as I get through the entire process.

Thanks for the help.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 03 2006,12:26 QUOTE

See my response to the other post for my replies.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 03 2006,12:27 QUOTE

FYI, you can get a 512MB CF card from either Compusa or Office Max this week for $19.95 after rebates
Back to top
Profile PM 
2 replies since Jan. 03 2006,01:39 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Love it, need "How to" for custom kernel

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code