wiki:TBR/UserManual/USBStack

Version 3 (modified by Sh, on 08/13/10 at 19:34:06) (diff)

/* Embedded Brains FreeBSD */

USBStack

There are two efforts for this underway. The Embedded Brains effort is the preferred port.

Embedded Brains FreeBSD

Status: The basic stack functionality works well. Planned for merger post 4.10 branching.

Contact: Thomas Doerfler and Sebastian Huber

The basic stack has been ported but the focus was on removable mass storage devices. The exact set of devices supported has to be evaluated. There is likely a large opportunity for porting other device classes. A lot of work has been done to support the removal of disks in RTEMS. This was mainly a Bdbuf issue and is fixed now. A review of the file system code showed that RTEMS will not easily support a forceful unmount of file systems. So the application has to clean up proper before a disk can be removed from the RTEMS system. A general purpose media manager helps here.

See also PR 1601.

Ray Xu NetBSD

Status: Ray is trying to run ohci test on QEMU with RTEMS

USB host stack for RTEMS. Port the latest NetBSD USB stack for RTEMS. Currently, a initial porting is finished. The following work is needed

a) Merge BSD include file with old header file tcp/ip stack is using b) More file system support and also, dynamic file system mount/un-mount c) Memory alloc/de-alloc for realtime system. USB need lots of dynamic memory. Current porting do not consider the performance issue for RTEMS d) More hardware/IC-chip support

The project is very likely beyond the scope of a Google Summer of Code project. However, we can divide it to some small ones like add HID device support for RTEMS.