Git Product home page Git Product logo

Comments (7)

gus33000 avatar gus33000 commented on May 2, 2024 1

It may be possible to add boot from sd card support. But be aware you won't be able to chainload NT directly from a SD card without writing code to fake it as an emmc in the UEFI. SD card controller only shows up when certain drivers are installed in Windows on Qualcomm devices. Windows needs disk access to access drivers. If you don't boot windows from a ramdisk and don't add fake emmc emulation, chances are you'll get a 0x7B bugcheck.

from lumia950xlpkg.

imbushuo avatar imbushuo commented on May 2, 2024 1

MicroSD is populated in UEFI and should be usable. The UI for boot device selection (which will be tracked in a separate issue) has not yet been implemented.

from lumia950xlpkg.

fxsheep avatar fxsheep commented on May 2, 2024

@gus33000 So WinPE is likely possible, then what about booting windows using wimboot / booting from vhd?

from lumia950xlpkg.

gus33000 avatar gus33000 commented on May 2, 2024

wimboot is the name for a technology working with file diffing against a main install.wim located in the recovery partition. It requires disk access.

VHD boot requires disk access as well.

from lumia950xlpkg.

b-man avatar b-man commented on May 2, 2024

From what I understand, a few things would need to change on the UEFI side:

  • Implement a runtime DXE to support the SD controller that works with the BDS phase
    and talks EFI_BLOCK_IO_PROTOCOL for the window boot manager.
  • Update ACPI code to expose this controller at boot time (if it isn't already?)

My system-level knowledge of Windows is limited, but given that the windows boot manager and windows os loader both use the EFI Block IO protocol while chain loading, wouldn't we only need to modify the SD controller driver in windows to present itself as a SERVICE_BOOT_START driver?

from lumia950xlpkg.

fxsheep avatar fxsheep commented on May 2, 2024

@b-man there's a quick way to verify the last one, just boot Windows RT (coz it's 32bit and can be loaded by wp uefi) on sdcard with sd controller related drivers set to load on boot.

from lumia950xlpkg.

imbushuo avatar imbushuo commented on May 2, 2024

Linux is more likely utilizing SD card boot.

@b-man Stock Qualcomm UEFI does expose SD card with the protocol, but it will bugcheck later when ExitBootServices is called - SDBus.sys does not support booting from it (at least right now). BTW, it refused to boot from eMMC HS400 too (I configure eMMC to HS200 here). I have not expose it in this implementation yet.

The controller has a dependency to TLMM GPIO (to indicate SD card presence). It may be possible to remove the detection and report it as always present (the patch for DB410c booting from LK did so). I have not tried it yet.

from lumia950xlpkg.

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.