This guide walks you through installing the Cobham Gaisler VxWorks 6.7 Source Distribution, which includes:
- A SPARC port of the VxWorks 6.7 kernel
- Generic BSPs (with and without MMU)
- Several board-specific BSPs
- The GNU GCC LEON toolchain
- LEON plug-ins for the Workbench IDE
The process includes installing the Wind River VxWorks platform, service pack, toolchain, LEON distribution, building the SPARC/LEON kernel, and updating Workbench build rules.
Prerequisites #
- Wind River VxWorks General Purpose Platform (GPP) 3.7 with full kernel sources
- A valid Wind River source license
- Installed Workbench 3.1 (other versions not supported)
⚠️ Note: The Cobham Gaisler VxWorks distribution must match the Wind River version (e.g., 6.7 with 6.7). Mixing 6.5 and 6.7 is not supported.
Default installation paths:
- Windows:
C:\WindRiver6.7
- Linux:
/opt/WindRiver6.7
Step 1: Install VxWorks 6.7 Service Pack 1 #
The LEON VxWorks distribution is built against Service Pack 1.
Download: DVD-R138711.1-6-01.zip from Wind River Support.
When installing:
- Deselect “Check online for latest updates” to prevent version mismatches.
Step 2: Install the GNU GCC LEON Toolchain #
The LEON distribution requires its own GNU GCC toolchain (not Wind River’s).
Download from Gaisler’s protected area.
Install location must be:
- Windows:
C:\opt
- Linux:
/opt
Windows Installation #
Two options:
-
Installer:
Runsparc-wrs-vxworks-4.1-x.y.z-mingw.exe
Installs toC:\opt\sparc-wrs-vxworks-mingw
and updates PATH.Figure 2.1. VxWorks GNU GCC LEON toolchain Windows installer Log out and back in to refresh PATH.
-
Manual:
Extractsparc-wrs-vxworks-4.1-x.y.z-mingw.zip
intoC:\opt
Update PATH manually in system environment variables.
Linux Installation #
cd /opt
tar -xf sparc-wrs-vxworks-4.1-x.y.z-linux.tar.bz2
export PATH=/opt/sparc-wrs-vxworks/bin:$PATH
Step 3: Install the LEON VxWorks Distribution #
The distribution is provided as a password-protected zip (request password from support@gaisler.com).
Windows #
- Use installer
dist-x.y.z/install/setup-6.7-x.y.z.exe
- Enter your Wind River path
- Backup created under
grbck
andgrbck.new
Linux #
Run the installation script:
cd dist-x.y.z
bash ./install/install.sh /opt/WindRiver6.7
Steps performed automatically:
- Uninstall old LEON distribution
- Install LEON plug-ins for Workbench
- Install BSP & SPARC sources
- Update Makefile
Backups are stored as .grbak
and .grnew
files.
Manual Installation (Advanced) #
- Extract VxWorks 6.7 SPARC/LEON sources
- Install Workbench plug-ins (SPARC-specific)
- Configure environment variables
Step 4: Build the LEON VxWorks Kernel & Libraries #
Extract the distribution:
gunzip dist-vxworks-6.7-x.y.z.tar.gz
tar -xf dist-vxworks-6.7-x.y.z.tar
Available TOOL variants:
TOOL | Compiler | FPU | MUL/DIV |
---|---|---|---|
gnu | GCC | Hardware | SPARCv7 SW |
gnuv8 | GCC | Hardware | SPARCv8 HW |
sfgnu | GCC | Software | SPARCv7 SW |
sfgnuv8 | GCC | Software | SPARCv8 HW |
Build on Windows #
- Use GUI builder:
dist-x.y.z/install/compile-6.7.exe
- Or use Wind River Shell:
C:\WindRiver\wrenv.exe -p vxworks-6.7 sh
cd dist-x.y.z
make multibuild TOOLS="gnu gnuv8"
Build on Linux #
/opt/WindRiver/wrenv.sh -p vxworks-6.7 sh
cd dist-x.y.z
make multibuild TOOLS="gnu gnuv8"
Build logs are generated as:
loc_sparc-compile-TOOL.out
loc_lib-compile_usrtool_TOOL_tool_TOOL.out
Step 5: Update Workbench Build Rules #
To enable RTP and Downloadable Kernel Module (DKM) projects:
- Open Workbench →
Window > Preferences > Wind River > Build > Build Properties
- Select each build rule and click Restore Defaults
Final Notes #
- Installation and build are now complete
- Refer to the Getting Started Guide in the
docs
directory for running projects on LEON hardware - For support, contact: support@gaisler.com