kernel

i have downloaded linux-2.6.32 source and Now to create uImage ..
inside kernel source directory i did

make -j3 ARCH=arm
CROSS_COMPILE=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-
uImage

that gave me a uImage...
Q1)is that the right method to create uImage ?

Q2) i replaced uImage on BB with this uImage....BB is not able to
boot ..it
stucks at uncompressing linux step ....

please give me some guidliness about the kernel rebuild. any help
greately appreciated.

Thanks in advance

by

velu.

make -j3 ARCH=arm
CROSS_COMPILE=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-
uImage

that gave me a uImage...
Q1)is that the right method to create uImage ?

I am currently cross compiling on a gentoo box like this

make -j5 CROSS_COMPILE=armv7a-softfloat-linux-gnueabi- ARCH=arm uImage

which produces:

arch/arm/boot/uImage

So I would say you are correct in your method.

Q2) i replaced uImage on BB with this uImage....BB is not able to
boot ..it
stucks at uncompressing linux step ....

I ran into this when the kernel changed from using /dev/ttyS2 to /dev/
ttyO2 for the names of the serial ports. I had to change /etc/inittab
to use ttyO2

Quite a few people seem to be having this problem ( viz. Nidhi). Can you do a hex dump of the first 100 bytes of uImage and make sure that it is not an ELF? Are you sure that uImage is the compressed kernel and not the uncompressed copy?

The kernel that i found that just worked...
Download/clone this http://gitorious.org/beagleboard-validation/linux/commits/beagleboardXM

(This is for xm. Most probably backwards compatible)
These are the kernel sources. 2.6.32.

For SPI->
Manually add lines in your kernel file to load spidev during startup.
Details of the patched lines here http://elinux.org/BeagleBoard/SPI
under 2.6.37 patch. The driver is there. Just have to tell the kernel
to load it.

Make sure in the beagle config of the kernel SPIDEV=y is written.

Last post on this is good for SPI
http://groups.google.com/group/beagleboard/browse_thread/thread/9846052a550c6483/ac0286935c3a56a4?lnk=gst&q=yet+another+spi#ac0286935c3a56a4