You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/variation-to-defconfig.md
+127-7Lines changed: 127 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,134 @@
1
1
# Variation to defconfig (cleaned)
2
2
3
-
This file lists configuration items found to be inconsistent and/or removed when generating defconfig with `make BOARD=XYZ coreboot.save_in_defconfig_format_in_place` helper for different boards.
3
+
This file lists coreboot Kconfig options found to be inconsistent across
4
+
boards after regenerating defconfigs with `make BOARD=XYZ
5
+
coreboot.save_in_defconfig_format_in_place`. The goal is to document
6
+
which values are "intentional" per-board differences vs. stale defaults
7
+
that should be uniform.
4
8
9
+
## CMOS option backend: OPTION_BACKEND_NONE vs USE_OPTION_TABLE
10
+
11
+
Coreboot can read configuration values (boot order, debug level, power-on
12
+
behavior, etc.) from either compiled-in defaults or from CMOS NVRAM.
13
+
14
+
```
15
+
OPTION_BACKEND_NONE (default in Heads)
16
+
USE_OPTION_TABLE (explicit CMOS option table)
17
+
```
18
+
19
+
`OPTION_BACKEND_NONE` means every value comes from the `.config` --
20
+
Heads manages all runtime config through its initrd scripts and TPM
21
+
measured boot, so the coreboot option table is redundant.
22
+
23
+
`USE_OPTION_TABLE` means coreboot reads those values from CMOS and the
24
+
cmos.layout / cmos.default files are used at runtime. It also affects
25
+
defaults of related options:
26
+
27
+
| Option | Default when OPTION_BACKEND_NONE | Default when USE_OPTION_TABLE=y |
28
+
|---|---|---|
29
+
|`USE_PC_CMOS_ALTCENTURY`|`y`|`n`|
30
+
|`STATIC_OPTION_TABLE`| absent | depends on board |
31
+
32
+
**Heads impact:** Neither breaks anything. `OPTION_BACKEND_NONE` is
33
+
preferred since Heads does not rely on coreboot's CMOS option table.
34
+
35
+
## Current state audit
36
+
37
+
Options are listed with their current count across all
38
+
`config/coreboot-*.config` files and the per-board breakdown.
0 commit comments