Date: Mon, 23 Jul 2012 16:36:29 -0600 From: Ian Lepore <freebsd@damnhippie.dyndns.org> To: Richard E Neese <r.neese@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: updated diff with dreamplug basic files Message-ID: <1343082989.59071.33.camel@revolution.hippie.lan> In-Reply-To: <5002E1C7.7090605@gmail.com> References: <5002E1C7.7090605@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1343082989.59071.33.camel>