pls check the steps as below:
using make "SOC=iMX8QX flash_cm4_xip" or "make SOC=iMX8QX flash_linux_m4_xip" to generate the desired flash.bin.
(The first one is to generate a flash.bin which only contains the M4 XIP image,
the second one is to generate a flash.bin which contains both M4 XIP and U-Boot.)
after uuu -b qspi flash_uboot.bin flash.bin, power off the board, change the boot mode to QSPI[0110], and power on the board again.
If using "make SOC=iMX8QX flash_cm4_xip" in step 3, one UART console will display M4 demo output.
if using "make SOC=iMX8QX flash_linux_m4_xip", you will need mx8qm-ahab-container.img, scfw_tcm.bin, u-boot-spl.bin, u-boot.bin, m4_image.bin, b31.bin under imx-mkimage/iMX8QX.