I am using memtool to read the value from iomux register;
for example, I want to read the SPI2_CS0 with the address of 0x401C0, but failed with bus error.
But I can read the 0x5A000000 (version id register for spi) successfull.
So what is the problem? can you guys help?
Thanks.
Thank you for your reply!
But this is not the answer I want.
Maybe I am not familiar with the memory map;
But I want to know why these register cannot be read through memtool?
Could you tell us which product are you using? And which version of BSP are you using ?
We are using a customized board with iMX8QM;
The base BSP is from yocto with the following command:
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml
DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source fsl-setup-release.sh -b fsl-imx-xwayland