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
My current BootROM:

Fixed: Yes
Base: 127BCDh
Address: FFD27BCDh
Offset: 7885h
Full size: 8433h (33843)


My saved BootROM from 2020-07-16 (how can I check if it's version 144.0.0.0?):

Fixed:Yes
Base: 1256F3h
Address: FFD256F3h
offset:56A8h
Fuls1ze: 980n 43777


Does this mean I should flash my BootROM with the older one which has more free space? Haven't done it since @tsialex helped me clean the ROM a couple of years ago. Would be good to verify that it's version 144.0.0.0 if possible, but I think it is.

Thanks for any assistance!

(Can't seem to edit back to the normal fonts size – 12 is too small and 15 is too big)
Open your dump with Hexfiend and search for BIOS, you will get the version there.

The dump I cleaned is 141.0.0.0.0:

Screen Shot 2022-02-28 at 20.01.11.png
 
  • Like
Reactions: star-affinity

star-affinity

macrumors 68000
Nov 14, 2007
1,996
1,333
Open your dump with Hexfiend and search for BIOS, you will get the version there.

The dump I cleaned is 141.0.0.0.0:

View attachment 1966354
Thank you!
How important is it that I flash my ROM with that cleaned file (after it's been updated to 144.0.0.0). Thinking it would it be more or less the same if I take my relatively clean saved state from July 2021 (after verifying that it's 144.0.0.0).
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Thank you!
How important is it that I flash my ROM with that cleaned file (after it's been updated to 144.0.0.0). Thinking it would it be more or less the same if I take my relatively clean saved state from July 2021 (after verifying that it's 144.0.0.0).
Use your BootROM image with the greatest available space that the EFI is already 144.0.0.0.0. I've just looked your original dump and it's a 0x03 release (most recent is 0x0D), with base_20 hardware descriptor (most recent is base_21) and BootBlock APLEFI1.88Z.0005.I00.1007141219, older even that the one Apple sent with Mac Pro EFI Firmware Update 1.5 back in October 2010.

When I cleaned the NVRAM volume of your BootROM image three years ago, I've not yet found the Apple dumbest bug/oversight of the incorrect free space indicators sent with the generic firmware upgrade image MP51.fd (MP51.fd NVRAM area is completely ignored by efiflasher, so Apple didn't even tried to make a correct NVRAM volume) or the 0x0D BootROM version that Apple only sent with mid-2012s made around September/October 2013, just before the late-2013 production started. So, don't make much sense to flash your 141.0.0.0.0 image back and have all the work to upgrade it to 144.0.0.0.0.
 
  • Like
Reactions: star-affinity

ThetaTauMan

macrumors newbie
Mar 13, 2022
6
1
@tsialex : I have a MP3,1 (I apologize if this should be elsewhere) that, according to your procedure, shows only 5222 free space full size in the first (only?) VSS store. It also may have the missing second VSS store/corruption, as you show in your final example.

I have had no problems, yet. I am just trying to figure out OC to move my machine past ElCapitan and, somewhere in the process of reading that thread, I wound up clicking through to this one. (I now note that OC thread also says MP5,1) Finding the bad values, I am concerned that perhaps I should stop everything until I get this NVRAM issue resolved. The end of your procedure says that if one finds "any of the issues above" to ask about reconstruction, but am I at that point or should I just try to reset NVRAM first? (I'd hate to improperly irritate it even more, if it is about to die.)
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
@tsialex : I have a MP3,1 (I apologize if this should be elsewhere) that, according to your procedure, shows only 5222 free space full size in the first (only?) VSS store. It also may have the missing second VSS store/corruption, as you show in your final example.

I have had no problems, yet. I am just trying to figure out OC to move my machine past ElCapitan and, somewhere in the process of reading that thread, I wound up clicking through to this one. (I now note that OC thread also says MP5,1) Finding the bad values, I am concerned that perhaps I should stop everything until I get this NVRAM issue resolved. The end of your procedure says that if one finds "any of the issues above" to ask about reconstruction, but am I at that point or should I just try to reset NVRAM first? (I'd hate to improperly irritate it even more, if it is about to die.)
early-2008 Mac Pro have very different NVRAM design, with just one VSS store and a FTW store. Also, the BootROM is stored on a separate Firmware Hub flash memory instead of a SPI flash memory like on MacPro5,1.

So, the rules for a MacPro3,1 are different from a MacPro5,1. The early-2008 Mac Pro had only one EFI firmware update and most MacPro3,1 already have it. While is also possible to reconstruct it, my advice with an early-2008 Mac Pro is to first do a deep NVRAM reset and track the available space of the VSS store over time. If you use it constantly, checking two times over ten days should be enough to give an idea of the state of the VSS store.

If you can't improve the available space, then a BootROM reconstruction would be needed.
 

MacNicola

macrumors newbie
Mar 14, 2022
3
0
Hi Everyone, I'm new to MacRumours but have been keeping Mac Pros alive for several years. Currently I have a 5,1 as in the attachment. I have only just discovered the NVRAM problem and am concerned as I have a lot of invalid VSS entries. I think I'm heading for a brick.

Any help with Boot Rom reconstruction etc would be much appreciated @tsialex. TIA
 

Attachments

  • Screen Shot 2022-03-15 at 9.27.44 pm.png
    Screen Shot 2022-03-15 at 9.27.44 pm.png
    22.8 KB · Views: 85
  • Screen Shot 2022-03-15 at 9.26.06 pm.png
    Screen Shot 2022-03-15 at 9.26.06 pm.png
    229.8 KB · Views: 88

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Hi Everyone, I'm new to MacRumours but have been keeping Mac Pros alive for several years. Currently I have a 5,1 as in the attachment. I have only just discovered the NVRAM problem and am concerned as I have a lot of invalid VSS entries. I think I'm heading for a brick.

Any help with Boot Rom reconstruction etc would be much appreciated @tsialex. TIA

Some VSS store invalid entries are expected and are variables that changed/superseded, it's normal to have it until the garbage collection process remove it all.

Since you have a clean secondary VSS store, your NVRAM probably had garbage collection triggered recently. You can try to do a deep NVRAM reset forcing the garbage collection process again and see if you get a considerable improvement on your available space. If not, a BootROM reconstruction service is the next step, I'll send a PM.
 
Last edited:
  • Like
Reactions: MacNicola

MacNicola

macrumors newbie
Mar 14, 2022
3
0
You can try to do a deep NVRAM reset and see if you get a considerable improvement forcing the garbage collection. If not, a BootROM reconstruction service is the next step, I'll send a PM.
Wow, thanks for the quick reply. I'll do the deep NVRAM reset (tomorrow morning as I'm at work now) and report again. I have received your PM, thank you, and will follow the instructions. Thanks heaps :)
 

austinhealey175

macrumors newbie
Aug 30, 2009
11
7
I wanted to give a recommendation for using @tsialex's bootROM services. My 2012 5,1 3.33 was on the verge of self-destruction having been through Nvidia drivers (back in the pre-Metal days) and multiple iterations of Opencore. My BootROM was properly messed up (although admittedly I didn't realize it, and used his services as a precaution) and he provided a thorough explanation, showed me updates as he went about it, and now I have a clean image to refresh every 90 days (per his recommendation). Mine was bad enough that he told me to stop using my Mac Pro until it's flashed b/c he was concerned about its imminent bricking. Thanks @tsialex.
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Mine was bad enough that he told me to stop using my Mac Pro until it's flashed b/c he was concerned about its imminent bricking. Thanks @tsialex.
You almost certainly would bricked your Mac Pro running the 12.3 software update this week, the NVRAM was almost completely filled with crash dumps, 14 enormous PanicInfo logs, and both circular logs were already corrupted. You got it repaired in the nick of time.

