|
From: Moritz S. <Mor...@cs...> - 2014-11-27 07:24:34
|
Am 2014-11-26 um 23:28 schrieb François Revol: > On 26/11/2014 18:10, Francisco Javier Acosta Padilla wrote: >> > Hi all, >> > >> > I'm working with a contiki version ported for ARM processors, used >> > in a testbed called iot-lab. The platform embeds a Cortex-M3 MCU >> > and the characteristics are described here: >> > >> > https://www.iot-lab.info/hardware/m3/ >> > >> > I'm trying to port the ELF loader for this platform. It usually >> > should be achieved by doing this: >> > >> > https://github.com/contiki-os/contiki/wiki/The-dynamic-loader#ELF_Loader_Internals >> > >> > Unfortunately, the arm-non-eabi-gcc compiler produces ELF files >> > with several .text .data and .rodata sections, which are >> > incompatible with the current ELF loader. > You'll probably want to use your own linker script to merge all those > sections... Fixed that issue for msp430 and minilink (had to merge .text and .rodata). Shouldn't be too difficult to adopt the linker script. https://github.com/cmorty/contiki-minilink Morty -- Dipl.-Ing. Moritz 'Morty' Strübe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : st...@cs... WWW : https://www4.cs.fau.de/~morty |