![]() |
You must download the source code for the IXP420 Network Processing Engines (NPE) yourself before building either OpenSlug or UcSlugC. This is because using this source requires that you agree to the corresponding Intel license - this license restricts how you redistribute the resultant binaries. The OpenSlug EULA is an example of how this can be done. To use the Intel source after downloading it the downloaded .zip files must be placed in the bitbake downloads directory (named ${DL_DIR} within the bitbake .bb files). In a standard build from the master makefile this is just the subdirectory downloads, if you changed DL_DIR or have a different build structure it may be somewhere else. Downloading the sourceUse the web site http://developer.intel.com, the source download page is accessible from the web page for the Intel® IXP420 Network Processor, at present this is: http://developer.intel.com/design/network/products/npfamily/download_ixp400.htm Note that v2.1 is located in the Archives: http://developer.intel.com/design/network/products/npfamily/ixp400_archives.htm I just tried the "make slugosle" and it apparently is looking for v2.4, so v2.1 won't help you. That page may change as Intel updates its web site. You must register on this site to access the software. You may find that the registration processes do not work with your web browser - they don't work with Konqueror 3.4.x - there is no choice but to use one which is supported. It also doesn't work with Firefox 2.0, so I had to use IE7 (worked). Once you have registered you will be able to access the main software download page. The software you require is the Intel® IXP400 Software and RedBoot* Boot Loader. Current brings you to a page labelled Hardware Access Software & Development Environments. At present we use version [Unslung 6, requires version 2.1 without Crypto : cwatts ] [SlugOS LE/BE, requires vers 2.4 without Crypto : Rob Lockhart] In current builds you need
Download Storing the downloaded sourceIt is probably a good idea to keep a copy of the source somewhere outside the master makefile build tree, because it is sometimes convenient and even necessary to delete the whole tree in order to ensure a clean build. To use the .zip files however they must be copied or linked into the bitbake downloads directory - defined by the variable Once the files are in the downloads directory openslug and ucslugc builds should work. bitbake will still attempt to download the files from the deliberately incorrect URI in the relevant .bb files, however when it fails it should still find the complete files in the downloads directory. At this point bitbake generates a 32 character MD5 checksum for the file and stores it in file If you find the build still errors out at the fetch step (this has been observed though there may have been another error) you can generate the MD5 checksum file yourself with the following command (for a file 'file'): md5sum file | while read checksum file
do
echo -n "$checksum" >"$file".md5
done
The Makefile now works with version 2.4, so it is no longer necessary to rename the zip-file. To generate the MD5sum file, use the following command when in the download-directory to where you copied the zip-file:
After generating the MD5sum file, call
view ·
edit ·
print ·
history ·
Last edited by Rob Lockhart.
Based on work by fcarolo, Lars Bager, Rob Lockhart, Peter Taylor, jbowler, and cwatts. Originally by jbowler. Page last modified on May 10, 2008, at 09:00 PM
|