Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
You should read the first post of the OpenCore thread, link below, and ask your OC related questions there.


BootCamp installs are not not compatible with OpenCore, so, you have to chain load rEFInd+/MyBootMGR to load it. This is the thread about it:

 

reatis

macrumors newbie
Jun 5, 2019
9
0
Athens,Greece
Hi there!
I have a Mac Pro 5.1 mid 2010,2x3.46GHz,128 Gb ram and Radeon Rx 580 GPU.I'm still on Mojave,since I am a musician and some stuff I've got isn't yet compatible with Monterey.Eventually I will go OpenCore down the road, so the very first thing I wanted to check is BootRom health(even if I stay on Mojave for a longer period, since from my readings here I understood that BootRom is the weak spot of 5.1)
So I used my rescue ssd I have for Mojave(I used it for the very first time) and the result was this:
Free space before update.png
No need to say I was panicked! In the meantime, i saw there was the last Mojave update I had not done in my rescue SSD,so I did it and try to dump the BootRom again.This time, the result was this:
Free space after update.png
Again the result was weird, for a very very mistreated secondhand 2x3.46 machine.So, I performed the deep five time NVRAM reset, and this time things appeared to be normal:
Free space after NVRAM reset.png
Now,do all these results look normal to you?Is it due to the fact that my Mojave SSD was used for the first time? I read somewhere here what Tsialex wrote that free space isn't the only factor we should trust.So, @tsialex,would you be so kind to PM me for a cleaning service?Even if finally the last result is reliable,I would like to have a clean BootRom to flash every 3 or 4 months, just in case!
thank you for your patience
with kind regards,
Michalis
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Hi there!
I have a Mac Pro 5.1 mid 2010,2x3.46GHz,128 Gb ram and Radeon Rx 580 GPU.I'm still on Mojave,since I am a musician and some stuff I've got isn't yet compatible with Monterey.Eventually I will go OpenCore down the road, so the very first thing I wanted to check is BootRom health(even if I stay on Mojave for a longer period, since from my readings here I understood that BootRom is the weak spot of 5.1)
So I used my rescue ssd I have for Mojave(I used it for the very first time) and the result was this: View attachment 2032278 No need to say I was panicked! In the meantime, i saw there was the last Mojave update I had not done in my rescue SSD,so I did it and try to dump the BootRom again.This time, the result was this: View attachment 2032279 Again the result was weird, for a very very mistreated secondhand 2x3.46 machine.So, I performed the deep five time NVRAM reset, and this time things appeared to be normal: View attachment 2032281 Now,do all these results look normal to you?Is it due to the fact that my Mojave SSD was used for the first time? I read somewhere here what Tsialex wrote that free space isn't the only factor we should trust.So, @tsialex,would you be so kind to PM me for a cleaning service?Even if finally the last result is reliable,I would like to have a clean BootRom to flash every 3 or 4 months, just in case!
thank you for your patience
with kind regards,
Michalis

Forced garbage collection runs when the EFI firmware, at POST, detects that the NVRAM main VSS store is below 2048 bytes available. This threshold worked fine for the majority of people* until the staging of Software Updates for recent macOS releases that have sealed containers, BigSur->, started to brick MacPro5,1s right and left.

People with Samsung 8x16GB DIMMs have around 34~35KB available, while some Hynix 8x16GB that have a variant of Intel XMP is commonly in the low 20KBs, you can't get much better than that with these.

Besides NVRAM VSS store issues, you can have other things going wrong like the hardware descriptor being outdated making your X5690s to run 10ºC hotter and the factory instaled BootBlock riddled with bugs - just to talk about two common issues that I find everyday. I'll send you a PM.

*Failed GC bricking MacPros with SoftwareUpdates happened in the past also, like the several threads with variants of "HighSierra Security Update bricked my MacPro".
 
Last edited:

reatis

macrumors newbie
Jun 5, 2019
9
0
Athens,Greece
Forced garbage collection runs when at POST the EFI firmware detects that the NVRAM main VSS store is below 2048 bytes available. This threshold worked fine for the majority of people* until Software Updates staging of macOS releases that have sealed containers, BigSur->, started to brick MacPro5,1s right and left.

