@@ -6,6 +6,29 @@ export CONFIG_COREBOOT=y
6
6
export CONFIG_COREBOOT_VERSION=system76
7
7
export CONFIG_LINUX_VERSION=6.1.8
8
8
9
+ #Enable only one RESTRICTED/BASIC boot modes below to test them manually (we cannot inject config under QEMU (no internal flashing)
10
+ #export CONFIG_RESTRICTED_BOOT=y
11
+ #export CONFIG_BASIC=y
12
+
13
+ #Enable HAVE_GPG_KEY_BACKUP to test GPG key backup drive (we cannot inject config under QEMU (no internal flashing))
14
+ #export CONFIG_HAVE_GPG_KEY_BACKUP=y
15
+
16
+ #Enable DEBUG output
17
+ #export CONFIG_DEBUG_OUTPUT=y
18
+ #export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=y
19
+ #Enable TPM2 pcap output under /tmp
20
+ #export CONFIG_TPM2_CAPTURE_PCAP=y
21
+
22
+ #On-demand hardware support (modules.cpio)
23
+ CONFIG_LINUX_USB=y
24
+ CONFIG_LINUX_E1000=y
25
+ #CONFIG_MOBILE_TETHERING=y
26
+ #Runtime on-demand additional hardware support (modules.cpio)
27
+ export CONFIG_LINUX_USB_COMPANION_CONTROLLER=y
28
+
29
+
30
+
31
+ #Modules packed into tools.cpio
9
32
CONFIG_CRYPTSETUP2=y
10
33
CONFIG_FLASHROM=y
11
34
CONFIG_FLASHTOOLS=y
@@ -15,21 +38,44 @@ CONFIG_UTIL_LINUX=y
15
38
CONFIG_LVM2=y
16
39
CONFIG_MBEDTLS=y
17
40
CONFIG_PCIUTILS=y
41
+ #Runtime tools to write to MSR
42
+ CONFIG_MSRTOOLS=y
43
+ #Remote attestation support
44
+ # TPM2 requirements
45
+ CONFIG_TPM2_TSS=y
46
+ CONFIG_OPENSSL=y
47
+ #Remote Attestation common tools
18
48
CONFIG_POPT=y
19
49
CONFIG_QRENCODE=y
20
50
CONFIG_TPMTOTP=y
21
-
51
+ #HOTP based remote attestation for supported USB Security dongle
52
+ #With/Without TPM support
53
+ CONFIG_HOTPKEY=y
54
+ #Nitrokey Storage admin tool (deprecated)
55
+ #CONFIG_NKSTORECLI=n
56
+ #GUI Support
57
+ #Console based Whiptail support(Console based, no FB):
58
+ #CONFIG_SLANG=y
59
+ #CONFIG_NEWT=y
60
+ #FBWhiptail based (Graphical):
22
61
CONFIG_CAIRO=y
23
62
CONFIG_FBWHIPTAIL=y
24
- CONFIG_HOTPKEY=y
63
+ #Additional tools (tools.cpio):
64
+ #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E)
65
+ #CONFIG_DROPBEAR=y
25
66
26
- CONFIG_LINUX_USB=y
27
- CONFIG_MOBILE_TETHERING=y
28
-
29
- export CONFIG_TPM=y
30
- export CONFIG_SUPPORT_USB_KEYBOARD=y
31
67
68
+ #Runtime configuration
69
+ #Automatically boot if HOTP is valid
70
+ export CONFIG_AUTO_BOOT_TIMEOUT=5
71
+ #TPM2 requirements
72
+ export CONFIG_TPM2_TOOLS=y
73
+ export CONFIG_PRIMARY_KEY_TYPE=ecc
74
+ #TPM1 requirements
75
+ #export CONFIG_TPM=y
32
76
export CONFIG_BOOTSCRIPT=/bin/gui-init
77
+ #text-based original init:
78
+ #export CONFIG_BOOTSCRIPT=/bin/generic-init
33
79
export CONFIG_BOOT_REQ_HASH=n
34
80
export CONFIG_BOOT_REQ_ROLLBACK=n
35
81
export CONFIG_BOOT_KERNEL_ADD=""
0 commit comments