• DocumentCode
    2454725
  • Title

    Dynamic linking and loading in networked embedded systems

  • Author

    Dong, Wei ; Chen, Chun ; Liu, Xue ; Jiajun Bu ; Yunhao Liu

  • Author_Institution
    Zhejiang Key Lab. of Service Robot, Zhejiang Univ., Hangzhou, China
  • fYear
    2009
  • fDate
    12-15 Oct. 2009
  • Firstpage
    554
  • Lastpage
    562
  • Abstract
    We present a holistic dynamic linking and loading mechanism in networked embedded systems. Our design and implementation are guided by four requirements, which are to provide (i) minimal code size (ii) efficient execution and loading speed (iii) portable design (iv) isolated kernel/application development. First, we develop a tool to minimize the standard ELF format via many techniques in order to reduce the code dissemination cost. Second, we employ the techniques of pre-relocating and pre-linking (to kernel functions) to reduce the run-time linking overhead, thus improving the loading speed. Third, based on relocatable ELF and the modular design of the dynamic linker and loader, our approach can be easily ported to different platforms. Fourth, by maintaining a kernel jump table, we provide a clean isolation between kernel and application development. We have implemented the dynamic linking and loading mechanism on SenSpire OS, a micro sensor node operating system. The evaluation results show that our design and implementation meet our design goals: the code size of our SELF format is only 15%-30% of that of standard ELF, 38%-83% of that of CELF, a compact ELF format for the Contiki operating system; the loading speed improvement varies from 40%-50% compared to the standard mechanism; our design is portable to both MicaZ and TelosB motes, and we allow updating both application modules and kernel services in isolation without prior knowledge about the whole system information.
  • Keywords
    data handling; embedded systems; operating system kernels; program compilers; telecommunication computing; wireless sensor networks; CELF format; Contiki operating system; MicaZ mote; SELF format; SenSpire OS; TelosB mote; WSN; code dissemination cost reduction; dynamic linking mechanism; dynamic loading mechanism; execution speed; isolated kernel/application development; kernel jump table; microsensor node operating system; minimal code size; modular design; networked embedded system; portable design; pre-linking technique; pre-relocating technique; relocatable ELF format; run-time linking overhead; wireless sensor network; Code standards; Costs; Embedded system; Geophysical measurement techniques; Ground penetrating radar; Joining processes; Kernel; Operating systems; Runtime; Standards development;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Mobile Adhoc and Sensor Systems, 2009. MASS '09. IEEE 6th International Conference on
  • Conference_Location
    Macau
  • Print_ISBN
    978-1-4244-5113-5
  • Type

    conf

  • DOI
    10.1109/MOBHOC.2009.5336957
  • Filename
    5336957