i.MX 8QuadMax MEK registers

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX 8QuadMax MEK registers

1,764 次查看
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,499 次查看
b36401
NXP Employee
NXP Employee

I sent you email message.

0 项奖励
回复

959 次查看
alexquisi74
Contributor I
Hi, I am getting the same error.

May you please share the corresponding information?

Regards,

Alexander
0 项奖励
回复