BeagleBox: SGX driver integration completed


There were some minor changes required to Robert's patches to get them to build the sgx drivers as kernel modules.  One of the patches set drivers/staging/omap3_sgx/kconfig to use “boo” instead of “tristate” which prevented the SGX build as modules because the Kconfig also required the build only as module (with the “m” option to depends). We have to build as modules because of the way the original SGX sdk provided code.  Most other components are builtins to the kernel but having the SGX drivers as loadable drivers will make it possible to more easily configure them with boot scripts (though at the moment I don't know if that's necessary – call it future-proofing the boot).

All that is fixed and I've got the kernel build creating the SGX drivers as modules and installing in a directory at the top of the kernel source tree so that the root fs build can pick them up later.  That piece of integration has yet to be done since I also need to integrate the user space libraries and tools from the SGX SDK.  All of that is root fs integration and is the next step in complete SGX integration.

The kernel is now also stamped with a beaglebox id instead of the more cryptic git id (or variation thereof).  That will makes it easier to work with boot time scripts when I get around to loading the modules at boot time.

Code is checked in and the build tested (but not on the hardware, of course).   On to the user space libs.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.