Subject: Re: 4/200
To: None <port-sparc@NetBSD.ORG>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: port-sparc
Date: 05/12/1995 00:22:19
Theo writes:
>>> zs1 at obio0 addr 0xf0000000 pri 12, softpri 6
>>> bwtwo0 at obio0 addr 0xfd000000: bwtwo, 1600 x 1280 (console)
>>>
>>> It locks up here...
>>
>> More likely, it keeps going, but starts sending its output to the
>> bwtwo, which has no monitor attached, so you don't see it.
>>
>> I don't know whether it's possible to persuade the kernel that it's
>> wrong about where the console is. I suspect it's not possible without
>> recompiling.
>
> That's the ticket.
Hmmn. Is it? Is this a NetBSD-ism? I don't recall *any* Sun system that
would come up on a certain framebuffer and after probing, suddenly switch to
outputting to a different one ... (Uh, I think I may be really responding to
der Mouse's comment above here ... )
> Change the eeprom to indicate that it should use the colour display.
> I think the file is /usr/include/mon/eeprom.h, or something similar,
> in SunOS, that defines the eeprom layout. I seem to remember 0x1e being the
> address, but I'm probably wrong.
Well, I've only got a "Sun 4300 CPU Board Installation Manual" here - i.e.,
this is for Sun-4/3x0 models and not a 4/2x0 - but I believe they might use
the same EEPROM locations. It says:
------- >8 Snip ... save for rainy day ... Snip 8< -------
Changing Your Output Display Device
The EEPROM is usually programmed to support the display device shipped
with your system. If you need to change your output device (e.g., to
run diagnostics on a terminal connected to serial port "A"), you will
need to change the value at EEPROM location 0x01F. To do this, enter
the following command:
q 1F <Return>
The monitor program will prompt you with the following message:
EEPROM 01F: <current value>?
In the table below, find the display device you are using and its
corresponding EEPROM value.
EEPROM value Display Device
------------ -------------------------------------------------
0x00 Monochrome (black and white) monitor
0x10 Terminal connected to serial port A
0x11 Terminal connected to serial port B
0x12 Color Monitor (VME color board must be in)
0x20 Color or Monochrome Monitor (P4 board must ...)
If you want to change the current display device setting, enter the
appropriate hexadecimal value from the table above. Next, enter any
NON-hexadecimal character (such as a period) and press <Return>. If
you do not want to change the value, enter any non-hex character (such
as a period) and press <Return>.
Similarly, to change the screen size, the location is 0x16; the values are
EEPROM value Screen Size
------------ ------------------------------------------------
0x00 1152x900
0x12 1024x1024
0x13 1600x1280
0x14 1440x1440
It also says:
High Resolution Monitor
If you are using a Sun-4 system with a high-resolution (1600x1280)
monitor and Version 1.0 or later firmware, the screen should be set
at 80 columns and 34 rows. Enter the following commands to ensure
that the values at EEPROM locations 0x050 and 0x051 contain the
appropriate values:
q 50 or q 51
In the table below, find the screen settings you want to use and
their appropriate values.
Location EEPROM value Setting
-------- ------------------------------------------------
0x050 0x50 80 columns
0x050 0x78 120 columns
0x051 0x22 34 columns
0x051 0x30 48 columns
------- >8 Snip ... save for rainy day ... Snip 8< -------
Just to clear up something else, I've used a 1600x1280 hi-res monochrome
monitor on a 4/280 as recently as the end of last year ... before the machine
was decommissioned and shipped to another part of JPL, where it's now
sitting and rotting. And I used to use one on a 3/260 as well. So you can
most definitely run 1600x1280 monochrome on 4/2x0 and 4/3x0 machines ...
(I remember thinking "This is nice, but where's the 1600x1280 color tube ... "
and here I am, 10 years later, same situation (-: )
- Greg