From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Porcedda Date: Mon, 16 Feb 2009 11:27:20 +0100 Subject: [U-Boot] Atmel AT91 USB Device Controller Driver In-Reply-To: <3efb10970902101214w410a6933sed1412fcc8fdf68b@mail.gmail.com> References: <2c5cd1de0902100231n1c9700a8n7708e2b90886b99a@mail.gmail.com> <3efb10970902101214w410a6933sed1412fcc8fdf68b@mail.gmail.com> Message-ID: <2c5cd1de0902160227g462d1c3ag6db73bf57130ffdd@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 10, 2009 at 9:14 PM, Remy Bohmer wrote: > Hello Fabio, > > 2009/2/10 Fabio Porcedda : >> [...] >> >> I would like to use an USB Console with an AT91SAM9260 microcontroller, >> so I've read that the usb device driver and the serial over usb driver >> should be enabled: >> >> [...] > > You might take a look at the U-boot-usb git tree, especially the cdc branch. > It contains everything to get the at91udc driver to work in U-boot. Thank you very much for the information. I have previously checked the U-Boot usb git tree, but i missed the cdc branch. In the cdc branch there is the at91udc driver with the CDC-ethernet driver. But i need to use the Serial over USB, implemented by the drivers/serial/usbtty.c The usbtty.c use the udc_* api implemented by usbdcore_mpc8x.c and usbdcore_omap1510.c. If i want to use the usbtty.c driver i need to porting it to the at91udc gadget api implemented by the at91udc driver? Best Regards. -- Fabio Porcedda