Why mx8mm android can't use memtool?

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

Why mx8mm android can't use memtool?

951件の閲覧回数
ching-julo
Contributor II

In that past, on imx6 android bsp, the memtool is workable and useful for engineer to adjust soc register.

While in imx8mm android bsp, memtool access register would cause system crash.

What's the difference?  How to enable memtool workable?

ラベル(2)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

846件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ching Ju Lo,

With each Android release security has become increasingly important. Given the symptoms when trying to read the registers it could be a problem with permissions. Have you tested with a userdebug (root access) Android build or enabling Development mode on your eng (development image)? (I would not recommend using a user image as it’s the most limited in terms of permissions and debugging)

I hope this helps!

Regards,

0 件の賞賛
返信

846件の閲覧回数
ching-julo
Contributor II

I'm using eng build, there is no sepolicy or permission problem.

Actually, when mmap function called,  system crash.

The problem should related to memory mapping.

0 件の賞賛
返信