mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
x230: use fbwhiptail and gui-init instead of generic-init
This changes Heads' bootscript for the x230 to gui-init and adds config options needed for it. The config is very similar to the librem13v2 config. My comparison of startup-time from a power-button press shows 2.5 seconds more with these changes applied. That said, the experience is smooth, the GUI is beautiful and easier to use than the shell and text menu, especially during setup. That's what we buy with startup time here.
This commit is contained in:
parent
7b68b1ea9d
commit
ae40892205
@ -17,17 +17,23 @@ CONFIG_QRENCODE=y
|
|||||||
CONFIG_TPMTOTP=y
|
CONFIG_TPMTOTP=y
|
||||||
CONFIG_DROPBEAR=y
|
CONFIG_DROPBEAR=y
|
||||||
|
|
||||||
|
CONFIG_CAIRO=y
|
||||||
|
CONFIG_FBWHIPTAIL=y
|
||||||
|
|
||||||
CONFIG_LINUX_USB=y
|
CONFIG_LINUX_USB=y
|
||||||
CONFIG_LINUX_E1000E=y
|
CONFIG_LINUX_E1000E=y
|
||||||
|
|
||||||
export CONFIG_TPM=y
|
export CONFIG_TPM=y
|
||||||
export CONFIG_BOOTSCRIPT=/bin/generic-init
|
export CONFIG_BOOTSCRIPT=/bin/gui-init
|
||||||
export CONFIG_BOOT_REQ_HASH=n
|
export CONFIG_BOOT_REQ_HASH=n
|
||||||
export CONFIG_BOOT_REQ_ROLLBACK=n
|
export CONFIG_BOOT_REQ_ROLLBACK=n
|
||||||
export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on"
|
export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on intel_iommu=igfx_off"
|
||||||
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
||||||
export CONFIG_BOOT_DEV="/dev/sda1"
|
export CONFIG_BOOT_DEV="/dev/sda1"
|
||||||
|
export CONFIG_BOOT_GUI_MENU_NAME="Thinkpad X230 Heads Boot Menu"
|
||||||
export CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
export CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
||||||
|
export CONFIG_WARNING_BG_COLOR="--background-gradient 0 0 0 150 125 0"
|
||||||
|
export CONFIG_ERROR_BG_COLOR="--background-gradient 0 0 0 150 0 0"
|
||||||
|
|
||||||
# This board has two SPI flash chips, an 8 MB that holds the IFD,
|
# This board has two SPI flash chips, an 8 MB that holds the IFD,
|
||||||
# the ME image and part of the coreboot image, and a 4 MB one that
|
# the ME image and part of the coreboot image, and a 4 MB one that
|
||||||
|
@ -11,11 +11,14 @@ CONFIG_DRIVERS_UART_8250IO=y
|
|||||||
CONFIG_BOARD_LENOVO_X230=y
|
CONFIG_BOARD_LENOVO_X230=y
|
||||||
CONFIG_DRIVERS_PS2_KEYBOARD=y
|
CONFIG_DRIVERS_PS2_KEYBOARD=y
|
||||||
CONFIG_UART_PCI_ADDR=0
|
CONFIG_UART_PCI_ADDR=0
|
||||||
|
CONFIG_NO_GFX_INIT=y
|
||||||
# CONFIG_CONSOLE_SERIAL is not set
|
# CONFIG_CONSOLE_SERIAL is not set
|
||||||
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x80000
|
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x80000
|
||||||
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_5=y
|
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_5=y
|
||||||
CONFIG_PAYLOAD_LINUX=y
|
CONFIG_PAYLOAD_LINUX=y
|
||||||
CONFIG_PAYLOAD_FILE="../../build/x230/bzImage"
|
CONFIG_PAYLOAD_FILE="../../build/x230/bzImage"
|
||||||
CONFIG_LINUX_COMMAND_LINE="quiet"
|
CONFIG_PAYLOAD_OPTIONS=""
|
||||||
|
# CONFIG_PXE is not set
|
||||||
|
CONFIG_LINUX_COMMAND_LINE="intel_iommu=igfx_off quiet"
|
||||||
CONFIG_LINUX_INITRD="../../build/x230/initrd.cpio.xz"
|
CONFIG_LINUX_INITRD="../../build/x230/initrd.cpio.xz"
|
||||||
CONFIG_DEBUG_SMM_RELOCATION=y
|
CONFIG_DEBUG_SMM_RELOCATION=y
|
||||||
|
@ -181,6 +181,7 @@ CONFIG_PTP_1588_CLOCK=y
|
|||||||
# CONFIG_X86_PKG_TEMP_THERMAL is not set
|
# CONFIG_X86_PKG_TEMP_THERMAL is not set
|
||||||
CONFIG_MFD_SYSCON=y
|
CONFIG_MFD_SYSCON=y
|
||||||
CONFIG_DRM=y
|
CONFIG_DRM=y
|
||||||
|
CONFIG_DRM_I915=y
|
||||||
CONFIG_FB_VESA=y
|
CONFIG_FB_VESA=y
|
||||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||||
# CONFIG_LCD_CLASS_DEVICE is not set
|
# CONFIG_LCD_CLASS_DEVICE is not set
|
||||||
|
Loading…
Reference in New Issue
Block a user