From owner-freebsd-mips@FreeBSD.ORG Thu Jun 17 19:18:32 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5F36106567B for ; Thu, 17 Jun 2010 19:18:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4A08FC17 for ; Thu, 17 Jun 2010 19:18:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o5HJF9Lo072587; Thu, 17 Jun 2010 13:15:09 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 17 Jun 2010 13:15:13 -0600 (MDT) Message-Id: <20100617.131513.177916662552750992.imp@bsdimp.com> To: felipe.no88@yahoo.com.br From: "M. Warner Losh" In-Reply-To: <259623.75989.qm@web45815.mail.sp1.yahoo.com> References: <259623.75989.qm@web45815.mail.sp1.yahoo.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-mips@freebsd.org Subject: Re: RB433 with FreeBSD 7.3 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: Thu, 17 Jun 2010 19:18:32 -0000 : Is possible run FreeBSD 7.3 on RB433AH in card SD with the patchs : for FreeBSD9-current? Yes. However, I think that the question you really want to ask is 'how much effort is it to port the AR71xx support in -current back to 7.3-release? And also how much effort it would be enhance the SD stack to support running over SPI instead of running over the specialized SD interface. The port back to 7.3 likely isn't a huge amount of work. Interfaces haven't changed that much. However, I'm sure that I'm forgetting about some changes that would make it difficult :). Augmenting the SD stack to work over an SPI bus would be quite a bit more effort. The SPI commands are a little different than the normal ones, and some careful thought and attention to detail would be needed to make it work. The current SD stack likely would need some refactoring to accomplish this, since I don't think it is possible to mechanically translate the SD "bus" commands to the SPI commands (but to be honest, it has been 3 years since I looked at that part of the SD standard). Warner