From owner-freebsd-arm@FreeBSD.ORG Mon Jul 23 22:38:26 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52428106564A for ; Mon, 23 Jul 2012 22:38:26 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 0CDCB8FC0C for ; Mon, 23 Jul 2012 22:38:25 +0000 (UTC) Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta01.emeryville.ca.mail.comcast.net with comcast id drT61j00316AWCUA1ycYlm; Mon, 23 Jul 2012 22:36:32 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta06.emeryville.ca.mail.comcast.net with comcast id dycX1j0064NgCEG8SycX3K; Mon, 23 Jul 2012 22:36:32 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q6NMaT07027460; Mon, 23 Jul 2012 16:36:29 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Richard E Neese In-Reply-To: <5002E1C7.7090605@gmail.com> References: <5002E1C7.7090605@gmail.com> Content-Type: multipart/mixed; boundary="=-l3GWBIbrkNQ6V+0xE6us" Date: Mon, 23 Jul 2012 16:36:29 -0600 Message-ID: <1343082989.59071.33.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-arm@freebsd.org Subject: Re: updated diff with dreamplug basic files X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 22:38:26 -0000 --=-l3GWBIbrkNQ6V+0xE6us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Sun, 2012-07-15 at 11:29 -0400, Richard E Neese wrote: > these are the needed dreamplug parts for building arm for the dreamplug. > > > gonzo and I are working to patch the base to fix a usb issue. That > currently breaks dreamplug/sheevaplug/dockstar builds on 9.x and current . > > patches to follow I've got a dreamplug (v10) that I've only ever run 8.2 on. With your patches and the patch attached to this mail I can now build and run current. The attached patch makes usb work for me; without it the system hangs or crashes shortly after the ehci driver attaches. The 'magic number' 0x320 in my patch used to be a #define named MV_USB_AWR_BASE. In older code it got added to the register base address when setting up the usb decode windows. It looks like it might have gotten lost in the transition from hard-coded config to FDT. Getting the DP running with -current has been on my to-do list for weeks, your patches made it possible; thanks. -- Ian --=-l3GWBIbrkNQ6V+0xE6us Content-Description: Content-Disposition: inline; filename="mvwin.h.diff" Content-Type: text/x-patch; name="mvwin.h.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: sys/arm/mv/mvwin.h =================================================================== --- sys/arm/mv/mvwin.h (revision 238673) +++ sys/arm/mv/mvwin.h (working copy) @@ -133,8 +133,8 @@ #define MV_WIN_CESA_ATTR 0 #endif -#define MV_WIN_USB_CTRL(n) (0x10 * (n) + 0x0) -#define MV_WIN_USB_BASE(n) (0x10 * (n) + 0x4) +#define MV_WIN_USB_CTRL(n) (0x10 * (n) + 0x320) +#define MV_WIN_USB_BASE(n) (0x10 * (n) + 0x324) #define MV_WIN_USB_MAX 4 #define MV_WIN_ETH_BASE(n) (0x8 * (n) + 0x200) --=-l3GWBIbrkNQ6V+0xE6us--