You may want to write a short description on what you have done to
get to the point of compiling your own kernel just so someone like me
would know where I could help. I'm no guru, learning as I go along here
as well, but I will try and help you.
I will make assumptions of your current setup. (This is all from bigbrd's site
http://webpal.bigbrd.com), I assume you have the 2.4.18 kernel and have
untarred it to somewhere (i.e. for me it was /home/webpal).
Now you should have also downloaded a patch (non webpal specific) patch-2.4.18-rmk4.gz
(but IS specific to ARM which is the CPU in the webpal) AND also downloaded
bigbrd's patch which gets installed ON TOP of that patch-2.4.18-rmk4-brd.gz
also linked via bigbrd's site.
Apply the 1st patch, patch-2.4.18-rmk4.gz, by cd'ing into your 2.4.18 kernel
(for me the 2.4.18 kernel untarred to just plain "linux"). Now (for me) I am in /home/webpal/linux,
copy the patch-2.4.18-rmk4.gz into that directory and type "zcat patch-2.4.18-rmk4.gz | patch -p1"
or you could 1st "gzip -d patch-2.4.18-rmk4.gz" then "cat patch-2.4.18-rmk4 | patch -p1"
Now copy bigbrd's patch, patch-2.4.18-rmk4-brd.gz in that directory and do the same thing.
You should see no errors on either operation, if you do, you did somehting wrong (or I'm explaining
this wrong :^)
Now, assuming that went OK, you've gotta make sure you have the ARM toolchain downloaded
and installed properly. Again most of this info is on bigbrd's site except that you'll
need to know where to put it. Install it to "/usr/local/arm/2.95.3", also you need to add
something to your path (isn't this really straight forward and easy?). I haven't hard coded
it since I haven't yet a clue where to do that, but when I 1st open an xterm that I want
to compile from I'll add it by this method:
Now you should be able to cd to your /home/webpal/linux directory and do a "make mrproper".
Then take bigbrd's config (http://webpal.bigbrd.com/webpal) or scratchy's inside his tarfile
(http://www.anycities.com/user/webpal/nfsroot_kernel.tgz), rename to .config (/home/webpal/linux/.config)
(note, if you do a "make mrproper" after you have the .config it will erase it, so keep a
copy somewhere so you can restore it if needed)
Now from /home/webpal/linux type "make oldconfig", if you see any errors most likely something
is wrong with the .config file. I've noticed that if you do a save-as from windows it'll treat
it like a *.txt file and for some reason that just dont jive. Take care to install it away from
Now if that went OK, you can type "make dep". (wow this is really gonna be fun). After which
you can now type "make zImage". (mind you this is all under /home/webpal/linux [my setup]).
After your native PC cross kerchucks the bits to-and-fro in ARM land you end up with a nice
fresh zImage in arch/arm/boot. Transfer that to your webpal.
I hope this helps, I've only known this info myself for a week so I hope it is accurate.