I'm having issues with custom modules. I'm on a 17.04 VM, and can successfully build all the repos from scratch (jevois, jevoisbase, and jevois-sdk) and can build and deploy the kernel to the JV. The issue is when I try to make my own module. Following the jvpkg procedure (http://jevois.org/doc/ProgrammerSDK.html) causes the system to hang. I get the green LED, quick flash of amber LED and then solid green LED for many minutes. Inspecting the sd card shows that the files have moved from packages to modules, but the postinstall script sticks around, when its contents suggest it should be deleted after a correct install process. Removing the recently added module allows the JV to boot like normal again.
Inspecting the LINUX partition, I only see an obviously JV library at: LINUX/usr/lib/libjevois.so. I see a /jevois directory, but it is empty and /home/default is also empty. I tried to make my own module with no luck, then I tried to just make a copy of the samplemodule, but still had no luck. I have the modules I'm trying to build on the desktop, and everything seems to be working, but I do see the following:
in the module folder, after rebuild-host.sh I get this message:
-- Set runtime path of "/jevois/modules/SampleVendor/SampleModule/SampleModule.so" to ""
in the module folder, after rebuild-platform.sh I get this message:
-- Set runtime path of "/home/USER_NAME/Desktop/samplemodule/jvpkg/modules/SampleVendor/SampleModule/SampleModule.so" to ""
which seems funny, but may not be...
My main question is this: is the samplemodule in a buildable and deployable state as is? If not what is the best way to check that I'm doing the build and deploy process of new modules correctly?
Also, the install documentation is a little confused regarding where to install repos to (/ near the top, and ~ further down).
Any help is greatly appreciated.