Before Monterey, the crash dumps were save inside ~/Library/Logs/DiagnosticReports and not in the NVRAM, this is a enormous problem now and a big regression in my view.

Btw, I'll add your double circular log corruption as an example of failure on my post about the NVRAM health.
 
Last edited:
  • Like
Reactions: austinhealey175

austinhealey175

macrumors newbie
Aug 30, 2009
11
7
Maybe this has been covered already (I did search) but when a Mac Pro is bricked this way, what does it do? Does it have any startup chime or activity? Or does it just shut off immediately?
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Maybe this has been covered already (I did search) but when a Mac Pro is bricked this way, what does it do? Does it have any startup chime or activity? Or does it just shut off immediately?
No chimes.

Shutdown depends on where exactly the BootROM failed, can shutdown immediately or not even power up when the SPI flash memory itself is dead. Also can have a SMC shutdown after 3 or 4 minutes, this is more common with NVRAM corruption or when the X86 Reset Vector area is corrupted.
 
  • Like
Reactions: trifero

MacNicola

macrumors newbie
Mar 14, 2022
3
0
Some VSS store invalid entries are expected and are variables that changed/superseded, it's normal to have it until the garbage collection process remove it all.

Since you have a clean secondary VSS store, your NVRAM probably had garbage collection triggered recently. You can try to do a deep NVRAM reset forcing the garbage collection process again and see if you get a considerable improvement on your available space. If not, a BootROM reconstruction service is the next step, I'll send a PM.
Hi @tsialex, I did a deep NVRAM reset and I think things got worse. My Primary VSS Free Space disappeared and stops at "padding". See screen shot. I still have to boot into Mojave (without OC) to follow your instructions to properly dump ROM etc. Am I safe to do this? Would another deep NVRAM reset help or make things worse? TIA
 

