On Mon, Mar 4, 2024 at 6:39 AM Volkan SALMA <volkansa...@yahoo.com> wrote:
>
> Dear Rtems users,
>
> Newbie here..
>
> I compiled a basic i386 project using the docker image of 
> juanmagomez/rtems-dev.
>
> The generated binary works fine on the real target. However I would like to 
> run it on qemu
> to speed up my development using emulator.
>
>
> When I run QEMU with the following command
>
> qemu-system-i386 -m 128 -no-reboot -append "video=off --console=/dev/com1" 
> -nographic -kernel ./RtemsDevShare/build/i386-rtems6-pc386/hello.exe
>
> I'm getting:
> rosetta error: Unimplemented syscall number 282
>  Trace/breakpoint trap
>
First, try to uncheck the "Use Rosetta for x86/amd64 emulation on
Apple Silicon" option in Docker Settings > General.

>
>
> Do you have any hints/directions to follow for the issue?
>
> Can it be because of I am running the docker image on a Mac computer?
>
> Any directions are welcome. Thanks in advance.
>
>
> The test code I am trying to run is:
>
> #include <rtems.h>
> #include <stdlib.h>
> #include <stdio.h>
>
> rtems_task Init(
>   rtems_task_argument ignored
> )
> {
>   printf( "\nHello World\n" );
>   exit( 0 );
> }
>
> Best, Volkan
>
>
>
>
> _______________________________________________
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to