People with Samsung 8x16GB DIMMs have around 34~35KB available, while some Hynix 8x16GB that have a variant of Intel XMP is commonly in the low 20KBs, you can't get much better than that with these.

Besides NVRAM VSS store issues, you can have other things going wrong like the hardware descriptor being outdated making your X5690s to run 10ºC hotter and the factory BootBlock riddled with bugs - just to talk about two common issues that I find everyday. I'll send you a PM.

*Failed GC bricking MacPros with SoftwareUpdates happened in the past also, like the several threads with variants of "HighSierra Security Update bricked my MacPro".
Thank you for your fast reply! No, I don't use OpenCore or dosdude patch, just vanilla Mojave,and the BootRom was never bricked.As for the rest, please allow me to gather all the needed information you asked(to digest it also a bit!) and hopefully I 'll send it to you tomorrow or the day after tomorrow. Thanks a lot again.
 

crowtrobot3000

macrumors newbie
Jul 22, 2022
4
2
Hi @tsialex, I came across this thread while doing some research and am wondering if my BootRom is corrupted. I'm running an early 2009 Mac Pro that was purchased flashed from 4.1 to 5.1. It's running 10.14.6. I also have Windows 10 installed on a separate HD. I followed the instructions in the first post and while the free space seems ok at around 35,000, I'm not seeing a second VSS store in the list. Would you be able to help me make sure my BootRom is ok? Please let me know what other information you need.

Thanks!
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Hi @tsialex, I came across this thread while doing some research and am wondering if my BootRom is corrupted. I'm running an early 2009 Mac Pro that was purchased flashed from 4.1 to 5.1. It's running 10.14.6. I also have Windows 10 installed on a separate HD. I followed the instructions in the first post and while the free space seems ok at around 35,000, I'm not seeing a second VSS store in the list. Would you be able to help me make sure my BootRom is ok? Please let me know what other information you need.

Thanks!
Missing secondary VSS store is one of the most common corruptions of the NVRAM volume for an early-2009, the MP4,1 NVRAM volume and the MP5,1 one are different and this always cause problems/bricks in the long run.

If you already have the secondary VSS store header corrupt, you almost certainly have other issues. I'm gonna send you a PM.
 
  • Like
Reactions: trifero

crowtrobot3000

macrumors newbie
Jul 22, 2022
4
2
Missing secondary VSS store is one of the most common corruptions of the NVRAM volume for an early-2009, the MP4,1 NVRAM volume and the MP5,1 one are different and this always cause problems/bricks in the long run.

If you already have the secondary VSS store header corrupt, you almost certainly have other issues. I'm gonna send you a PM.
Thanks so much! Will work on getting you the info tonight.
 
  • Like
Reactions: tsialex

fredericorama

macrumors newbie
Jul 27, 2022
1
0
Hello folks, @tsialex do you think that this kind of VSS store header corruption might be related to some PCIe boards to not be recognized by the system? I have a PCIe wifi board and a PCIe NVMe board that doens't even show up in the system profile. Cheers.
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Hello folks, @tsialex do you think that this kind of VSS store header corruption might be related to some PCIe boards to not be recognized by the system? I have a PCIe wifi board and a PCIe NVMe board that doens't even show up in the system profile. Cheers.
Not really, but everything is possible.

I'd check if the PCIe cards are really working with another UEFI PC/Mac Pro, if the hardware is really compatible with Mac Pros and etc - you have to do your all your basic homework before jumping so far ahead. There are lot's of reasons for a NVMe blade to not work with a Mac Pro, like not following the requirements of NVMe 1.3, using a non compatible macOS release, Mac Pro firmware being ancient, BootCamp, etc…

Anyway, it's relatively easy to confirm or disprove:

  • dump your BootROM with ROMTool, save it securely since you will need to flash it back after
  • flash 144.0.0.0.0 MP51.fd with ROMTool
  • test with your PCIe cards.
 

Bmju

