[En-Nut-Discussion] Dynamic linler
Ole Reinhardt
ole.reinhardt at embedded-it.de
Tue Mar 19 09:56:41 CET 2013
Dear Jiri,
> Is there a linux-like /dynamic linker/ available for Nut/OS or other
> technique, which can I use to solve following problem?
No, unfortunately not (yet?). Thats a wish I just have for several
years, but a dynamic linker would not work well with small scale
embedded systems, as you always have to include the symbol table into
your executables and also would have to hold a symbol table of your
libraries and operating system in flash / ram which will probably run
out of space very fast.
> I want to relocate the 1MB of driver code to SD card during production
> process, then load the required driver only into RAM during startup and
> run the driver code in RAM.
A good alternative would be to implement a bootloader that loads the
needed driver "application" from SD-card and then jumps to this code.
But your "driver" will always be a full Nut/OS application, which means
the each driver will be larger than needed, but on an SD-Card that would
not matter.
If this is an option and you need support for implementing the
bootloader, please let me know.
Bye,
Ole Reinhardt
--
kernel concepts GmbH Tel: +49-271-771091-14
Sieghuetter Hauptweg 48 Mob: +49-177-7420433
D-57072 Siegen
http://www.embedded-it.de
http://www.kernelconcepts.de
More information about the En-Nut-Discussion
mailing list