From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <19990714192241.A838@snowball.ucd.ie> Date: Wed, 14 Jul 1999 19:22:41 +0100 From: Nikita Schmidt Subject: Re: MILO thoughts (Was Re: MILO init-command) In-Reply-To: <19990711014208.M3083@ariel.kotelna.sk> On Sunday, 11 Jul, Martin Lucina wrote: > > One other thing that could ease confusion for people would be to stop > versioning MILO based on the kernel source. I think I have seen a few messages > on debian-alpha where people seem to think that if it's called MILO-2.0.35 it > must be old. > A good idea, and I was already thinking of it. > > The idea of sharing code with GRUB brings me to the following proposal: > > GRUB was originally designed as a reference implementation of a > Multiboot-complaint bootloader for Intel (see http://www.uruk.org/grub/ for > more information). > > What if we did something similar for Alpha? IIRC NetBSD currently suffers from > an inability to run on ARC/AlphaBIOS firmware since it needs the OSF PALcode. > We could create a Multiboot standard for Alpha (all Multiboot basically > involves is loading an ELF executable, possibly some modules and jumping to > it) and thus give the BSD guys the benefit of being able to run on all Alpha > machines. > There is already a console specification for the Alpha machines, described in Alpha Architecture Reference Manual (ISBN 1-55558-202-8). This is what SRM conforms to. We can perhaps agree on a sort of a Multiboot standard (as an addition to the Console Architecture) if that helps. I wonder what NetBSD needs from the console. I wouldn't be suprised to know that they use much wider spectrum of the Console Architecture facitilites than the one provided by MILO, such as disk I/O callbacks, environment variables, etc. > > You could go even futher and build MILO and GRUB from common code (like the > user interface, filesystems and so on). I *like* this idea... > Yep... Unless GRUB's author detests the perspective of carrying extra megabyte of source code. > > Definitely generic. For a bootloader we don't need anything special that the > platform-specific configuations provide, do we? > No. > > Would it be feasible to get an updated PALcode out of Compaq? > Hmm... Perhaps, though not likely. > > 3. Ability to run programs under MILO. This will be useful for various > > console tools such as diagnostic and tuning routines, which we don't > > want to keep inside MILO. > > Is this just "load an ELF file and jump to it"? Is the interface documented > somewhere? Maybe MILO should provide callbacks of some sort? > Yes; no; yes. Callbacks, clever and useful ones. Nikita