From: Stefan Reinauer <stepan@suse.de>
Subject: Milo 2.2 - things are becoming generic.
Date: Wed, 8 Sep 1999 16:18:51 +0200 (MEST) [thread overview]
Message-ID: <Pine.LNX.4.10.9909081335050.27353-100000@Wotan.suse.de> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3763 bytes --]
Hi...
I want to generalize milo in 2 steps:
1. Make a platform dependant milo link against a generic kernel. This
means you have to #define CONFIG_ALPHA_{PLATFORM} only in the milo
Makefile and this selects the correct palcode and dependencies in the
different source files as well as the hard coded hwrpb.
To do this, I need to initialize the hwrpb and alpha_mv before I do
any I/O. Afaik, this means we have no possibility to do any output on
vga/serial in the stub and relocation code. Or should we put
initialisation of the hwrpb just that early so we keep the possibility
to debug this code more easily?
Is it really neccessary to run the floppy_init_hack() *that* early? In
my opinion this is something that should logically be called from
within devices.c
I take from the AARM, that the wrfen PALcode enables the FPU. Why isn't
this done on Ruffians in __main() of boot_main.c? If it is not really
needed, can we through it out for all machine types?
As far as I can see, the only critical files containing #ifdefs on
specific alpha hardware are at the moment cpu.c, boot_main.c,
relocate.c, stub_main.c and of course hwrpb.c
2. I don't know much about the ARC stuff, but is it somehow possible to
determine via ARC, which board/machine is used? I know there's no
hwrpb, but at least the AlphaBIOS prints out the machine's "name" so
it must know it, hardcoded or not. The most stupid thing I can imagine
right now is having ldmilo/linload or milo calculating checksums over
the firmware or even reading some strings of the firmware directly. In
any case, this is neither an elegant way nor is it really secure,
because after a firmware update, milo might not be able to boot up a
box again.. I would love to have a function to give ldmilo a) the name
of the milo to load and possibly the machine type, too.
What we could *maybe* do is get the machine type via an ARC environment
variable.
In the linload Sources I found that the last line executed is (or
should be)
JumpToPal(Linux_Entry);
As far as I can see, this doesn't really swap the PALcode, but only
jumps into the milo head.S. Otherwise the PALcode gets swapped twice,
since milo does this again. (This wouldn't really make sense in my
opinion)
Now I have some other things:
* MILO license. MILO itself is under a free Digital license, the kernel
which is linked against milo ist GPL, so I guess the result has to be
GPL again. Am I wrong? I just don't want to run into problems here.
* Future of ARC/AlphaBIOS/ARCS Bios. Now after Compaq seems to have the NT
development section freed from their unlucky fate, there's noone who
really needs anything but SRM anymore. It might still be interesting to
continue MILO development to get it flashed into Deskstation ARCS
based boxes to get all the modern graphics adapters to work in these
nice boxes without running into trouble with Deskstations totally broken
BIOS emulation which isn't even worked on anymore, according to several
people, including deskstation employees themselves.
Is there any chance that SRM will be ported to machines currently only
running with deskstation firmware?
Please *do* heavily comment on my thoughts.
Regards,
Stefan.
--
SuSE GmbH Can you afford *NOT*
Schanzäckerstr. 10 to use Linux?
D-90443 Nürnberg
Germany Alpha Powered
next reply other threads:[~1999-09-08 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-08 14:18 Stefan Reinauer [this message]
1999-09-08 17:29 ` Milo 2.2 - things are becoming generic Nikita Schmidt
1999-09-08 20:30 ` Stefan Reinauer
1999-09-09 12:55 ` Nikita Schmidt
1999-09-10 7:24 ` Jeff Garzik
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox