Some information about using OpenFirmware can be found here:
Apple Technote TN1061
a short OpenFirmware introduction