BootManagerPolicyDxe.c


hooutoo

New member
Local time
10:41 PM
Posts
7
OS
Windows 11 Pro
This file is for uefi for RK3588 chip on a sbc, Orange Pi 5 Plus, running Win 11 on arm. The problem I'm having is that when booting Win11 arm on this sbc the uefi is loosing it's way at startup an I'm getting a "Windows boot device cannot be found" The uefi, GitHub - edk2-porting/edk2-rk3588 at refs/tags/v0.11.2 , is somehow "forgetting the partitions" on my nvme. Another poster found the problem but never did a "pr" for his fix nor is there a corrected file "bootmanagerpolicydxe.c". Here is his post.

"The UEFI has somehow having problems detecting the partitions on the NVMe. Only if the NVMe DXE gets probed a second time it will be correctly detected. I've put in a EfiBootManagerConnectAll (); in the BsdDxe right before the processing of the boot options starts. Probably a dity fix but works for me."

I've attached the boot manager policy file with "txt" on the end of the file name. It can be modified using ++notepad. My problem is 2 fold. I don't know exactly where in the file to add the "EfiBootManagerConnectAll ();" statement and then how or where to incorporate it into the uefi.

Obviously, this is not a problem for beginner's.

This problem is preventing me from using my m2 slot on my sbc. Any help would be greatly appreciated.
 

Attachments

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Orange Pi
    CPU
    Rockchip
    Memory
    8gb

Latest Support Threads

Back
Top Bottom