Subject: Re: LC/Performa 475 boots (serial console)
To: Johan Claesson <Johan.Claesson@uab.ericsson.se>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 08/26/1997 11:19:58
>
> Hi folks!
>
> I can proudly announce that the LC/Performa 475 boots (using serial
> console).
Yea!
> Since I have modified the motherboard, the problem was that the booter
> couldn't recognize what kind of Mac model to use while booting.
> So to go round this issue I downloaded the Booter sources (vers. 1.10.0)
> and hard coded the MACHID to 89. The gestalt function otherwise would
> coolect the MACHID 90. First I tried to boot this without the serial
> console, and was so dissipointed of my (Brand) new Booter.
> So I thougt "let give this serial console thing" a try.
> SUCCESS!
How far did it get before it failed?
> So if there are some other people out there with a "Super" 475. You may
> want to use this Booter. It will be uploaded to my site
> http://www.elfi.adbkons.se/~rat tomorrow.
Please make sure that the booter doesn't have MACHID 89 hard-coded if
you distribute it. A better idea would be to have the booter, when it sees
90, substitute 89. That way all other machines run fine. We have WAY too
many different kernels, etc, floating around. Newbies look around and get
bits & pieces here & there, and then run into problems. A booter which only
works right w/ one machine'd be a support nightmare.
Antoher idea is to just teach the booter that MACHID 90 is the same as
MACHID 89. Basically all the stuff I know of which looks at MACHID is in
a big case statement (or a few big case statements). Assuming nothing else
uses ID 90, or that what ever it is really is the same as a 475, just w/ a
faster clock, just add case: clauses for MACHID 90 where the ones for 89 are
now. I think it's all done in terms of pre-processor defines (#define NAMEX
90, etc), so just add _CHIRPED to the end of the P475 define, set it to 90,
and change the code. Then send Nigel the code, and the changes can make it
into the next Booter distribution. :-)
> My next wish is to get the internal video to work. Maybe I can hard code
> this part to ;-)
If you go the #define P475NAME_CHIRPED 90 (or some suffix like that)
route, then those changes can make it into the kernel source easily. If
things are working well for non-accelerated 475's, then adding the
define'd be all that's needed. I think.
Take care,
Bill