[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: docs on compiling kernels for miboot?



Ethan Benson wrote:
> 
> On Thu, Jun 28, 2001 at 06:39:45AM -0700, Andrew Sharp wrote:
> >
> > OMG, I forgot about apus.  I give up.  As for zImage, let's strickly
> > stick to ppc, zImage is the compressed coff format kernel which has
> > only one single use that I know of, and that is for the miboot
> 
> guess what? your wrong, at least as far as 2.2 is concerned (i don't
> see why 2.4 would be different):
> 
> eb@socrates eb$ grep linux src/boot-floppies/powerpc-specials/miBoot/mkboot.sh
> hcopy -r linuxpmac.gz :zImage
> 
> for those not working in the gory mess of boot-floppies, linuxpmac.gz
> is an ELF image NOT a coff image, the coff image is created as linux.coff.

Are you sure it's an elf?  Now you've done it.  I'm going to have to
fire up the mac to see where I went wrong on this.  Oh, what a
bother.  I coulda sworn ....

[creative editing]

> i really am beginning to think we should not bother including OF
> bootable images at all.  its pointless since OF can't read the root
> filesystem anyway, so lets require bootloaders.  

> booting images directly via OF is something approximatly one person
> actually does, and he can just compile his own kernel (he doesn't use
> debian anyway and if he did he wouldn't use kernel-package).

One thing about the OF is that it isn't readily available on some
machines, like my first pmac, the 7200.  I tried very hard, and
failed, to get to the OF on that machine, although I have read many
successes on this list.  I guess I never was able to get the cable
right.  Anyway, it's a pain, so there is always going to be that one
person emailing in: "...but I'm on a 7200, and I don't see an OF
prompt...."  Perhaps we should just say that such machines aren't
supported anymore, but if you want to take a crack at it, there's
this old miboot thang, and quik, go knock yourself out.  For a
couple of months.

One thing that makes SILO so sweet is the relatively competent OF
job that Sun, and it's consultants, did.  I was under the vague
impression that yaboot was the closest to SILO that we could get
dealing with apple's OF implementation.  I worked next to the same
guys that did Sun's OF; they were hired to do
PowerHouse/FirePower/StarMax's OF implementation, so I suppose that
some ppc machines have better boot roms than others.

a



Reply to: