From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Bohmer Date: Mon, 16 Feb 2009 21:02:18 +0100 Subject: [U-Boot] Atmel AT91 USB Device Controller Driver In-Reply-To: <2c5cd1de0902160227g462d1c3ag6db73bf57130ffdd@mail.gmail.com> References: <2c5cd1de0902100231n1c9700a8n7708e2b90886b99a@mail.gmail.com> <3efb10970902101214w410a6933sed1412fcc8fdf68b@mail.gmail.com> <2c5cd1de0902160227g462d1c3ag6db73bf57130ffdd@mail.gmail.com> Message-ID: <3efb10970902161202h56fe1ae7n3c2ebec5955d299d@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 Hello, >>> 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: > 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 I read that... > 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? Sorry, but the closest thing to what you need I have at this moment, is the at91_udc driver in the CDC branch. You might need to glue it together to the usbtty driver, or you can look if you could use the Linux serial usb gadget driver and port it to U-boot, because the cdc branch is actually a port of the Linux USB-gadget layer to U-boot. Kind Regards, Remy