mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 23:26:44 +00:00
fab9124f00
Update all Librems except L1UM (but including L1UM v2) to Linux 6.1.8. Use coreboot native graphics init. Raise maximum framebuffer size for laptops to 3840x2160 (desktops default to this, but laptops default to a lower value). Remove DRM modules from Linux 6.1.8 and add EFIFB. Remove Heads kernel command line options relating to IOMMU and i915, which are no longer needed. Remove OS kernel options relating to IOMMU. For Librem 13/15/14/Mini, this fixes issues booting with 4K displays attached, which were resulting in crashes due to the framebuffer memory not being reserved properly. memtest86+ now passes with a 4K display attached. For Librem L1UM v2, framebuffer boot now works. Librem L1UM remains on Linux 5.10 with Heads kernel graphic init (framebuffer boot still does not work). coreboot 4.11 has native graphics init for Aspeed, but only in text mode. Backporting the linear framebuffer support appears to be possible - the patch applied cleanly - but it did not work initially and will need more investigation. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# Configuration for a librem mini
|
|
CONFIG_LINUX_CONFIG=config/linux-librem_common-6.1.8.config
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-librem_mini.config
|
|
|
|
export CONFIG_COREBOOT=y
|
|
export CONFIG_COREBOOT_VERSION=purism
|
|
export CONFIG_LINUX_VERSION=6.1.8
|
|
|
|
CONFIG_CRYPTSETUP2=y
|
|
CONFIG_FLASHROM=y
|
|
CONFIG_FLASHTOOLS=y
|
|
CONFIG_GPG2=y
|
|
CONFIG_IOPORT=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_CAIRO=y
|
|
CONFIG_FBWHIPTAIL=y
|
|
CONFIG_HOTPKEY=y
|
|
|
|
CONFIG_LINUX_USB=y
|
|
|
|
export CONFIG_TPM=n
|
|
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=""
|
|
export CONFIG_BOOT_KERNEL_REMOVE=""
|
|
export CONFIG_BOOT_DEV="/dev/nvme0n1p1"
|
|
export CONFIG_BOARD_NAME="Librem Mini"
|
|
export CONFIG_FLASHROM_OPTIONS="-p internal"
|
|
export CONFIG_USB_KEYBOARD=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"
|
|
export CONFIG_SUPPORT_AUTOMATIC_POWERON=y
|