-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OC: NVRAM emulation, EFI_GLOBAL_VARIABLE_GUID
, and Default Boot Entry with Startup Disk
#580
Comments
EFI_GLOBAL_VARIABLE_GUID
in OpenCore/FwRuntimeServicesEFI_GLOBAL_VARIABLE_GUID
, and Default Boot Entry with Startup Disk
I think the issue is that
To resolute this FwRuntimeServices will need setting/getting NVRAM variables to/from some memory structure. Feel free to contribute. |
@vit9696 Thanks for your reply! I'd really want to contribute but unfortunately, I have very limited knowledge in C and no experience in EDK2 at all. The only related code I could understand is the LogoutHook script. I apologize that I can't handle this. |
Any progress on this? Because it is, at least for me and my system, a major failing. I cannot reliably set the boot order with OpenCore. I also am not a programmer, but I would offer my Asus Sage system up for testing and experimentation, if that's of any value. |
read here for NVRAM |
Errorexists: Please don't assume I haven't read those references. I want OC to respect and USE the proper boot order on my system (an X299 Asus Sage), and these changes don't work! The may work for a Z390 system, but that is NOT my system! |
hold your horses their you did not "specify" that it was a x299 system now did you |
Specifying the Chipset would be helpful :) |
The original post I responded to was about boot order, which is still
broken on an X299 C621 system running OC. It does NOT work, even with
all of the SSDTs that have been put out. I tried them. I don't care if
my system can print "myvar test", when the boot order is not respected.
And really if OC can't do this, well, I really don't care if it's done
via nvram or an external menu system, as long as it respects the boot
order I want it to respect.
OC, in my view, is still broken.
InsanelyHack wrote on 1/26/20 1:30 PM:
…
Specifying the Chipset would be helpful :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#580?email_source=notifications&email_token=AELIXD4MABZE5WT3BXQYCLTQ7X6G7A5CNFSM4JOI7LC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ56NMA#issuecomment-578545328>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AELIXD6CETEFXIN5HQMXSCLQ7X6G7ANCNFSM4JOI7LCQ>.
|
well you need NVRAM to bless the drive an that is accomplished from selecting the boot drive from the startup in the system pref |
Okay, I'll try one more time. Here's the original request: "......OpenCore/FwRuntimeServices for devices that don't have working hardware NVRAM in macOS to make boot entry setting fully functional...." And also: the originator of this request, williambj1, posted that he would offer three different motherboards for testing, and one of them was: C621, which is an X299 motherboard. So the purpose of this feature request was to deal with the C621 (on mostly Asus boards) NVRAM and OC's failure to respect boot order. That was the purpose of the request. Well, maybe they now have NVRAM, but it doesn't matter. On an X299 C621 system, nvram or not, the "...make boot entry setting fully functional...." does NOT work. I've set the boot order any number of times (like over a hundred - and yes that means rebooting that many times), and it doesn't work. |
NVRAM is not supported for the x299 an x99 as read here |
I've also read that. I'm looking for work-arounds. This is pointless. |
Stay hungry, stay foolish. |
We do not plan to work on this issue, but we can consider contributed patches. |
Feature Request
Add support for NVRAM write fix (or emulation) for
EFI_GLOBAL_VARIABLE_GUID
in OpenCore/FwRuntimeServices for devices that don't have working hardware NVRAM in macOS to make boot entry setting fully functional.Background
After discussing in a Chinese chat group community for nearly 1 month, we figured out how this is related to NVRAM emulation and the setting of OpenCore's default boot option.
We experimented 3 different motherboards (Z390, C621 & HM370) and got the same results
Test 1: (Booted without VariableRuntimeDxe)
Set Startup disk to
Macintosh HD
In Terminal:
Entry
8BE4DF61-93CA-11D2-AA0D-00E098032B8C
is not present in nvram.plist dumped by LogoutHookRestart and OpenCore's default boot option is still
BootCamp Windows
Test 2: (Booted with VariableRuntimeDxe)
Set Startup disk to
Macintosh HD
In Terminal:
Entry
8BE4DF61-93CA-11D2-AA0D-00E098032B8C
this time is present in nvram.plist dumped by LogoutHookRestart and OpenCore's default boot option is still
BootCamp Windows
Macintosh HD
Conclusion
APPLE_NVRAM_VARIABLE_GUID
but fails to write intoEFI_GLOBAL_VARIABLE_GUID
EFI_GLOBAL_VARIABLE_GUID
(Boot0080, BootOrder, etc.), an Emulated NVRAM layer must be usedQuestions
Related issues comments:
#459 (comment)
#495 (comment)
#575 (comment)
Thanks for your patience for reading these words, we highly admire your hard work and respect your time. If this is non-sense, feel free to close this.
Edit[1]: Change links, add more details
Edit[2]: Terminal Copy-Paste error
Edit[3]: Clearity
The text was updated successfully, but these errors were encountered: