Hi,
We are using MYIR's MYD-Y6ULX i.MX 6UL/6ULL based board, it can update via USB OTG. You can refer to below. Hope it is helpful.
6.1 USB Update Method
Install tool
NXP provides a manufacture tool called MfgTool, we use MfgTool 2.7.0 version.The MfgTool supports Windows and Linux system.It is located in directory "03Tools/ManufactoryTool" of resource package.You can copy and extract it to your work directory.
Update steps (follow the sequence):
- Change third bit as OFF, four bit as ON on toggle switch(SW1).
- Use USB cable(Type-A to Micro-B) connect to micro usb port(J7) with PC USB port.
- Use DC 12 power supply connect with power jack(J22).
- Double click file "core-image-base-myd-y6ull-nand.vbs" under MfgTool directory, then the MfgTool will show the HID device on recognize.
- Click the "Start" button on MfgTool GUI, it will auto download system image to storage of board.
The progress bar will show as green when update finish. While it will show as red if failed.In this case you can view "MfgTool.log" file to get more information.Another way is use USB to TTL cable connect to Debug port(JP1), you can view the serial port output to analysis failed reason after update again.
Update files on MfgTool
MfgTool update files have two directories, firmware and files.The files directory store files for burning into the flash of MYD-Y6ULX board. It's located in "MYD-Y6ULXmfgtools/Profiles/Linux/OS Firmware/files/". The firmware directory store files for burning system. It's located in "MYD-Y6ULX-mfgtools/Profiles/Linux/OS Firmware/firmware/". You need to update those files when you change flash size or partition offset. List of files directory:
FileName Description

Boot from NAND
You need power down and change the toggle switch (SW1) to NAND boot type when you follow each way from two ways.

Reconnect the power adapter, the board will boot into linux through NAND flash。