CodeSourcery LITE and Cross Compiling Kernels for Beagle

Hi everyone,

  I've been trying to setup a cross compile environment so we can build
kernels faster, but so far it isn't working.

  Are there any special switches we need to use with the CodeSourcery
compiler to get a proper kernel built?

  Currently, the kernel builds without errors, but is about 10% smaller than
a kernel built natively, and the kernel does not work at all. Any help would
be appreciated.

  8-Dale

Hi Dale,

Could you please answer a couple of questions? Thanks.

1. Kernel (repo/version)?
2. Kernel config (default/additional)?
3. CodeSourcery (version)?
4. What can you see in console with earlyprintk?
5. What does it mean "a kernel built natively"?

Cheers,
Max.

Could you please answer a couple of questions? Thanks.

1. Kernel (repo/version)?

  2.6.35.4 patched for rev C BeagleBoard-xM

2. Kernel config (default/additional)?

  I don't know because I am not the one doing the kernel building at present.
However, I can get the .config if this is really an issue.

3. CodeSourcery (version)?

  The very latest as of last week.

4. What can you see in console with earlyprintk?

  I will have to find out.

5. What does it mean "a kernel built natively"?

  Natively, as in on a BeagleBoard-xM

  8-Dale

Could you please answer a couple of questions? Thanks.

1. Kernel (repo/version)?

   2\.6\.35\.4 patched for rev C BeagleBoard\-xM

2. Kernel config (default/additional)?

   I don't know because I am not the one doing the kernel building at present\.

However, I can get the .config if this is really an issue.

3. CodeSourcery (version)?

   The very latest as of last week\.

"${CROSS_COMPILE}-gcc -v" will give a hint..

4. What can you see in console with earlyprintk?

   I will have to find out\.

5. What does it mean "a kernel built natively"?

   Natively, as in on a BeagleBoard\-xM

Regards,

Dale Weber <robotguy@hybotics.com> writes: