BSP Reference : solaris

solaris

NAME

solaris - Solaris 2.x

INTRODUCTION

This manual entry provides target-specific information necessary to run the VxWorks simulator on Solaris.

BOOT ROMS

Not applicable.

The target has pseudo non-volatile RAM; thus, boot parameters are preserved whenever the simulator is terminated, provided bootChange( ) has been called to initially set the contents.

To load the VxWorks simulator simply type "vxWorks" to the UNIX shell. For further information, follow the instructions in the VxSim User's Guide and also see the Getting Started chapter of the VxWorks Programmer's Guide.

JUMPERS

Not applicable.

DEVICES

A tty driver is provided for standard input and output. UNIX job control characters are not disabled even though the I/O is in raw mode. Trapping of ^C and other special characters is UNIX-shell specific and not according to usual VxWorks tyLib conventions.

A network interface called ULIP (User Level IP) allows this UNIX process to connect to other UNIX processes on the same host using a unique IP address (usually 127.0.X.procnum). The script installUlipSolaris must be run by root to load the UNIX device driver. The simulator does not need networking to load files or debug applications. As an alternative to ULIP, one can also configure the native Solaris PPP driver for use by VxSim. These two network configurations (PPP and ULIP) are mutually exclusive). Eventually ULIP will be obsoleted, but for now it is the default network driver.

A pseudo-DOS disk may be created by adding INCLUDE_DOS_DISK in config.h. By default, a 1.4 Meg file/disk is created in "/tmp/prognameProcnum.dos".

SPECIAL CONSIDERATIONS

This simulator is provided for Solaris version 2.5.1 or higher.

The system memory is allocated with u_malloc( ) (UNIX malloc(3)) based on the LOCAL_MEM_SIZE parameter in config.h. A minimum of 3 Megabytes is required.

A ^X causes reboot( ) to be called, resetting the network driver before calling sysToMonitor( ). Memory is effectively cleared during a reboot via u_execvp( ) from within sysToMonitor( ).

To exit the simulator, type ^\ (quit) or reboot( ) with BOOT_NO_AUTOBOOT(1), which returns to your UNIX shell. UNIX job control is also supported.

Options may be passed to VxWorks from the command line:


    -p procnum (set processor number)
    -r ramKbytes (set memory size)

SEE ALSO

solaris, VxWorks Programmer's Guide: Getting Started, Configuration and VxSim User's Guide