All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Reinauer <stepan@coresystems.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Jay Estabrook <jay.estabrook@hp.com>, Nikita Schmidt <cetus@debian.org>
Subject: Re: Feature Request: Alpha-Linux support.. possible?
Date: Fri, 15 Jun 2007 19:14:04 +0200	[thread overview]
Message-ID: <20070615171403.GA28272@coresystems.de> (raw)
In-Reply-To: <4672C095.6010902@bluebottle.com>

* Brian Evans <grknight2k@bluebottle.com> [070615 18:38]:
> The current DEC Alpha boot loaders MILO and aboot are unmaintained and
> frequently break with newer tool chains and kernels.

I have a machine for aboot, but I don't have a machine for MILO anymore.

MILO is still up and running on http://milo.coresystems.de/ but I had no
requests for changes in several years now.

> How hard would it be to add Alpha to Grub-2?

It'd probably be a lot easier to add support for SRM based systems than
for AlphaBIOS/ARCS based systems since those are using a 32bit PAL code,
effectively making the machine a 32bit machine on the BIOS level. The
workaround is to load 64bit PAL codes, such as those found in SRM or
MILO. The draw back is that you can not use BIOS callbacks anymore after
switching the PAL code so you have to provide your own SCSI drivers for
each controller. Hence MILO was married with the Linux kernel in a more
than unnatural way.

One possible scenario however:

1. Get the latest SRM PAL codes for all machines supported by MILO
   (MILOs PAL codes suck!)

2. Strip down MILO so it does not link against the kernel at all
   anymore. I know Nikita worked on that a long time ago and I 
   removed that stuff. I had to learn the hard way that this was a
   mistake

3. Patch Linload.exe/Loadlin.exe to load MILO plus a Kernel plus an
   initrd from the DOS partition. Jay, do you have the sources for the
   Ruffian loader? Is it still closed up? Could we change it and
   recompile it?

4. Have MILO start the Linux kernel from RAM loaded by 3.

5. Use kexec and whatever neat userspace utility to load the real Kernel
   from disk. Or just write the real kernel to the DOS partition and
   load it from there with no kexec in the game.

The big problem that kept me from trying that is that you need the
AlphaBIOS SDK (?) installed on a Windows box to patch
loadlin.exe/linload.exe and you need an (Alpha?) Windows box for that
which I did not have at the time.

> However, I do have an Alpha box to test with (read: break).
 
SRM? Alpha BIOS?

> Although the Alpha platform is no longer producing any new machines,
> many exist as servers or workstations and could be reused as Linux machines.

I want to revive mine, too, but I think I gave my Permedia2 card away by
accident and I dont have a supported card at the moment that would also
work in VMS :-( Guess Ebay is my friend.

Stefan


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info@coresystems.de  • http://www.coresystems.de/



  reply	other threads:[~2007-06-15 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-15 16:38 Feature Request: Alpha-Linux support.. possible? Brian Evans
2007-06-15 17:14 ` Stefan Reinauer [this message]
2007-06-15 19:09   ` Brian Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070615171403.GA28272@coresystems.de \
    --to=stepan@coresystems.de \
    --cc=cetus@debian.org \
    --cc=grub-devel@gnu.org \
    --cc=jay.estabrook@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.