From owner-freebsd-mips@FreeBSD.ORG Fri Apr 1 22:19:05 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED4B1106566B for ; Fri, 1 Apr 2011 22:19:05 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id B57898FC1B for ; Fri, 1 Apr 2011 22:19:05 +0000 (UTC) Received: by yie12 with SMTP id 12so1855877yie.13 for ; Fri, 01 Apr 2011 15:19:05 -0700 (PDT) Received: by 10.150.63.19 with SMTP id l19mr4978800yba.71.1301696345124; Fri, 01 Apr 2011 15:19:05 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.151.13.12 with HTTP; Fri, 1 Apr 2011 15:18:44 -0700 (PDT) In-Reply-To: References: From: Juli Mallett Date: Fri, 1 Apr 2011 15:18:44 -0700 X-Google-Sender-Auth: q2-S191AswnKp4mGIGAjpQE3ihA Message-ID: To: bhanuprakash bodireddy Content-Type: text/plain; charset=ISO-8859-1 Cc: "mips@freebsd.org" Subject: Re: Blatant simple bug in Cavium SDK USB code? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 22:19:06 -0000 Following up to Andrew, On Fri, Apr 1, 2011 at 14:23, bhanuprakash bodireddy wrote: > On Fri, Apr 1, 2011 at 1:03 PM, Andrew Duane wrote: >> >> This isn't even close to the only problem I'm having. I don't make it out >> of cvmx_usb_initialize at all. One of two things happens: > > We are yet to add the USB support to mainline. I have sent USB support > patches to Juli and she had reviewed them earlier. > But some of the routines are yet to be rewritten(due to other issues) and > hence the support is still missing. The outstanding patches are for Octeon 2 only, so if you're using CN5XXX you'll have to wait for someone to fix up the SDK-based USB driver. HPS did a great job on it initially, even working without hardware, and we managed to get it mostly working, but there were/are remaining issues that somebody with interest, time and hardware will need to solve. My USB need has disappeared and I've been short on time, so it hasn't been a priority for me. (I can't speak to CN3XXX as I don't have any usable CN3XXX hardware presently and it doesn't seem worth investing as much effort in.) Oleksandr has Octeon hardware with USB, and there's a system with USB in the Netperf cluster (although obviously that isn't really convenient for USB testing, but can be used for basic controller work) and Alexander Kabaev has expressed an interest in USB in the past. There's a D-Link Ukraine developer who has done some work with the DWC_OTG driver from Linux for Octeon and some other boards with similar hardware. Adrian Chadd should be getting Octeon hardware in the near future, including USB. So there's enough people with the right skills and hardware out there, it's just a matter of someone having enough time and interest to work on it. Juli.