MIPS with Qemu

Hesham Almatary heshamelmatary at gmail.com
Tue Jan 2 22:24:29 UTC 2018


Hi Rehab,

On Tue, 2 Jan 2018 at 11:26 pm, Rehab Massoud <rehab.massoud at gmail.com>
wrote:

> Hi all,
>
> as in https://devel.rtems.org/wiki/TBR/UserManual/Simulators
> Qemu mips/malta - is said to work with -M malta option. But when I tried
> different variants of qemu-mips, I get either a segmentation fault,
> architecture does not exist or a non compatible image. Has anyone succeeded
> to run qemu-mips with rtems can guide me where to start?
>
I recently ran RTEMS/malta on QEMU. I guess what’s wrong is that you use
“qemu-mips” instead of “qemu-system-mips”

>
> I wish I could just run a simple application for now (like those
> mips-linux-gcc compiled executable I can run with qemu-mips-linux-user); or
> this will not work without a complete bootable machine?
>
You need a complete bootable machine. RTEMS applications are linked with
the whole RTEMS kernel and libs, producing a single bootable image (e.g.
hello.exe). That’s why you need qemu-system-mips.

>
> Any hints are highly appreciated...
>
> Thanks in advance and best regards,
>
> Rehab
> _______________________________________________
> 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/20180102/bfa98484/attachment-0001.html>


More information about the users mailing list