SYSTEMSIM_TOP
CELLDT_NET_API_PORT: TCP socket port on localhost where simulator will listen for connections with TCL commands. Eclipse Cell IDE will connect connect to this port. Optional, default is 8800.
EXEC_DIR
LIB_DIR
IMAGES_DIR
TCL_LIBRARY
TK_LIBRARY
SYSTEMSIM_TOP
CELLDT_CPU_CONFIG: A set of TCL commands that create the machine configuration, that must called myconf. The commands are separated by semicolon. Optional, default is single processor Cell.
CELLDT_MEMORY_SIZE: The amount of memory for the simulated machine, in MB. Optional, default is 256MB.
CELLDT_KERNEL_IMAGE: Path to image file for the OS kernel. Optional, default is the kernel image provided by systemsim-cell in IMAGES_DIR.
CELLDT_ROOT_IMAGE: Path to image file for the root file system. Optional, default is the root image provided by systemsim-cell in IMAGES_DIR.
CELLDT_ROOT_PERSISTENCE: Flag if changes on the root file system are to be saved or discarted. Valid values are discard (forget all changes after simulator finishes), write (write directly on the image file) and journal (write changes on a journal file). Optional, default is “discard”. An option will be implemented: "readonly"
CELLDT_ROOT_JOURNAL: If CELLDT_ROOT_PERSISTENCE is journal, gives the file that will record changes on root file system. Optional, default is the image file name, appended with .changes.
CELLDT_EXTRA_IMAGE: Path to image file or device with an alternative file system. DANGER: this file system MUST NOT be already mounted. Optional, default is no extra image.
CELLDT_EXTRA_MOUNTPOINT: Path where the alternative file system will be mounted. Optional, default is /mnt. If the path already exists, then the previous content on that path will be hidden and replaced by the image content.
CELLDT_EXTRA_TYPE: File system type of the alternative image. Currently, the simulator does not support automatic type detection. Optional, default is ext2. The only supported types are: iso9600 and ext2.
CELLDT_EXTRA_PERSISTENCE: Flag if changes on the alternative file system are to be saved or discarded. Valid values are the same as for CELLDT_ROOT_PERSISTENCE. Optional, default is “discard”.
CELLDT_EXTRA_JOURNAL: If CELLDT_EXTRA_PERSISTENCE is journal, gives the file that will record changes on alternative file system. Optional, default is the image file name, appended with .changes.
CELLDT_NET_INIT: Flag if bogusnet should be configured or not. The user is required to own permissions to create tun/tap devices. Valid values are true or false. Optional, default is false.
CELLDT_SSH_INIT: Flag if the ssh server will be started. Valid values are true or false. Optional, default is false. This parameter is considered only if CELLDT_NET_INIT is true.
CELLDT_NET_IP_HOST, CELLDT_NET_IP_SIMULATOR: IP addresses for the virtual network between the simulator and the host. Optional, default is 172.20.0.10 for CELLDT_NET_IP_HOST and 172.20.0.20 for CELLDT_NET_IP_SIMULATOR. Required to run more than one instance of the simulator simultaneously. This parameter is considered only if CELLDT_NET_INIT is true.
CELLDT_NET_MAC_SIMULATOR: MAC address for virtual network interface for the simulator. Optional, is and automatically calculated value, based on the IP address. Required to run more than one instance of the simulator simultaneously. This parameter is considered only if CELLDT_NET_INIT is true.
CELLDT_NET_MASK: Subnetwork mask for virtual network interface for the simulator. Optional, default is 255.255.0.0. This parameter is considered only if CELLDT_NET_INIT is true.
CELLDT_CONSOLE_PORT: TCP socket port on localhost where simulator console will listen in order to provide the a terminal that boots the simulator. Eclipse Cell IDE will connect connect to this port. Optional, default showing the terminal using xterm instead of a socket.
CELLDT_CONSOLE_ECHO: Flag if the simulator terminal echoes input. Eclipse Cell IDE will set to false since its own console already echoes the typed chars.
CELLDT_CONSOLE_COMMANDS: A string of extra bash commands that are to be executed when the simulator finishes launching.
CELLDT_WORKDIR
CELLDT_VAR_DIR
CELLDT_USERNAME
CELLDT_USERID
CELLDT_EXTRA_INIT
CELLDT_CONSOLE_INIT
Error conditions:
ERROR: Message. The error always exits the simulator.
Simulator launch:
INIT: Parse. Always. The simulator starts parsing the TCL script.
INIT: Check. Always. The launch integration script starts checking the environment variables.
INIT: Configure. Always. The launch integration script starts applying parameters from the environment variables and then creates the log directory.
INIT: Bogusnet. Always. Only when bogusnet is enabled. The launch integration script starts initializing bogus network.
INIT: Console. Always. Only when listening to socket for Linux console. The simulator is waiting to receive a TCL connection to provide main Linux console input/output.
INIT: Configured. All configuration is complete. The simulator starts booting the machine.
BOOT: Bios. Always. The simulator started booting the bios. No action is done.
BOOT: Linux. Always. The simulator started booting the Linux kernel. No action is done.
BOOT: Linux. Always. The simulator started booting the operating system (like Fedora Core). No action is done.
BOOT: Configure. Always. The simulator started configuring the Linux environment. The launch integration script takes control over the main Linux console to run the configuration script.
BOOT: Complete. Always. The Linux environment is configured. The launch integration script stops the simulator.
Shutdown:
SHUTDOWN: Started. The kernel printed the shutdown notification on the main Linux console. The operation system will be shut down and the simulator halted. No action is done.
SHUTDOWN: Complete. The operation system has shut down and the simulator is halted. The launch integration script will exit the simulator.
Simulator status:
SIMULATOR: Start. The simulator resumed simulation.
SIMULATOR: Stop. The simulator paused simulation.
./runinfo: Directory. Locks the directory to prevent more than one instance of the simulator to be launched on the same path.
./runinfo/USERNAME: Text file. The user name of the user who creates the bogusnet.
./runinfo/USERID: Text file. The user ID of the user who creates the bogusnet.
./runinfo/NET_MAC_SIMULATOR: Text file.
./runinfo/NET_IP_HOST: Text file.
./runinfo/NET_IP_SIMULATOR: Text file.
./runinfo/NET_TAP_DEVICE: Text file.