macrumors 6502a
Dec 16, 2013
702
767
I looked a bit more. @zzzippp you're referring to https://dortania.github.io/OpenCore...ml#enabling-emulated-nvram-with-a-nvram-plist (same thing as in OC Configuration.pdf, ofc, but with quite a lot more detail) . From a bit of research so far, and trying to ask around, this is not the full NVRAM emulation solution it sounds like. This is mostly aimed at legacy BIOS Hackintoshes which are using OpenDuet (a UEFI firmware emulation layer than runs under legacy BIOS). I believe that it won't help with solving MacPro NVRAM write problems, because when there is a normal UEFI NVRAM runtime service (as there is on the MacPro), then nothing in this 'emulation' stops that from working. Any full-blown, non-volatile NVRAM writes made in-OS would still be full-blown, non-volatile NVRAM writes. If I've understood correctly, the NVRAM service provided by OpenDuet is always effectively volatile (even if apparently non-volatile; because there is no backing NVRAM), which is what makes this useful there.
As a considerably belated follow up to this discussion from back in April, emulated NVRAM is now available for all users of OpenCore (formerly it was only available as part of OpenDuet, the UEFI implementation provided with OpenCore for use on old legacy BIOS machines).

To get it, upgrade to OpenCore 0.8.3, then search for OpenVariableRuntimeDxe in the latest docs for set up instructions.

Hopefully this will prove to be another useful tool for avoiding wear on cMP NVRAM chips, given that macOS updates now hammer them so hard. With this driver running (and the associated launchd script installed) OTA updates go through fine, but all the NVRAM traffic happens in RAM instead.
 

William4673

macrumors newbie
Jun 6, 2022
22
10
As a considerably belated follow up to this discussion from back in April, emulated NVRAM is now available for all users of OpenCore (formerly it was only available as part of OpenDuet, the UEFI implementation provided with OpenCore for use on old legacy BIOS machines).

To get it, upgrade to OpenCore 0.8.3, then search for OpenVariableRuntimeDxe in the latest docs for set up instructions.

Hopefully this will prove to be another useful tool for avoiding wear on cMP NVRAM chips, given that macOS updates now hammer them so hard. With this driver running (and the associated launchd script installed) OTA updates go through fine, but all the NVRAM traffic happens in RAM instead.
Is there a guide included with the update, or has been this been posted and discussed elsewhere?
 

Bmju

macrumors 6502a
Dec 16, 2013
702
767
Is there a guide included with the update, or has been this been posted and discussed elsewhere?
There is a guide in the docs (i.e. in Configuration.pdf): "search for OpenVariableRuntimeDxe in the latest docs for set up [and usage] instructions" - read the whole section.

Launchd.command also has built in usage instructions at the command line (run with no arguments), but you basically just need ./Launchd.command install, ./Launchd.command uninstall and ./Launchd.command status.

You may also want to examine the log of the script which saves NVRAM (i.e. the above script, once installed), it is located at /var/log/org.acidanthera.nvramhook.launchd/launchd.log.

The location and meaning of the saved files is also documented, search for nvram.plist in Configuration.pdf.
 
  • Like
Reactions: Ausdauersportler

AppaloosaMac

macrumors newbie
Aug 7, 2022
4
0
I'm guessing this is not what I want to see?
 

Attachments

  • Screen Shot 2022-08-07 at 10.03.57 PM.png
    Screen Shot 2022-08-07 at 10.03.57 PM.png
    74.1 KB · Views: 97

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
I'm guessing this is not what I want to see?
Nope, since your Mac Pro main VSS free space is now being recognized as padding, you probably have Windows SecureBoot UEFI signing or the circular log corrupted there - at least.
 
  • Like
Reactions: trifero

AppaloosaMac

macrumors newbie
Aug 7, 2022
4
0
In my research, I noted that Windows needs to be installed in Legacy, but apparently I did not succeed in doing so. Msinfo32.exe confirmed that it was in UEFI mode, so that drive it gone and the goal is to make this healthy and then do a fresh Windows install after making sure I know what I'm doing next time.

What do I need to do to fix this?
 

trifero

macrumors 68030
May 21, 2009
2,952
2,796
In my research, I noted that Windows needs to be installed in Legacy, but apparently I did not succeed in doing so. Msinfo32.exe confirmed that it was in UEFI mode, so that drive it gone and the goal is to make this healthy and then do a fresh Windows install after making sure I know what I'm doing next time.

What do I need to do to fix this?
Ask for a ROM to @tsialex
 

AppaloosaMac

macrumors newbie
Aug 7, 2022
4
0
Beleza. Valeu.
Sweet. Thanks.

