The following preliminary steps are required before you install S32 Design Studio for S32 Platform 3.5 Update 6 RTM.
- The user account installing the product needs to be a member of sudoers group.
- Compatibility libraries necessary to run a 32-bit toolchain on a 64-bit Linux need to be
installed:
Table 1. Installing 32-bit compatibility libraries
| Libraries |
Platform |
Installing |
|
lib32z1
lib32ncurses5
libstdc++6
libbz2-1.0
glibc
libX11
libxpm4
libncursesw5
libmpfr4
|
Ubuntu |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install lib32z1 libncurses5:i386 libstdc++6:i386 libbz2-1.0:i386 libc6:i386 libx11-6:i386 libxpm4:i386 libncursesw5:i386 libmpfr6:i386
|
- Libraries necessary to run a 64-bit GDB client need to be installed:
Table 2. Installing 64-bit libraries
| Libraries |
Platform |
Installing |
|
libpython2.7
|
Ubuntu |
sudo apt-get install libpython2.7
sudo ln -s /lib/x86_64-linux-gnu/libmpfr.so.6 /lib/x86_64-linux-gnu/libmpfr.so.4
|
- An up-to-date version of the MAKE utility:
Table 3. Installing MAKE
| Platform |
Installing |
| Ubuntu |
sudo apt install make
|
- The TCL package is required to run the scripts found in the
Project_Settings container in a project:
Table 4. Installing TCL
| Platform |
Installing |
| Ubuntu |
sudo apt install tcl
|
- The Python 2.7 needs to be installed to use the GDB Python build
(tools/gdb-arm/arm32-eabi/bin/arm-none-eabi-gdb-py):
Table 5. Installing Python
| Platform |
Installing |
| Ubuntu |
sudo apt-get install python2-minimal curl
|
- The enum34 needs to be installed to use the S32 Debugger:
Table 6. Installing enum34
| Platform |
Installing |
| Ubuntu |
- Ensure if your default python is version 2.7:
python2 --version
- Install pip:
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
pip2 --version
- Install enum34:
sudo pip2 install enum34
- Check if enum34 works:
python2
import enum
print(enum.__file__)
|
- (Optional) The 32-bit libraries for Python 2.7 need to be installed to use legacy GDB
Python build (e.g.
build_tools/gcc_b1574/gcc-6.3-arm32-eabi/bin/arm-none-eabi-gdb-py):
Table 7. Installing 32-bit libraries for Python 2.7
| Platform |
Installing |
| Ubuntu |
sudo apt install libpython2.7:i386
|
- The unix2dos utility:
Table 8. Installing unix2dos
| Platform |
Installing |
| Ubuntu |
sudo apt install dos2unix
|
- (Optional) 32-bit GTK2 libraries need to be installed to use Wind River Diab
installer:
Table 9. Installing 32-bit gtk2 libraries for Diab Compiler
| Platform |
Installing |
| Ubuntu |
sudo apt-get install libstdc++6:i386 libgtk2.0-0:i386 libxtst6:i386
|
- (Optional) USB devices library need to be installed for PEmicro Debugger:
Table 10. Installing USB devices library for PEmicro Debugger
| Platform |
Installing |
| Ubuntu |
sudo apt-get install libusb-0.1-4
|