Comments (4)
Cause may be related to OVMF/Qemu as using older gnu-efi code results in the same issue.
Running on MSI UEFI works correctly with master branch code and unreleased code.
Also tested with barebones UEFI code that does nothing but Print(L"test\n");
after InitilizeLib(...);
Edit: Black screen still occurs using new .efi files on real hardware. Cause is still undetermined
from roveros.
objdump of old and new EFI binaries shows no obvious issues or changes in the code or headers except 'endbr64' is absent. GDB does not appear to work with debugging EFI binaries as inline assembly functions used for debugging still execute despite GDB showing the memory being 0'd out. Using a cross compiler or gcc does not change the output. I will test changing gnu-efi make options.
from roveros.
The issue is caused by compiling the gnuefi code from source. Pasting in older binaries fixes the issue. The makefile will be updated and pre-compiled binaries will be added to the repo. My source code/makefile were not the cause of the issue.
from roveros.
To elaborate further, the elf_x86_64_efi.lds file was causing issues and #UD errors. A working version will be provided in an update that will be pushed tomorrow.
from roveros.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roveros.