-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RIOT-OS on emulated ARM device #3606
Comments
AFAIK noone has done this, but I'd be really looking forward to it. Cortex-A9 and riotboard are ARM_v_7, while our supported ARM7 MCUs are ARM_v_4, don't let ARMs naming confuse you. |
Hi @Lexandro92 and welcome to RIOT! Yes, you're right there's currently no out of the box support for a virtual Cortex-M* platform. I have no clue how much work it would actually be to implement #3377. Maybe @gebart or @phiros have more insights. Regarding Cortex-A9 (ARMv7) platforms: there has been some initial work to port RIOT on boards like this (e.g. the RIoTboard (see #1411), but more as a proof-on-concept or research purposes. In general platforms that can run a proper Linux are considered mostly out-of-scope for RIOT. |
Thank you for all the quick anwsers! |
Well, RIOT does work for a wide range of ARM boards already: https://github.com/RIOT-OS/RIOT/wiki/Family%3A-ARM. I do not quite see how a QEMU emulation would be helpful to you, since your idea should work right out of the box. Did you look into @watr-li's source code? |
@Lexandro92 I do not understand why you need emulation as opposed to running the Do you plan on running these applications solely on emulated hardware? or do you want the emulated machines only to use while developing to validate your design, (maybe the hardware is not even finished yet?) and then move the application to a physical board when the hardware has been manufactured? For development of applications, algorithms and network communication you could start with the native platform, which runs RIOT as a Linux process (or OSX, or FreeBSD etc.), and then buy some evaluation boards which are similar to whatever your target hardware is (maybe you could find a board which uses the same CPU as your target board, for example). With RIOT, because of its hardware abstraction layer, it is quite easy to move application level code between different boards. Even the device drivers (external devices, not in-CPU modules) are abstracted to a point where it is possible to write a driver once and run it on many different boards. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
I am very new to embbeded systems or RIOT, I'm an intern at a small IT company and my boss gave me the following task:
Create an emulated ARM environment (any kind of ARM board is OK) and create a CoAP, 6lowpan client/server on these emulated boards. So far I used QEMU and I have been trying to just run the example hello-world program on a Cortex-M3 environment, Cortex-A9 and riotboard the last 2 in the hopes that these are all ARMv7 and maybe they are competible. None of tese worked.
I've seen #3377
does this mean that currently this is not possible? That we have to buy a board that is supported?
The text was updated successfully, but these errors were encountered: