What version of EFI is my Mac OS X Computer Running?

There comes a time when it is expedient to know some version information about the EFI firmware running on Apple OS X. In my case, I just wanted to make sure that I had EFI64. I knew I did, but… seeing is believing.

As of OS X 10.7.3, to find out information concerning what version of Apple’s EFI firmware you are running, perform the following command at a terminal:

ioreg -p IODeviceTree -b -n efi | grep efi -C 4

In my case, the output is as follows:

+-o Root  <class IORegistryEntry, id 0x100000100, retain 10>
  +-o /  <class IOPlatformExpertDevice, id 0x100000110, registered, matched, active, busy 0 (15221 ms), retain 37>
    +-o chosen  <class IOService, id 0x100000101, !registered, !matched, active, busy 0, retain 5>
    | +-o memory-map  <class IOService, id 0x100000102, !registered, !matched, active, busy 0, retain 6>
    +-o efi  <class IOService, id 0x100000103, !registered, !matched, active, busy 0, retain 8>
    | | {
    | |   "firmware-revision" = <0a000100>
    | |   "device-properties" = <fe04000001000000040000000e0200000500000002010c00d041030a000000000101060000027fff04001e00000073006100760065006400$
    | |   "firmware-abi" = <"EFI64">
    | |   "name" = <"efi">
    | |   "firmware-vendor" = <4100700070006c0065000000>
    | | }
    | | 
    | +-o kernel-compatibility  <class IOService, id 0x100000104, !registered, !matched, active, busy 0, retain 4>

And the text that I’m most interested in is “firmware-abi” = <“EFI64”>

To explain the above, ioreg is used to query the Apple I/O registry. We then need to select the Device Tree plane and do so with -p IODeviceTree. -b is just a nicety to put the object name in bold letters. -n scopes the query down to only those things that have a certain name in them. In our case, we want the name of “efi”.

We then pipe the whole mess to grep where we search for the word “efi” and then, with -C, give four lines of context above and below each mention of the word “efi”.


Leave a Reply

Your email address will not be published. Required fields are marked *

Follow TheNubbyAdmin!

follow us in feedly

Raw RSS Feed:

Contact Me!

Want to hire me as a consultant? Have a job you think I might be interested in? Drop me a line:

Contact Me!

Subscribe via Email

Your email address is handled by Google FeedBurner and never spammed!

The Nubby Archives

Circle Me on Google+!

Photos from Flickr

Me on StackExchange

The IT Crowd Strava Group