Attachments

  • Screen Shot 2022-03-16 at 12.37.34 pm.png
    Screen Shot 2022-03-16 at 12.37.34 pm.png
    131.9 KB · Views: 94

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Hi @tsialex, I did a deep NVRAM reset and I think things got worse. My Primary VSS Free Space disappeared and stops at "padding". See screen shot. I still have to boot into Mojave (without OC) to follow your instructions to properly dump ROM etc. Am I safe to do this? Would another deep NVRAM reset help or make things worse? TIA
Yep, unfortunately your circular log just went haywire. The garbage collection is not even saving the valid entries of the circular log to the secondary VSS store. Don't do more NVRAM resets or you'll risk getting a brick.

Send me both the dumps you already have and the pictures, then power off your Mac Pro until I get the BootROM image fully cleaned/upgraded/reconstructed.
 

Stex

macrumors 6502
Jan 18, 2021
280
189
NYC
@tsialex: Wanted to ask you about best procedure(s) when re-flashing a re-constructed BootROM paired with a macOS update/upgrade. I ask specifically because I read a comment of yours on another thread about how some NVRAM changes brought by macOS 12.3 tax our cMP BootROM even more than in the past (please correct me if I misunderstood).

I plan on upgrading to macOS 12.3 soon. I only have one OS at a time in my cMP (currently macOS 12.2.1). When upgrading OpenCore and/or macOS, I usually do the following:
  • I remove all HDDs/SSDs and PCIe cards
  • Put my Mojave SSD in Bay 1
  • Boot and reset NVRAM
  • Do the re-construsted BootROM re-flash (including de-activating SIP etc)
  • Re-install my OC dedicated SSD in Bay 4 and upgrade/bless OC.
  • Install back all reimaining internals as per my signature and remove Mojave SSD from Bay 1.
  • Boot back into my latest macOS via OC and then do any macOS update/upgrade available.
With the macOS 12.3 NVRAM changes you mention, would it now make more sense to first upgrade macOS, say at this time upgrading from 12.2.1 to 12.3, and then go about doing all of the above for the BootROM re-flash?

Thanks!
 
Last edited:

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
@tsialex: Wanted to ask you about best procedure(s) when re-flashing a re-constructed BootROM paired with a macOS update/upgrade. I ask specifically because I read a comment of yours on another thread about how some changes NVRAM with macOS 12.3 tax even more our cMP BootROM than in the past (please correct me if I misunderstood).

