LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-16-2008, 01:16 AM   #1
galapogos
Member
 
Registered: May 2008
Posts: 227

Rep: Reputation: 30
Compiling a bare bones kernel


Hi,

I'm currently working on a project that is basically a small SATA based storage device that boots into a very simple linux kernel and runs a predefined program.

I'm trying to get the kernel as small and yet compatible with as many laptops as possible, so I'm wondering which parts of menuconfig I should enable and which parts I can safely disable.

The device will be running on x86 based laptops, and will require SATA, USB, PCMCIA and Expresscard support.

The kernel used is 2.6.22.19.

Thanks!
 
Old 07-17-2008, 08:22 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well there isn't a whole lot to it, basically just disable everything except what you need. The only thing you will definitely need is generic x86 support and the new SATA driver. If you don't need video output, that is even better.

What sort of hardware are you looking to support over USB/PCMCIA? Network devices I guess?
 
Old 07-17-2008, 08:25 PM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You probably also want to cut the toolset down to the absolute minimum; have a look at the Linux From Scratch project and the "CLFS" sub-project. The only down side is that you can spend many days patching and building various tools which you need and aren't provided by CLFS.
 
Old 07-18-2008, 02:42 AM   #4
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
Well the thing about disabling everything I don't need is that, there are so many options there whose functions I'm not sure of. Wondering if there's a primer or something that explains in detail what each option is?

I won't need video output. The application running is a simple text based program with ncurses.

I'm looking to supports smart card readers over USB/Expresscard/PCMCIA. I've already installed the relevant libraries and verified that they work, except for the PCMCIA which I have yet to test.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about a Very bare bones Debian install Zaskar Debian 6 08-29-2007 10:32 AM
SDLMame and bare-bones debian A32 Linux - Software 4 06-12-2007 05:04 PM
What do I lose for a bare bones install? mhelliwell Linux - General 3 02-27-2005 07:14 PM
Bare bones install with KDE3 and internet browser? erp Linux - Newbie 3 08-11-2003 02:58 AM
Bare-Bones Install barddzen Linux - Newbie 1 12-16-2002 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration