转载地址:https://community.nxp.com/thread/316376
Device Drivers -> USB support -> USB announce new devicesDevice
you may check your kernel config :
1: <*> USB Gadget Drivers (File-backed Storage Gadget) ---> should be this
2:[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
I have it working now.
I needed to replace the linuxrc script with an updated linuxrc script from the uuc repository (https://github.com/codeauroraforum/imx-uuc.git), and change u-boot parameters to include "rdinit=/linuxrc" (bootargs).
In Linux kernel, USB Gadget Drivers (Mass Storage Gadget) needs to be chosen (USB_MASS_STORAGE [=y]), and as others mentioned, CONFIG_FSL_UTP [=y].
The vid/pid values in the "Updater" commands in the xml, should match the values in the (updated) linuxrc script.
<STATE name="Updater" dev="MSC" vid="066f" pid="37ff"/>