(I hope this board doesn't have rules against foreign languages...)

Edit: It appears I cannot start a conversation yet.
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
In my research, I noted that Windows needs to be installed in Legacy, but apparently I did not succeed in doing so. Msinfo32.exe confirmed that it was in UEFI mode, so that drive it gone and the goal is to make this healthy and then do a fresh Windows install after making sure I know what I'm doing next time.

What do I need to do to fix this?
Once you already have it as the screenshot shows there is a extremely high probability of problems elsewhere in the BootROM image, but a reconstruction service can solve it and you can re-flash anytime in the future if you have any SecureBoot or garbage collection problems.

For the UEFI Windows install, you can use OpenCore to protect your BootROM from the UEFI Windows SecureBoot signing or you can re-install Windows as a BootCamp/CSM install - after you flash your Mac Pro clean/upgraded/reconstructed BootROM image. I'm gonna send you a PM.
 
  • Like
Reactions: trifero

trifero

macrumors 68030
May 21, 2009
2,952
2,796
Once you already have it as the screenshot shows there is a extremely high probability of problems elsewhere in the BootROM image, but a reconstruction service can solve it and you can re-flash anytime in the future if you have any SecureBoot or garbage collection problems.

For the UEFI Windows install, you can use OpenCore to protect your BootROM from the UEFI Windows SecureBoot signing or you can re-install Windows as a BootCamp/CSM install - after you flash your Mac Pro clean/upgraded/reconstructed BootROM image. I'm gonna send you a PM.
I use Windows 10 in Legacy mode, no UEFI, since so many years. Works like a charm.
 
  • Like
Reactions: JedNZ

AppaloosaMac

macrumors newbie
Aug 7, 2022
4
0
I’ve looked into OpenCore a little and never found a straight forward clean “best practice”, so I opted to not mess with my functional machine. I also apparently didn’t find good directions on how to install Windows 10 in Legacy mode though; I made too many assumptions.

I’ll be looking into both next to determine how I configure my machine now that I’m starting over.
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
I’ve looked into OpenCore a little and never found a straight forward clean “best practice”, so I opted to not mess with my functional machine. I also apparently didn’t find good directions on how to install Windows 10 in Legacy mode though; I made too many assumptions.

OpenCore only supports UEFI Windows installs, BootCamp/CSM installs are not supported. While BootCamp/CSM installs are preferred for a lot of people, UEFI Windows installs have several advantages, like NVMe support and the possibility of upgrading "easily" to Windows 11, obviously once you protect your BootROM with OpenCore.

You can workaround this OperCore limitation of only supporting UEFI Windows installs with chain loading, using rEFInd+ or MyBootMGR - but now with a clean/updated/reconstructed BootROM image you can use OpenCore to protect your Mac Pro from Windows SecureBoot.

I’ll be looking into both next to determine how I configure my machine now that I’m starting over.

Look at the OpenCore stickie thread here on the forum if you want a hands-on approach or go directly to OCLP if you want a point and click one.

I'm guessing this is not what I want to see?
I was right about the main VSS store missing free space being caused by Windows SecureBoot. The problems were double Windows UEFI SecureBoot signing and issues related to the cross-flashing process, including 20 MemoryConfigs for just 3 installed DIMMs.

Nope, since your Mac Pro main VSS free space is now being recognized as padding, you probably have Windows SecureBoot UEFI signing or the circular log corrupted there - at least.
 

EdMun

macrumors member
May 31, 2022
33
0
Otautahi
hi, I just acquired a base model 2012 5,1 and updated the firmware with Mojave installer, dumped the Rom from MX25L3205D (In my impatient muddling way I didn't reset or dump it before flashing)
First look it was sick but after a NVRAM reset looked OK and I assumed it was healed but model identity issues have me wondering.
FirstLook.jpg
after resetting NVRAM
NVRAMReset.jpg

about.jpg
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
I don't understand what's not possible or how I dumped an empty NVRAM I'm sorry.
From the screenshots you sent, something is wrong, you shouldn't have a clean store on the second screenshot or just one with the first one.

I'm gonna send a PM with instructions on how correctly dump and everything that you need to get to validate the BootROM image.
 
  • Like
Reactions: EdMun
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.