An essential but incomplete list of Open Firmware commands follows. A more thorough list is contained in the FAQ.
http://www.NetBSD.org/ports/macppc/faq.html#ofw-use
boot [
boot-device [boot-file]] [
options]
Boot an operating system. The default arguments for this command are taken from the Open Firmware environment variables:
boot-device
primary bootloader location
boot-file
kernel location
options
flags passed to the kernel
reset-all
Reset the system, and proceed as specified by the ‘
use-nvramrc?' and ‘
auto-boot?' variables. If ‘
use-nvramrc?' is set to ‘
true', then the system will attempt to execute the commands stored in the ‘
nvramrc' variable. If ‘
auto-boot?' is set to ‘
true', the system will attempt to use the values stored in ‘
boot-command', ‘
boot-device', and ‘
boot-file' to boot the system. If ‘
auto-boot?' is set to ‘
false', the system will halt at the Open Firmware prompt.
shut-down
Power off the system.
setenv variable value
Set an Open Firmware variable, e.g.,
setenv auto-boot? false
setenv boot-device hd:,\ofwboot.xcf
setenv boot-file netbsd-GENERIC.gz
set-default variable
Set an Open Firmware variable to its default value.
printenv [
variable]
Show Open Firmware variables and values.
eject fd
Eject floppy disk on systems with on-board floppy drives.
mac-boot
Attempt to boot MacOS on an Open Firmware 3 system.
bye
Attempt to boot MacOS on an Open Firmware 1.0.5, 2.0.x, or 2.4 system.