Comments (7)
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.
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.
@gus33000 So WinPE is likely possible, then what about booting windows using wimboot / booting from vhd?
from lumia950xlpkg.
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.
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.
@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.
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)
- Can't bootstrap win10 build 17763 on RM-1116 HOT 2
- RPM MQ inconsistent
- ACPi regression HOT 1
- Write-protect critical eMMC regions HOT 2
- Prepare for RELEASE build config
- Incorrect SMBIOS socket count HOT 2
- Move everything back to master branch
- Can't boot into Windows (INACCESSIBLE_BOOT_DEVICE) HOT 1
- Configure UC120 on non-Hapanero devices HOT 2
- MSM8996 support? HOT 1
- HDMI HDMI HDMI HOT 3
- Processor Topology ACPI table (PPTT) HOT 1
- SDHCI driver blocks periodic timer
- Quick Rundown HOT 3
- Fix the broken PSCI handler HOT 1
- Unblock Mn+ Windows boot HOT 3
- Use memory module information from QCOM SRAM area
- Missing file
- build with azure devops error
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 lumia950xlpkg.