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

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

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

ソリューションへジャンプ
2,347件の閲覧回数
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,729件の閲覧回数
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,730件の閲覧回数
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 件の賞賛
返信