Find the answer to your Linux question:
Results 1 to 5 of 5
Hello; I'm scoping out the work needed for a new project, and I am looking for ideas. The development OS is linux, building to another Unix/like system called RTEMS ( ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47

    Looking for a run-time module loading framework of unix/ish system


    Hello;

    I'm scoping out the work needed for a new project, and I am looking for ideas. The development OS is linux, building to another Unix/like system called RTEMS (RTEMS Real Time Operating System (RTOS) | Real-Time and Real Free RTOS). Now since the filessystems may be different and the CPU's will be from time to time depending on the target it means both systems need a way to upload new work without a lot of down time.

    It occurs that I would like to have a "module" system that I can transfer running code modules onto the running machine and have them start working without recompiling or rebooting. Ideally that could be internet but that's not a hard fix. Does anyone know of someone's open source framework that could be a helpful start?

    Thanks in advance,

    Dave

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    You might want to study the QNX Neutrino operating system (QNX operating systems, development tools, and professional services for connected embedded systems). They solve some of these problems by implementing a micro-kernel message passing architecture so that new drivers and kernel modules can be unloaded/loaded while the system is running. I have worked with it for many years (but not a lot for awhile) and still use it for real-time R&D in a virtual machine on my main Linux workstation.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47
    ok thank you!

    Cheers!

    Dave

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    A disclaimer, I have something like serial number 007 (Bond, be jealous!) for QNX... Still have the original floppy discs.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #5
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47
    Ok good to know. An RTEMS developer told me about

    RTEMS Runtime Link Editor (RTL) RTEMS Runtime Link Editor (RTL)
    that can load ELF files into code or remake that complete object file.

    I'll try this first as I want to use the multithread system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •