This is an old revision of the document!
This page describes running FreeBSD on OpenPOWER POWER8 systems, such as the Tyan GN70-BP010. There are two ways to run these machines. FreeBSD targets both.
PowerKVM
PowerKVM is the more mature of the two since it provides a firmware and hypervisor interface matching previous POWER systems. Due to a bug in the IOMMU support, 10.1 will not work on these systems. 11-CURRENT snapshots after Jan. 26 2015 should, however. The following incantations are sufficient to bring up FreeBSD on an Ubuntu 14.10 host:
root@ubuntu:~# ppc64_cpu --smt=off root@ubuntu:~# modprobe -a kvm-hv root@ubuntu:~# echo 100 > /proc/sys/vm/nr_hugepages root@ubuntu:~# mkdir /dev/hugepages root@ubuntu:~# mount -t hugetlbfs huge /dev/hugepages root@ubuntu:~# qemu-system-ppc64 -enable-kvm -m 1536 -nographic -vga none -cdrom FreeBSD.iso -mem-prealloc -mem-path /dev/hugepages -smp cores=3 threads=8
Bare Metal
Work is ongoing on the projects/powernv branch. Console IO and interfaces to the OPAL firmware are complete.
Status (Jan. 31, 2015)
- Console output on hardware
- Boots multiuser on simulator with OPAL
- Untested draft PCI driver
Work in progress
- powerpc pmap improvements for SMP (nathanw) - in user/nwhitehorn/ppc64-pmap-rework
To do:
Make kboot loader support relocatable kernelsAdd OPAL and RTAS to FDT reserved map- PCI IOMMU support
- petitboot boot1
- patches to petitboot to recognize FreeBSD media