2011-02-15 06:36:37 +01:00
|
|
|
This is the M5 simulator.
|
2003-10-17 18:32:00 +02:00
|
|
|
|
2006-08-15 17:49:15 +02:00
|
|
|
For detailed information about building the simulator and getting
|
|
|
|
started please refer to http://www.m5sim.org.
|
2006-06-29 22:52:47 +02:00
|
|
|
|
2006-08-15 17:49:15 +02:00
|
|
|
Specific pages of interest are:
|
2006-08-15 00:15:53 +02:00
|
|
|
http://www.m5sim.org/wiki/index.php/Compiling_M5
|
|
|
|
http://www.m5sim.org/wiki/index.php/Running_M5
|
2006-06-29 22:52:47 +02:00
|
|
|
|
2006-08-15 17:49:15 +02:00
|
|
|
Short version:
|
|
|
|
|
2011-02-15 06:36:37 +01:00
|
|
|
1. If you don't have SCons version 0.98.1 or newer, get it from
|
2006-08-15 17:49:15 +02:00
|
|
|
http://wwww.scons.org.
|
|
|
|
|
2011-02-15 06:36:37 +01:00
|
|
|
2. If you don't have SWIG version 1.3.31 or newer, get it from
|
2006-08-15 17:49:15 +02:00
|
|
|
http://wwww.swig.org.
|
|
|
|
|
2011-02-15 06:36:37 +01:00
|
|
|
3. Make sure you also have gcc version 3.4.6 or newer, Python 2.4 or newer
|
|
|
|
(the dev version with header files), zlib, and the m4 preprocessor.
|
|
|
|
|
|
|
|
4. In this directory, type 'scons build/ALPHA_SE/tests/debug/quick'. This
|
2006-08-15 17:49:15 +02:00
|
|
|
will build the debug version of the m5 binary (m5.debug) for the Alpha
|
|
|
|
syscall emulation target, and run the quick regression tests on it.
|
|
|
|
|
2006-08-16 17:01:37 +02:00
|
|
|
If you have questions, please send mail to m5-users@m5sim.org
|
2003-10-17 18:32:00 +02:00
|
|
|
|
|
|
|
WHAT'S INCLUDED (AND NOT)
|
|
|
|
-------------------------
|
|
|
|
|
2005-10-06 19:59:05 +02:00
|
|
|
The basic source release includes these subdirectories:
|
2011-02-15 06:36:37 +01:00
|
|
|
- m5:
|
|
|
|
- configs: simulation configuration scripts
|
|
|
|
- ext: less-common external packages needed to build m5
|
2006-06-29 22:52:47 +02:00
|
|
|
- src: source code of the m5 simulator
|
2011-02-15 06:36:37 +01:00
|
|
|
- system: source for some optional system software for simulated systems
|
2006-08-15 00:15:53 +02:00
|
|
|
- tests: regression tests
|
2011-02-15 06:36:37 +01:00
|
|
|
- util: useful utility programs and files
|
2004-07-28 23:56:36 +02:00
|
|
|
|
2011-02-15 06:36:37 +01:00
|
|
|
To run full-system simulations, you will need compiled system firmware
|
|
|
|
(console and PALcode for Alpha), kernel binaries and one or more disk images.
|
|
|
|
These files for Alpha are collected in a separate archive, m5_system.tar.bz2.
|
|
|
|
This file can he downloaded separately.
|
2005-10-06 19:59:05 +02:00
|
|
|
|
2011-02-15 06:36:37 +01:00
|
|
|
Depending on the ISA used, M5 may support Linux 2.4/2.6, FreeBSD, and the
|
|
|
|
proprietary Compaq/HP Tru64 version of Unix. We are able to distribute Linux
|
|
|
|
and FreeBSD bootdisks, but we are unable to distribute bootable disk images of
|
2005-10-06 19:59:05 +02:00
|
|
|
Tru64 Unix. If you have a Tru64 license and are interested in
|
2007-10-31 06:21:54 +01:00
|
|
|
obtaining disk images, contact us at m5-users@m5sim.org
|