Subject: Re: Question about load-base
To: None <wrstuden@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-macppc
Date: 12/26/2001 23:49:58
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"?

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.

As mentioned in FAQ, we should set real-base to load a larger kernel,
though.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp