From owner-freebsd-arm@FreeBSD.ORG Tue Feb 3 06:31:11 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3A1AF7C for ; Tue, 3 Feb 2015 06:31:11 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6653F948 for ; Tue, 3 Feb 2015 06:31:11 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id CB2E01FE023; Tue, 3 Feb 2015 07:31:08 +0100 (CET) Message-ID: <54D06B60.2060900@selasky.org> Date: Tue, 03 Feb 2015 07:32:00 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: james , freebsd-arm@freebsd.org Subject: Re: isochronous transfer porting References: <54D066A0.1090602@gmail.com> <54D067BB.9070503@selasky.org> <54D06952.8080402@selasky.org> In-Reply-To: <54D06952.8080402@selasky.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2015 06:31:11 -0000 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