USB stack and protocols in RTEMS-4.10?

Emeric Vigier emeric.vigier at algolux.com
Thu Jun 9 13:43:33 UTC 2016


On Thu, Jun 9, 2016 at 3:49 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> Hello Emeric,
>
> the USB stack is a part of the LibBSD (https://git.rtems.org/rtems-libbsd).
>
> On 08/06/16 23:34, Emeric Vigier wrote:
>>
>> Hi RTEM'ers,
>>
>> I have a devboard driven by a Leon CPU (Sparc arch):
>> https://en.wikipedia.org/wiki/LEON.
>> It runs RTEMS-4.10.99.0. I'd like to know if this version includes a
>> USB stack (for Sparc) and/or USB protocols (AFAIK architecture
>> independent?).
>>
>> I saw references of libbsd:
>> * https://devel.rtems.org/wiki/TBR/UserManual/USBStack
>> * https://devel.rtems.org/ticket/1601
>
> I would use the RTEMS master.
>
>>
>> Questions:
>> * Does libbsd include a USB stack for Sparc/Leon CPU?
>
>
> Currently it is not supported. The GRLIB manual suggests that it uses an UHCI or EHCI controller. Both are supported by LibBSD. What is missing is the LEON adaptation.
>
>> * What USB protocols are supported by this libbsd-rtems? I am
>> attentive to Mass-Storage (MSC) and Ethernet over USB (CDC, usbnet).
>
> Mass storage, yes.
>
> Ethernet over USB, no. However, it is supported by FreeBSD, so its just porting the code to LibBSD.
>
>> * The RTEMS-4.10.99 running on my board does not embed libbsd. How
>> much work is it (for the linux kernel developer I am) to integrate
>> libbsd in RTEMS-4.10.99 for Sparc?
>
> This is hard to guess, for an RTEMS newbie maybe four to infinite weeks. Its probably more efficient to contract people specialized in this domain.

I see. Thanks for these valuable information.

> --
> Sebastian Huber, embedded brains GmbH

--
Emeric



More information about the users mailing list