PowerPC64LE bringup notes

Brandon Bergren bdragon at FreeBSD.org
Sun Aug 23 05:12:10 UTC 2020

For anyone who hasn't been watching my progress in IRC:

Over the last couple weekends, I have been working on experimentally bringing up a PowerPC64 Little Endian kernel and userland for the first time.

Last weekend, I succeeded in booting into multiuser in qemu pseries (via a somewhat convoluted boot procedure, as pseries makes bad assumptions about kernel entry points.)

This evening, I accomplished the same on a Blackbird, after having spent some time during the week making progress on qemu powernv.

My work tree is at https://github.com/bdragon28/freebsd/tree/little-endian -- I will be tidying things up and getting pieces of it committed to SVN relatively soon.

For the forseeable future, BE will still be the preferred platform for FreeBSD PowerPC64, as it's a heck of a lot more comfortable to debug in.

I don't have install media yet for people to experiment with. (I have stand/ disabled at the moment and make release depends on it, so all I have are sets, kernels, and a cobbled-together LE rootdisk.)

Additionally, I still need to get the tests for https://reviews.llvm.org/D73425 written so I can get the target addition accepted into LLVM.

While I can boot multiuser and the compiler works, there appear to be some lingering issues with floating point math that I have not gotten around to debugging yet, which has some odd effects like making top hang.

dmesg @ https://dmesgd.nycbug.org/index.cgi?do=view&id=5636

  Brandon Bergren
  bdragon at FreeBSD.org

More information about the freebsd-ppc mailing list