RE: Kernel Compiling


Subject: RE: Kernel Compiling
From: Kevin Hall (kevinhall@indxhq.com)
Date: Tue Jan 02 2001 - 08:56:49 MST


this is my understanding of the whole kernel thing on ppc. I don't have a
clue what the zImage-prep-2.2.17-0.6.1 nor the zImage-chrp-2.2.17-0.6.1 are
for, but I have them too, and have since put them in another directory other
than /boot/ and nothing has broken...yet. I don't think they are vital. What
I did to get the kernel compiled was to do everything you did but take the
kernel from /src/linux/kernel/ppc/chrpboot/ instead of the standard
/src/linux/kernel/ppc/boot/. I'm running with a rs6k f50 7025 though and I
am pretty sure that it is a chrp machine based on the massive disscussion
efforts on dejanews.com about it. Therefore I used the /chrpboot/ kernel. I
couldn't get the kernels to compile right AND give me a zImage when I had a
processor other than chrp selected in menuconfig. Maybe if you have a PReP
machine then the kernel will be in /src/linux/kernel/ppc/coffboot/ or some
other random directory in ppc/. Hopefully this helps a little bit.

Kevin

-----Original Message-----
From: antadam [mailto:antadam@lunch-lady.com]
Sent: Tuesday, December 26, 2000 12:31 PM
To: yellowdog-general@lists.yellowdoglinux.com
Subject: Kernel Compiling

Don't hit me for asking this, but I have a couple walls hitting me when
compiling 2.2.18. Its seems obvious to me that its different compiling on
ydl than a i386 platform.
i did make config, make dep, make clean, make zImage, make modules, make
modules_install, and now my problem is getting the correct files to link so
i
boot up on the correct kernel. i have the vmlinux image from /usr/src/linux
(symbolic link to linux-2.2.18) and the System.map from that same file also,
but i'm noticing a zImage-chrp-2.2.17-0.6.1 and a zImage-prep-2.2.17-0.6.1.
I looked on multiple pages and had no luck with figuring out how to link
these things (nor could i find zImage-chrp or zImage-prep files for 2.2.18
after compiling). Any directions or a kick in the right direction would be
greatly appreciated.
Thanks,
adam



This archive was generated by hypermail 2a24 : Tue Jan 02 2001 - 01:59:40 MST