devmem return bus error

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

devmem return bus error

ソリューションへジャンプ
6,563件の閲覧回数
240697273
Contributor I

board: custom board based on imx6ull

kernel: 4.19.35 or 4.1.15

i want to see ecspi1 kernel config, we exec 'devmem 200800c 32', it return 'bus error', even though i see ARM: i.MX25: globally disable supervisor protect · torvalds/linux@24bb244 · GitHub , but i still don't know what should i do.  

i have tried that add 'imx_aips_allow_unprivileged_access("fsl,aips-bus")' and 'imx_aips_allow_unprivileged_access("fsl,spba-bus")'  and   'imx_aips_allow_unprivileged_access("fsl,imx6ull")' and 'imx_aips_allow_unprivileged_access("fsl,imx6ul-ecspi")' , all is return bus error, help me, thanks

0 件の賞賛
返信
1 解決策
6,215件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi he

devmem is not supported by nxp, one can try with memtool

memtool\test - imx-test - i.MX Driver Test Application Software 

www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
6,216件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi he

devmem is not supported by nxp, one can try with memtool

memtool\test - imx-test - i.MX Driver Test Application Software 

www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信