CircuitCo’s Motor Cape with NXT allows you to control up to 8 Mindstorms motors with a BeagleBone microcontroller. Alas, the board doesn’t accept data from sensors or from the encoders built into Lego’s motors. You can preorder the board on Boardzoo and they also have a version with terminals blocks.