Still not quit working - compiles and runs.  SPI is a bugger on BBB.
Might switch to a different SPI library / device tree.