For debian linux:
Install minicom/sshd/rpm/ftpd/tftpd
Apt-get install minicom sshd ftpd tfptd
mkdir /tmp/test
$ rpm --initdb -v --dbpath /tmp/test
mkdir /var/lib/rpm
Install 4 rpms from ixa cd
butters:/usr/src# rpm -i ixa.sdk-2.01.D-fcs.i386.rpm
butters:/usr/src# rpm -i ixa.executive-2.01.D-fcs.i386.rpm
butters:/usr/src# rpm -i armbe-v4b-fcs
butters:/usr/src# rpm -i ixa.binaries-2.01.D-fcs.i386.rpm
rpm --recompile boot_drv-2.0-1.src.rpm -----generates the kernel and boot scripts…
add to .profile
IXROOT=/opt/ixasdk
export IXROOT
CONFIG=ARM_BE
export CONFIG
install host kernel
Rpm -recompile linux-2.4-17.src.rpm
Cp vmlinux /
Edit lilo
ln -s /usr/lib/gcc-lib/i386-linux /usr/lib/gcc-lib/i386-redhat-linux
ln -s /usr/lib/gcc-lib/i386-redhat-linux/2.95.4 /usr/lib/gcc-lib/i386-redhat-linux/2.96
Rpm -recompile boot_drv-2.0-1.src.rpm
echo 1 > /proc/sys/net/ipv4/ip_forward
Rebuild Linux for target platform
a. Open a shell
b. cd /opt/ixasdk/enp-2505/src/linuxIXAedu
c. make oldconfig
d. make dep
e. make zImage
Booting IXP
first setup minicom
> > - baud rate 38400bps
> > - Databit 8 Parity N Stopbits 1
> > - flow control none
then save this setup as ixp
then run
/opt/ixasdk/enp-2505/bootixp/bootixp
this will boot the ixp card.
you can also telnet it from the host (and hense setup remote forwarding) to 192.168.0.2
TODO:
create a ROM with the runtime ready to go...