I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / WebPal
Patched kernel
Anywhere?

New MessagePatched kernel (modified 0 times) justdavesj
Profile | Email
I have been trying to apply the patches to the kernel with no luck. Could someone please post the kernel source with all of the patches included? Or maybe step by step instructions on applying the patches.

Thanks

dave

02-19-2003 20:28:45

New MessageRE:Patched kernel (modified 0 times) n1gp
Profile
Hi,

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:

export PATH=$PATH:/usr/local/arm/2.95.3/bin

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
windows intervention.

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.

Rick

02-19-2003 21:15:30

New MessageRE:Patched kernel (modified 0 times) justdavesj
Profile | Email
Well, I used the bvsa patch and everything worked. I also was using a make clean after the make dep which seemed to mess things up. All is working now.

Thanks

dave

02-22-2003 13:51:23

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3