[U-Boot] implement usb gadget ethernet in uboot

Remy Bohmer linux at bohmer.net
Wed Apr 22 17:01:29 CEST 2009


Hello,

2009/4/22 Kyo Yin <kyo.yin at gmail.com>:
> hi remy
>     with your help, i have add my code to uboot and the probe can work. but
> i still have some questions.

Great!

>     1. After probe, in kernel, i will wait the interrupt generated by insert
> usb cable , but in uboot, we don`t have interrupt, so how do you deal with
> it.

Polling until we detect the host...
Notice that similar to the network interfaces, we make the USB-devices
only visible towards the host while we are capable of handling its
communication.
So, During key/console input key polling, USB device interfaces are down...

Kind Regards,

Remy


More information about the U-Boot mailing list