pavelsayekat

h110m-e/m2 doc

Aug 20th, 2019
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. # ASUS H110M-E/M.2
  2.  
  3. This page describes how to run coreboot on the [ASUS H110M-E/M.2].
  4.  
  5. ## Required proprietary blobs
  6.  
  7. Mainboard is based on Intel Skylake/Kaby Lake processor and H110 Chipset.
  8. Intel company provides [Firmware Support Package (2.0)](../../soc/intel/fsp/index.md)
  9. (intel FSP 2.0) to initialize this generation silicon. Please see this
  10. [document](../../soc/intel/code_development_model/code_development_model.md).
  11.  
  12. FSP Information:
  13.  
  14. ```eval_rst
  15. +-----------------------------+-------------------+-------------------+
  16. | FSP Project Name | Directory | Specification |
  17. +-----------------------------+-------------------+-------------------+
  18. | 7th Generation Intel® Core™ | KabylakeFspBinPkg | 2.0 |
  19. | processors and chipsets | | |
  20. | (formerly Kaby Lake) | | |
  21. +-----------------------------+-------------------+-------------------+
  22. ```
  23.  
  24. ## Building coreboot
  25.  
  26. The following steps set the default parameters for this board to build a
  27. fully working image:
  28.  
  29. ```bash
  30. make distclean
  31. touch .config
  32. ./util/scripts/config --enable VENDOR_ASUS
  33. ./util/scripts/config --enable BOARD_ASUS_H110M_E_M2
  34. ./util/scripts/config --enable CONFIG_ADD_FSP_BINARIES
  35. ./util/scripts/config --enable CONFIG_FSP_USE_REPO
  36. ./util/scripts/config --set-str REALTEK_8168_MACADDRESS "xx:xx:xx:xx:xx:xx"
  37. make olddefconfig
  38. ```
  39.  
  40. However, it is strongly advised to use `make menuconfig` afterwards
  41. (or instead), so that you can see all of the settings.
  42.  
  43. Use the following command to disable the serial console if debugging
  44. output is not required:
  45.  
  46. ```bash
  47. ./util/scripts/config --disable CONSOLE_SERIAL
  48. ```
  49.  
  50. However, a more flexible method is to change the console log level from
  51. within an OS using `util/nvramtool`, or with the `nvramcui` payload.
  52.  
  53. Now, run `make` to build the coreboot image.
  54.  
  55. ## Flashing coreboot
  56.  
  57. ### Internal programming
  58.  
  59. The main SPI flash can be accessed using [flashrom]. By default, only
  60. the BIOS region of the flash is writable. If you wish to change any
  61. other region, such as the Management Engine or firmware descriptor, then
  62. an external programmer is required (unless you find a clever way around
  63. the flash protection). More information about this [here](../../flash_tutorial/index.md).
  64.  
  65. ### External programming
  66.  
  67. The flash chip is a 8 MiB socketed DIP-8 chip. Specifically, it's a
  68. Macronix MX25L6473E, whose datasheet can be found [here][MX25L6473E].
  69. The chip is located to the bottom right-hand side of the board. For
  70. a precise location, refer to section 1.3 (Motherboard Layout) of the
  71. [H110M-E/M.2 manual], where the chip is labelled "64Mb BIOS". Take note of
  72. the chip's orientation, remove it from its socket, and flash it with
  73. an external programmer. For reference, the notch in the chip should be
  74. facing towards the bottom of the board.
  75.  
  76. ## Known issues
  77.  
  78. - The VGA port doesn't work. Discrete graphic card is used as primary
  79. device for display output (if CONFIG_ONBOARD_VGA_IS_PRIMARY is not
  80. set). Dynamic switching between iGPU and PEG is not yet supported.
  81.  
  82. - SuperIO GPIO pin is used to reset Realtek chip. However, since the
  83. Logical Device 7 (GPIO7, GPIO8) is not initialized, the network
  84. chip is in a reset state all the time.
  85.  
  86. ## Untested
  87.  
  88. - parallel port
  89. - PS/2 keyboard
  90. - PS/2 mouse
  91. - EHCI debug
  92. - TPM
  93. - infrared module
  94. - chassis intrusion header
  95. - chassis speaker header
  96.  
  97. ## Working
  98.  
  99. - integrated graphics init with libgfxinit (see [Known issues](#known-issues))
  100. - PCIe x1
  101. - PEG x16 Gen3
  102. - SATA
  103. - USB
  104. - serial port
  105. - onboard audio
  106. - using `me_cleaner`
  107. - using `flashrom`
  108.  
  109. ## TODO
  110.  
  111. - NCT5539D GPIOs
  112. - onboard network (see [Known issues](#known-issues))
  113. - S3 suspend/resume
  114. - Wake-on-LAN
  115. - hardware monitor
  116.  
  117. ## Technology
  118.  
  119. ```eval_rst
  120. +------------------+--------------------------------------------------+
  121. | CPU | Intel Skylake/Kaby Lake (LGA1151) |
  122. +------------------+--------------------------------------------------+
  123. | PCH | Intel Sunrise Point H110 |
  124. +------------------+--------------------------------------------------+
  125. | Super I/O | Nuvoton NCT5539D |
  126. +------------------+--------------------------------------------------+
  127. | EC | None |
  128. +------------------+--------------------------------------------------+
  129. | Coprocessor | Intel Management Engine |
  130. +------------------+--------------------------------------------------+
  131. ```
  132.  
  133. [ASUS H110M-E/M.2]: https://www.asus.com/Motherboards/H110M-E-M-2/overview/
  134. [GD25B128CPIG]: https://www.gigadevice.com/datasheet/gd25b127d/ [The closest match found]
  135. [flashrom]: https://flashrom.org/Flashrom
  136. [ASUS H110M-E/M.2 manual]: https://dlcdnets.asus.com/pub/ASUS/mb/LGA1151/H110M-E_M2/E11622_H110M-E_M2_UM_web.pdf
Advertisement
Add Comment
Please, Sign In to add comment