Debian Codegraph @

Documentation/mainboard/supermicro/x10slm-f.md

raw symbols SCIP
1 # Supermicro X10SLM+-F
2
3 This section details how to run coreboot on the [Supermicro X10SLM+-F].
4
5 ## Required proprietary blobs
6
7 Please see <project:../../northbridge/intel/haswell/mrc.bin.md>.
8
9 ## Building coreboot
10
11 If you haven't already, build the coreboot toolchain as described in
12 <project:../../tutorial/part1.md>.
13
14 A fully working image should be possible so long as you have the
15 Haswell `mrc.bin` file. You can set the basic config with the following
16 commands. However, it is strongly advised to use `make menuconfig`
17 afterwards (or instead), so that you can see all of the settings.
18
19 ```bash
20 make distclean # Note: this will remove your current config, if it exists.
21 touch .config
22 ./util/scripts/config --enable VENDOR_SUPERMICRO
23 ./util/scripts/config --enable BOARD_SUPERMICRO_X10SLM_PLUS_F
24 ./util/scripts/config --enable HAVE_MRC
25 make olddefconfig
26 ```
27
28 If you don't plan on using coreboot's serial console to collect logs,
29 you might want to disable it at this point (`./util/scripts/config
30 --disable CONSOLE_SERIAL`). It should reduce the boot time by several
31 seconds. However, a more flexible method is to change the console log
32 level from within an OS using `util/nvramtool`, or with the `nvramcui`
33 payload.
34
35 Now, run `make` to build the coreboot image.
36
37 ## Flashing coreboot
38
39 In addition to the information here, please see the
40 <project:../../tutorial/flashing_firmware/index.md>.
41
42 ### Internal programming
43
44 Under the vendor firmware, the BIOS region of the flash chip is
45 write-protected. Additionally, the vendor flashing tool does not work
46 with a coreboot image. So, [external programming](#external-programming)
47 needs to be used when first installing coreboot. By default, coreboot is
48 not configured to write-protect the BIOS region, so internal programming
49 can be used thereafter.
50
51 [flashrom] may be used to flash coreboot internally:
52
53 ```bash
54 sudo flashrom -p internal --ifd -i bios --noverify-all -w coreboot.rom
55 ```
56
57 The use of `--noverify-all` is required since the Management Engine
58 region is not readable even by the host.
59
60 ### External programming
61
62 The main firmware flash chip is an SOIC-8 package located near the CMOS
63 battery and SATA ports. It should come with a sticker attached that
64 states the firmware revision (e.g. "X10SLH 4.424"). The chip model is
65 an N25Q128A ([datasheet][N25Q128A]).
66
67 As with [internal programming](#internal-programming), [flashrom] works
68 reliably:
69
70 ```bash
71 flashrom -p <your-programmer> --ifd -i bios -w coreboot.rom
72 ```
73
74 For flashing to work, power to the board should be disconnected (ACPI
75 G3), and power should be supplied from the external programmer. There is
76 a diode attached to Vcc, so such flashing should not damage the board.
77 During testing, a single X10SLM+-F has been flashed dozens of times this
78 way without issue.
79
80 ## BMC (IPMI)
81
82 This board has an ASPEED [AST2400], which has BMC functionality. The
83 BMC firmware resides in a 32 MiB SOIC-16 chip just above the [AST2400].
84 This chip is an MX25L25635F ([datasheet][MX25L25635F]).
85
86 ### Removing the BMC functionality
87
88 The BMC functionality on this board can be removed. If you do not need
89 its features, removing the BMC functionality might increase security.
90 This topic has not been widely explored, and you should only **undertake
91 this process at your own risk.**
92
93 There is a jumper labelled `JPB1` on the board that states the ability
94 to disable the BMC. Though, pins 1 and 2 are fixed together, keeping
95 the BMC enabled. It might be possible to disable the BMC by cutting the
96 connection between pins 1 and 2 (and then connecting pins 2 and 3). This
97 has not been tested so far.
98
99 Another approach is to erase the entire BMC firmware chip. However, if
100 this is done, and the board's power cycled, the voltage changes on some
101 pins of the flash chip, **so it will be harder to flash it again!**
102
103 To remove the firmware, connect an external programmer to the BMC
104 firmware chip. Vcc should **not** be connected via the external
105 programmer. The system should be turned off, but the power still
106 connected (ACPI S5). Then, erase the chip with [flashrom]. Power cycle
107 the board, and the BMC should no longer be active.
108
109 If you erase the BMC firmware while using the **vendor BIOS**, you
110 will need to cut the connection between pins 1 and 2 of `JPB1`. The
111 system will stall for two minutes each time when booting, but it will
112 eventually start. There is no such delay when running coreboot.
113
114 ## ECC DRAM
115
116 ECC DRAM seems to work, but please see
117 <project:../../northbridge/intel/haswell/mrc.bin.md> for caveats.
118
119 ## Known issues
120
121 - Broadwell CPUs are not supported. They might work with minimal changes
122 to the code, but this has not been tested.
123
124 - The PCH thermal sensor doesn't yet have a driver in coreboot, so it
125 can't be used for temperature readings.
126
127 - There is no automatic, OS-independent fan control. This is because
128 the Super I/O hardware monitor can only obtain valid CPU temperature
129 readings from the PECI agent, but the required driver doesn't exist
130 in coreboot. The `coretemp` driver can still be used for accurate CPU
131 temperature readings from an OS, and hence the OS can do fan control.
132
133 Please also see
134 <project:../../northbridge/intel/haswell/known-issues.md>.
135
136 ## Untested
137
138 - TPM
139 - PCIe (likely to work, but maybe not at Gen 3 speeds)
140 - BMC (IPMI) functionality
141 - internal serial port
142 - chassis intrusion header
143 - SATA DOM header
144 - standby power header
145 - serial GPIO headers
146 - power supply SMBus header
147 - jumpers not otherwise mentioned
148 - LEDs
149
150 ## Working
151
152 - USB
153 - S3 suspend/resume
154 - Gigabit Ethernet
155 - SATA
156 - external serial port
157 - VGA graphics
158 - disabling VGA graphics using the jumper
159 - hiding the AST2400 using the CMOS setting
160 - Super I/O hardware monitor (see [Known issues](#known-issues))
161 - initialisation with Haswell MRC version 1.6.1 build 2
162 - flashrom under coreboot
163 - Wake-on-LAN
164 - front panel header
165 - internal buzzer
166
167 ## Technology
168
169 ```{eval-rst}
170 +------------------+--------------------------------------------------+
171 | CPU | :doc:`../../northbridge/intel/haswell/index` |
172 +------------------+--------------------------------------------------+
173 | PCH | Intel Lynx Point (C224) |
174 +------------------+--------------------------------------------------+
175 | Super I/O | Nuvoton NCT6776 |
176 +------------------+--------------------------------------------------+
177 | Coprocessor | Intel SPS (server version of the ME) |
178 +------------------+--------------------------------------------------+
179 | Coprocessor | ASPEED AST2400 |
180 +------------------+--------------------------------------------------+
181 ```
182
183 ## Extra links
184
185 - [Board manual]
186
187 [AST2400]: https://www.aspeedtech.com/products.php?fPath=20&rId=376
188 [Board manual]: https://www.supermicro.com/manuals/motherboard/C224/MNL-1500.pdf
189 [flashrom]: https://flashrom.org/
190 [MX25L25635F]: https://media.digikey.com/pdf/Data%20Sheets/Macronix/MX25L25635F.pdf
191 [N25Q128A]: https://www.micron.com/~/media/Documents/Products/Data%20Sheet/NOR%20Flash/Serial%20NOR/N25Q/n25q_128mb_3v_65nm.pdf
192 [Supermicro X10SLM+-F]: https://www.supermicro.com/products/motherboard/xeon/c220/x10slm_-f.cfm