summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-npe_2.3.bb
blob: 6270cd58eb860902e0c34f8637cf15c879926b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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/IxNpeMicrocode.h"

inherit native

S = ${WORKDIR}/ixp400_xscale_sw/src/npeDl

do_compile() {
	cp ${S}/../../../IxNpeMicrocode.h ${S}/IxNpeMicrocode.h
	${CC} -Wall ${S}/IxNpeMicrocode.c -o ${S}/IxNpeMicrocode
	${S}/IxNpeMicrocode
}

do_install() {
	install -d ${D}/lib/firmware
	install ${S}/NPE-B ${D}/lib/firmware/
}

do_stage() {
}