We are going to make product based on IMX8MQ (MIMX8MQ6DVAJZAA) processor. Currently we are doing POC on IMX8MQ processor EVK.
Please provide your suggestion if we are missing anything.
Thanks,
Jignesh
Hi Jignesh
for registers access one can try to use memtool:
memtool\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
My question is I am able to access all the other physical registers using "devmem" utility without any issue.
But we are not able to access OCOTP controller registers using same utility.
We are also able to access same registers at u-boot level.
Question: why we are not able to access OCOTP controller registers at later stage (after kernel booting)? Is there any driver or configuration which doesn't allow us to access OCOTP controller registers after booting. Because at earlier stage driver (drivers/soc/imx/soc-imx8.c) is accessing OCOTP controller registers successfully.
Thanks,
Jignesh
Hi Jignesh
devmem is not supported by nxp, one can post issues related to devmem on
kernel mail list or check linux forums, like
memory - How to access physical addresses from user space in Linux? - Stack Overflow
Best regards
igor