Step to compile driver and test application :
VETH driver:
1) Use "make DRV=ETH" to compile the virtual ethernet driver for x86 linux
2) Use "make DRV=ETH CPU=ARC" to compile the virtual ethernet driver for arc
3) Use "make DRV=ETH x86test" to compile the test program which is running on linux PC
4) Use "make DRV=ETH arctest" to compile the test program which is running on ARC

VCOMM driver
1) Use "make DRV=COMM" to compile the virtual communication driver for x86 linux
2) Use "make DRV=COMM CPU=ARC" to compile the virtual communication driver for arc
3) Use "make DRV=COMM x86test" to compile the test program which is running on linux PC
4) Use "make DRV=COMM arctest" to compile the test program which is running on ARC


Steps to install VETH driver

On PC (PCI host) side:
1) PCI boot driver needs to be loaded at first to initialize memory and boot SOC.
2) insmod x86veth.ko
3) ifconfig veth 10.10.10.1 netmask 255.255.0.0

on SOC side:
1) insmod arcveth.ko
2) ifconfig veth 10.10.10.2 netmask 255.255.0.0


Steps to install VCOMM driver

On PC (PCI host) side:
1) PCI boot driver needs to be loaded at first to initialize memory and boot SOC.
2) mknod /dev/vcomm c 238 0
3) insmod x86vcomm.ko

on the arc side,av driver need to be loaded at first
1) ./rc.xcode3
2) mknod /dev/vcomm c 238 0
3) insmod arcvcomm.ko

Step to running test program
2) On PC: ./x86test rx inputfilename
1) On ARC: ./arctest tx outputfilename
or 
1) On ARC: ./arctest rx inputfilename
2) On PC: ./x86test tx outputfilename
 
Compile the driver for XCODE3 
VETH driver for XCODE3:
1) Use "make DRV=ETH CHIP=XCODE3" to compile the virtual ethernet driver for x86 linux
2) Use "make DRV=ETH CPU=ARC CHIP=XCODE3" to compile the virtual ethernet driver for arc
3) Use "make DRV=ETH x86test " to compile the test program which is running on linux PC
4) Use "make DRV=ETH arctest CHIP=XCODE3" to compile the test program which is running on ARC

VCOMM driver for XCODE3
1) Use "make DRV=COMM CHIP=XCODE3" to compile the virtual communication driver for x86 linux
2) Use "make DRV=COMM CPU=ARC CHIP=XCODE3" to compile the virtual communication driver for arc
3) Use "make DRV=COMM x86test " to compile the test program which is running on linux PC
4) Use "make DRV=COMM arctest CHIP=XCODE3" to compile the test program which is running on ARC


