You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Alan Carvalho de Assis <ac...@gmail.com> on 2020/05/10 23:06:13 UTC
Alternative Emulador to test NuttX
Renode is a very interesting alternative to QEMU:
https://interrupt.memfault.com/blog/intro-to-renode
According with project:
"Why not QEMU? - Readers who have experience with emulation will point
out that QEMU has existed for a long time, and is capable of emulating
Cortex-M targets. In our experience, QEMU is focused on emulating
systems meant for higher-level OSes (e.g. Linux computers) rather than
embedded devices. To date, it only supports two cortex-M series
targets, both made by TI."
I did a test and noticed that NuttX "nsh>" is not printed, but it
prints until the 'F' debug:
/* Initialize onboard resources */
stm32_boardinitialize();
showprogress('F');
/* Then start NuttX */
showprogress('\r');
showprogress('\n');
Please see attached image case you interest to test it.
BR,
Alan
Re: Alternative Emulador to test NuttX
Posted by Alan Carvalho de Assis <ac...@gmail.com>.
On 5/10/20, Nathan Hartman <ha...@gmail.com> wrote:
>
> This is interesting!
>
> Maybe it could be possible to have some cooperation between the two
> projects (NuttX and Renode) to benefit both somehow?
>
I think it could be a good idea!
The default STM32F4Discovery example is with Contiki.
BR,
Alan
Re: Alternative Emulador to test NuttX
Posted by Nathan Hartman <ha...@gmail.com>.
On Sun, May 10, 2020 at 7:06 PM Alan Carvalho de Assis
<ac...@gmail.com> wrote:
>
> Renode is a very interesting alternative to QEMU:
>
> https://interrupt.memfault.com/blog/intro-to-renode
>
> According with project:
>
> "Why not QEMU? - Readers who have experience with emulation will point
> out that QEMU has existed for a long time, and is capable of emulating
> Cortex-M targets. In our experience, QEMU is focused on emulating
> systems meant for higher-level OSes (e.g. Linux computers) rather than
> embedded devices. To date, it only supports two cortex-M series
> targets, both made by TI."
>
> I did a test and noticed that NuttX "nsh>" is not printed, but it
> prints until the 'F' debug:
This is interesting!
Maybe it could be possible to have some cooperation between the two
projects (NuttX and Renode) to benefit both somehow?
Thanks for sharing.
Nathan
Re: Alternative Emulador to test NuttX
Posted by Brennan Ashton <ba...@brennanashton.com>.
This is what I use to test my LiteX FPGA based RISC-V development. It
works fairly well if you can represent enough of the IP which is why for
the opensource RISC-V side of things it works quite well, for ARM I have
seen mixed results although as you said there is a lot more emulated. They
do have multiple Zephyr examples and I'm sure we could get some NuttX ones
in there as well. My C# is really rusty and I have never used it on Linux
so I got a little lost in how to extend it.
I have been wanting to get the QEMU stuff in better shape for 64bit to make
it a lot easier to test and develop the upper half drivers (especially USB)
and the subsystems like networking. Being able to attach real hardware
through from the host to NuttX can be really powerful.
--Brennan