AnsweredAssumed Answered

devmem return bus error

Question asked by he lun on Jan 2, 2020
Latest reply on Jan 4, 2020 by igorpadykov

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