I have added ecspi2 on fsl-imx8mm-evk.dts. Corresponding patch has been added through kernel.bbappend file. When I run command "SPI /proc/config.gz | grep -v SPIN | grep -v '^#' " on imx8mmevk board after boot to check whether menuconfig configurations are successfully added or not, imx8mmevk throws error zgrep: command not found.
Please try to add gzip and zutils packages to the image.