On Thursday 24 June 2010 14:24:01 Friedrich Schick wrote:
> Hello,
> we have an embedded system running the eCos real-time operating system. Now
> we consider porting the USB stack from FreeBSD to eCos. What needs to be
> done to have a running standalone version of the FreeBSD USB stack? The
>  work may also be interesting to anybody, who runs an embedded system
>  without having a real operting system as FreeBSD or Linux.


On the high-level you need to wrap malloc, newbus, thread creation, timers, 
mutexes and condition variables. If you want DMA enabled devices to work like 
the EHCI, you also need a wrapper for busdma. This can be compile-time opted 

I have created a wrapper layer that allows you to compile the core of the 
FreeBSD 8.x USB stack in userspace. I could send you a link off-list if you 
are interested.

Minimum footprint I've seen using the stock USB core is: 64-128Kbytes

It is possible to feature reduce the USB stack and then the executable 
footprint will be reduced aswell.

freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to