VIRTUTECH CONFIDENTIAL    Previous - Up - Next

3   Simulated Machines

Simics scripts for starting Ebony machines are located in the [workspace]/targets/ebony/ directory, while the actual configuration scripts can be found in [simics]/targets/ebony/.

3.1   Ebony

The default configuration can be modified as described in section 3.2.

3.1.1   Ebony Scripts

This chapter explains the files used to boot Linux on Ebony.
ebony-linux-common.simics
Starts the Ebony machine with the default configuration to boot linux.
ebony-linux-multi.simics
Similar to ebony-common.simics, but instantiate 3 Ebony cards and creates a ethernet network.
ebony-linux-scsi.simics
Adds a PCI based SCSI controller and disk to the configuration. Boots a linux configuration with the (larger) root disk on the SCSI disk.

3.2   Parameters for Machine Scripts

The following parameters can be set before running the ebony-linux-common.simics scripts. Other *-linux-*.simics scripts may set some of the parameters unconditionally, and do not allow the user to override them.

3.2.1   ebony-linux-common

$boot_command
This the u-boot command automatically issued if $do_boot parameter is set to yes. The command specifies how u-boot should start linux.
$create_network
Set to yes if the script should create an Ethernet link and connect the primary Ethernet adapter to it.
$do_boot
Set to yes if the script should automatically start linux from u-boot.
$do_login
Set to yes if the script should automatically login as root on linux and configure the first ethernet device.
$ebony_u_boot
U-boot binary which system bootstraps from. This file will automatically loaded into the flash memory. The file should be an elf format.
$eth_link
The Ethernet link to connect the primary Ethernet adapter to. This parameter should be set when a link already exist and the $create_network parameter is no.
$freq_mhz
The clock frequency in MHz for the processor.
$host_name
The host name used by the DHCP and DNS servers for this machine This variable will not change the host name set for the machine on the disk dumps.
$initrd_image
The file containing the initrd ram disk for Linux. If set, this file is loaded directly into memory.
$ip_address
The IP address used by the DHCP and DNS servers for this machine This variable will not change any IP address set for the machine on the disk dumps.
$kernel_image
The Linux kernel image file (in u-boot format) that should be booted.
$mac_address
MAC address of the primary Ethernet adapter.
$mac_address1
MAC address of the secondary Ethernet adapter.
$machine_count
Number of ebony cards to create.
$memory_megs
Amount of RAM in megabytes installed on the card.
$rtc_time
Date and time of the real-time clock at boot.
$service_node
The service node to use for DHCP and DNS. This parameter should be set when a service noce already exist and the $create_network parameter is no.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next