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:
Thank God I didn't press enter, but I don't think I will play with OF ever again.
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: