summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2022-06-30 21:58:54 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2022-06-30 21:58:54 +0200
commita6c57af1fb30002c75a0e1f39b52ec2546608324 (patch)
tree998bf41888c34ef4fb74abfe67f09d18fa0bd8e5
parent7ae74d3cc2d9e058ce9ea5f5be5b39e5b81e7f28 (diff)
downloadeficast-a6c57af1fb30002c75a0e1f39b52ec2546608324.tar.gz
eficast-a6c57af1fb30002c75a0e1f39b52ec2546608324.tar.bz2
eficast-a6c57af1fb30002c75a0e1f39b52ec2546608324.zip
Fix du bug écran noir (EFI + text console = pas toujours ok)
-rwxr-xr-xmake-boot-image.sh8
1 files 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