summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-09-14 11:58:14 +0000
committerRod Whitby <rod@whitby.id.au>2006-09-14 11:58:14 +0000
commit169753709dbb2d8acd1b1a2ca93f6cb39b29e204 (patch)
treed0ef1ed92a8df8e744230c7c6afb063264e2926e /packages
parenta86ec0f346b23387cc6e343020b90e7a57d6bfcb (diff)
ixp4xx-npe: Added support for version 2.3 microcode (but mc_grab doesn't extract it properly)
Diffstat (limited to 'packages')
-rw-r--r--packages/ixp4xx/ixp4xx-npe_2.3.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/ixp4xx/ixp4xx-npe_2.3.bb b/packages/ixp4xx/ixp4xx-npe_2.3.bb
new file mode 100644
index 0000000000..b8f3de5a09
--- /dev/null
+++ b/packages/ixp4xx/ixp4xx-npe_2.3.bb
@@ -0,0 +1,44 @@
+DESCRIPTION = "Firmware for the IXP4xx line of devices"
+MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
+HOMEPAGE = "http://www.intel.com/design/network/products/npfamily/ixp420.htm"
+LICENSE = "http://www.intel.com/design/network/swsup/np_sla/ixp400.htm"
+LICENSE_HOMEPAGE = "http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm"
+PR = "r2"
+
+# You must download the following software to your OpenEmbedded downloads
+# directory before using this package:
+#
+# IPL_ixp400NpeLibrary-2_3.zip
+#
+# To do this go to the LICENSE_HOMEPAGE above, register/login (using a
+# web browser which is supported by the login page), this will give you
+# access to the web page from which you can download the software - you
+# need the: "IntelĀ® IXP400 Software and RedBoot* Boot Loader" and, from
+# this the "NPE Microcode" (version 2.3, encryption is not required.)
+#
+# Store the file with the names given below in your downloads directory
+# and store the 32 character md5sum of the file in a file of the same
+# name with the additional extension .md5:
+#
+# IPL_ixp400NpeLibrary-2_3.zip.md5
+#
+
+SRC_URI = "http://downloadmirror.intel.com/df-support/11190/eng/BSD_ixp400AccessLibrary-2_3.zip \
+ http://www.intel.com/Please-Read-The-BB-File/IPL_ixp400NpeLibrary-2_3.zip \
+ http://www.hohnstaedt.de/ixp_npe/mc_grab.c"
+
+inherit native
+
+S = ${WORKDIR}/ixp400_xscale_sw/src/npeDl
+
+do_compile() {
+ ${CC} -Wall -fno-builtin -I../include ${S}/ixNpeDlImageConverter.c -o ${S}/ixNpeDlImageConverter
+ ${S}/ixNpeDlImageConverter
+ ${CC} -Wall ${S}/../../../mc_grab.c -o ${S}/mc_grab
+ ${S}/mc_grab 010c0200 < ${S}/IxNpeMicrocode.dat > ${S}/NPE-B.010c0200
+}
+
+do_install() {
+ install -d ${D}/lib/firmware
+ install ${S}/NPE-B.010c0200 ${D}/lib/firmware/
+}