Re: docs on compiling kernels for miboot?
On Thu, 28 Jun 2001, Sven LUTHER wrote:
> > kernel-package is simply going to need some extra options, it must
> > support a switch to define what kernel image formats it will include
> > in the given package. we cannot have kernel-image packages with 20
> > different versions of the same damn image file when 19 of them are
> > worthless cruft on any given system.
> >
> > that way apus uses -vmlinuz silo/yaboot/quik uses -vmlinuz, oldworld
> > adds -miboot and -coff, and so on. there is probably a cleaner way to
> > do this...
>
> Is there a particular reason why mac boot stuff can't cope with just plain
> vmliunz ? or maybe the conversion stuff could be added to the bootloader
> program instead of residing in the kernel ?
That's indeed another option: learn your booter how to boot a plain (possible
gzipped) ELF image.
For machines where you don't want/have a booter, have a stand-alone program
that takes a plain ELF image and wraps it into an executable, or into a ROM
image or so.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: