i.MX 8QuadMax MEK registers

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX 8QuadMax MEK registers

1,761件の閲覧回数
thejasiwnichand
Contributor I

we are using the i.MX 8 QuadMax MEK CPU boards. u-boot is compiled using aarch64-poky-linux-gcc. In the standalone hello world application we are trying to read the RMR_EL3 with __asm__("mrs x0,rmr_el3");  with this statement in trace 32 we are seeing following error,

"debug port fail
Debug registers seem to be inaccessible (EDPRSR, DBGAUTHSTATUS, CTRL/STAT)".


Also tried with "RMR registers with __asm__ __volatile__("MRC p15,0,R0,c12,c0,2");" this is giving compilation error 

"{standard input}: Assembler messages:
{standard input}:109: Error: unknown mnemonic `mrc' -- `mrc p15,0,R0,c12,c0,2'"

We are trying this, to know the execution state(32 / 64 bit) of the processor and want to change from 32  to 64 or viceversa. 

Kindly help us in reading this register. Is there any other way to know the execution state and to change the same.  

Appreciate your response at the earliest.

Thanks.

Thejaswini

0 件の賞賛
返信
2 返答(返信)

1,496件の閲覧回数
b36401
NXP Employee
NXP Employee

I sent you email message.

0 件の賞賛
返信

956件の閲覧回数
alexquisi74
Contributor I
Hi, I am getting the same error.

May you please share the corresponding information?

Regards,

Alexander
0 件の賞賛
返信