Debian Codegraph @

Documentation/mainboard/topton/adl/x2f-n100.md

raw symbols SCIP
1 # Topton N100 (X2F)2 Firewall Appliance
2
3 This page describes how to run coreboot on the Topton N100.
4
5 ```{eval-rst}
6 +---------------+---------------------------------+----------------------+
7 | Binary file | Apply | Required / Optional |
8 +===============+=================================+======================+
9 | IFD | Intel Flash Descriptor | Required (see below) |
10 +---------------+---------------------------------+----------------------+
11 | ME | Intel Management Engine | Required (see below) |
12 +---------------+---------------------------------+----------------------+
13 | FSP-M & FSP-S | Intel Firmware Support Package | Required |
14 +---------------+---------------------------------+----------------------+
15 ```
16
17 ## Flashing coreboot
18
19 **WARNING:** There are multiple devices from the same vendor with
20 similar name, using different board layout, capabilities and EC/SuperIO.
21
22 Likewise, there are other vendors selling their devices with
23 the same mainboard. According to the sticker on the box: `H30W-N100-226`.
24
25 Please **DO NOT cross-flash firmware on "similar-looking" device**.
26 Doing so **may kill your device**. You have been warned :)
27
28 ### Internally
29
30 Vendor of this motherboard hasn't locked any flash regions, resulting
31 in internal programmers such as [flashrom]/[flashprog] having full access
32 to the SPI chip. Assuming that user had booted Linux with `iomem=relaxed`,
33 they can:
34 - Flash coreboot from stock firmware
35 - Flash stock firmware from coreboot
36 - Update coreboot build to a newer version
37
38 Without opening the case and connecting the SPI flasher.
39
40 Note: some users have reported bricked devices when using [flashrom] to
41 flash the board, so the current recommendation is to use [flashprog]
42 v1.3.0 or newer.
43
44 Since we only need to flash the `bios` region of the flash chip, there is
45 no need to extract the `ifd` or `me` regions from your backup of the stock
46 firmware. One can flash the `bios` region only using the following command:
47 `flashprog -p internal --ifd -i bios -w ./build/coreboot.rom -N`
48
49 The `-N` tells [flashprog`] to skip verification on the other regions of the
50 flash chip which are not being written.
51
52 ### Externally
53
54 SPI chip on this mainboard is located near the SoC, on the other side
55 of the board (upper-right corner).
56 Please note that SPI voltage on this board is standard 3.3V, despite
57 using mobile SoC.
58 Vendor populated this board with Winbond W25Q128JV chip in SOIC-8 package.
59
60 Flashing coreboot using an external programmer is exactly the same as
61 using an internal programmer, other than the `programmer` argument:
62 `flashprog -p <programmer> --ifd -i bios -w ./build/coreboot.rom -N`
63
64 ## Functionality
65
66 ### Tested and working
67
68 - All USB ports (including mPCIe)
69 - All NICs (4x Intel I226-V 2.5GbE)
70 - All display outputs (HDMI, DisplayPort)
71 - M.2 NVME (PCIe x2 electrically)
72 - mPCIe WiFi
73 - SATA port
74 - Intel PTT (fTPM 2.0)
75 - PC Speaker (goes beep-boop)
76 - Serial console on the front of the device (RS232 in RJ45 form-factor),
77 "Cisco-style"
78 - PCIe passtrough (NICs to VMs, such as OpenWrt using libvirt)
79
80 - Payload: EDK2, LinuxBoot
81 - OS: Alpine Linux, Windows 11
82
83 ### Untested, broken
84
85 - 5G modem on special M.2-like connector (lack hardware for it).
86 - Suspend in Windows 11
87 (might work, but Windows has been tested from USB drive).
88
89 ## Specification
90 ```{eval-rst}
91 +--------+-------------------------------+
92 | SoC | Intel AlderLake N100 (IoT) |
93 +--------+-------------------------------+
94 | Memory | DDR5 SO-DIMM (single-channel) |
95 +--------+-------------------------------+
96 | EC | ITE IT8625E |
97 +--------+-------------------------------+
98 | SPI | Winbond W25Q128 (16MiB 3.3V) |
99 +--------+-------------------------------+
100 | NIC | 4x Intel I226-V (2.5GbE) |
101 +--------+-------------------------------+
102 ```
103
104 [flashprog]: https://flashprog.org/wiki/Flashprog
105 [flashrom]: https://flashrom.org/