Vxworks Installing 6.9
Vxworks Installing 6.9
VxWorks-6.9
User Manual
If the Windriver installer presents a screen saying Updates are available for the Installer itself, then choose Skip.
Make sure to install at least one extra architecture in addition to Sparc to make sure that all kernel source files
are installed.
For the default paths to match, the WindRiver Platform should be installed into C:\WindRiver6.9 on Windows
or /opt/WindRiver6.9 on Linux. This is however not a requirement.
Note that the VxWorks version from WindRiver must be of the same version as the Cobham Gaisler VxWorks
distribution, i.e. WindRiver VxWorks 6.7 can not be used with the Cobham Gaisler VxWorks 6.9 distribution.
NOTE: WindRiver distributes a GCC toolchain together with the VxWorks CD/DVD. It can not be used together
with LEON. If the WindRiver GCC toolchain was installed from the WindRiver CD/DVD, one must make sure
that the Gaisler GCC is found first (must be first in PATH).
4.1.1. Installer
The installer will install the toolchain to C:\opt\sparc-wrs-vxworks, and add the bin directory where
the executable files are located to the Windows PATH environment variable.
The PATH variable is changed but is not updated until next log-on, please log-out and log-in again before
proceeding. Otherwise the kernel compilation step will fail.
The toolchain must be extracted into C:\opt creating the directory C:\opt\sparc-wrs-vxworks. The
C:\opt\sparc-wrs-vxworks\bin directory must be added to the PATH variable by "My Computer ->
Advanced Tab -> Environment Variable".
A Windows installer is available that installs all files of the distribution. The installer is located in dist-x.y.z/
install/setup-6.9-x.y.z.exe and can be started by a double click. The installation script requires the
WindRiver path, the path to where the WindRiver platform was installed.
The installer will backup existing files into a newly created folder grbck inside the WindRiver platform directory.
It will also create a folder grbck.new where newly created files will be registered. You can browse the two
directories after the installation has finished.
After the installation is finished the LEON sources will be located in the vxworks-6.9 directory in the WindRiver
directory.
After the installation is finished the LEON sources will be located in the vxworks-6.9 directory in the WindRiver6.9
directory.
The script requires one argument, the WindRiver directory. It can be started as follows if the WindRiver installation
is located in /opt/WindRiver6.9:
$ cd dist-x.y.z
$ bash ./install/install.sh /opt/WindRiver6.9
Make a backup copy of the vxworks-6.9, components, and workbench-3.3 folder before installing the
SPARC/LEON VxWorks source files. Then extract the file release/vxworks-6.9-x.y.z.tar.gz to the
WindRiver6.9 directory.
$ cd WindRiver6.9
$ cp -r vxworks-6.9 vxworks-6.9.ori
$ cp -r components components.ori
$ cp -r workbench-3.3 workbench-3.3.ori
$ tar xf /path/to/dist-x.y.z/release/vxworks-6.9-x.y.z.tar.gz
6.1. Windows
The kernel and libraries can be built using the GUI build utility found in dist-x.y.z/in-
stall/compile-6.9.exe. Note that the compilation can take a very long time to finish.
The installation script requires the WindRiver path. The default path is taken from the settings file created
by the installation script.
In the second step, one select for which processors the kernel should be compiled and if soft float and/or SMP
support should be enabled.
When the build script is started a Windows console will appear and run the Makefile compiling the kernel. It must
not be shutdown. Note that the build procedure may take quite some time.
6.2. Linux
The kernel and libraries can be built invoking the compile.sh scripts from the WindRiver shell. The WindRiver
shell is started by:
$ /opt/WindRiver6.9/wrenv.sh -p vxworks-6.9
From there the compile.sh can be executed. Below is an example building the kernel for the SPARCV8 pro-
cessor with SMP and soft float support.
Note that the PATH variable when installing the GNU toolchain using the Windows-installer is not updated until
next log-on. Failing to find ccsparc will result in a build error.
The build rules can be updated by starting the workbench and selecting "Window -> Preferences -> Wind River
-> Build -> Build Properties" as indicated by Figure 7.1 and Figure 7.2.
All the VxWorks build rules must be updated by selecting a build rule, one at a time in the combo box, and pressing
"restore Defaults" every time.
CAES reserves the right to make changes to any products and services described herein at any time without notice. Consult CAES
or an authorized sales representative to verify that the information in this document is current before using this product. CAES
does not assume any responsibility or liability arising out of the application or use of any product or service described herein,
except as expressly agreed to in writing by CAES; nor does the purchase, lease, or use of a product or service from CAES convey
a license under any patent rights, copyrights, trademark rights, or any other of the intellectual rights of CAES or of third parties.
All information is provided as is. There is no warranty that it is correct or suitable for any purpose, neither implicit nor explicit.