A P P E N D I X  A

Setting the Default Console Display

These instructions describe how to set the Sun XVR-2500 graphics accelerator as the default monitor console display.



Note - You can only use the DVI port 1 as the console output. See FIGURE 5-1 and Appendix G for the location of DVI port 1.



1. At the ok prompt, type:


ok show-displays

Information similar to the text below is displayed:


a) /pci@1f,0/SUNW,XVR-100@3
b) /pci@1c,600000/pci@2/SUNW,XVR-2500@0
q) NO SELECTION 
Enter Selection, q to quit: b

2. Select the graphics board you want to be the default console display.

In the preceding example, b signifies the Sun XVR-2500 graphics accelerator. Your selection is confirmed by the following output:


/pci@1c,600000/pci@2/SUNW,XVR-2500@0 has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
     for creating devalias mydev for /pci@1c,600000/pci@2/SUNW,XVR-2500@

3. Using the Sun XVR-2500 graphics accelerator in this example, create an alias name for the Sun XVR-2500 device:

This step is optional for all systems. Creating the alias, however, simplifies future OpenBoottrademark PROM commands.

a. Use nvalias to name the Sun XVR-2500 graphics accelerator device.

This example uses mydev as the device.


ok nvalias mydev (Control-Y)

Complete the line entry by pressing Control-Y on your keyboard (that is, press and hold Control and press the Y key) and then Return. The output displays as:


ok nvalias mydev /pci@1c,600000/pci@2/SUNW,XVR-2500@0

b. Verify the alias.


ok devalias
mydev                    /pci@1c,600000/pci@2/SUNW,XVR-2500@0
screen                   /pci@1c,600000/pci@2/SUNW,XVR-2500@0
mouse                    /pci@9,700000/usb@1,3/mouse@2
keyboard                 /pci@9,700000/usb@1,3/keyboard@1
....

In the preceding output, both mydev and screen are mapped to /pci@1c,600000/pci@2/SUNW,XVR-2500@0 and are therefore interchangeable alias names.

In this procedure example, you can now refer to mydev as the Sun XVR-2500 graphics accelerator device, as shown in the next step.

4. Set the selected device to be the default console display.

For example,


ok setenv output-device mydev
output-device = mydev

Without Step 3 (creating an alias name), you need to type the entire device name precisely. In this example, you would need to enter the following:


ok setenv output-device /pci@1c,600000/pci@2/SUNW,XVR-2500@0
output-device = /pci@1c,600000/pci@2/SUNW,XVR-2500@0

5. Reset the system using the new output-device as the console:


ok reset-all

6. Connect your monitor cable to the chosen device on your system back panel.

7. To set a resolution (for example, 1280 × 1024 × 60), type:


ok setenv output-device mydev:r1280x1024x60
output-device=mydev:r1280x1024x60

8. Reset the system:


ok reset-all