Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

YesWeCat

macrumors newbie
Original poster
May 11, 2020
29
24
Europe
Sometimes I like to spend some time using Open Firmware. It reminds me of the microcomputers of the 80s that booted straight into a BASIC prompt. I usually try to be careful; I have always known that messing something up inside the NVRAM can render a machine unbootable. But I never imagined that it would be so easy.

I was taking a look at the variables you can display with "printenv" to find something interesting. And the first variable on the list -you can check this on your own machines- is "little-endian?", set to "false".

This made me think "wow, this lets you change the endianness of the CPU? Cool! Let's try it". Then I realized that the Open Firmware ROM would probably not be able to boot if I did that. And it seems like that's the case. It takes a single command, changing the value of the first boot variable you can see on your screen, to permanently brick your machine after a reboot:
Code:
0 > setenv little-endian? true

Thank God I didn't press enter, but I don't think I will play with OF ever again.
 
Last edited:
Sometimes I like to spend some time using Open Firmware. It reminds me of the microcomputers of the 80s that booted straight into a BASIC prompt. I usually try to be careful; I have always known that messing something up inside the NVRAM can render a machine unbootable. But I never imagined that it would be so easy.

I was taking a look at the variables you can display with "printenv" to find something interesting. And the first variable on the list -you can check this on your own machines- is "little-endian?", set to "false".

This made me think "wow, this lets you change the endianness of the CPU? Cool! Let's try it". Then I realized that the Open Firmware ROM would probably not be able to boot if I did that. And it seems like that's the case. It takes a single command, changing the value of the first boot variable you can see on your screen, to permanently brick your machine after a reboot:
Code:
0 > setenv little-endian? true

I don't think I will play with OF ever again.

Yeah that would probably break stuff. Moral: don't mess with stuff you don't understand.

Just because the ability to set a configuration exists, doesn't mean it is a good idea!


In reality you can probably reset the open firmware configuration somehow (there will be a way) but you can definitely cause problems both with open firmware, EFI/UEFI and BIOS.

With BIOS (and PC UEFI) you can even cause physical hardware damage via voltage settings.
 
This may help that guy on Reddit...

 
Sometimes I like to spend some time using Open Firmware. It reminds me of the microcomputers of the 80s that booted straight into a BASIC prompt. I usually try to be careful; I have always known that messing something up inside the NVRAM can render a machine unbootable. But I never imagined that it would be so easy.

I was taking a look at the variables you can display with "printenv" to find something interesting. And the first variable on the list -you can check this on your own machines- is "little-endian?", set to "false".

This made me think "wow, this lets you change the endianness of the CPU? Cool! Let's try it". Then I realized that the Open Firmware ROM would probably not be able to boot if I did that. And it seems like that's the case. It takes a single command, changing the value of the first boot variable you can see on your screen, to permanently brick your machine after a reboot:
Code:
0 > setenv little-endian? true

Thank God I didn't press enter, but I don't think I will play with OF ever again.
Open Firmware has a set of permanent defaults, all you need to do to recover is load those defaults.
 
It reminds me of the legendary "Killer Poke" on the Commodore (CBM) PETs.

Either way, I've done something similar on a PC, I stupidly bricked a motherboard (I think it was a nForce II-based board that I got from the junkyard) just by changing a value in the BIOS, I don't specifically remember what, but I think this case was due to a hardware fault in the mobo's chipset.

Edit: it was a Asus A7N8X, yup, the infamous motherboard that was notoriously fussy when it comes to RAM... Some fell victim to a odd bug where changing any option in the BIOS can render it unusable.

To anyone wondering, I had gotten this board in a scrap lot.
 
Last edited:
It reminds me of the legendary "Killer Poke" on the Commodore (CBM) PETs.

Either way, I've done something similar on a PC, I stupidly bricked a motherboard (I think it was a nForce II-based board that I got from the junkyard) just by changing a value in the BIOS, I don't specifically remember what, but I think this case was due to a hardware fault in the mobo's chipset.
I flashed the wrong BIOS to a homebuilt computer once. That led to a series of events that saw me abandon PC as my primary platform.
 
I flashed the wrong BIOS to a homebuilt computer once. That led to a series of events that saw me abandon PC as my primary platform.

I've been there before, taught me for the most part that messing up with BIOS or Firmware stuff can sometimes be recovered, but it is often a very involved process.

I think most (if not all) recent mobos have a secondary backup BIOS in case you mess up the main one, I'd say it's at least a safeguard, unless you somehow manage to mess both BIOSes at the same time... In which case, you're going to be in for pain.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.