No Known UDC device found in massflash

Flash.sh → the hardware pull the module into recovery mode. Flash.sh will flash the QSPI + the eMMC directly

initrd flash-> the hardware pull the module into recovery mode. Flash.sh will flash the QSPI first. Initrd is installed and then used to boot up. Initrd will see what you want to flash and flash it. But initrd is same as kernel, which means it reads the device tree and then search the I/O peripherals.

In this stage, usb device mode is needed and this part depends on device tree. If usb device mode is not able to be up, then initrd will not be able to flash anything.

fine, But didn’t change any customization on flashing USB port, even though initrd flash would be hit.

Based on my experience, most users say “my board is same as devkit” turns out they are not.

The correct procedure is you should use flash.sh to flash your board first. Make sure usb device mode can work fine after kernel boots up. (Make sure that device tree is fine) Then, use that device tree on initrd flash case.