Anyone make a dynamic module system?

Chris Johns chrisj at rtems.org
Fri Nov 1 03:40:12 UTC 2013


On 1/11/2013 1:28 pm, Dave Erickson wrote:
>
> As I embark on developing my next system, I was looking for ways to reduce down time by adding code to a running kernel. For my applications I will have access to larger 686 systems so drive space, memory, etc. is not an issue. I wondered aloud if anyone has made a "kernel module"  system for an RTEMS based core system? Dynamically loading code segments to allow for remote system development. What are the pitfalls and advantages this might bring to development?
>

The Runtime Loader project provides a dlopen etc interface to loading 
code. It is still in development so some issue exist and possibly more 
may be found but it is usable.

The target side is held in a repo here ...

  http://git.rtems.org/chrisj/rtl.git/

and the host RTEMS linker is held here ...

  http://git.rtems.org/chrisj/rtl-host.git/

Some doco is here ...

  http://www.rtems.org/ftp/pub/rtems/people/chrisj/rtl/rtems-rtl.html

and here ...

  http://www.rtems.org/ftp/pub/rtems/people/chrisj/rtl/rtems-linker/

If you need anything more please ask on the lists or IRC.

Chris



More information about the users mailing list