From owner-freebsd-usb@FreeBSD.ORG Thu May 1 04:42:50 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F011B1065679 for ; Thu, 1 May 2008 04:42:50 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4258FC2A for ; Thu, 1 May 2008 04:42:50 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so673633fkk.11 for ; Wed, 30 Apr 2008 21:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8FDAJRNnx9blwrLVRbWmHjMkiqpoA24H2XXWjeNUJUY=; b=MP+TkounUbYWMYzqnLfDJrifF+QTlPG3iJsgRhJ8vSJhY8lEN88wBpYDradUOvNzBGWeLrTJ3C8kslSxYHzg4otUBN5Nkkpuydv492Gt+BAF5khFm2PdULvN/4k437o1VWdCTstn8r7rrgSm4uQv+BINT/xzNXbg6y1s78jNnTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IyVHQEhZmhl1/SCLAxhOksXKaZALlmKnmqEuTh4JNsIawRrYVPeG8cinWbOqdRrQkn9wDPIJMwLv9eeces9EGU/zRupR6JxposonYrHCcxrLP6xAz0VgLzd5FAA42jWGWmEa1ibCOGC/palpK6BWP4tTQSWVxXqXUtdCtKzlaYs= Received: by 10.78.37.7 with SMTP id k7mr590323huk.25.1209616969186; Wed, 30 Apr 2008 21:42:49 -0700 (PDT) Received: by 10.78.172.3 with HTTP; Wed, 30 Apr 2008 21:42:46 -0700 (PDT) Message-ID: Date: Thu, 1 May 2008 12:42:46 +0800 From: "Xiaofan Chen" To: "Hans Petter Selasky" In-Reply-To: <200804301830.49842.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804292159.11467.hselasky@c2i.net> <200804301830.49842.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB Mass Storage Device with HPS Stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 04:42:51 -0000 On Thu, May 1, 2008 at 12:30 AM, Hans Petter Selasky wrote: > Try and find out. I know that many structures can be optimized for minimal > memory usage. Currently I reserve space for 128 USB devices and 32 endpoints > and interfaces. If you reduce those numbers then you will save a lot of > memory. I am a bit confused now. So your USB stack now can be used for Device side which does not require FreeBSD OS support. Is this true? I thought your device side stack is like Linux Gadget which runs some kind of Linux and then act as an usb function device (slave) to a USB host. I am getting two new USB development boards from Microchip, PIC24 16bit and PIC32 32 bit (MIPS based) USB, both with OTG, both will not be able to run FreeBSD or Linux or even uClinux due to memory constraint. I have the Olimex LPC-P2148 (ARM7 based) as well which could not run FreeBSD/Linux either. Do you think any of them can run your stack's device side? What is your test platform for your stack's device side? Does it run FreeBSD? Xiaofan