Debian Codegraph @

Documentation/soc/intel/xeon_sp/community_preview_guide.md

raw symbols SCIP
1 Xeon Scalable Processor coreboot Community Preview Guide
2 ================================================
3
4 ## Background
5
6 Xeon 6 basic boot supports are initially upstreamed at
7 <https://review.coreboot.org/q/topic:%22Xeon6-Basic-Boot%22>.
8
9 Full feature supports are previewed at
10 <https://review.coreboot.org/admin/repos/intel-dev-pub,general>
11
12 The supported platform status are as below,
13
14 1. Beechnut City CRB (Sierra Forest-SP)
15
16 - Buildable and bootable with real FSP headers/binaries
17
18 2. Avenue City CRB (Granite Rapids-AP)
19
20 - Buildable and bootable with real FSP headers/binaries
21
22 ## Targeted features list
23
24 1. ACPI
25
26 - RSDP/RSDT/XSDT/FADT/FACS/DSDT/SSDT
27
28 - MCFG/MADT/SRAT/SLIT/HMAT/DMAR/CEDT
29
30 - HEPT/SPMI/TPM2
31
32 - HEST/EINJ/ERST/BERT
33
34 2. SMBIOS
35
36 - Type 0 - BIOS information
37
38 - Type 1 - system information
39
40 - Type 2 - base board information
41
42 - Type 3 - chassis information
43
44 - Type 4 - processor information
45
46 - Type 17 - memory device
47
48 3. Hardware related
49
50 - Basic PCIe support
51
52 * IIO bifurcation
53
54 * PCIe hot plug
55
56 * VT-d
57
58 - Customizable PCIe host bridge bus/MMIO resource window size for smart NIC support
59
60 * To handle the case where a large amount of PFs/VFs will be presented under specific PCIe host bridge
61
62 - On-Chip accelerator (QAT, IAA, DSA, DLB)
63
64 - CXL 2.0 Type-3 memory
65
66 - NUMA and sub-NUMA clustering
67
68 - GPIO (with physical pins)
69
70 - Virtual GPIO
71
72 * eSPI based, use BMC or CPLD to expand GPIO pin counts on PCH-less SoC
73
74 - BMC support
75
76 * IPMI KCS
77
78 - Power Sequence
79
80 * ACPI S0/S5
81
82 * Fast cold/warm reset
83
84 - CPU OSPM
85
86 * OS native (based on intel p_state/intel_idle OS driver)
87
88 - RAS
89
90 * Based on FSP2.4 FSP-SMM
91
92 * APEI support
93
94 * Memory CE/UCE (firmware first mode, e.g. MCA/eMCA)
95
96 * IIO CE/UCE (firmware first mode, e.g. DPC/eDPC)
97
98 4. Firmware related
99
100 - Boot to various payloads (Linux payload/TianoCore/UniversalPayload)
101
102 - Enlarged CBFS (>16MB) for one or multiple cloud payloads
103
104 - VPD
105
106 ## Build steps
107
108 ### Prepare workspace
109
110 ```
111 # Create workspace
112
113 mkdir workspace && cd workspace
114
115 # Prepare coreboot codebase
116
117 git clone https://review.coreboot.org/intel-dev-pub
118 ln -s intel-dev-pub/ coreboot
119
120 # Switch to the branches you would like to use
121
122 https://review.coreboot.org/admin/repos/intel-dev-pub,branches
123
124 3.0_branch - Support of real platform boot
125 3.0_feature_cxl - Support of CXL Type-3 memory expander
126 3.0_feature_fsp_smm_ras - Support of RAS by FSP-SMM
127 3.0_feature_gpio_vgpio - Support of GPIO and virtual GPIO
128 3.0_feature_iio_res_rebalance - Support of customized IIO resource (bus/MMIO) window for smart NICs
129 3.0_feature_large_cbfs - Support of 32MB/48MB CBFS for large cloud payloads
130 3.0_feature_smbios - Support of SMBIOS
131 3.0_feature_snc - Support of sub-NUMA clustering
132 3.0_feature_var_car_code_sz - Support of user defined cache-as-RAM code size
133
134 # Prepare stub binaries and update their path in
135 # configs/builder/config.intel.crb.avc
136
137 # Granite Rapids coreboot uses FSP 2.4, where FSP-I is newly introduced
138 # as an optional module to provide FSP based SMM capability. For FSP 2.4
139 # and FSP-I, please further refer to:
140 # https://cdrdv2-public.intel.com/736809/736809_FSP_EAS_v2.4_Errata_A.pdf
141
142 CONFIG_IFD_BIN_PATH=<path of intel flash descriptor blob>
143 CONFIG_PBP_BIN_PATH=<path of platform boot policy blob>
144 CONFIG_CPU_UCODE_BINARIES=<path of ucode>
145 CONFIG_FSP_T_FILE=<path of FSP-T binary>
146 CONFIG_FSP_M_FILE=<path of FSP-M binary>
147 CONFIG_FSP_S_FILE=<path of FSP-S binary>
148 CONFIG_FSP_I_FILE=<path of FSP-I binary, optional, to comment out if not using>
149 CONFIG_PAYLOAD_FILE=<path of payload binary>
150 ```
151
152 ### Download necessary submodules
153 ```
154 git submodule update --init --checkout 3rdparty/vboot
155 ```
156
157 ### Or take below alternative if the network connection is not good
158 ```
159 git clone https://github.com/coreboot/vboot.git 3rdparty/vboot/
160 ```
161
162 ### Build toolchain
163 ```
164 make crossgcc-i386 CPUS=$(nproc)
165 ```
166
167 ### Build BIOS (Avenue City CRB)
168 ```
169 make distclean
170
171 make defconfig KBUILD_DEFCONFIG=configs/builder/config.intel.crb.avc
172
173 make UPDATED_SUBMODULES=1 -j`nproc`
174 ```
175
176 ### Build BIOS (Beechnut City CRB)
177 ```
178 make distclean
179
180 make defconfig KBUILD_DEFCONFIG=configs/builder/config.intel.crb.bnc
181
182 make UPDATED_SUBMODULES=1 -j`nproc`
183 ```
184
185 ### Obtain the preview patch list
186
187 ```
188 # The tag ‘upstream’ points to the upstream commit that the preview
189 # branch is based on.
190
191 git format-patch upstream..HEAD
192 ```
193
194 ## About Granite Rapids FSP binaries and other needed firmware ingredients
195
196 For the real Granite Rapids FSP binaries, please contact intel business interface to obtain them.
197 Then please update below config files to apply.
198
199 ```
200 configs/builder/config.intel.crb.avc
201 configs/builder/config.intel.crb.bnc
202 ```
203
204 The following firmware ingredients are also obtained and applied using the same process:
205
206 - Microcode updates
207 - Intel Flash Descriptor
208 - Platform Boot Policy
209
210 ## Test Environment
211
212 - LinuxBoot - linux kernel tag v6.10-rc4 (with defconfig located in: `Documentation/soc/intel/xeon_sp/linuxboot_defconfig`)
213 - OS - CentOS Stream 9 Linux version 5.14.0-479.el9.x86_64 ([email protected])