Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cgtwo(4S)

gpone(4S)

GPCONFIG(8)  —  MAINTENANCE COMMANDS

NAME

gpconfig − initialize the Graphics Processor

SYOPNSIS

/usr/etc/gpconfig gpunit [ [ −b ] [ −f ] fbunit... ]

DESCRIPTION

gpconfig binds cgtwo frame buffers to the GP, (Graphics Processor) and loads and starts the appropriate microcode in the GP.  For example, the command line:

/usr/etc/gpconfig gpone0 cgtwo0 cgtwo1

will bind the frame buffer boards cgtwo0 and cgtwo1 to the Graphics Processor gpone0.  The devices /dev/gpone0a and /dev/gpone0b will then refer to the combination of gpone and cgtwo0 or cgtwo1 respectively. 

The same cgtwo frame buffer cannot be bound to more than one GP. 

All cgtwo frame buffer boards bound to a GP must be configured to the same width and height. 

The standard version of the file /etc/rc.local contains the following gpconfig command line:

/usr/etc/gpconfig gpone0 -f -b cgtwo0

This binds gpone0 and cgtwo0 as gpone0a, causes gpone0a to use the Graphics Buffer Board if it is present, and redirects /dev/fb to be /dev/gpone0a.  If another configuration is desired, edit the command line in /etc/rc.local to do the appropriate thing. 

It is inadvisable to run the gpconfig command while the GP is being used.  Unpredictable results may occur.  If it is necessary to change the frame buffer bindings to the GP (or to stop using the GP altogether), bring the system down gently, boot single user, edit the gpconfig line in the /etc/rc.local file, and bring the system back up multiuser. 

OPTIONS

−b Configure the GP to use the Graphics Buffer as well.  Currently only one GP-to-frame-buffer binding is allowed to use the graphics buffer at a time.  Only the last -b option in the command line takes effect. 

−f Redirect /dev/fb to the device formed by binding gpunit with fbunit.  Only the last −f option in the command line takes effect. 

FILES

/dev/cgtwo[0-9]

/dev/fb

/dev/gpone[0-3][abcd]

/usr/lib/gp1cg2.1024.ucode

/usr/lib/gp1cg2.1152.ucode

/etc/rc.local

SEE ALSO

cgtwo(4S), gpone(4S)

Sun Release 4.0  —  Last change: 9 September 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026