Subject: Re: xcoff files
To: None <wrstuden@nas.nasa.gov>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-macppc
Date: 06/26/1999 16:17:45
In <Pine.SOL.3.96.990625231235.28570B-100000@marcy.nas.nasa.gov>
wrstuden@nas.nasa.gov wrote:

> For now my thought is to make an ofwboot.xcoff or ofwboot.xcf, so we can
> do the MacOS bootfloppy trick. Later on, doing something like the Linux
> single-file-boots trick might be neat. They just insert a .gz'd image into
> one section of the file, and go from there. :-)

Well, I think that to make a simple "rawrite" utility for MacOS
is enough, though I'm not using MacOS usually...

BTW, I've just made an xcoff boot-loader with netbsd.gz kernel
in a section. This boot-loader is based on bebox/stand/* code
and Dan Jacobowitz' work.
http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd.xcf

Put it into a hfs floppy (I'm using hfsutils on i386 :-),
type `setenv load-base 400000' and then `boot fd:netbsd.xcf'
on OFW prompt. (My machine is UMAX Apus2000 with OFW 2.0)

But I think it is better that a kernel can read itself on the booted
filesystem, rather than "a kernel in a program section".
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp