BUG Community

Welcome! Log In

Forums BUGbase Moduel system information?

Subscribe to Moduel system information?  2 posts, 2 voices

Log in to reply to this topic
 
Feb 13, 2009 6:39am
Img_missing_medium peter2 7 posts

Hi there,
I would like to know more about the mechanisms of providing the driver code and Java services for the modules. Is all the code including the Java wrapper services existing in the module itself or does the BUGbase have to have prior knowledge on all possible modules? Is there any information available on this?

Cheers

/peter

Feb 18, 2009 1:57pm
Medium Bug Labs team kschultz 107 posts

Peter,

Our stack roughly looks like this:

/>

[Java code providing OSGi services]
[JNI bindings]
[Linux Kernel Drivers]
[Hardware]

At the lowest level, a new module plugging in shows up as a new device in the Linux kernel running on the BUGbase. Each module is basically a peripheral to the base. So all the code whether it be drivers or Java is stored on the based. The kernel is in the onboard flash memory, and everything else runs off the SD card.

The BUGbase is running our Java & OSGi stack. OSGi is the magic that makes our whole modular strategy work by handling the life cycle issues of different services being available at different times due to different modules being plugged in or different applications installed. So when a new module is plugged in the new services start running in the OSGi server, and when i