From owner-freebsd-arm@FreeBSD.ORG Thu Feb 15 00:43:43 2007 Return-Path: X-Original-To: freebsd-arm@freebsd.org 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 31B4716A407 for ; Thu, 15 Feb 2007 00:43:43 +0000 (UTC) (envelope-from dave@dogwood.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.freebsd.org (Postfix) with ESMTP id DAAC413C467 for ; Thu, 15 Feb 2007 00:43:42 +0000 (UTC) (envelope-from dave@dogwood.com) Received: by wx-out-0506.google.com with SMTP id s18so439549wxc for ; Wed, 14 Feb 2007 16:43:42 -0800 (PST) Received: by 10.70.111.2 with SMTP id j2mr1760135wxc.1171500222385; Wed, 14 Feb 2007 16:43:42 -0800 (PST) Received: from Gecko.dogwood.com ( [66.91.140.187]) by mx.google.com with ESMTP id h19sm2875093wxd.2007.02.14.16.43.40; Wed, 14 Feb 2007 16:43:41 -0800 (PST) Message-Id: <7.0.1.0.2.20070214144058.05c84cb0@dogwood.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Wed, 14 Feb 2007 14:43:34 -1000 To: Sam Leffler From: David Cornejo In-Reply-To: <45D372E1.6090402@errno.com> References: <7.0.1.0.2.20070213210920.05cd65b8@dogwood.com> <45D372E1.6090402@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-arm@freebsd.org Subject: Re: ixp4xx microcode problem 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: Thu, 15 Feb 2007 00:43:43 -0000 Well, it seems to work reasonably well - I've been using npe0 for a day or so to do compilations without major incident. Thanks for the reply, dave c At 10:36 AM 2/14/2007, Sam Leffler wrote: >David Cornejo wrote: > > Hi, > > > > I downloaded IPL_ixp400NpeLibrary-2_3.zip from Intel to build a kernel > > for my Gateworks GW2348-2-CF (the one Netgate sells). But when I > > attempt to boot the kernel it didn't find the image identifier requested > > in if_npe (0x01000200) and crashes (similar for npe1 also). I looked > > through IxNpeMicrocode.c, but the closest I found was 0x01000201. So I > > hacked ixp425_npevar.h thusly: > > > > Index: ixp425_npevar.h > > =================================================================== > > RCS file: /home/ncvs/src/sys/arm/xscale/ixp425/ixp425_npevar.h,v > > retrieving revision 1.1 > > diff -u -r1.1 ixp425_npevar.h > > --- ixp425_npevar.h 19 Nov 2006 23:55:23 -0000 1.1 > > +++ ixp425_npevar.h 14 Feb 2007 01:27:37 -0000 > > @@ -76,8 +76,8 @@ > > #define NPEFW_B_DMA 0x01020100 /* DMA only */ > > /* XXX ... more not include */ > > > > -#define IXP425_NPE_B_IMAGEID 0x01000200 > > -#define IXP425_NPE_C_IMAGEID 0x02000200 > > +#define IXP425_NPE_B_IMAGEID 0x01000201 > > +#define IXP425_NPE_C_IMAGEID 0x02000201 > > > > struct ixpnpe_softc; > > struct ixpnpe_softc *ixpnpe_attach(device_t); > > > > So it now boots and I'm not seeing any problems (with npe0 at least) and > > it nfs mounts a root fs. > > > > Is there any reason why I shouldn't do this, or can someone point me at > > the correct file to download from Intel that has the expected image in it? > >I got my ucode image from a Gateworks Linux distribution. I believe >you've got an image that includes packet header conversion support >(check the IAL and/or sys/arm/xscale/ixp425/ixp425_npevar.h); no clue >what'll happen. > > Sam