AM62A7: Booting from USB0 using Pen drive linux

Part Number: AM62A7

Tool/software:

Hello,

My device is booting successfully from SD card and eMMC.

Now i have to boot from USB0 in my custome board AM62A7. I am trying to boot from USB0 msc.

USB mouse is working fine while successfully booted from SD card.

I have made USB bootable and flashed image in USB like same as did in SD card (showing boot partion (BOOT and ROOTf )).

I have made changes USB as a host also.

But when i put board in USB boot mode start boot from USB it is showing "SPL: failed to boot from all boot devices"

I am using YOCTO build envirenment.

If i am trying to compile u-boot with "MACHINE=am62axx-evm bitbake -f -c compile u-boot am62ax_evm_r5_defconfig am62ax_evm_r5_usbmsc_defconfig"command it is showing below error.

Can you please support me how to boot from USB any mode DFU or MSC.

thanks 

Pankaj Verma