Xerox 4540 Service Manual - Page 206

B.7 POST Code Checkpoints

Page 206 highlights

B.7 POST Code Checkpoints The POST code checkpoints are the largest set of checkpoints during the BIOS pre-boot process. TABLE B-3 describes the checkpoints that might occur during the POST portion of the BIOS. These two-digit checkpoints are the output from primary I/O port 80. TABLE B-3 POST Code Checkpoints Post Code 03 04 05 06 C0 C1 C2 C3 C5 C6 C7 0A 0B 0C Description Disable NMI, Parity, video for EGA, and DMA controllers. At this point, POST code is still executing out of BIOS ROM. Check CMOS diagnostic byte to determine if battery power is OK and CMOS checksum is OK. Verify CMOS checksum manually by reading storage area. If the CMOS checksum is bad, update CMOS with power-on default values and clear passwords. Initialize status register A. Initializes data variables that are based on CMOS setup questions. Initializes both the 8259 compatible PICs in the system. Initializes the interrupt controlling hardware (generally PIC) and interrupt vector table. Do R/W test to CH-2 count register. Initialize CH-0 as system timer. Install the POSTINT1Ch handler. Enable IRQ-0 in PIC for system timer interrupt. Traps INT1Ch vector to POSTINT1ChHandlerBlock. Early CPU Init Start-Disable Cache-Init Local APIC. Set up boot strap processor information. Set up boot strap processor for POST. This includes calculating the frequency, loading BSP microcode, and applying user-requested value for GART Error Reporting setup question. Errata workarounds applied to the BSP (#78 & #110). Enumerate and set up application processors. This includes microcode loading, and workarounds for errata (#78, #110, #106, #107, #69, #63). Reenable cache for boot strap processor, and apply workarounds in the BSP for errata #106, #107, #69, and #63 if appropriate. In case of mixed CPU steppings, errors are sought and logged, and an appropriate frequency for all CPUs is found and applied. NOTE: APs are left in the CLI HLT state. The HT sets link frequencies and widths to their final values. This routine gets called after CPU frequency has been calculated to prevent bad programming. Initializes the 8042 compatible keyboard controller. Detects the presence of PS/2 mouse. Detects the presence of keyboard in KBC port. B-8 Sun Fire X4500/X4540 Server Service Manual • May 2010

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264

B-8
Sun Fire X4500/X4540 Server Service Manual
May 2010
B.7
POST Code Checkpoints
The POST code checkpoints are the largest set of checkpoints during the BIOS
pre-boot process.
TABLE B-3
describes the checkpoints that might occur during the
POST portion of the BIOS. These two-digit checkpoints are the output from primary
I/O port 80.
TABLE B-3
POST Code Checkpoints
Post Code
Description
03
Disable NMI, Parity, video for EGA, and DMA controllers. At this point, POST code is still
executing out of BIOS ROM.
04
Check CMOS diagnostic byte to determine if battery power is OK and CMOS checksum is
OK. Verify CMOS checksum manually by reading storage area. If the CMOS checksum is
bad, update CMOS with power-on default values and clear passwords. Initialize status
register A. Initializes data variables that are based on CMOS setup questions. Initializes
both the 8259 compatible PICs in the system.
05
Initializes the interrupt controlling hardware (generally PIC) and interrupt vector table.
06
Do R/W test to CH-2 count register. Initialize CH-0 as system timer. Install the
POSTINT1Ch handler. Enable IRQ-0 in PIC for system timer interrupt. Traps INT1Ch
vector to POSTINT1ChHandlerBlock.
C0
Early CPU Init Start-Disable Cache-Init Local APIC.
C1
Set up boot strap processor information.
C2
Set up boot strap processor for POST. This includes calculating the frequency, loading BSP
microcode, and applying user-requested value for GART Error Reporting setup question.
C3
Errata workarounds applied to the BSP (#78 & #110).
C5
Enumerate and set up application processors. This includes microcode loading, and
workarounds for errata (#78, #110, #106, #107, #69, #63).
C6
Reenable cache for boot strap processor, and apply workarounds in the BSP for errata
#106, #107, #69, and #63 if appropriate. In case of mixed CPU steppings, errors are sought
and logged, and an appropriate frequency for all CPUs is found and applied. NOTE: APs
are left in the CLI HLT state.
C7
The HT sets link frequencies and widths to their final values. This routine gets called after
CPU frequency has been calculated to prevent bad programming.
0A
Initializes the 8042 compatible keyboard controller.
0B
Detects the presence of PS/2 mouse.
0C
Detects the presence of keyboard in KBC port.