AM62L: USB-DFU flash and OSPI booting

Part Number: AM62L

Tool/software:

Hi, 

I am using AM62Lx microprocessor. I want to flash image by using USB-DFU mode with my pin configuration (0-15 --> 11001010 0000 0000) by using OSPI. what configuration I need to change in which files? 
After flashing, I want to boot OS from OSPI as primary boot and for that what changes I need to do in uboot commands. 

Best, 
Parv