Topic: Building a Kernel

Hey -
I've been following the directions here and on the wiki for how to build a kernel for the Chumby.

Couple of issues...
The last patch does not work unless some manual intervention is done...
the 'make dep' step fails... looks like the binary does not want to execute.

I am running Cygwin on a windows machine.

Any ideas?

Thanks,

Bruce

Re: Building a Kernel

I've let Ken know about your issue - he should be able to help you.  I think those instructions might be a little out of date.

Re: Building a Kernel

Any news on this? I tried to follow the instructions, but I only get until:

cat ../Chumby_kernel.diff |patch -p1

where I get this message:

can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --new-file -cr linux-2.4.20/.config linux-2.4.20-bunnie/.config
|*** linux-2.4.20/.config       Tue Apr 25 22:41:41 2006
|--- linux-2.4.20-bunnie/.config        Wed Apr 26 11:08:40 2006
--------------------------

Re: Building a Kernel

Oooh - sorry about that.  Just pinged him again.

Re: Building a Kernel

In order to build the chumby kernel, you can download the kernel source ( http://files.chumby.com/resources/chumby_kernel.tgz ) and build by doing the following:

# mkdir kernel
# cd kernel
# tar zxvf chumby_kernel.tgz
# make menuconfig
(then immediately exit and save the config)
# make dep
# make Image

If all goes well, you should end up with an uncompressed kernel image at arch/arm/boot/Image.  I will update the documentation on the wiki.