I plan on upgrading to macOS 12.3 soon. I only have one OS at a time in my cMP (currently macOS 12.2.1). When upgrading OpenCore and/or macOS, I usually do the following:
  • I remove all HDDs/SSDs and PCIe cards
  • Put my Mojave SSD in Bay 1
  • Boot and reset NVRAM
  • Do the re-construsted BootROM re-flash (including de-activating SIP etc)
  • Re-install/upgrade/bless OC.
  • Install back all internals as per my signature and remove Mojave SSD from Bay 1.
  • Boot back into my latest macOS via OC and then do any macOS update/upgrade available.
With the macOS 12.3 NVRAM changes you mention, would it now make more sense to first upgrade macOS, say at this time upgrading from 12.2.1 to 12.3, and then go about doing all of the above for the BootROM re-flash?

Thanks!
Interesting question!

Earlier today @austinhealey175, I reconstructed his booted BootROM image on Monday afternoon and he flashed it on Tuesday, sent me his dump after the 12.2.1 Monterey OTA update and it had not even 2KB available - crazy since it's a single CPU. See below the UEFITool screenshot he sent me:

post-install.jpg


Remember, this is the OTA to 12.2.1, with a never booted BootROM image flashed two days prior! So, with all the craziness of the 12.3 OTA update, if you don't have a MATT card, you probably should flash the reconstructed image before and after the Monterey software upgrade. Your workflow is good/safe, btw.

Edit:

While I not installed 12.3 myself yet, I'll do it over the weekend, several other people sent me dumps after the 12.3 and it's crazy the amount of variables needed for the staging of the MacPro7,1 EFI update and the crashes/PanicInfoLogs saved inside the NVRAM (I'm not going to post screenshots since most have FindMyMac and iCloud credentials). I'm still trying to understand what 12.3 OTA is doing, seems that Apple changed the way EFI firmware upgrades are setup and OC is not blocking it anymore - ping @cdf.
 
Last edited:
  • Like
Reactions: austinhealey175

vworks

macrumors regular
Oct 21, 2017
153
16
Hi, @tsialex

I just dumped my rom to check and it seems to me the value is too high. Is this normal?


Thanks a lot!

ps. mac pro 5.1 dual 2,4, 16 GB RAM
 

Attachments

  • Screen Shot 2022-03-17 at 20.16.39.png
    Screen Shot 2022-03-17 at 20.16.39.png
    114.9 KB · Views: 111

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
Hi, @tsialex

I just dumped my rom to check and it seems to me the value is too high. Is this normal?


Thanks a lot!

ps. mac pro 5.1 dual 2,4, 16 GB RAM
Possible with caveats, if you have UDIMMs instead of RDIMMs, no iCloud configured and just recently had a deep NVRAM reset/forced GarbageCollection.

Easier with a single CPU tray, practically impossible with dual CPU tray and 6+ DIMMs installed.
 

vworks

macrumors regular
Oct 21, 2017
153
16
Possible with caveats, if you have UDIMMs instead of RDIMMs, no iCloud configured and just recently had a deep NVRAM reset/forced GarbageCollection.

Easier with a single CPU tray, practically impossible with dual CPU tray and 6+ DIMMs installed.
No icloud, no Nvram reset, R-dimms.
8x2 gb Ram
 

vworks

macrumors regular
Oct 21, 2017
153
16
@tsialex

Hi again, I did a deep NVRAM reset and here is the result (I made 2 dumps to be sure)
That's more like it.
Do I need to do something?
As I see, the result should be between 30000 and 35000.

THANKS :)
 

Attachments

  • capture ecran 2022-03-17 à 23.41.57.jpg
    capture ecran 2022-03-17 à 23.41.57.jpg
    109.2 KB · Views: 90
  • capture ecran 2022-03-17 à 23.43.33.jpg
    capture ecran 2022-03-17 à 23.43.33.jpg
    126.9 KB · Views: 81
Last edited:

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
No icloud, no Nvram reset, R-dimms.
8x2 gb Ram

