Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2007 14:43:34 -1000
From:      David Cornejo <dave@dogwood.com>
To:        Sam Leffler <sam@errno.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: ixp4xx microcode problem
Message-ID:  <7.0.1.0.2.20070214144058.05c84cb0@dogwood.com>
In-Reply-To: <45D372E1.6090402@errno.com>
References:  <7.0.1.0.2.20070213210920.05cd65b8@dogwood.com> <45D372E1.6090402@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.1.0.2.20070214144058.05c84cb0>