IXP cheatsheet starting/stopping, etc. This is from the you want to run the hardware Point of View. /opt/hardhat - montavista preview kit /opt/enp2611 - Radisys, hardware-specific things, docs /opt/ixa_sdk_3.5/ - SDK, Xscale & microcode libraries /dev/hda - windows (/dev/hda3) & linux (on others) 1. run vmware-config.pl if reconfig kernel run DOS, not linux /etc/init.d/vmware start or restart if no vm modules (I have had some problems with this, don't restart vmware, reboot machine instead. Seems to "corrupt" vmware configuration in some way, possibly requiring a reinstall of vmware) 2. boot the ixp over the serial port, do dhcp/tftp kernel/nsf mount load unix kernel, boot target unix kernel. run minicom from /root/ixpboot script minicom -S /root/ixpboot should end up in linux linux/host needs to have 1. dhcpd, tftpd (xinetd), and nfsd linux host has serial cable (com0) /dev/tty0? target has 10/100 management port over which dhcp info/kernel downloaded (actually runs bootp) then does nsf mount of following directory from host nfs exports the following to be FS for target /opt/hardhat/previewkit/arm/xscale_be/target 3. load modules for spi-bridge + other cruft on target, with target prompt, run # /opt/enp2611/loadem creates various devices in /dev on target. loads modules into kernel. 4. start workbench server on target # /opt/enp2611/WBSrvr & put targetip in web server ... http://-1.cs.pdx.edu 5. run developed program from target prompt /opt/enp2611/StaticFwd start - forwards and counts pkts 6. add default route back thru mgmt. port so that virtual windows doesn't have real IP address 7. opened up in virtual windows, devWorkBench (under programs, sdk) opened File/open project choose on HOSTFS: /usr/local/ixa-sdk-3.1/enp-2611/sample/ application/Microcode/src/applications/enp2611-static-fwd click on .dwp (or file without extension depending on windows settings) goto hardware/options, make sure server IP address is correct, so workbench can talk to virtual windows 8. do debug/start debugging to run program build/rebuild as necessary TURNING IT OFF: 1. in workbench app: Debug/Runcontrol stop Debug/unload unload micro-engines exit 2. shutdown virtual windows (don't turn the vmware power off) 3. do vmware poweroff ok, you shut down vmware, however you didn't shutdown the 2400. 4. exit vmware turning off the 2400 stop app on target # StaticFwd stop # reboot on target gets back to monitor prompt # get out of minicom Cntrl-A Z q/yes