Hi,Carlos_Musich
I didn't mean that.let me give an example to describe the problem .
If I config the linux kernel 4.1.15 like this :
make menuconfig
Device drivers --->
USB support --->
<*> ChipIdea Highspeed Dual Role Controller
ChipIdea device controller
<*> USB Gadget Support --->
<*> ChipIdea Highspeed Dual Role Controller
ChipIdea device controller
<*> USB Gadget Support --->
<*> USB Gadget Drivers (Serial Gadget (with CDC ACM and CDC OBEX support)
make and load zImage into board,plug the board into computer using usb cable .
In PC I installed gadgetserial driver ,
when I open the device manager , I find a serial port device :Blackin Com Port (COM4)
Now I want to do this in the uboot ,don't use linux kernel .
So how to config the uboot to implement this function .