Giter Club home page Giter Club logo

Comments (2)

marcan avatar marcan commented on July 30, 2024

I already replied elsewhere, but for the record: this is difficult, because m1n1 is deeply tied to Apple-specific CPU and hardware features by design (its job is to deal with all that). Even if you stripped out all the CPU stuff, there's still Apple's bespoke NVMe controller to deal with, and qemu doesn't emulate any of that.

That said, debugging is already easy: just run m1n1 inside the m1n1 hypervisor. You even get a virtual UART and a gdb stub to play around with :)

For the Rust secureboot stuff specifically, I think it would make more sense to have testing mocks/a stub to run that part of the code in userspace. That code doesn't really have any hardware dependencies, and it would be much easier to make it run standalone than the entirety of m1n1. The filesystem block backend can be replaced with something that just reads/writes a disk image file with ease.

from m1n1.

dsseng avatar dsseng commented on July 30, 2024

Thank you for elaboration. I'm closing this now, secure boot discussion should be moved over to #195 . We should consider a first generation of secure boot without SEP support, even though it's vulnerable in case somebody examines the NAND storage for leftover key encrypted with an old passphrase.

from m1n1.

Related Issues (20)

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.