1. You need to prepare usb the same as you prepare sdcard.
2, The you use the following commands
usb reset
fatls usb 0:1
fatload usb 0:1 ${fdt_addr} imx8mm-evk.dtb
fatload usb 0:1 ${loadaddr} ${image}
setenv bootargs console=${console},${baudrate} ${smp} root=/dev/sda2 rootwait rw
booti ${loadaddr} - ${fdt_addr_r}
If you use mount command, you will see the rootfs is usb sda2.(default emmc is /dev/mmcblk2p2 on / type ext4 (rw,relatime))
/dev/sda2 on / type ext4 (rw,relatime)
root@imx8mmevk:~#
root@imx8mmevk:~# mount
/dev/sda2 on / type ext4 (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=668780k,nr_inodes=167195,mode=755)