imx6: android6.0 can't find /dev/mem

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

imx6: android6.0 can't find /dev/mem

跳至解决方案
2,376 次查看
jiejia
Contributor III

Hi,

  I want to access register according /dev/mem in android 6.0 refer https://community.nxp.com/message/457670 . But I can't find /dev/mem in android fs. Why?

标签 (4)
0 项奖励
回复
1 解答
1,758 次查看
gary_bisson
Senior Contributor III

Hi,

The reason is that it isn't enabled in the kernel configuration:

linux-2.6-imx.git - Freescale i.MX Linux Tree 

The reason behind that reason is for security purposes. There's a CTS test that checks that /dev/mem isn't present, so it is the safe/standard option to disable it.

Regards,

Gary

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,759 次查看
gary_bisson
Senior Contributor III

Hi,

The reason is that it isn't enabled in the kernel configuration:

linux-2.6-imx.git - Freescale i.MX Linux Tree 

The reason behind that reason is for security purposes. There's a CTS test that checks that /dev/mem isn't present, so it is the safe/standard option to disable it.

Regards,

Gary

0 项奖励
回复