Harvard-PRINCESS / Guppy

A very adaptable fish.
Other
1 stars 3 forks source link

installing arm DS-5 community edition on an ubuntu 1604 LTS VM from scratch #118

Open mwookawa opened 5 years ago

mwookawa commented 5 years ago

editing this as i bring up another new VM..

::note that you need about 3-4gb of storage for this package. root on your VM is preferred, ::but you can get through install and initial run with only access to debian's (apt-get) package tool sudo apt-get install build-essential gcc-multilib libwebkit-dev zlibc:i386 zlib1g:i386

DS5-CE-linux64 5.29.1 http://info.arm.com/x0S0000y1rv28iA0AjtKOXU

::unpack and run the huge self-decompressing installer. use default locations for everything (note that the version number is in the installed filename, so that may need to be patched as this becomes stale) tar zxvf ... sudo ./install.sh

::testing the install ::the following invocations should launch the simulator

ming@ubuntu:~/Desktop$ /usr/local/DS-5_CE_v5.29.1/bin/suite_exec bash
WARNING: No compiler toolchain specified for environment. Run 'suite_exec --help' for further information.
ming@ubuntu:~/Desktop$ FVP_VE_Cortex-A9x1 
terminal_3: Listening for serial connection on port 5000
terminal_2: Listening for serial connection on port 5001
terminal_1: Listening for serial connection on port 5002
terminal_0: Listening for serial connection on port 5003
ARM Core Model: WARNING - Simulation code-translation cache failed to gain DMI for PC=0x00000004. Simulation performance will be reduced.

::now we need to teach a script how to access the ARM tools ::ctrl-C or D to kill the sim instance and then exit mkdir ~/bin

gerfry commented 5 years ago

I was able to install the dependencies and simulator. It seems to run correctly as well, but I had to install it to a subdir of my home dir, since I couldn't sudo the install script.