MILO+biosemu patch available

David Mosberger-Tang (davidm@AZStarNet.com)
Sat, 30 Sep 1995 15:35:17 -0700


A patch relative to Dave Rusling's miniboot-1.3.27.tar.gz is now available
at:

ftp://ftp.azstarnet.com/pub/linux/axp/sys/patch-milo-1.3.28davidm.gz

You'll need to create an empty subdirectory called "x86" before you
can apply the patch. After this, you should be able to build milo as
usual. I build this MILO with Linux 1.3.28 but it may build with
earlier versions too.

If you cd into the x86 subdirectory and type "make" there, you'll get
the programs "ginit" and "dump-bios". Those are programs that can be
run at user-level. The first executes the BIOS at 0xc0000 (if any)
and the latter simply produces a hex dump of the BIOS area. See my
earlier announcement on ginit for details and warnings.

List of changes:

- There is now a "resetenv" command to clear the environment.
- Block devices are now initialized "on demand". That is, MILO
initializes just the keyboard & graphics card before issueing
the prompt. At this point, you can look at & modify the
environment variables etc. MILO will initialize the block devices
only when necessary (e.g., on the first "ls" or "boot" command).
- The SCSI hostid of the n-th SCSI controller can now be set by
defining an appropriate value for environment variable
SCSIn_HOSTID. For example, to set the hostid of the first
SCSI controller to 7, you'd say:

setenv SCSI0_HOSTID 7

(If you set this value too low, the SCSI driver won't be able to
initialize---that's one reason for initializing block devices
on demand.)
- BIOS emu is integrated into MILO. If "ginit" works for your
graphics card, changes are pretty good that this MILO will work
for you, too.

These changes are, of course, all "unofficial" and Dave Rusling will
be the final instance to decide what of the above makes it into the
official release.

Oh, the x86 emulator now has support for INS/OUTS, but I'm afraid I
haven't had a chance to test it out yet (and I'm by no means an x86
expert, so chances are fairly high I got it wrong).

One final note: the GNU "as" on grocne.enc.org cannot translate some
of the assembly files in MILO. I have a patched gas that I put up
for ftp at:

ftp://ftp.azstarnet.com/pub/linux/axp/misc/as.gz

Any comments & experiences with new graphics cards would be greatly
appreciated (but be careful to avoid frying your monitor).

Enjoy,
--david