forked from linuxboot/heads
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'JonathonHall-Purism/pureboot-27-heads-u…
…pstream' into staging_all
- Loading branch information
Showing
60 changed files
with
2,335 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This directory contains firmware/microcode needed for the Intel AX200 WiFi module, its Bluetooth counterparts, and the Bluetooth component (ar3k) of Ath9k WiFi modules. It is synchronized via the main system firmware (Pureboot) at each boot, and should not be modified. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# 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 | ||
export CONFIG_PURISM_BLOBS=y | ||
|
||
CONFIG_CRYPTSETUP2=y | ||
CONFIG_FLASHROM=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 | ||
|
||
export CONFIG_TPM=y | ||
export CONFIG_TPM2_TOOLS=y | ||
CONFIG_TPM2_TSS=y | ||
CONFIG_OPENSSL=y | ||
CONFIG_PRIMARY_KEY_TYPE=ecc | ||
export CONFIG_TPM_NO_LUKS_DISK_UNLOCK=y | ||
export CONFIG_TOTP_SKIP_QRCODE=y | ||
export CONFIG_OEMRESET_OFFER_DEFAULTS=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_BOOT_RECOVERY_SERIAL="/dev/ttyS0" | ||
export CONFIG_BOOT_DEV="/dev/nvme0n1p1" | ||
export CONFIG_BOARD_NAME="Librem Server L1UM v2" | ||
export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
export CONFIG_FLASHROM_OPTIONS="-p internal" | ||
export CONFIG_USB_KEYBOARD=y | ||
export CONFIG_ROOT_DEV="/dev/nvme0n1p2" | ||
export CONFIG_ROOT_DIRLIST="bin boot lib sbin usr" | ||
export CONFIG_ROOT_CHECK_AT_BOOT="n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/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 | ||
|
||
outb "$BRAMADDR" 0x29 # Select byte at offset 29h | ||
if [ "$1" = "y" ]; then | ||
outb "$BRAMDATA" 0x00 # 0 -> automatic power-on | ||
else | ||
outb "$BRAMDATA" 0x01 # 1 -> stay off | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/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 | ||
|
||
outb "$BRAMADDR" 0x29 # Select byte at offset 29h | ||
if [ "$1" = "y" ]; then | ||
outb "$BRAMDATA" 0x00 # 0 -> automatic power-on | ||
else | ||
outb "$BRAMDATA" 0x01 # 1 -> stay off | ||
fi | ||
|
Oops, something went wrong.