error showing-configuring usb otg

error showing-configuring usb otg

  • hi all,

    i triy to cinfigure usb otg in leo365,configured as per procedure given in below :

    https://www.ridgerun.com/developer/wiki/index.php/How_to_configure_DM365_for_USB_host,_device_and_OTG_support

    but it showing following error while try to recompile and install,

    any suggesstion???

    dm365@dm365-desktop:~/work/leo365$ make
      Ridgerun Linux SDK
      Board configuration: Leopard Board DM365
     
      Processing toolchain...
        Build complete
      Processing kernel...
    <stdin>:1351:2: warning: #warning syscall migrate_pages not implemented
    drivers/usb/gadget/r8a66597-udc.c: In function ‘r8a66597_probe’:
    drivers/usb/gadget/r8a66597-udc.c:1585: error: implicit declaration of function ‘IS_ERR’
    drivers/usb/gadget/r8a66597-udc.c:1588: error: implicit declaration of function ‘PTR_ERR’
    make[4]: *** [drivers/usb/gadget/r8a66597-udc.o] Error 1
    make[3]: *** [drivers/usb/gadget] Error 2
    make[2]: *** [drivers] Error 2
    make[1]: *** [build] Error 2
    make: *** [kernel_build] Error 2
    dm365@dm365-desktop:~/work/leo365$

  • I have seen this problem before.  I documented how to resolve the issue at

    www.ridgerun.com/.../How_to_configure_DM365_for_USB_host,_device_and_OTG_support