Hello,

The "panic: Attempted to execute unimplemented instruction 'mrc'" message
means that your code is trying to access a coprocessor. You have to check
if your code can run in the FS mode.

To run your own OS, the 'baremetal' option may be interesting in the FS
mode, but I've never tried.

Hope it helps,

--
Fernando A. Endo, PhD student and researcher

Université de Grenoble, UJF
France


2015-04-27 17:25 GMT+02:00 Kuan Hsun Chen <[email protected]>:

> Hello all,
>
> I am trying to execute an ARM executable file with Cortex-A9
> bsp::realview_pbx_a9.
> The environment I used is gem5.opt and I'm running in SE mode.
> And the file is produced by RTEMS, which is a real-time operating system.
>
> However, I got a wrong message which is quite simple:
> panic: Attempted to execute unimplemented instruction 'mrc'
> I cannot figure out how to solve this problem, since the space and source
> are already the same for Realview ARM development board...
>
> On the other hand, if I want to have a full system simulation, what kind
> of kernel should I prepare for Gem5 ARM?
> Since my source file is not targeted for linux kernel, I cannot directly
> mimic any visible tutorial for this.
> So far I didn't find any information about the kernel requirement for
> Gem5...
>
> Had anyone faced these issues before?
>
> Best,
> Kuan-Hsun
>
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to