Linux Build Virtual Machine¶
In order to ease software configuration setup for first time linux developers, Critical Link has developed a Virtual Machine using the Sun VirtualBox virtual machine product. The linux virtual machine is configured to include the necessary tools and projects in order to start developing applications for the MityDSP-L138 and MityARM-1808 products. Users of the virtual image should consult the VirtualBox licensing restrictions and determine if they need to purchase a license from Sun/Oracle.
The Virtual machine is configured to provide a Ubuntu 14.04 LTS (Long Term Support) environment using a 64 bit architecture.
For the Virtual Machine, the default user is "mitydsp" and the password is also "mitydsp" (this is necessary for sudo operations).
Downloading and Installing the Virtual Machine¶
The Virtual Machine image is available via download via the link below or you may request a copy that will be delivered on a USB Drive. The image is approximately 10 GBytes, so users electing the download image should expect a lengthy transfer time. It is recommended to install the latest "virtualbox guest additions:https://www.virtualbox.org/manual/ch04.html#idm1959 after importing VM.
Virtual Machine Download link: https://support.criticallink.com/files/Critical_Link_Unified_VM_14-04_02-2018.ova (md5sum: c193bfb668cf12b1829b28b98da22dcb)
Deprecated Versions:
Old 14.04 VM: https://support.criticallink.com/files/Critical_Link_Unified_VM_14-04_04-2017.ova (md5sum: 03531ac0aa223b4d18076f2e40595820)
Old 10.04 VM: https://support.criticallink.com/files/mitydspl138/MityDSP-L138_SDK_2012_06_13.ova (md5sum: 4b598247c5d5c2f9370ca114f5c07485)
VM Build Steps¶
This section outlines the steps taken to build the Virtual Machine. It may be useful for developers setting up their own native development environment.
- Install Ubuntu 16.04 LTS
- Allow Upgrade Manager to apply 16.04 LTS software upgrades (after install)
- Install Guest Additions
- Select Devices->Install Guest Additions
- Launch a terminal shellmitydspl138@mitydspl138:~# sudo -i root@mitydsp:~# apt-get install dkms root@mitydsp:~# cd /media/VBOXADDITIONS_3.1.6_59338 root@mitydsp:/media/VBOXADDITIONS_3.1.6_59338# sh ./VBoxLinuxAdditions-x86.run
- Close Shell and Restart Machine - Switch shell to bash. Needed for several scripts
runsudo dpkg-reconfigure dash
and respond "No" to the prompt asking "Install dash as /bin/sh?" - Install ARM Toolchain for Angstrom Build
- Open Firefox and go to http://support.criticallink.com/redmine/projects/arm9-platforms
- if you don't have an account, register for one
- download the 32 bit version of the GCC toolchain
- start a shell and install the toolchainmitydsp@mitydsp-dev:~$cd Downloads mitydsp@mitydsp-dev:~/Downloads$ sudo tar xjf mitydspl138_toolchain_20100508.tar.bz2 -C /
- Install Source Control Utilities (GIT and Subversion), using a terminal shell
mitydsp@mitydsp-dev:~/Downloads$ sudo apt-get install git-core subversion
- Install Eclipse IDE Framework and CDT extensions
- From a shellmitydsp@mitydsp-dev:~$ sudo apt-get install eclipse
- To install the extensions, you need to launch eclipse and configure loading the CDT:
-- Start Eclipse by selecting Applications->Programming->Eclipse
-- Check for updates by running Help->Check For Updates
-- Select Help->Install New Software
-- Enter "http://download.eclipse.org/tools/cdt/releases/galileo" in the Work With: section and click Add
-- The Name would be "CDT Downloads"
-- Click checkbox on "CDT Main Features"
-- Open CDT Optional Features and Select "C/C++ Development Platform" and "C/C++ Remote Launch"
-- Click Next, and Next Again
-- Accept the license Agreement, click Finish - Setup U-Boot project: https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Das_U-Boot_Port
- Setup Linux kernel project: https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Kernel
- Install TI DSP compiler and BIOS needed for DSPLink
- Install CCS5 Installing_CCS5_for_L138_DSP
- Install various build tools
sudo apt-get install build-essential checkinstall cmake cdbs devscripts dh-make fakeroot libxml-parser-perl check libc6-dev libtool sharutils libncurses5-dev libgmp3-dev libmpfr-dev gawk gettext bison flex gperf indent texinfo libgtk2.0-dev libgtk2.0-bin libsdl1.2-dev swig python-dev texlive-latex3 texlive-extra-utils binutils-dev automake guile-1.8 icon-naming-utils libdbus-glib-1-dev wget gtk-doc-tools libxml-parser-perl zip unzip ecj fastjar x11-xkb-utils libglade2-dev libperl-dev python-libxml2 libexpat1-dev gconf2 groff libc6-dev python-devel mono-complete u-boot-tools
For 64-bit host machines only:sudo apt-get install libc6-dev-i386
- Getting CCS5 to Work (for 64-bit)
sudo apt-get install libc6-i386 libx11-6:i386 libasound2:i386 libjpeg62:i386 libatk1.0-0:i386 libcairo2:i386 libdbus-1-3:i386 libdbus-glib-1-2:i386 libfontconfig1:i386 libfreetype6:i386 libgconf-2-4:i386 libgdk-pixbuf2.0-0:i386 libgtk2.0-0:i386 libice6:i386 lib32ncurses5 liborbit2:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpng12-0:i386 libsm6:i386 lib32stdc++6 libusb-0.1-4:i386 libx11-6:i386 libxext6:i386 libxi6:i386 libxrender1:i386 libxt6:i386 libxtst6:i386 lib32z1 libgnomevfs2-0:i386 libcanberra-gtk-module:i386
Also needed for CCS6 (64-bit)
http://processors.wiki.ti.com/index.php/CCSv6sudo apt-get install libudev1:i386 sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
Source:
http://processors.wiki.ti.com/index.php?title=How_to_Build_a_Ubuntu_Linux_host_under_VirtualBox
Go to top