Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2007 21:24:36 -1000
From:      David Cornejo <dave@dogwood.com>
To:        freebsd-arm@freebsd.org
Subject:   ixp4xx microcode problem
Message-ID:  <7.0.1.0.2.20070213210920.05cd65b8@dogwood.com>

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

thanks,
dave c




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