Subject: Re: 040 compile options, partitioning, and FPSP
To: Tony <tchen@marauders.ibl.org>
From: Paul Ripke <weripp@itwol.bhp.com.au>
List: port-mac68k
Date: 11/06/1996 16:56:18
Tony wrote:
> 
> I'm trying to get a Daystar 040 accelerator card to work in a IIci.

I have a Daystar 040 that I've been trying to get working in my IIsi.
I must admit I haven't tried too much, I've gone as far as building
a few modified kernels and trying to work out the 040 MMU page table.
The problem on the IIsi (it may be the same on the IIci - anyone?),
is that the physical memory is not contiguous, and must be mapped
with the MMU. NetBSD on 68030 machines reads the page table set up
by MacOS when it starts, and uses that as a base for its page table.
However, there is no routine to do this on the 68040 class of
machines (at least there wasn't pre 1.2 - has anything changed?),
and NetBSD assumes it's contiguous. When the MMU is disabled, it
crashes.

> I'd like some information if anyone else has given any thought to
> trying this. I have three questions:
> 
> 1)  What does the FPSP compile option do?  040 floating point software?
>     Do I need this to use an 040 CPU?

This is only required if your Daystar is a "light" 040 with no FPU,
ie. a 68LC040.

> 2)  What compile options must be set to boot an 040?

GENERIC has been my base - I have built many kernels that run fine
without the card.

> 3)  Is there anyway to boot from a different partition of the same
>     drive?  We set up a partition where we could set up a different
>     root partition for testing purposes, but we don't know how to
>     boot it.  We tried marking the partitions differently marking
>     the old boot partition as a 'Usr file system' and the new boot
>     paritition as a 'Root file system' and this didn't work.

Hmm... Never tried this. Not sure it's possible without hacking the
MacOS partition map.

-- 
Paul Ripke
BHP Information Technology
Open VMS, AXP & UNIX (AIX, HP/UX, DG/UX, SCO, SGI, Digital, SunOS...) Sysadmin
Computer Centre,    Five Islands Rd,    Port Kembla,    NSW 2505,    AUSTRALIA
  ripke.paul.pr@bhp.com.au     weripp@itwol.bhp.com.au     pjr02@uow.edu.au
            Anyone wishing to lay claim to the opinions expressed
                      herein, do so at their own risk.