How to run RISC-V test applications using qemu?

Hesham Almatary heshamelmatary at gmail.com
Wed Nov 25 14:02:20 UTC 2020


On Wed, 25 Nov 2020 at 15:41, <Jan.Sommer at dlr.de> wrote:

> Hello,
>
> I tried to experiment a bit with the riscv BSPs.
> I could run them using the SIS simulator, but failed with qemu.
> Regarding qemu I found this ticket:
> https://devel.rtems.org/ticket/3608
>
> In one mailinglist thread (from 2018) someone said it worked with a
> current master version of qemu.
> I have compiled qemu-5.1 and qemu-5.2-rc2. Does anyone know if those
> version have the necessary patches included?
>
> Then another source of error could be the command line parameters I used:
> qemu-system-riscv32 -nographic -machine virt -m 2G -bios none -nographic
> -net none -serial stdio -monitor none -kernel ticker.exe
>
> Does someone have an example for a working set of command line options?
>

Which BSP did you build and how did you build it? Can you try with -bios
ticker.exe and discard the -kernel option? Did you try RV64?


> Best regards,
>
>     Jan
>
> Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR)
> German Aerospace Center
> Institute for Software Technology | Software for Space Systems and
> Interactive Visualization | Lilienthalplatz 7 | 38108 Braunschweig |
> Germany
> <https://www.google.com/maps/search/Lilienthalplatz+7+%7C+38108+Braunschweig+%7C+Germany?entry=gmail&source=g>
>
> Jan Sommer
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-- 
Hesham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20201125/55caa8cf/attachment.html>


More information about the users mailing list