-
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librem_* (except L1UM): Linux 6.1, coreboot gfx init with efifb
Update all Librems except L1UM (but including L1UM v2) to Linux 6.1.8. The Purism coreboot fork is updated, the patch to enable Linux efifb boot was cherry-picked onto the 4.20.1-Purism-1 release. 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 <[email protected]>
- Loading branch information
1 parent
8272d33
commit 6d382e3
Showing
18 changed files
with
57 additions
and
54 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
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
CONFIG_VENDOR_PURISM=y | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT=2160 | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH=3840 | ||
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_skl/descriptor.bin" | ||
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_skl/me.bin" | ||
CONFIG_HAVE_IFD_BIN=y | ||
CONFIG_BOARD_PURISM_LIBREM13_V2=y | ||
CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS=y | ||
CONFIG_CPU_UCODE_BINARIES="3rdparty/purism-blobs/mainboard/purism/librem_skl/cpu_microcode_blob.bin" | ||
CONFIG_HAVE_ME_BIN=y | ||
CONFIG_NO_GFX_INIT=y | ||
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y | ||
CONFIG_TPM_MEASURED_BOOT=y | ||
CONFIG_PAYLOAD_LINUX=y | ||
CONFIG_PAYLOAD_FILE="@BOARD_BUILD_DIR@/bzImage" | ||
CONFIG_LINUX_COMMAND_LINE="iommu=pt quiet loglevel=2 drm_kms_helper.drm_leak_fbdev_smem=1 i915.enable_fbc=0" | ||
CONFIG_LINUX_COMMAND_LINE="quiet loglevel=2" | ||
CONFIG_LINUX_INITRD="@BOARD_BUILD_DIR@/initrd.cpio.xz" |
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
CONFIG_VENDOR_PURISM=y | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT=2160 | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH=3840 | ||
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_kbl/descriptor.bin" | ||
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_kbl/me.bin" | ||
CONFIG_HAVE_IFD_BIN=y | ||
CONFIG_BOARD_PURISM_LIBREM13_V4=y | ||
CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS=y | ||
CONFIG_CPU_UCODE_BINARIES="3rdparty/purism-blobs/mainboard/purism/librem_kbl/cpu_microcode_blob.bin" | ||
CONFIG_HAVE_ME_BIN=y | ||
CONFIG_NO_GFX_INIT=y | ||
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y | ||
CONFIG_TPM_MEASURED_BOOT=y | ||
CONFIG_PAYLOAD_LINUX=y | ||
CONFIG_PAYLOAD_FILE="@BOARD_BUILD_DIR@/bzImage" | ||
CONFIG_LINUX_COMMAND_LINE="iommu=pt quiet loglevel=2 drm_kms_helper.drm_leak_fbdev_smem=1 i915.enable_fbc=0" | ||
CONFIG_LINUX_COMMAND_LINE="quiet loglevel=2" | ||
CONFIG_LINUX_INITRD="@BOARD_BUILD_DIR@/initrd.cpio.xz" |
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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
CONFIG_VENDOR_PURISM=y | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT=2160 | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH=3840 | ||
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/librem_14/flashdescriptor.bin" | ||
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/librem_14/me.bin" | ||
CONFIG_HAVE_IFD_BIN=y | ||
CONFIG_BOARD_PURISM_LIBREM_14=y | ||
CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS=y | ||
CONFIG_CPU_UCODE_BINARIES="3rdparty/purism-blobs/mainboard/purism/librem_cnl/cpu_microcode_blob.bin" | ||
CONFIG_HAVE_ME_BIN=y | ||
CONFIG_NO_GFX_INIT=y | ||
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y | ||
CONFIG_TPM_MEASURED_BOOT=y | ||
CONFIG_PAYLOAD_LINUX=y | ||
CONFIG_PAYLOAD_FILE="@BOARD_BUILD_DIR@/bzImage" | ||
CONFIG_LINUX_INITRD="@BOARD_BUILD_DIR@/initrd.cpio.xz" | ||
CONFIG_LINUX_COMMAND_LINE="intel_iommu=igfx_off quiet loglevel=2 drm_kms_helper.drm_leak_fbdev_smem=1 i915.enable_fbc=0" | ||
CONFIG_LINUX_COMMAND_LINE="quiet loglevel=2" | ||
CONFIG_CBFS_SIZE=0xC00000 |
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
CONFIG_VENDOR_PURISM=y | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT=2160 | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH=3840 | ||
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_skl/descriptor.bin" | ||
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_skl/me.bin" | ||
CONFIG_HAVE_IFD_BIN=y | ||
CONFIG_BOARD_PURISM_LIBREM15_V3=y | ||
CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS=y | ||
CONFIG_CPU_UCODE_BINARIES="3rdparty/purism-blobs/mainboard/purism/librem_skl/cpu_microcode_blob.bin" | ||
CONFIG_HAVE_ME_BIN=y | ||
CONFIG_NO_GFX_INIT=y | ||
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y | ||
CONFIG_TPM_MEASURED_BOOT=y | ||
CONFIG_PAYLOAD_LINUX=y | ||
CONFIG_PAYLOAD_FILE="@BOARD_BUILD_DIR@/bzImage" | ||
CONFIG_LINUX_COMMAND_LINE="iommu=pt quiet loglevel=2 drm_kms_helper.drm_leak_fbdev_smem=1 i915.enable_fbc=0" | ||
CONFIG_LINUX_COMMAND_LINE="quiet loglevel=2" | ||
CONFIG_LINUX_INITRD="@BOARD_BUILD_DIR@/initrd.cpio.xz" |
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
CONFIG_VENDOR_PURISM=y | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT=2160 | ||
CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH=3840 | ||
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_kbl/descriptor.bin" | ||
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_kbl/me.bin" | ||
CONFIG_HAVE_IFD_BIN=y | ||
CONFIG_BOARD_PURISM_LIBREM15_V4=y | ||
CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS=y | ||
CONFIG_CPU_UCODE_BINARIES="3rdparty/purism-blobs/mainboard/purism/librem_kbl/cpu_microcode_blob.bin" | ||
CONFIG_HAVE_ME_BIN=y | ||
CONFIG_NO_GFX_INIT=y | ||
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y | ||
CONFIG_TPM_MEASURED_BOOT=y | ||
CONFIG_PAYLOAD_LINUX=y | ||
CONFIG_PAYLOAD_FILE="@BOARD_BUILD_DIR@/bzImage" | ||
CONFIG_LINUX_COMMAND_LINE="iommu=pt quiet loglevel=2 drm_kms_helper.drm_leak_fbdev_smem=1 i915.enable_fbc=0" | ||
CONFIG_LINUX_COMMAND_LINE="quiet loglevel=2" | ||
CONFIG_LINUX_INITRD="@BOARD_BUILD_DIR@/initrd.cpio.xz" |
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