xref: /openbsd/distrib/notes/hppa/prep (revision 898184e3)
1dnl	$OpenBSD: prep,v 1.5 2009/02/01 15:36:16 simon Exp $
2
3The MACHINE computers do not generally need any specific preparation.
4
5You might want to check that the console ``path'' in the PDC firmware
6points to the device you plan to use, and change it if necessary. Most
7MACHINE machines will allow to select console path from the BOOT_ADMIN>
8prompt. To reach this prompt, abort the autoboot process and if a menu
9appears, enter ``a'' to select the "Boot Administration mode."
10
11To select the first serial port as console, type:
12
13	BOOT_ADMIN> path console rs232_a.9600.8.none
14
15or to select graphics as console:
16
17	BOOT_ADMIN> path console graphics
18	BOOT_ADMIN> path keyboard hil
19or
20	BOOT_ADMIN> path console graphics
21	BOOT_ADMIN> path keyboard ps2
22
23depending upon your keyboard type.
24
25On a few models, such as the 9000/712, the PDC firmware will not allow
26the console path to be changed. In this case, it is possible to change
27it from the OpenBSD boot loader. After booting OpenBSD in interactive
28mode (for example, if booting over the network, by entering ``boot lan
29isl''), enter the following at the ``boot>'' prompt:
30
31	boot> machine console rs232.9600.8.none
32
33dnl I hope I'll never write ``been there, done that'' here. Rest
34dnl assured I have added a lot of safeguards in this console code
35dnl to prevent people from rendering their 712s unusable.
36dnl At least mine is still alive, and I have played a lot with its
37dnl console path... -- miod
38WARNING!
39   Make sure to type the console path correctly or the 9000/712 can
40   become unusable, and will require a special ``dagger'' board to
41   be revived.
42
43After changing the console path, the machine has to be power cycled
44for the changes to take effect.
45
46In most cases the primary boot device path is already set to the right
47value. If not, it is advised to run:
48
49	BOOT_ADMIN> search
50
51to display the list of all bootable devices before choosing one with:
52
53	BOOT_ADMIN> path primary SCSI.TARGET.LUN
54
55Substitute FWSCSI or SESCSI for SCSI if it is displayed as such in the
56path list obtained from ``search'', and use the TARGET and LUN values
57matching the device intended as the boot device.
58
59To set up autoboot, use the configure option:
60
61	BOOT_ADMIN> co auto boot on
62
63or if your machine has the old style PDC interface:
64
65	BOOT_ADMIN> autoselect on
66
67Please refer to the boot(8) manual page for more information on PDC
68settings and boot commands.
69