1# Supermicro X9SAE and X9SAE-V 2 3This page describes how to run coreboot on the Supermicro [X9SAE] and [X9SAE-V] 4 5## Flashing coreboot 6 7```{eval-rst} 8+---------------------+----------------+ 9| Type | Value | 10+=====================+================+ 11| Socketed flash | occasionally | 12+---------------------+----------------+ 13| Model | W25Q128FVSG | 14+---------------------+----------------+ 15| Size | 16 MiB | 16+---------------------+----------------+ 17| Package | SOIC-8 | 18+---------------------+----------------+ 19| Write protection | no | 20+---------------------+----------------+ 21| Dual BIOS feature | no | 22+---------------------+----------------+ 23| Internal flashing | yes | 24+---------------------+----------------+ 25``` 26 27The flash IC is located between the PCH and the front panel connector, 28(circled) sometimes it is socketed. 29 30 31### How to flash 32 33Unlike ordinary desktop boards, the BIOS version 2.00 of X9SAE-V does not 34apply any write protection, so the main SPI flash can be accessed using 35[flashrom], and the whole flash is writable. 36 37Note: If you are going to modify the ME region via internal programming, you had 38better disable ME functionalities as much as possible in the vendor firmware 39first, otherwise ME may write something back and break the firmware you write. 40 41The following command may be used to flash coreboot. (To do so, linux kernel 42could be started with `iomem=relaxed` or unload the `lpc_ich` kernel module) 43 44Now you can [flash internally]. It is recommended to flash only the `bios` 45region (use `--ifd -i bios -N` flashrom arguments), in order to minimize the 46chances of messing something up in the beginning. 47 48The flash chip is a SOIC-8 SPI flash, and may be socketed, so it's also easy 49to do in-system programming, or remove and flash externally if it is socketed. 50 51## Difference between X9SAE and X9SAE-V 52On X9SAE PCI-E slot 4 is absent. Lane 9~16 of PCI-E slot 6 on X9SAE are wired 53to slot 4 on X9SAE-V. Unlike ASUS P8C WS, there is no dynamic switch on X9SAE-V, 54so on X9SAE-V slot 6 can work as x8 at most. 55 56On X9SAE-V device pci 01.1 appears even if not defined in devicetree.cb, so it 57seems that it shall not appear on X9SAE even if it is defined. 58 59## Working (on my X9SAE-V) 60- Intel Xeon E3-1225 V2 with 4 M391B1G73BH0-YK0 UDIMMs, ECC confirmed active 61- PS/2 keyboard with SeaBIOS 1.14.0 and Debian GNU/Linux with kernel 5.10.46 62- Use PS/2 keyboard and mouse simutaneously with a PS/2 Y-cable 63- Both Onboard NIC 64- S3 Suspend to RAM 65- USB2 on rear and front panel connectors 66- USB3 67- Integrated SATA 68- CPU Temp sensors (tested PSensor on GNU/Linux) 69- LPC TPM on TPM-header (tested tpm-tools with TPM 1.2 Infineon SLB9635TT12) 70- Native raminit 71- Integrated graphics with libgfxinit 72- Nvidia Quadro 600 in all PCIe-16x slots 73- Compex WLM200NX (Qualcomm Atheros AR9220) in PCI slot 74- Debug output from serial port 75 76## Untested 77 78- EHCI debugging 79- S/PDIF audio 80- PS/2 mouse 81 82## Technology 83 84```{eval-rst} 85+------------------+--------------------------------------------------+ 86| Northbridge | :doc:`../../northbridge/intel/sandybridge/index` | 87+------------------+--------------------------------------------------+ 88| Southbridge | bd82x6x | 89+------------------+--------------------------------------------------+ 90| CPU | model_206ax | 91+------------------+--------------------------------------------------+ 92| Super I/O | Nuvoton NCT6776F | 93+------------------+--------------------------------------------------+ 94| EC | None | 95+------------------+--------------------------------------------------+ 96| Coprocessor | Intel Management Engine | 97+------------------+--------------------------------------------------+ 98``` 99 100## Extra resources 101 102- [Flash chip datasheet][W25Q128FVSG] 103 104[X9SAE]: https://www.supermicro.com/products/motherboard/xeon/c216/x9sae.cfm 105[X9SAE-V]: https://www.supermicro.com/products/motherboard/xeon/c216/x9sae-v.cfm 106[W25Q128FVSG]: https://static.chipdip.ru/lib/093/DOC001093213.pdf 107[flashrom]: https://flashrom.org/Flashrom 108[flash internally]: ../../tutorial/flashing_firmware/int_flashrom.md 109