uClinux usb host support

Hello,

I’ve done the following:

Within the file /include/asm/dma-mapping.h:

On rule 20:

//extern void dma_cache_maint(const void *kaddr, size_t size, int rw);

extern void consistent_sync(const void *start, size_t size, int direction);

Further on within the same file, everywhere dma_cache_maint is called, I call the method consistent_sync.

For example:

consistent_sync(cpu_addr, size, dir);

//dma_cache_maint(cpu_addr, size, dir);

Afterwards I have run a “make” command in de uClinux distribution and everything builds. Afterwards booted the board and no problems.

Then I’ve configured the kernel to support my usb bluetooth dongle.

The following configuration:

In Device Drivers->USB support:

  • Support for Host-side USB

  • USB verbose debug messages

  • USB device filesystem

  • USB device class-devices (DEPRECATED)

  • ISP116X HCD support

ISP1362 HCD support

  • SL811HS HCD support

  • R8A66597 HCD support

  • USB Mass Storage support

In Networking →

  • Bluetooth subsystem support —>

  • L2CAP protocol support

  • SCO links support

  • RFCOMM protocol support

  • RFCOMM TTY support

  • BNEP protocol support

  • Multicast filter support

  • Protocol filter support

  • HIDP protocol support

Bluetooth device drivers —>

  • HCI USB driver

  • SCO (voice) support

  • HCI UART driver

  • UART (H4) protocol support

  • BCSP protocol support

HCILL protocol support

  • HCI BCM203x USB driver

  • HCI BPA10x USB driver

  • HCI BlueFRITZ! USB driver

  • HCI VHCI (Virtual HCI device) driver

If afterwards I try to open the device, I get the message that there is no such device.

It looks like the usb dongle is not connected.

Within the boot messages of the board I can see a lot of drivers loaded however I can’t find anywhere that a usb device has been connected. How can I verify if a device has been connected and what do I have to change to make the device work.

I hope anyone can help.

Regards

Erwin