Kernel Configuration

Hi there,

Its been a long while since I played with embedded linux and back in
the day I was using PC104 386 boards so development was much simpler.
I have a beagleboard and have read various faq's, forums and how-to's
and tried installing OE with some success but ran into Ubuntu problems
(using 9.10). I then put it on the shelf for a month and am now back
it. Sorry for the long preamble. Ultimately, what I want to do is
use an existing stable angstrom console kernel and config the kernel
to include support for a CDMA usb stick. I'm pretty sure what I need
to be configured in the kernel for that to work.

My question is: for what I want to do (reconfigure existing kernel)
is OE the best way to go or can I get by with a simpler CodeSourcery
setup? I'm a little confused about the differences between the two.
Please clarify if I have this correct:

- OE is a complete toolchain used to build an entire distribution with
almost complete control over what gets packaged.

- Codesourcery Lite is also a toolchain but is more limited in scope,
but is probably better to use for actually compiling and debugging C, C
++ programs to run on the arm processor.

Am I completely out to lunch?

Appreciate all of your help.

Willem

Wed, 9 Dec 2009, Will wrote:

My question is: for what I want to do (reconfigure existing kernel)
is OE the best way to go or can I get by with a simpler CodeSourcery
setup?

One very big difference is that OE not only provides you a cross-compiler it also fetches and patches the kernel (among thousands of other programs) with a set of patches you don't want to live without. OE can provide you a full system with bells and whistles ready to be used on your Beagle, but you can also use it just to get you a decent kernel source which you can compile with a compiler whichever you choose; even CodeSourcery GCC.

Thanks Antti. With ARM and new drivers this is probably a very useful
feature.

I think you are comparing two things which are really in completely different
categories.

Codesourcery Lite is a C/C++ compiler toolchain; it includes a compiler, a
linker, a C library and a debugger (and some other random stuff).

OE is a set of tools used to product a full Linux distribution; this
is essentially
a large package of script for building various components. One of the components
that OE can build is a C compiler toolchain.

OE is probably a more complete product to achieve what you are doing.

Benno

Thanks Ben,

That is more or less what I thought. I wasn't exactly sure if CS also
built the whole distribution
and likewise if OE included the compiler toolchain. I guess that
settles it - OE it is. Hopefully Ubuntu 9.10 plays nicely. Now I
need to figure out what IDE I want to use: eclipes perhaps. I used
one about 5 years ago, I think it was called something like antigua or
something like that - I remember the icon was like a horses head. It
was a good ide.

Cheers,

Thanks Ben,

That is more or less what I thought. I wasn't exactly sure if CS also
built the whole distribution
and likewise if OE included the compiler toolchain. I guess that
settles it - OE it is. Hopefully Ubuntu 9.10 plays nicely. Now I
need to figure out what IDE I want to use: eclipes perhaps. I used
one about 5 years ago, I think it was called something like antigua or
something like that - I remember the icon was like a horses head. It
was a good ide.

http://projects.gnome.org/anjuta/index.shtml

Philip

If you are only interested to reconfigure/rebuild/develop the kernel a lot, you might like to have a look to

http://elinux.org/BeagleBoardLinuxKernel

Best regards

Dirk