| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a librem_15v3 | ||
| CONFIG_LINUX_CONFIG=config/linux-librem_common-6.1.8.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-librem_15v3.config | ||
|
|
||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=purism | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
|
|
||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
| CONFIG_LINUX_USB=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| export CONFIG_TPM=y | ||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="" | ||
| export CONFIG_BOARD_NAME="Librem 15 v3" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| export CONFIG_ROOT_DEV="/dev/nvme0n1p2" | ||
| export CONFIG_ROOT_DIRLIST="bin boot lib sbin usr" | ||
| export CONFIG_ROOT_CHECK_AT_BOOT="n" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a librem_15v4 | ||
| CONFIG_LINUX_CONFIG=config/linux-librem_common-6.1.8.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-librem_15v4.config | ||
|
|
||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=purism | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KBD=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
|
|
||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
| CONFIG_LINUX_USB=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| export CONFIG_TPM=y | ||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="" | ||
| export CONFIG_BOARD_NAME="Librem 15 v4" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| export CONFIG_ROOT_DEV="/dev/nvme0n1p2" | ||
| export CONFIG_ROOT_DIRLIST="bin boot lib sbin usr" | ||
| export CONFIG_ROOT_CHECK_AT_BOOT="n" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a librem_l1um | ||
| CONFIG_LINUX_CONFIG=config/linux-librem_common.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-librem_l1um.config | ||
|
|
||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=4.11 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
| export CONFIG_PURISM_BLOBS=y | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
|
|
||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
| CONFIG_LINUX_USB=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| export CONFIG_TPM=y | ||
|
|
||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="plymouth.ignore-serial-consoles" | ||
| export CONFIG_BOARD_NAME="Librem Server L1UM" | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
| export CONFIG_USB_KEYBOARD_REQUIRED=y | ||
| export CONFIG_ROOT_DEV="/dev/nvme0n1p2" | ||
| export CONFIG_ROOT_DIRLIST="bin boot lib sbin usr" | ||
| export CONFIG_ROOT_CHECK_AT_BOOT="n" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a Optiplex 7010/9010 SFF running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - Includes: Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-optiplex-7019_9010-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #Additional hardware support | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Modules packed into tools.cpio | ||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| #Runtime tools to write to MSR | ||
| #CONFIG_MSRTOOLS=y | ||
| #Remote attestation support | ||
| # TPM2 requirements | ||
| #CONFIG_TPM2_TSS=y | ||
| #CONFIG_OPENSSL=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
|
|
||
| #platform locking finalization (PR0) | ||
| # This prevents SPI from being writeable outside of Heads | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
| #Nitrokey Storage admin tool (deprecated) | ||
| #CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools (tools.cpio): | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Runtime configuration | ||
| #Automatically boot if HOTP is valid | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| #TPM2 requirements | ||
| #export CONFIG_TPM2_TOOLS=y | ||
| #export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| #TPM1 requirements | ||
| export CONFIG_TPM=y | ||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOOT_DEV="/dev/sda1" | ||
| export CONFIG_BOARD_NAME="Dell Optiplex 7010/9010 HOTP maximized" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| #Include bits related to Optiplex blobs (not enabling TXT in coreboot config) | ||
| BOARD_TARGETS += optiplex_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a Optiplex 7010/9010 SFF running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - DOES NOT INCLUDE Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-optiplex-7019_9010-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #Additional hardware support | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Modules packed into tools.cpio | ||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| #Runtime tools to write to MSR | ||
| #CONFIG_MSRTOOLS=y | ||
| #Remote attestation support | ||
| # TPM2 requirements | ||
| #CONFIG_TPM2_TSS=y | ||
| #CONFIG_OPENSSL=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| #CONFIG_HOTPKEY=y | ||
|
|
||
|
|
||
| #platform locking finalization (PR0) | ||
| # This prevents SPI from being writeable outside of Heads | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
| #Nitrokey Storage admin tool (deprecated) | ||
| #CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools (tools.cpio): | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Runtime configuration | ||
| #Automatically boot if HOTP is valid | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| #TPM2 requirements | ||
| #export CONFIG_TPM2_TOOLS=y | ||
| #export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| #TPM1 requirements | ||
| export CONFIG_TPM=y | ||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOOT_DEV="/dev/sda1" | ||
| export CONFIG_BOARD_NAME="Dell Optiplex 7010/9010 maximized" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| #Include bits related to Optiplex blobs (not enabling TXT in coreboot config) | ||
| BOARD_TARGETS += optiplex_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a Optiplex 7010/9010 SFF running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - Includes: Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-optiplex-7019_9010_TXT-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #Additional hardware support | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Modules packed into tools.cpio | ||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| #Runtime tools to write to MSR | ||
| #CONFIG_MSRTOOLS=y | ||
| #Remote attestation support | ||
| # TPM2 requirements | ||
| #CONFIG_TPM2_TSS=y | ||
| #CONFIG_OPENSSL=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
|
|
||
| #platform locking finalization (PR0) | ||
| # This prevents SPI from being writeable outside of Heads | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
| #Nitrokey Storage admin tool (deprecated) | ||
| #CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools (tools.cpio): | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Runtime configuration | ||
| #Automatically boot if HOTP is valid | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| #TPM2 requirements | ||
| #export CONFIG_TPM2_TOOLS=y | ||
| #export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| #TPM1 requirements | ||
| export CONFIG_TPM=y | ||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOOT_DEV="/dev/sda1" | ||
| export CONFIG_BOARD_NAME="Dell Optiplex 7010/9010 HOTP maximized (TXT enabled)" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| #Include bits related to Optiplex blobs (enabling TXT in coreboot config) | ||
| BOARD_TARGETS += optiplex_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a Optiplex 7010/9010 SFF running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - DOES NOT INCLUDE Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-optiplex-7019_9010_TXT-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #Additional hardware support | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Modules packed into tools.cpio | ||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| #Runtime tools to write to MSR | ||
| #CONFIG_MSRTOOLS=y | ||
| #Remote attestation support | ||
| # TPM2 requirements | ||
| #CONFIG_TPM2_TSS=y | ||
| #CONFIG_OPENSSL=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| #CONFIG_HOTPKEY=y | ||
|
|
||
|
|
||
| #platform locking finalization (PR0) | ||
| # This prevents SPI from being writeable outside of Heads | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
| #Nitrokey Storage admin tool (deprecated) | ||
| #CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools (tools.cpio): | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Runtime configuration | ||
| #Automatically boot if HOTP is valid | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| #TPM2 requirements | ||
| #export CONFIG_TPM2_TOOLS=y | ||
| #export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| #TPM1 requirements | ||
| export CONFIG_TPM=y | ||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOOT_DEV="/dev/sda1" | ||
| export CONFIG_BOARD_NAME="Dell Optiplex 7010/9010 maximized (TXT enabled)" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| #Include bits related to Optiplex blobs (enabling TXT in coreboot config) | ||
| BOARD_TARGETS += optiplex_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a T430 running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - Includes Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-t430-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #Additional hardware support | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
|
|
||
| #platform locking finalization (PR0) | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
| #Remote attestation support | ||
| #TPM based requirements | ||
| export CONFIG_TPM=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| CONFIG_HOTPKEY=y | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
|
|
||
| #Nitrokey Storage admin tool | ||
| CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools: | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOARD_NAME="Thinkpad T430-hotp-maximized" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a T430 running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - DOES NOT INCLUDE Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-t430-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #Additional hardware support | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
|
|
||
| #platform locking finalization (PR0) | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
|
|
||
| #Remote attestation support | ||
| #TPM based requirements | ||
| export CONFIG_TPM=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| #CONFIG_HOTPKEY=y | ||
|
|
||
| #Nitrokey Storage admin tool | ||
| CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools: | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOARD_NAME="Thinkpad T430-maximized" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a T480 running Qubes 4.2.3 and other Linux Based OSes (through kexec) | ||
| # | ||
| # CAVEATS: | ||
| # This board is vulnerable to a TPM reset attack, i.e. the PCRs are reset while the system is running. | ||
| # This attack can be used to bypass measured boot when an attacker succeeds at modifying the SPI flash. | ||
| # Also it can be used to extract FDE keys from a TPM. | ||
| # The related coreboot issue contains more information: https://ticket.coreboot.org/issues/576 | ||
| # Make sure you understand the implications of the attack for your threat model before using this board. | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered+deguarded ME and expanded consequent IFD BIOS regions | ||
| # - Forged GBE MAC address to 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx80/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # - Flashable Thunderbolt tb.bin blob extracted from https://download.lenovo.com/pccbbs/mobiles/n24th13w.exe | ||
| # - It is zero-padded to 1MB and should be flashed to the Thunderbolt SPI chip, | ||
| # which is not the same as the 16MB chip to which the heads rom is flashed. | ||
| # External flashing is recommended as the only way to reliably fix a bug in the original Thunderbolt software on the SPI chip. | ||
| # You can find a guide here: https://osresearch.net/T430-maximized-flashing/ | ||
| # | ||
| # - Includes Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
|
|
||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-t480-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-t480.config | ||
|
|
||
| #On-demand hardware support (modules.cpio) | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Modules packed into tools.cpio | ||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
|
|
||
| #platform locking finalization (PR0) | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
|
|
||
| #Remote attestation support | ||
| # TPM2 requirements | ||
| CONFIG_TPM2_TSS=y | ||
| CONFIG_OPENSSL=y | ||
| #Remote Attestation common tools | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| CONFIG_HOTPKEY=y | ||
| #Nitrokey Storage admin tool (deprecated) | ||
| #CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools (tools.cpio): | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Runtime configuration | ||
| #Automatically boot if HOTP is valid | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| #TPM2 requirements | ||
| export CONFIG_TPM2_TOOLS=y | ||
| export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| #TPM1 requirements | ||
| #export CONFIG_TPM=y | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOARD_NAME="Thinkpad T480-hotp-maximized" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx80_me_blobs |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a T480 running Qubes 4.2.3 and other Linux Based OSes (through kexec) | ||
| # | ||
| # CAVEATS: | ||
| # This board is vulnerable to a TPM reset attack, i.e. the PCRs are reset while the system is running. | ||
| # This attack can be used to bypass measured boot when an attacker succeeds at modifying the SPI flash. | ||
| # Also it can be used to extract FDE keys from a TPM. | ||
| # The related coreboot issue contains more information: https://ticket.coreboot.org/issues/576 | ||
| # Make sure you understand the implications of the attack for your threat model before using this board. | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered+deguarded ME and expanded consequent IFD BIOS regions | ||
| # - Forged GBE MAC address to 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx80/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # - Flashable Thunderbolt tb.bin blob extracted from https://download.lenovo.com/pccbbs/mobiles/n24th13w.exe | ||
| # - It is zero-padded to 1MB and should be flashed to the Thunderbolt SPI chip, | ||
| # which is not the same as the 16MB chip to which the heads rom is flashed. | ||
| # External flashing is recommended as the only way to reliably fix a bug in the original Thunderbolt software on the SPI chip. | ||
| # You can find a guide here: https://osresearch.net/T430-maximized-flashing/ | ||
| # | ||
| # - DOES NOT INCLUDE Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
|
|
||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-t480-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-t480.config | ||
|
|
||
| #On-demand hardware support (modules.cpio) | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Modules packed into tools.cpio | ||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
|
|
||
| #platform locking finalization (PR0) | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
|
|
||
| #Remote attestation support | ||
| # TPM2 requirements | ||
| CONFIG_TPM2_TSS=y | ||
| CONFIG_OPENSSL=y | ||
| #Remote Attestation common tools | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| #CONFIG_HOTPKEY=y | ||
| #Nitrokey Storage admin tool (deprecated) | ||
| #CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools (tools.cpio): | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Runtime configuration | ||
| #Automatically boot if HOTP is valid | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| #TPM2 requirements | ||
| export CONFIG_TPM2_TOOLS=y | ||
| export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| #TPM1 requirements | ||
| #export CONFIG_TPM=y | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOARD_NAME="Thinkpad T480-maximized" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx80_me_blobs |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a X230 running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - Includes: Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-x230-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #On-demand hardware support (modules.cpio) | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Modules packed into tools.cpio | ||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| #Runtime tools to write to MSR | ||
| #CONFIG_MSRTOOLS=y | ||
| #Remote attestation support | ||
| # TPM2 requirements | ||
| #CONFIG_TPM2_TSS=y | ||
| #CONFIG_OPENSSL=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
|
|
||
| #platform locking finalization (PR0) | ||
| # This prevents SPI from being writeable outside of Heads | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
| #Nitrokey Storage admin tool (deprecated) | ||
| #CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools (tools.cpio): | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Runtime configuration | ||
| #Automatically boot if HOTP is valid | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| #TPM2 requirements | ||
| #export CONFIG_TPM2_TOOLS=y | ||
| #export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| #TPM1 requirements | ||
| export CONFIG_TPM=y | ||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a X230 running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - Includes: | ||
| # Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| # USB Keyboard support | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-x230-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #Additional hardware support | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Additional features | ||
| export CONFIG_USB_KEYBOARD_REQUIRED=y | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
|
|
||
| #platform locking finalization (PR0) | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
|
|
||
| #Remote attestation support | ||
| #TPM based requirements | ||
| export CONFIG_TPM=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| CONFIG_HOTPKEY=y | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
|
|
||
| #Nitrokey Storage admin tool | ||
| CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools: | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized_usb-kb" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # WARNING: This system remains perpetually vulnerable to Spectre v2 (CVE-2017-5715). Mitigations and microcode updates previously applied are now known to be ineffective due to QSB-107 and related CVEs. If Spectre v2 is a concern in your threat model, consider migrating to a platform with ongoing microcode support. Proper OPSEC for Memory Use MUST be followed:https://www.anarsec.guide/posts/qubes/#appendix-opsec-for-memory-use | ||
| # Configuration for a X230 running Qubes 4.1 and other Linux Based OSes (through kexec) | ||
| # | ||
| # Includes | ||
| # - Deactivated+neutered ME and expanded consequent IFD BIOS regions | ||
| # - Forged 00:DE:AD:C0:FF:EE MAC address (if not extracting gbe.bin from backup with blobs/xx30/extract.sh) | ||
| # - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set | ||
| # | ||
| # - DOES NOT INCLUDE Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code) | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=24.12 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-x230-maximized.config | ||
| CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config | ||
|
|
||
| #Additional hardware support | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000E=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
|
|
||
| #platform locking finalization (PR0) | ||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
|
|
||
| #Remote attestation support | ||
| #TPM based requirements | ||
| export CONFIG_TPM=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| #CONFIG_HOTPKEY=y | ||
|
|
||
| #Nitrokey Storage admin tool | ||
| CONFIG_NKSTORECLI=n | ||
|
|
||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| #Additional tools: | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOARD_NAME="Thinkpad X230-maximized" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
|
|
||
| #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP | ||
| BOARD_TARGETS := xx30_me_blobs | ||
|
|
||
| # Generate split 4MB top / 8MB bottom ROMs | ||
| BOARD_TARGETS += split_8mb4mb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # Nitrokey Nitropad NS51 board configuration | ||
| # Note: for reference, other GOP enabled FB board is librem_11 | ||
| # | ||
| # Docs: | ||
| # Dissassembly and Recovery: https://docs.dasharo.com/unified/novacustom/recovery/#ns5x7x-12th-gen | ||
|
|
||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=dasharo | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-nitropad-ns50.config | ||
| CONFIG_LINUX_CONFIG=config/linux-novacustom-common.config | ||
|
|
||
| #On-demand hardware support (modules.cpio) | ||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| #Modules packed into tools.cpio | ||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
|
|
||
| #TODO: readd when tested | ||
| #platform locking finalization (PR0) | ||
| #CONFIG_IO386=y | ||
| #export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
|
|
||
|
|
||
| #Remote attestation support | ||
| # TPM2 requirements | ||
| CONFIG_TPM2_TSS=y | ||
| CONFIG_OPENSSL=y | ||
| #Remote Attestation common tools | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| #HOTP based remote attestation for supported USB Security dongle | ||
| #With/Without TPM support | ||
| CONFIG_HOTPKEY=y | ||
| #Nitrokey Storage admin tool (deprecated) | ||
| #CONFIG_NKSTORECLI=n | ||
| #GUI Support | ||
| #Console based Whiptail support(Console based, no FB): | ||
| #CONFIG_SLANG=y | ||
| #CONFIG_NEWT=y | ||
| #FBWhiptail based (Graphical): | ||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
| #Additional tools (tools.cpio): | ||
| #SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E) | ||
| CONFIG_DROPBEAR=y | ||
|
|
||
| #Runtime configuration | ||
| #Automatically boot if HOTP is valid | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| #TPM2 requirements | ||
| export CONFIG_TPM2_TOOLS=y | ||
| export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| #TPM1 requirements | ||
| #export CONFIG_TPM=y | ||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off" | ||
| export CONFIG_BOARD_NAME="Nitropad NS50" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| keymaps 0-2,4-5,8,12 | ||
| # Use volume and power keys on tablet to navigate menus | ||
| keycode 114 = Up | ||
| keycode 115 = Down | ||
| keycode 116 = Return |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # Configuration for librem_11 | ||
| CONFIG_LINUX_CONFIG=config/linux-librem_common-6.1.8.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-librem_11.config | ||
|
|
||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=purism | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_KBD=y | ||
| CONFIG_KBD_LOADKEYS=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
|
|
||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
| CONFIG_LINUX_USB=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| export CONFIG_TPM=n | ||
|
|
||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="" | ||
| export CONFIG_BOARD_NAME="Librem 11" | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
| export CONFIG_USB_KEYBOARD_REQUIRED=y | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| export CONFIG_ROOT_DEV="/dev/nvme0n1p2" | ||
| export CONFIG_ROOT_DIRLIST="bin boot lib sbin usr" | ||
| export CONFIG_ROOT_CHECK_AT_BOOT="n" | ||
|
|
||
| # Librem 11 builds include firmware for integrated AX201 Wi-Fi, Bluetooth, and | ||
| # graphics microcontroller. | ||
| export CONFIG_SUPPORT_BLOB_JAIL=y |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| # Configuration for librem_l1um_v2 | ||
| CONFIG_LINUX_CONFIG=config/linux-librem_common-6.1.8.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-librem_l1um_v2.config | ||
|
|
||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=purism | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
|
|
||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
| CONFIG_LINUX_USB=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| export CONFIG_TPM=y | ||
| export CONFIG_TPM2_TOOLS=y | ||
| CONFIG_TPM2_TSS=y | ||
| CONFIG_OPENSSL=y | ||
| CONFIG_PRIMARY_KEY_TYPE=ecc | ||
|
|
||
| #Enable DEBUG output | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| #Enable TPM2 pcap output under /tmp | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| #Enable quiet mode: technical information logged under /tmp/debug.log | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="plymouth.ignore-serial-consoles" | ||
| export CONFIG_BOOT_RECOVERY_SERIAL="/dev/ttyS0" | ||
| export CONFIG_BOARD_NAME="Librem Server L1UM v2" | ||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal" | ||
| export CONFIG_USB_KEYBOARD_REQUIRED=y | ||
| export CONFIG_ROOT_DEV="/dev/nvme0n1p2" | ||
| export CONFIG_ROOT_DIRLIST="bin boot lib sbin usr" | ||
| export CONFIG_ROOT_CHECK_AT_BOOT="n" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| #!/bin/bash | ||
| set -o pipefail | ||
|
|
||
| . /tmp/config | ||
|
|
||
| # If CONFIG_AUTOMATIC_POWERON is set, always set the EC BRAM setting during | ||
| # boot. It persists as long as the RTC battery is set, but set it during every | ||
| # boot for robustness in case the battery is temporarily removed, or the user | ||
| # toggles in config-gui and then does not flash, etc. | ||
| if [ "$CONFIG_AUTOMATIC_POWERON" = "y" ]; then | ||
| set_ec_poweron.sh y | ||
| fi | ||
|
|
||
| # Don't disable the setting in the EC BRAM though if CONFIG_AUTOMATIC_POWERON | ||
| # is not enabled. The default is disabled anyway, and the OS could configure | ||
| # it. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Set the EC BRAM setting for automatic power-on. | ||
| # If $1 is 'y', enable automatic power-on. Otherwise, disable it. | ||
|
|
||
| # EC BRAM bank 1 | ||
| BRAMADDR=0x360 | ||
| BRAMDATA=0x361 | ||
|
|
||
| if [ "$1" = "y" ]; then | ||
| BRAM_VALUE="0x00" # 0 -> automatic power-on | ||
| else | ||
| BRAM_VALUE="0x01" # 1 -> stay off | ||
| fi | ||
|
|
||
| outb "$BRAMADDR" 0x29 # Select byte at offset 29h | ||
| outb "$BRAMDATA" "$BRAM_VALUE" | ||
| # There's also a 16-bit checksum at offset 3eh in bank 1. The only byte | ||
| # included in the checksum is the automatic power-on setting, so the value is | ||
| # the same, and the upper 8 bits remain 0. | ||
| outb "$BRAMADDR" 0x3e | ||
| outb "$BRAMDATA" "$BRAM_VALUE" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| #!/bin/bash | ||
| set -o pipefail | ||
|
|
||
| . /tmp/config | ||
|
|
||
| # If CONFIG_AUTOMATIC_POWERON is set, always set the EC BRAM setting during | ||
| # boot. It persists as long as the RTC battery is set, but set it during every | ||
| # boot for robustness in case the battery is temporarily removed, or the user | ||
| # toggles in config-gui and then does not flash, etc. | ||
| if [ "$CONFIG_AUTOMATIC_POWERON" = "y" ]; then | ||
| set_ec_poweron.sh y | ||
| fi | ||
|
|
||
| # Don't disable the setting in the EC BRAM though if CONFIG_AUTOMATIC_POWERON | ||
| # is not enabled. The default is disabled anyway, and the OS could configure | ||
| # it. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Set the EC BRAM setting for automatic power-on. | ||
| # If $1 is 'y', enable automatic power-on. Otherwise, disable it. | ||
|
|
||
| # EC BRAM bank 1 | ||
| BRAMADDR=0x360 | ||
| BRAMDATA=0x361 | ||
|
|
||
| if [ "$1" = "y" ]; then | ||
| BRAM_VALUE="0x00" # 0 -> automatic power-on | ||
| else | ||
| BRAM_VALUE="0x01" # 1 -> stay off | ||
| fi | ||
|
|
||
| outb "$BRAMADDR" 0x29 # Select byte at offset 29h | ||
| outb "$BRAMDATA" "$BRAM_VALUE" | ||
| # There's also a 16-bit checksum at offset 3eh in bank 1. The only byte | ||
| # included in the checksum is the automatic power-on setting, so the value is | ||
| # the same, and the upper 8 bits remain 0. | ||
| outb "$BRAMADDR" 0x3e | ||
| outb "$BRAMDATA" "$BRAM_VALUE" |