xref: /aosp_15_r20/external/coreboot/Documentation/mainboard/51nb/x210.md (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1# 51NB X210
2
3## Extracting vendor EC firmware
4
5EC firmware is included in the SPI image. To extract it, run:
6
7```
8dd bs=64K skip=32 count=1 if=bios.rom of=ec.bin
9```
10
11and ensure that you have a file that includes the string "Insyde Software Corp".
12
13## Flashing instructions
14
15This can be performed using the internal SPI controller, even when flashing
16from stock firmware. Use `flashrom -p internal` and follow the appropriate
17flashrom instructions to force it. Alternatively, external flashing has been
18tested with Dediprog SF100 and SF600 and using a Beaglebone Black. The flash
19is located on the upper side of the motherboard, below the keyboard
20connector. It is circled in red here:
21
22![](x210.jpg)
23
24## Flashing a subset of the ROM
25
26If you want to flash coreboot without extracting firmware blobs, you can
27flash coreboot without overwriting those blobs. After building coreboot,
28create a layout file with the following content:
29
30```
3100000000:001fffff me
3200200000:0020ffff ec
3300210000:007fffff main
34```
35
36and run flashrom with the `--layout rom.layout --image main` arguments. This
37will flash the main firmware without overwriting the existing EC or ME
38firmware.
39
40## Working
41
42All hardware features are believed to be working, although the SD reader is
43untested. Note that certain hotkeys don't work (including the ThinkVantage
44button) - this is a limitation of the EC firmware, and these keys also
45generate no events under the stock vendor firmware.
46
47