Hello Every Body,<br><br>Wish u very happy new Year.<br><br>I am still stucked in usb console in u-boot.<br><br>I implemented usb controller driver inside drivers/usb/ for s3c2440
from open moko site and applied the changes in the u-boot required for
usbdcore_s3c2440.c.And in the udc_init() function i added the gpio
configuration as per usb device in my smdk2440 board.<br><br>But still the interrupt is not being generating yet when i am
connecting the cable from host to target..According to open moko,they
added a small piece of code inside cpu/arm920t/interrupt.c i.e<br><br>void s3c2440_irq(void)<br>
{<br> printf("\ns3c2440_irq\n");<br> S3C24X0_INTERRUPT * irq = S3C24X0_GetBase_INTERRUPT();<br> u_int32_t intpnd = irq->INTPND;<br>#ifdef CONFIG_USB_DEVICE<br> if (intpnd & BIT_USBD) {<br>
s3c2440_udc_irq();<br> irq->SRCPND = BIT_USBD;<br> irq->INTPND = BIT_USBD;<br> }<br>#endif /* USB_DEVICE */<br>}<br><br>And calling the function inside include/common.h as<br>
<br>#define ARM920_IRQ_CALLBACK s3c2440_irq<br> <br>The "ARM920_IRQ_CALLBACK" macro is being called inside cpu/arm920t/interrupts.c in do_irq() function as<br><br>#if defined (ARM920_IRQ_CALLBACK)<br> ARM920_IRQ_CALLBACK();<br>
<br>All the above i implemented ,but still i am not able to go next step.<br><br><br>So pls guide me further since m new to this usb<br><br>And one more question,did any body has done this usb console wrt smdk2440?<br><br>
Thanks in advance<br><br>Arjun<br>