Skip to content

Instantly share code, notes, and snippets.

View halal-beef's full-sized avatar

Umer Uddin halal-beef

View GitHub Profile
@bluecmd
bluecmd / convert.sh
Last active April 5, 2023 20:05
Converting boot logo to EDK2 BMP format
# Convert a 24-bit BMP to EDK2 style BMP
# Something like 400x400 is probably the largest realistic image to use
# 300x300 looks pretty neat.
convert ~/KamelLogo.bmp -compress None -type Palette BMP3:./edk2/MdeModulePkg/Logo/Logo.bmp
commit 3f5e3bdbb45bc2cd9ae95972420eb11b0340f120
Author: Matthew Garrett <[email protected]>
Date: Mon Feb 1 13:31:00 2016 +1100
Block most UEFI variable deletions
Some systems appear to become upset if certain UEFI non-volatile variables
are delted, to the point of no longer POSTing successfully. For a short-term
fix, let's just block deletion of most variables while we figure out a
better approach.