Commit fcd6dfec authored by Matt Devillier's avatar Matt Devillier
Browse files

Add cfgs, bootsplash for librem_mini



Librem Mini still uses a VBIOS for display init, needs a differently-
sized bootsplash image than other Librems using libgfxinit.

Add an extry for the NVMe drive on the LM to the default bootorder.

Add an 8s SeaBIOS boot menu delay for the LM to give the display enough
time to init, show the boot splash, and for the user to opt to show the menu.

UEFI and HEADS configs are for testing/convenience, not distribution.
Signed-off-by: Matt Devillier's avatarMatt DeVillier <matt.devillier@puri.sm>
Change-Id: I30462cf05b365ee224ca44d5f90ae798f185473a
parent 5d5b0db8
/pci@i0cf8/pci-bridge@1d/*@0
/pci@i0cf8/pci-bridge@1d,4/*@0
/pci@i0cf8/*@17/drive@2/disk@0
/pci@i0cf8/*@1f,2/drive@1/disk@0
/pci@i0cf8/*@1f,2/drive@3/disk@0
......
......@@ -84,3 +84,9 @@ rm -f flashregion* 2>/dev/null
# add default bootorder
cbfstool $filename add -t raw -n bootorder -f bootorder.txt >/dev/null
# add an 8s boot delay for the Librem Mini so splash screen
# actually shown on displays with sluggish init
if [[ ${BOARD^^} == "LIBREM_MINI" ]]; then
cbfstool $filename add-int -i 8000 -n etc/boot-menu-wait >/dev/null
fi
CONFIG_LOCALVERSION="4.12-Purism-2"
CONFIG_VENDOR_PURISM=y
CONFIG_VGA_BIOS=y
CONFIG_VGA_BIOS_FILE="3rdparty/purism-blobs/mainboard/purism/librem_whl/vgabios.bin"
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_whl/flashdescriptor.bin"
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_whl/me.bin"
CONFIG_HAVE_IFD_BIN=y
CONFIG_BOARD_PURISM_LIBREM_MINI=y
CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS=y
CONFIG_CPU_UCODE_BINARIES="3rdparty/purism-blobs/mainboard/purism/librem_whl/cpu_microcode_blob.bin"
CONFIG_HAVE_ME_BIN=y
CONFIG_MAINBOARD_SERIAL_NUMBER="System Serial Number"
CONFIG_LOCALVERSION="4.12-Purism-2-HEADS-test"
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_whl/flashdescriptor.bin"
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_whl/me.bin"
CONFIG_HAVE_IFD_BIN=y
CONFIG_BOARD_PURISM_LIBREM_MINI=y
CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS=y
CONFIG_CPU_UCODE_BINARIES="3rdparty/purism-blobs/mainboard/purism/librem_whl/cpu_microcode_blob.bin"
CONFIG_HAVE_ME_BIN=y
CONFIG_MAINBOARD_SERIAL_NUMBER="System Serial Number"
CONFIG_PAYLOAD_LINUX=y
CONFIG_PAYLOAD_FILE="../heads/build/librem_mini/bzImage"
CONFIG_LINUX_INITRD="../heads/build/librem_mini/initrd.cpio.xz"
CONFIG_LINUX_COMMAND_LINE="intel_iommu=igfx_off quiet loglevel=2"
CONFIG_LOCALVERSION="4.12-Purism-2-UEFI-test"
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_whl/flashdescriptor.bin"
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_whl/me.bin"
CONFIG_HAVE_IFD_BIN=y
CONFIG_BOARD_PURISM_LIBREM_MINI=y
CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS=y
CONFIG_CPU_UCODE_BINARIES="3rdparty/purism-blobs/mainboard/purism/librem_whl/cpu_microcode_blob.bin"
CONFIG_HAVE_ME_BIN=y
CONFIG_MAINBOARD_SERIAL_NUMBER="System Serial Number"
CONFIG_PAYLOAD_TIANOCORE=y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment