Re: rosetta error: Unimplemented syscall number 282 Trace/breakpoint trap

2024-03-20 Thread Volkan SALMA

Great! It worked!

Thank you very much Gedare!






On Monday, March 18, 2024 at 10:05:39 PM GMT+1, Gedare Bloom  
wrote: 





On Mon, Mar 4, 2024 at 6:39 AM Volkan SALMA  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 
> #include 
> #include 
>
> 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

Re: rosetta error: Unimplemented syscall number 282 Trace/breakpoint trap

2024-03-18 Thread Gedare Bloom
On Mon, Mar 4, 2024 at 6:39 AM Volkan SALMA  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 
> #include 
> #include 
>
> 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

rosetta error: Unimplemented syscall number 282 Trace/breakpoint trap

2024-03-04 Thread Volkan SALMA
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



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 
#include 
#include 

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