Adding New comand

Sascha Hauer s.hauer at pengutronix.de
Tue Jan 3 04:32:55 EST 2012


On Tue, Jan 03, 2012 at 09:27:04AM +0000, G Rajender wrote:
> Hi,

Please do not top post.

> 
> I want to configure the USB OTG port in iMX35 board as a device by
> adding a separate command and writing USB OTG peripheral code
> (firmware) in command function.  This USB OTG of iMX35 board should
> detect in Windows PC. This is primary goal.  ThanX.

Have a look at commands/dfu.c. This is probably the closest template for
this we have in barebox.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list