Git Product home page Git Product logo

Comments (4)

Roverx64 avatar Roverx64 commented on August 26, 2024

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.

Roverx64 avatar Roverx64 commented on August 26, 2024

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.

Roverx64 avatar Roverx64 commented on August 26, 2024

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.

Roverx64 avatar Roverx64 commented on August 26, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.