ixp4xx microcode problem
Sam Leffler
sam at errno.com
Wed Feb 14 20:36:53 UTC 2007
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
More information about the freebsd-arm
mailing list