Subject: Re: xcoff files
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-macppc
Date: 06/26/1999 19:59:21
On Sat, 26 Jun 1999, Izumi Tsutsui wrote:

> In <Pine.SOL.3.96.990625231235.28570B-100000@marcy.nas.nasa.gov>
> wrstuden@nas.nasa.gov wrote:
> 
> Well, I think that to make a simple "rawrite" utility for MacOS
> is enough, though I'm not using MacOS usually...

I think it would be lacking in the simplicity department. Linux doesn't
need it, why should we? :-)

> 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

Can I get a copy of the setup you used to do this?

> 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".

In general, I agree. But for an install kernel, I think it's fine to not
be able to read the initial kernel. :-)

Take care,

Bill