Patches for CSR (Access Library) 1.3
Author:
Prashant Alves
Contact Info
Support Note:
I am no longer working on this and would be unable to provide any usefull support for this.
Intro:
These patches should enable you build and run ixp425sar for CSR 1.3.
What you need:
o Linux sources. I have tested these with Linux-2.4.19 with Russell
King's rmk7 patches applied and Deepak Saxena's ds3 patches applied.
They should be here:
linux-2.4.19.tar.bz2
ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/v2.4/patch-2.4.19-rmk7.gz
ftp://source.mvista.com/pub/ds-patches/2.4/patch-2.4.19-rmk7-ds3.gz
o The Access Library. After cross compiling this you should have a ixp400.o module. Look here for the sources
http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm
o The ethernet driver from ixp425LinuxDriversPatch-MVL3_0-1_3.zip. The
link to this is also available from the above Intel site. Once you have
compiled it you should have a ixp425eth.o
o Alex's ixp425sar driver, you can get that from here. The cvs checkout instructions are:
[you@yours]$ export CVSROOT=yourlogin@cvs.ixp425.sourceforge.net:/cvsroot/ixp425
[you@yours]$ export CVS_RSH=ssh
[you@yours]$ cvs co ixp425sar
o Patch for linux-2.4.19.rmk7.ds3 linux-2.4.19.rmk7.ds3.csr.1.3.patch
o Patch for CSR 1.3 csr_1_3.patch
o Patch for ixp425sar ixp425sar.patch
Building:
o Apply the rmk, ds3 and linux-2.4.19.rmk7.ds3.csr.1.3.patch patches
to the default linux sources and compile and get a new zImage.
Remember to select ATM and other required options in your .config (or use menuconfig).
o Apply the csr_1_3.patch to your csr 1.3 sources and rebuild them giving you a new ixp400.o.
o Apply the ixp425sar.patch to the ixp425sar sources you checked out
from cvs. This should patch ixp425sar.c and also give you a makefile.
o Edit the makefile and change CROSS_COMPILER, CFLAGS (unlikely),
KERNEL_HEADERS, CSR_SRC to point to your cross compiler, change the
flags passed to the compiler, point out the kernel headers and point
out where the CSR sources are located respectively.
o Issuing 'make' in the ixp425sar directory should now build the modified ixp425sar.o
o Issuing 'make clean' in the ixp425sar directory will delete ixp425sar.o
Loading the modules:
This is simple.
#insmod ixp400.o
#insmod ixp425sar.o
#insmod ixp425eth.o no_csr_init=1 # csr is already initialised by ixp425sar