VM Toolchain Update¶
The MitySOM-5CSx development kits currently ship with a root filesystem built using the "poky" toolchain. All of the current VM's are based upon the Altera EDS toolchain so there is a mis-match. Please download the following file from our support site:
Once downloaded please follow these instructions to update and use the new toolchain that matches the module.
Update the VM¶
With the file above downloaded 'cd' from a terminal to that directory and run it:
sudo ./poky-eglibc-x86_64-mitysom-5csx-dev-kit-cortexa9hf-vfp-neon-toolchain-1.5.4.sh
Select the default installation directory when prompted:
Enter target directory for SDK (default: /opt/poky/1.5.4): You are about to install the SDK to "/opt/poky/1.5.4". Proceed[Y/n]?Y Extracting SDK...done Setting it up...done SDK has been successfully set up and is ready to be used.
Using the new tool-chain¶
Prior to this update users were directed to use the Altera Embedded toolchain. This was utilized by running the following script on the VM /home/user/altera/14.1/embedded/embedded_command_shell.sh
Once the Poky toolchain has been added to the VM run the following command from a terminal:
cd /opt/poky/1.5.4/
source environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi
You can now launch Eclipse and/or compile an application from this terminal window.
Note that the GDB Debugger for this toolchain is located at:
/opt/poky/1.5.4/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb
Note that the toolchain for the Cyclone V is named
arm-poky-linux-gnueabi
Go to top