Skip to content

Commit e8d1762

Browse files
committed
docs/guides/lab-assembly/asrock_turind8ud.md: use SPI flash TPM adapters
The host BIOS SPI flash was wired to the TPM header with individual DuPont cables, which does not work reliably at the SPI clock used for flashing. Use a pair of SPI flash TPM adapter PCBs instead, one on the motherboard TPM_BIOS_PH_1 header and one on the SPI extender HAT SPI_1 header, joined by an FPC cable of around 30 cm. Longer cables may not work. Also state that both UART output select jumpers, TX and RX, go to RS232 + COM on J16. Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
1 parent fd4b3dd commit e8d1762

8 files changed

Lines changed: 50 additions & 10 deletions

docs/guides/lab-assembly/asrock_turind8ud.md

Lines changed: 50 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ for the CPU, RAM, case, power supply, and so on.
2121
- NOUS A1T smart outlet
2222
- IDC to RS232 adapter
2323
- RS232 null modem cable
24-
- DuPont 2.0mm to 2.54mm pitch cables (for the host SPI flash)
25-
- 3x female to female wire cables
26-
- 2x5 1.27mm pitch IDC connector to individual 2.54mm female DuPont connector
24+
- SPI flash TPM adapter set, one for the motherboard `TPM_BIOS_PH_1` header and
25+
one for the SPI extender HAT
26+
- matching IDC or FPC cable around 30 cm long (for the host SPI flash),
27+
depending on adapter used in previous point
28+
* FPC: pitch 1 mm, 13 conductors, same side contacts
29+
* IDC: pitch: 2.54 mm, 14 conductors
30+
- 3x 2.54 mm female to female jumper wire cables
31+
- 2x5 1.27mm pitch IDC connector to individual 2.54mm female connector
2732
cables (for the BMC SPI flash)
2833
- 3D printed RTE mount (modular base with a stackable RTE base)
2934
- 4x M3 6mm screws with nuts (to join the 3D printed parts)
@@ -71,9 +76,10 @@ The following sections describe how to enable all of the following features:
7176

7277
### Serial connection
7378

74-
- Fit the jumpers on the RTE [UART output select
79+
- Fit both jumpers, the TX one and the RX one, on the RTE [UART output select
7580
header](../../transparent-validation/rte/v1.1.0/specification.md#uart-output-select-header)
76-
to select `RS232 + COM`.
81+
(`J16`) to `RS232 + COM`. That routes the serial output to the DB9
82+
connector.
7783
- Connect the IDC to RS232 adapter to the COM1 header on the motherboard.
7884

7985
![](images/turind8ud_serial.jpg)
@@ -125,16 +131,50 @@ automatically.**
125131
#### Host boot flash
126132

127133
The host BIOS SPI flash is programmed through the on-board TPM header, which
128-
exposes the SPI bus. Remove the TPM module and wire the `SPI_1` header to the
129-
TPM header. For the pinout and detailed wiring, refer to the
130-
[board's recovery section (setup with RTE)](../../variants/asrock_turind8ud/recovery.md#external-flashing).
134+
exposes the SPI bus. An SPI flash TPM adapter PCB set carry the bus between the
135+
motherboard and the RTE, one on the motherboard `TPM_BIOS_PH_1` header and one
136+
on the SPI extender HAT, joined by a ribbon cable. Do not wire the TPM header
137+
with individual jumper wires - that wiring does not work reliably at the SPI
138+
clock used for flashing.
139+
140+
The adapters come in two variants, one with an IDC connector and one with an FPC
141+
connector:
142+
143+
![](images/turind8ud_tpm_adapters.jpg)
144+
145+
Pick one pair and use it on both ends. The rest of this guide uses the FPC cable:
146+
147+
![](images/turind8ud_tpm_adapter_pair.jpg)
148+
149+
The cable should be around 30 cm - longer cables may not work.
150+
151+
Install the motherboard-side adapter before mounting the board in the case - it
152+
can also be done with the board already in the case, but it is harder. Install
153+
the PCB with the `TO MOBO` silkscreen (on the reverse side) onto the TPM header,
154+
aligned with the bolt hole, and make sure all pins sit tightly:
155+
156+
![](images/turind8ud_tpm_adapter_close.jpg)
131157

132-
![](images/turind8ud_tpm_flash.jpg)
158+
The TPM module goes back on the adapter's pass-through header, so the platform
159+
keeps its TPM while the flash stays reachable:
160+
161+
![](images/turind8ud_tpm_adapter_installed.jpg)
162+
163+
The second adapter mounts on the `SPI_1` header of the SPI extender HAT:
164+
165+
![](images/turind8ud_tpm_adapter_hat.jpg)
166+
167+
Route the cable from the motherboard down to the HAT:
168+
169+
![](images/turind8ud_tpm_adapter_routing.jpg)
170+
171+
For the TPM header pinout, refer to the
172+
[board's recovery section (setup with RTE)](../../variants/asrock_turind8ud/recovery.md#external-flashing).
133173

134174
#### BMC flash
135175

136176
`BMC_PH1` is a 2x5 1.27mm pitch header. Use the 1.27mm IDC connector to
137-
individual 2.54mm female DuPont connector cables to wire the `SPI_2` header to
177+
individual 2.54mm female connector cables to wire the `SPI_2` header to
138178
it according to the table:
139179

140180
| `SPI_2` | BMC_PH1 pin |
98.1 KB
Loading
209 KB
Loading
176 KB
Loading
200 KB
Loading
301 KB
Loading
83.3 KB
Loading
-136 KB
Binary file not shown.

0 commit comments

Comments
 (0)