From a6c57af1fb30002c75a0e1f39b52ec2546608324 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Thu, 30 Jun 2022 21:58:54 +0200 Subject: Fix du bug écran noir (EFI + text console = pas toujours ok) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- make-boot-image.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/make-boot-image.sh b/make-boot-image.sh index eeda4f3..e7464cf 100755 --- a/make-boot-image.sh +++ b/make-boot-image.sh @@ -1,6 +1,6 @@ #!/bin/bash -xe PS4='+ ($LINENO) ' # To ease debugging -VERSION="1.3-emac-rc0" +VERSION="1.3-emac-rc1" # Config # ########## @@ -244,7 +244,7 @@ while more_work and i < passes: if sym.name == 'UEVENT_HELPER_PATH': more_work = sset(sym, '/sbin/hotplug') or more_work - # Make kernel directly loadable by EFI, add USB3, Dell flash + # Make kernel directly loadable by EFI, add USB3 if sym.name in ['EFI_STUB', 'EARLY_PRINTK_EFI']: more_work = sset(sym) or more_work if sym.name in ['EFI_VARS', 'USB_XHCI_HCD']: @@ -256,6 +256,10 @@ while more_work and i < passes: if sym.name in ['BLK_DEV_NVME', 'SCSI_LOWLEVEL', 'MEGARAID_NEWGEN']: more_work = sset(sym) or more_work + # Support for framebuffer because EFI+ text mode don't always display something + if sym.name in ['FB', 'FB_VESA', 'FRAMEBUFFER_CONSOLE', 'FRAMEBUFFER_CONSOLE_DETECT_PRIMARY']: + more_work = sset(sym) or more_work + # If --debug passed as arg, make kernel aware of virtual drivers (used for testing eficast on qemu/kvm) if debug and sym.name in ['VIRTIO_PCI', 'VIRTIO_MMIO', 'VIRTIO_NET', 'VIRTIO_BLK', 'SCSI_LOWLEVEL', 'SCSI_VIRTIO']: more_work = sset(sym) or more_work -- cgit v1.2.3