This project consists of two parts: getting the bootloader code ("libsa") to read ZFS filesystems, and enabling mounting ZFS as a root filesystem.

For ZFS bootloader support, fortunately code already exists in the FreeBSD variant of libsa, so it's a matter of adapting it.


ZFS bootloader:

ZFS as root filesystem:

Stretch goal: