I am working with IMX8M Mini EVK and yocto project build details:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
I made the dts changes and menuconfig as sugegsted in the thread : test code for checking ECSPI2 on iMX8M Mini EVK
I want to test the hw loopback : Can I short In the EXP_CN J1003 Pin 19 and Pin 21
and try running the testcode of SPI using mxc_spi_test1.out.
For testing hw loopback, apart from connecting the J1003 pin 19 and pin 21 together, any other hw care needs to take.