OpenBoot 2.x Command Reference Manual
  Search only this book
Download this book in PDF

............................Contents


Preface
xvii
...Ordering Sun Documents xxi

1. Overview
1
...OpenBoot Features 1
...The User Interface 2
......The Restricted Monitor 3
......The Forth Monitor 3
......The Default Mode 4
...The Device Tree 4
......Device Path Names, Addresses, and Arguments 5
......Device Aliases 7
......Displaying the Device Tree 8
...Getting Help 10
...A Caution About Using Some OpenBoot Commands 11

2. Booting and Testing Your System
13
...Booting Your System 13
...Running Diagnostics 16
......Testing the SCSI Bus 17
......Testing Installed Devices 17
......Testing the Diskette Drive 18
......Testing Memory 18
......Testing the Ethernet Controller 19
......Testing the Clock 20
......Monitoring the Network 20
...Displaying System Information 20
...Resetting the System 21

3. Setting Configuration Parameters
23
...Displaying and Changing Parameter Settings 25
...Setting Security Parameters 27
......Command Security 28
...... Full Security 30
...Changing the Power-on Banner 30
...Input and Output Control 32
......Selecting Input and Output Device Options 33
......Setting Serial Port Characteristics 34
...Selecting Boot Options 34
...Controlling Power-on Self-test 35
...Using NVRAMRC 36
......Editing the Contents of NVRAMRC 37
......Activating an NVRAMRC File 38

4. Using Forth Tools
41
...Forth Commands 41
...Using Numbers 43
...The Stack 44
......Displaying Stack Contents 44
......The Stack Diagram 45
......Manipulating the Stack 47
...Creating Custom Definitions 49
...Using Arithmetic Functions 51
...Accessing Memory 53
...Mapping An SBus Device 58
...Using Defining Words 59
...Searching the Dictionary 61
...Compiling Data into the Dictionary 63
...Displaying Numbers 64
...Changing the Number Base 65
..........ff 255 65
...Controlling Text Input and Output 66
...Redirecting Input and Output 69
...Command Line Editor 71
...Conditional Flags 73
...Control Commands 75
......The if...else...then Structure 75
......The case Statement 76
......The begin Loop 77
......The do Loop 79
......Additional Control Commands 81

5. Loading and Executing Programs
83
...Using dload to Load from Ethernet 84
......Forth Programs 84
......FCode Programs 84
......Binary Executables 85
...Using boot to Load from Hard Disk, Floppy Disk, or Ethernet 85
......Forth Programs 86
......FCode Programs 86
......Binary Executables 87
...Using dl to Load Forth Over a Serial Port 87
...Using dlbin to Load FCode or Binary Over a Serial Port 88

6. Debugging
89
...Using the Disassembler 89
...Displaying Registers 90
...Breakpoints 91
...The Forth Source-level Debugger 93
...Using ftrace 94

A. Testing with a Terminal Emulator
97
...Common Problems with tip 99

B. Building A Bootable Floppy Disk
101
...Procedure for the Pre-Solaris 2.0 Operating Environment 101
...Procedure for the Solaris 2.0 or 2.1 Operating Environment 102

C. Unsupported Commands
105

D. Troubleshooting Guide
109
...Power-on Initialization Sequence 109
...Emergency Procedures 111
...Preserving Data After a System Crash 111
...Common Failures 111
......Blank Screen - No Output 112
......System Boots From the Wrong Device 112
......System Will Not Boot From Ethernet 114
......System Will Not Boot From Disk 114
......SCSI Problems 115
......Setting the Console to a Specific Monitor 115

E. Forth Word Reference
117

Index
151