Wednesday, June 4, 2014

HOWTO Install Codescape Debugger for MIPS on Fedora

The procedure is actually quite simple, but one patch is needed for the license manager.

1. Install Codescape
[ ]# chmod +x Codescape-Debugger-8.0.2.2.CentOS-5.x86.py
[ ]# ./Codescape-Debugger-8.0.2.2.CentOS-5.x86.py

2. Create the LSB linker/loader shared library for the License Manager
[ ]# sudo ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3

The License Manager may fail when LSB 3 is not met
Starting the license manager issues the error:
   bash: /opt/imgtec/Codescape-Debugger-8.0/get_img_host_id: /lib/ld-lsb.so.3: bad ELF interpreter: No such file or directory

3. Register
[ ]# /opt/imgtec/Codescape-Debugger-8.0/Codescape-Debugger-Registration

4. That's it. We are done.

Without step 2, the registration failed with the following Error. 


The license manager will call following command to get the "Host ID".
[ ]# /opt/imgtec/Codescape-Debugger-8.0/get_img_host_id