Subject: Re: Question about load-base
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 12/26/2001 12:30:52
On Wed, 26 Dec 2001, Izumi Tsutsui wrote:

> wrstuden@netbsd.org wrote:
>
> > > I guess load-base is only used to load and execute xcoff files.
> > > For "partition x", Openfirmware uses addresses stored
> > > in the Apple partition map.
> >
> > Unfortunatly we've had experience where this isn't fully the case; yes,
> > the loader looks in the partition map for the bootxx load address, but if
> > load-base isn't set right, things don't work.
>
> What is the "right value"?

What ofwboot was set to. 600000 now.

> My Apus2000 (with OF 2.0) can boot from wd0 (with no HFS) by bootxx
> even if load-base is 0x4000 (default), 0x10000, 0x100000, 0x600000,
> 0x1000000, even 0x0 or 0xffffffff.

Weird. My system is contrary if load-base isn't set to 600000 when I'm
booting from floppies.

> As mentioned in FAQ, we should set real-base to load a larger kernel,
> though.

Agreed.

Take care,

Bill