Hi Jon,
This is what I observed, I needed to modify usbdcore_omap1510.c file to get it complied properly with usbtty.c
Also, After disabling  following code from  usbdcore_omap1510.c,

  /* Set and check APLL */
     outw (0x0008, APLL_CTRL);
      UDCREG (APLL_CTRL);
      /* Set and check DPLL */
      outw (0x2210, DPLL_CTRL);
      UDCREG (DPLL_CTRL);

I was able to get Uboot console over USB on osk5912, but is not stable.

Now, I will test this with other suggested modifications.

Thanks for your Replies.

Thanks and Regards,
Shivdas Gujare


On Sun, Jul 27, 2008 at 4:51 AM, Hunter, Jon <jon-hunter@ti.com> wrote:
>> Due to the fact thath the documentation is under NDA and you have access
>> to it. Could you send a patch for it?

No problem. I will have a crack. Please note long-time user, first time patcher, so let me know if anything gets messed up but I have tried to follow the guidelines that you have.

By the way, whilst playing around with this, I did noticed that there have been alot of updates made to drivers/serial/usbtty.c. It appears to have broken support for usbtty on OMAP devices. The board "SX1" (a Siemens OMAP1510 board which I don't have) that originally added the usbtty support for OMAP is no longer compiling correctly with the latest version of u-boot. Back in the days of u-boot v1.1.x usbtty was working a treat for OMAP5912. Looks like more work to get usbtty back up and running on the OMAP5912 ;-(

Cheers
Jon