It's totally implausible that with 8 RDIMMs installed and everything else inside the NVRAM will be stored with less than 15KB. Something is wrong.

@tsialex

Hi again, I did a deep NVRAM reset and here is the result (I made 2 dumps to be sure)
That's more like it.
Do I need to do something?
As I see, the result should be between 30000 and 35000.

THANKS :)
Why you suddenly used the additional ~23KB?!? If this MacPro was mine I'd start investigating why this is happening, first step would be to validate the MLB sector, then flash the generic upgrade image for 144.0.0.0.0 (MP51.fd) to see if the NAND cells of the NVRAM area still work as expected.


P.S.:

Remove your screenshot with the serial number, people to this day clone MacPro5,1 serials for Messages usage with hackintoshes.
 
  • Like
Reactions: vworks

Stex

macrumors 6502
Jan 18, 2021
280
189
NYC
So, with all the craziness of the 12.3 OTA update, if you don't have a MATT card, you probably should flash the reconstructed image before and after the Monterey software upgrade. Your workflow is good/safe, btw.

OK, thanks for the clarifications and new insights. So in conclusion, the only additional step suggested at this time, is to flash reconstructed image twice, once before and once after the macOS upgrade, correct? That works for me, will start doing it with the 12.3 upgrade and related process.

I'm still trying to understand what 12.3 OTA is doing, seems that Apple changed the way EFI firmware upgrades are setup and OC is not blocking it anymore - ping @cdf.

Sounds good. As always, lots to learn from your findings. Keep us informed on any new findings in this (and many other) thread(s). Thanks!
 

tsialex

Contributor
Original poster
Jun 13, 2016
13,454
13,601
So in conclusion, the only additional step suggested at this time, is to flash reconstructed image twice, once before and once after the macOS upgrade, correct?
Since it's not really clear what is going on with the way Apple is now bootstrapping the firmware upgrades, my recommendation is to at least enable VMM spoofing (no firmware upgrades with virtual machines) and to really be on the safe side, like for people without MATT cards, to flash the never booted BootROM image before and after the 12.3 upgrade.
 

joevt

macrumors 604
Jun 21, 2012
6,967
4,262
Interesting question!

Earlier today @austinhealey175, I reconstructed his booted BootROM image on Monday afternoon and he flashed it on Tuesday, sent me his dump after the 12.2.1 Monterey OTA update and it had not even 2KB available - crazy since it's a single CPU. See below the UEFITool screenshot he sent me:

View attachment 1975237

Remember, this is the OTA to 12.2.1, with a never booted BootROM image flashed two days prior! So, with all the craziness of the 12.3 OTA update, if you don't have a MATT card, you probably should flash the reconstructed image before and after the Monterey software upgrade. Your workflow is good/safe, btw.

Edit:

While I not installed 12.3 myself yet, I'll do it over the weekend, several other people sent me dumps after the 12.3 and it's crazy the amount of variables needed for bootstrapping the update and the crashes/PanicInfoLogs saved inside the NVRAM (I'm not going to post screenshots since most have FindMyMac and iCloud credentials). I'm still trying to understand what 12.3 OTA is doing, seems that Apple changed the way EFI firmware upgrades are setup and OC is not blocking it anymore - ping @cdf.
Don't all those "Invalid" entries count as free space? I think UEFITool should try to identify the contents of those entries and mark them as Deleted? That way you can tell what NVRAM variables are churning more frequently.
 

Stex

macrumors 6502
Jan 18, 2021
280
189
NYC
Since it's not really clear what is going on with the way Apple is now bootstrapping the firmware upgrades, my recommendation is to at least enable VMM spoofing (no firmware upgrades with virtual machines) and to really be on the safe side, like for people without MATT cards, to flash the never booted BootROM image before and after the 12.3 upgrade.

Got it. I do have a MATT card with my reconstructed never booted BootROM, but it's there on the ready for that tragic day when my cMP might brick. I don't see a problem in doing the flashing twice, adds a bit of extra work of course, but it's not a big deal to be on the safe side of things.
 
  • Like
Reactions: tsialex
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.