OpenBoot Command Reference Manual
只搜寻这本书
以 PDF 格式下载本书

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


Preface
xv

1. Overview
1
...Features of OpenBoot 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 19
......Testing the Ethernet Controller 19
......Testing the Clock 20
......Monitoring the Network 20
...Displaying System Information 21
...Resetting the System 22

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

4. Using Forth Tools
43
...Forth Commands 44
...Using Numbers 45
...The Stack 46
......Displaying Stack Contents 46
......The Stack Diagram 48
......Manipulating the Stack 49
...Creating Custom Definitions 50
...Using Arithmetic Functions 52
...Accessing Memory 54
...Using Defining Words 60
...Searching the Dictionary 63
...Compiling Data into the Dictionary 64
...Displaying Numbers 65
...Changing the Number Base 65
...Controlling Text Input and Output 66
...Redirecting Input and Output 69
...Keyboard Editor 71
...Conditional Flags 73
...Control Commands 74
......The if-then-else Structure 74
......The case Statement 76
......The begin Loop 77
......The do Loop 78
......Additional Control Commands 80

5. Loading and Executing Programs
81
...Using dload to Load from Ethernet 82
...Using boot to Load from Hard Disk, Floppy Disk, or Ethernet 83
...Using dl to Load Forth Over Serial Port A 85
...Using dlbin to Load FCode or Binary Over Serial Port A 85

6. Debugging
87
...Using the Disassembler 87
...Displaying Registers 88
...Breakpoints 89
...The Forth Source-level Debugger 91
...Using ftrace 92

A. Setting Up a TIP Connection
93
...Common Problems with TIP 96

B. Building A Bootable Floppy Disk
97
...Procedure for the Pre-Solaris 2.0 Operating Environment 98
...Procedure for the Solaris 2.0 or 2.1 Operating Environment 99

C. Unsupported Commands
101

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

E. Forth Word Reference
113

Index
149