isochronous transfer porting

Hans Petter Selasky hps at selasky.org
Tue Feb 3 06:31:11 UTC 2015


On 02/03/15 07:23, Hans Petter Selasky wrote:
> On 02/03/15 07:16, Hans Petter Selasky wrote:
>> On 02/03/15 07:11, james wrote:
>>> HI
>>> I am recently doing a project that needs support usb camera in RTEMS.
>>> The platform is based on ARMv7, otg controller is EHCI compatible
>>>
>>> I am considering porting isochronous transfer in FreeBSD to RTEMS,
>>> but not familiar with FreeBSD code yet, and I found that
>>> Sebastian Huber has ported FreeBSD USB stack to RTEMS, but only support
>>> MMC and usb mass storage now(I have supported usb mass storage host in
>>> RTEMS).
>>>
>>> do you have any suggestions on this project? If porting from FreeBSD,
>>> which point should
>>> I start with?Does anyone have done this work before?
>>> Thanks in advance
>>
>> Hi,
>>
>> You should probably update the USB code from FreeBSD 11-current. If mass
>> storage is working isochronous transfers should work too. It should work
>> more or less the same like before.
>>
>> --HPS
>>
>
> You don't need to port mass storage from uboot. See "usb_msctest.c" in
> FreeBSD for a very simple interface.
>
> --HPS
>

Hi,

Have a look at "sys/boot/usb" in FreeBSD-11-current if you need a 
standalone and independent USB stack build for use with bootloaders and 
such.

--HPS



More information about the freebsd-arm mailing list