Re: Kernel building?


Subject: Re: Kernel building?
From: Timothy A. Seufert (tas@mindspring.com)
Date: Mon Nov 12 2001 - 14:55:45 MST


At 8:16 PM -0800 11/11/01, Mark Jaffe wrote:
>Is there a step-by-step description to configuring and building the kernel
>online somewhere? I know there may be ix86 sites where this is described,
>but do we have one for PPC?

Very few things are different. Obviously the configuration options
are a bit different, so just start from the configuration of a
distribution kernel to see what things should be like. Aside from
that, you just want to do "make" instead of "make bzImage" or "make
zImage". The built kernel will be named "vmlinux" and needs to be
copied to /boot. Add the kernel's version number to its name to
distinguish it from others in /boot (e.g. "vmlinux-2.4.10"). The
modules are built and installed the same as x86 ("make modules",
"make modules_install").

Assuming you're on a Mac, if you're using yaboot you'll then need to
edit /etc/yaboot.conf to add an entry for the new kernel and run ybin
to set up the bootloader. (If you were just replacing an existing
kernel with one of identical name you don't need to change
yaboot.conf or run ybin.) If you're using BootX, you'll have to get
the kernel copied over to a drive MacOS can see, and put it in
whatever place BootX is looking at for kernels (usually "System
Folder:Linux Kernels").

-- 
Tim Seufert



This archive was generated by hypermail 2a24 : Mon Nov 12 2001 - 15:07:46 MST