Difference between revisions of "ESESC Sample Use"
(New page: == Checkout Code == Checkout the code from the git repository by executing the following command: git clone ssh://mada0.cse.ucsc.edu/mada/server/git/esesc == Compile QEMU == QEMU is inc...) |
(→Compile QEMU) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
QEMU is included as an emulation target for use with eSESC and it needs to be compiled in the esesc source directories in order to generate the libraries that esesc will link to. To do this execute the following commands: | QEMU is included as an emulation target for use with eSESC and it needs to be compiled in the esesc source directories in order to generate the libraries that esesc will link to. To do this execute the following commands: | ||
cd esesc/emul/qemu | cd esesc/emul/qemu | ||
− | ./configure --target-list=sparc- | + | ./configure --target-list=sparc-linux-user --enable-esesc_user --disable-vnc-sasl --disable-vnc-tls --disable-curl --disable-uuid |
make | make | ||
Line 20: | Line 20: | ||
This will compile and build the eSESC executable files. Currently the rst emulation target is stable and can be used for sample runs of esesc | This will compile and build the eSESC executable files. Currently the rst emulation target is stable and can be used for sample runs of esesc | ||
− | == Sample run with | + | == Sample run with RST emulation source == |
First copy the configuration file to the build directory | First copy the configuration file to the build directory | ||
cp ../esesc/conf/esesc.conf . | cp ../esesc/conf/esesc.conf . |
Latest revision as of 01:11, 21 April 2010
Checkout Code
Checkout the code from the git repository by executing the following command:
git clone ssh://mada0.cse.ucsc.edu/mada/server/git/esesc
Compile QEMU
QEMU is included as an emulation target for use with eSESC and it needs to be compiled in the esesc source directories in order to generate the libraries that esesc will link to. To do this execute the following commands:
cd esesc/emul/qemu ./configure --target-list=sparc-linux-user --enable-esesc_user --disable-vnc-sasl --disable-vnc-tls --disable-curl --disable-uuid make
Compile eSESC
The next step is to compile eSESC. To do this execute the following series of commands:
cd ../../.. mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Debug ../esesc gmake
This will compile and build the eSESC executable files. Currently the rst emulation target is stable and can be used for sample runs of esesc
Sample run with RST emulation source
First copy the configuration file to the build directory
cp ../esesc/conf/esesc.conf .
Then check the configuration file to make sure that only the rst target is enabled and the qemu and gpu targets are commented out. The cpuemul targets should look something like:
cpuemul[0] = 'RSTSection' # 1 RST instance #cpuemul[1] = 'GPUSection' # 1 GPU instance #cpuemul[2] = 'QEMUSection' # 1 QEMU instance #cpuemul[2:4] = 'GPUSection1' # 3 GPU Instances
Copy the rst trace files to the build directory:
cp ../esesc/emul/conf/* .
Then run the coremain executable
simu/libcore/coremain
To view statistics run the report script:
../esesc/conf/report.pl --last