Debian Codegraph @

Documentation/mainboard/asrock/h81m-hds.md

raw symbols SCIP
1 # ASRock H81M-HDS
2
3 This page describes how to run coreboot on the [ASRock H81M-HDS].
4
5 ## Required proprietary blobs
6
7 Please see <project:../../northbridge/intel/haswell/mrc.bin.md>.
8
9 ## Building coreboot
10
11 A fully working image should be possible just by setting your MAC
12 address and obtaining the Haswell mrc. You can set the basic config
13 with the following commands. However, it is strongly advised to use
14 `make menuconfig` afterwards (or instead), so that you can see all of
15 the settings.
16
17 ```bash
18 make distclean # Note: this will remove your current config, if it exists.
19 touch .config
20 ./util/scripts/config --enable VENDOR_ASROCK
21 ./util/scripts/config --enable BOARD_ASROCK_H81M_HDS
22 ./util/scripts/config --enable HAVE_MRC
23 ./util/scripts/config --set-str REALTEK_8168_MACADDRESS "xx:xx:xx:xx:xx:xx" # Fill this in!
24 make olddefconfig
25 ```
26
27 If you don't plan on using coreboot's serial console to collect logs,
28 you might want to disable it at this point (`./util/scripts/config
29 --disable CONSOLE_SERIAL`). It should reduce the boot time by several
30 seconds. However, a more flexible method is to change the console log
31 level from within an OS using `util/nvramtool`, or with the `nvramcui`
32 payload.
33
34 Now, run `make` to build the coreboot image.
35
36 ## Flashing coreboot
37
38 ### Internal programming
39
40 The main SPI flash can be accessed using [flashrom]. By default, only
41 the BIOS region of the flash is writable. If you wish to change any
42 other region, such as the Management Engine or firmware descriptor, then
43 an external programmer is required (unless you find a clever way around
44 the flash protection).
45
46 The following command may be used to flash coreboot:
47
48 ```bash
49 sudo flashrom -p internal --ifd -i bios --noverify-all -w coreboot.rom
50 ```
51
52 The use of `--noverify-all` is required since the Management Engine
53 region is not readable even by the host.
54
55 ### External programming
56
57 The flash chip is a 4 MiB socketed DIP-8 chip. Specifically, it's a
58 Winbond W25Q32FV, whose datasheet can be found [here][W25Q32FV].
59 The chip is located to the bottom right-hand side of the board. For
60 a precise location, refer to section 1.4 (Motherboard Layout) of the
61 [board manual], where the chip is labelled "32Mb BIOS". Take note of
62 the chip's orientation, remove it from its socket, and flash it with
63 an external programmer. For reference, the notch in the chip should be
64 facing towards the bottom of the board.
65
66 ## Known issues
67
68 - The VGA port doesn't work until the OS reinitialises the display.
69
70 - There is no automatic, OS-independent fan control. This is because
71 the Super I/O hardware monitor can only obtain valid CPU temperature
72 readings from the PECI agent, but the required driver doesn't exist
73 in coreboot. The `coretemp` driver can still be used for accurate CPU
74 temperature readings from an OS.
75
76 Please also see
77 <project:../../northbridge/intel/haswell/known-issues.md>.
78
79 ## Untested
80
81 - parallel port
82 - PS/2 keyboard
83 - EHCI debug
84 - TPM
85 - infrared module
86 - chassis intrusion header
87 - chassis speaker header
88
89 ## Working
90
91 - USB
92 - S3 suspend/resume
93 - Gigabit Ethernet
94 - integrated graphics
95 - PCIe
96 - SATA
97 - PS/2 mouse
98 - serial port
99 - hardware monitor (see [Known issues](#known-issues))
100 - onboard audio
101 - front panel audio
102 - initialisation with Haswell mrc version 1.6.1 build 2
103 - graphics init with libgfxinit (see [Known issues](#known-issues))
104 - flashrom under the vendor firmware
105 - flashrom under coreboot
106 - Wake-on-LAN
107 - Using `me_cleaner`
108
109 ## Technology
110
111 ```{eval-rst}
112 +------------------+--------------------------------------------------+
113 | Northbridge | :doc:`../../northbridge/intel/haswell/index` |
114 +------------------+--------------------------------------------------+
115 | Southbridge | Intel Lynx Point (H81) |
116 +------------------+--------------------------------------------------+
117 | CPU | Intel Haswell (LGA1150) |
118 +------------------+--------------------------------------------------+
119 | Super I/O | Nuvoton NCT6776 |
120 +------------------+--------------------------------------------------+
121 | EC | None |
122 +------------------+--------------------------------------------------+
123 | Coprocessor | Intel Management Engine |
124 +------------------+--------------------------------------------------+
125 ```
126
127 [ASRock H81M-HDS]: https://www.asrock.com/mb/Intel/H81M-HDS/
128 [W25Q32FV]: https://www.winbond.com/resource-files/w25q32fv%20revi%2010202015.pdf
129 [flashrom]: https://flashrom.org/
130 [Board manual]: https://web.archive.org/web/20191231093418/http://asrock.pc.cdn.bitgravity.com/Manual/H81M-HDS.pdf