[Peeweelinux] trouble compiling custom kernel

Ken Emmons, Jr. [email protected]
Mon, 22 Dec 2003 15:05:36 -0500


I think the 2.2 kernel compile will die with GCC 3.2, but I am not sure. Compile a kernel version (2.4 something) that will work with your compiler (view the README docs in the kernel source for where to findd out what version of GCC to use). If you can, compile everything static, so you don't have to deal with modules. 

Now you need to Copy the bzImage file (your compiled kernel) into your peewee projects "custom" folder. This custom folder mimics the root filesystem of your target, which allows you to overwrite or add files. Make a "boot" directory if it is not already there, and put your bzImage file there.  If you don't need modules, you are now done. Otherwise, copy all of your module files intot he appropriate directories, and hope it works. 


~Ken




> -----Original Message-----
> From: Jonathan Sturges [mailto:[email protected]]
> Sent: Monday, December 22, 2003 2:52 PM
> To: [email protected]
> Subject: [Peeweelinux] trouble compiling custom kernel
> 
> 
> Hi,
> I'm a PWL newbie.  I've been playing with 0.61.1 for a week 
> or so now and
> have made several successful test images with it... pretty 
> darn intuitive
> and easy!
> 
> However I cannot seem to compile a custom kernel from the 
> 2.2.17 sources
> that came with PWL.  It never seems to produce a bzImage.
> 
> I was able to follow some directions I found in the list 
> archive and build a
> kernel outside of PWL and bring that in... that did work for 
> me though.
> 
> FWIW, my host OS is RH 8.0 with gcc 3.2; is that likely a 
> problem area or is
> the host platform pretty flexible with PWL?
> 
> thanks,
> Jonathan
> 
> 
> 
> 
> _______________________________________________
> Peeweelinux mailing list
> [email protected]
> http://mail.adis.on.ca/lists/listinfo/peeweelinux
>