[riot-devel] Cross Compilation

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Sat Mar 28 12:15:46 CET 2015


Hi Maxence,

You need to figure out if the ucontext API is available on the target platform/architecture, translate the functions in tramp.S and add MIPS register access in irq_cpu.c.

Cheers, Ludwig

Am 28. März 2015 11:58:35 MEZ, schrieb Maxence Chotard <maxence.chotard at xsoen.com>:
>Ok thank you for your answer Ludwig. I am going to try to port native
>on mips architecture. 
>
>Cheers,
>Maxence
>
>-----Message d'origine-----
>De : devel [mailto:devel-bounces at riot-os.org] De la part de Ludwig
>Ortmann
>Envoyé : samedi 28 mars 2015 02:52
>À : RIOT OS kernel developers
>Objet : Re: [riot-devel] Cross Compilation
>
>If you want to run the RIOT hardware emulator "native" as a Linux
>process on the MIPS architecture, you have to port it to this
>architecture first.
>Native has some some assembler lines which are only written for x86 and
>arm as of now.
>
>Cheers, Ludwig
>
>Am 28. März 2015 00:53:54 MEZ, schrieb Maxence Chotard
><maxence.chotard at xsoen.com>:
>>Ludwig, do you mean that I can't compile RIOT with a mips toolchain 
>>adapted to my openwrt version and to my hardware platform ?
>>
>>Cheers,
>>Maxence
>>
>>-----Message d'origine-----
>>De : devel [mailto:devel-bounces at riot-os.org] De la part de Ludwig 
>>Ortmann Envoyé : vendredi 27 mars 2015 17:04 À : RIOT OS kernel 
>>developers Objet : Re: [riot-devel] Cross Compilation
>>
>>Hi,
>>
>>RIOT native does not currently run on MIPS anyways.
>>
>>Cheers, Ludwig
>>
>>Am 27. März 2015 16:04:56 MEZ, schrieb Maxence Chotard
>><maxence.chotard at xsoen.com>:
>>>Hello,
>>>
>>>Is there anybody who knows how to cross compile hello-world example
>on
>>
>>>RIOT for an openwrt distribution, which is using a MIPS architecture
>?
>>>
>>>Cheers,
>>>Maxence
>>>
>>>_______________________________________________
>>>devel mailing list
>>>devel at riot-os.org
>>>https://lists.riot-os.org/mailman/listinfo/devel
>>
>>_______________________________________________
>>devel mailing list
>>devel at riot-os.org
>>https://lists.riot-os.org/mailman/listinfo/devel
>>
>>_______________________________________________
>>devel mailing list
>>devel at riot-os.org
>>https://lists.riot-os.org/mailman/listinfo/devel
>
>_______________________________________________
>devel mailing list
>devel at riot-os.org
>https://lists.riot-os.org/mailman/listinfo/devel
>
>_______________________________________________
>devel mailing list
>devel at riot-os.org
>https://lists.riot-os.org/mailman/listinfo/devel



More information about the devel mailing list