In 2006 Sun Microsystems released their Open Firmware implementation OpenBoot under a BSL like license. Their code supports the sun4v architecture running on a hypervisor.
You can browse the source code online.
The repository is available through git:
You can check it out as follows:
$ git checkout https://github.com/openbios/openboot.git