mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-10 14:34:13 +00:00
kexec(8) needs to get the framebuffer address in order to set up the new kernel's boot parameters. This is one of the reasons that using a >4.20 kernel in Heads prevents framebuffer graphics from working in the OS kernel. Linux 4.20 started hiding this address from userspace, because userspace is not supposed to need physical memory addresses. A workaround was added to keep leaking the address, apparently for some proprietary userspace OpenGL drivers. This requires both a Kconfig and a kernel parameter. This commit enables the Kconfig on the librem_common config, and the kernel parameter on the librem_15v4 (where I'm testing this). We will need to enable it on other >4.20 configs/boards as well. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
14 lines
674 B
Makefile
14 lines
674 B
Makefile
CONFIG_VENDOR_PURISM=y
|
|
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_TPM_MEASURED_BOOT=y
|
|
CONFIG_PAYLOAD_LINUX=y
|
|
CONFIG_PAYLOAD_FILE="@BOARD_BUILD_DIR@/bzImage"
|
|
CONFIG_LINUX_COMMAND_LINE="iommu=pt quiet loglevel=2 video=eDP-1:1920x1080 drm_kms_helper.drm_leak_fbdev_smem=1"
|
|
CONFIG_LINUX_INITRD="@BOARD_BUILD_DIR@/initrd.cpio.xz"
|