Linux Installation Guide

Home Forums MIPS Insider Bus Blaster & Codescape Tools Linux Installation Guide

This topic contains 2 replies, has 2 voices, and was last updated by  mmessuri 2 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #64409


    Hi, just a quick note before we get started: This topic is closed to replies. If you have questions or problems downloading any of the tools covered here please search the existing topics or start a new topic with your question.

    This topic covers how to install everything you need to write, compile, and debug programs using the Codescape Tools on Linux. We recommend that you install the tools in the order covered in this guide and into the default locations. If you’d like to install these tools so that all users on the system can use them then you will need to run the installers a root (or using sudo). The default (and recommended) installation locations are rooted at:

    • Local Installation: ~/.local/opt/imgtec
    • System Installation: /opt/imgtec

    Python 2.6 or Python 2.7

    Scripting support requires Python 2.6 or Python 2.7. Most Linux distributions have one of these already present. Verify that it is installed by opening a shell and typing ‘python –version’:

    >python –version
    Python 2.7.7

    Install: Codescape SDK Essentials

    Run the installer. You have a few choices to make during the installation process. The first choice you have is whether or not to accept the license agreement. Assuming you make the correct choice here, you can move on to the (technically) important questions:

    Installer Page: Shared or Local Install

    On this page you can select to do a local install (for the current logged in user) or a Shared install (for all users). In order to do a Shared install you must run the install as root.

    Installer Page: Development Type

    This page lets you decide which toolchains types to install. We strongly recommend the “Bare Metal Application” toolchain. If you intend to develop Linux userland applications of kernel distributions then you can also install the “GNU Linux Application” toolchain. Keep in mind that, unless you need it, the “GNU Linux Application” toolchain installation takes much longer and uses significantly more disk space.

    Installer Page: Development Core

    Check one or more of the core classes that you plan on working with.

    Complete the installation

    Click [Next] to start (and finish) the installation. The installer will download only the components that you have chosen to install. Time to install will vary with the number of toolchains and the internet connection speed.

    When the installation is complete the chosen toolchains will be installed to the following (default) path:

    C:Program FilesImagination TechnologiesToolchains

    The toolchain binaries directory will be added to the environment path.

    Verify that all is good by opening a command prompt and checking the version of the compiler:

    /home/gandalf> mips-mti-elf-gcc –version
    mips-mti-elf-gcc (Codescape GNU Tools 2016.05-03 for MIPS MTI Bare Metal) 4.9.2
    Copyright (C) 2014 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO

    Depending on your answers to the installer questions one or more of the following compilers will be installed:

    • mips-mti-elf-gcc
    • mips-img-elf-gcc
    • mips-mti-linux-gnu
    • mips-mti-linux-gnu

    Install: Codescape Debugger

    Run the installer, accept the license agreement, select a local or shared installation, select whether to install scripting support (we recommend that you do), and let the installer run. At the end of the installation process you will be asked if you would like to install the Python scripting packages. Codescape Console is installed as part of the scripting support framework.

    Install: Codescape for Eclipse

    Run the installer, accept the license agreement, select a local or shared installation, select whether to install scripting support (we recommend that you do), and let the installer run.

    Install: MIPS Core Hardware Support Packages

    This is very straight-forward. Simply run the installer, select a local or shared installationl, and you are done.

    Wrapping Up

    Once you have completed all of the install you will need to log out and back in again to pick up changes to path so that you can run your new tools.



    I seem to be running into issues with the install on a new laptop (running Ubuntu 16.04). While I followed all your directions , the CodescapeConsole binary is not being installed. Also, after installation my USB BusBlaster is not being detected; however, on my old laptop (running the same OS) it is.

    Any idea what I might be doing wrong?




    Just a follow-up, I have fixed the issue with the bus blaster not being seen (typeo in my udev rules) but I still cant seem to get the Codescape Console to install.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums are currently locked.