2009年1月5日 星期一

Install RVDS 4.0 in Ubuntu

  1. sudo apt-get install libmotif3
  2. Later procedure would require su. Since Ubuntu cannot su, change the root password first.
    sudo -u root passwd
  3. mount the CD, go to the CD directory
  4. Ensure that you are using current login ID, instead of root, or the creation of desktop entries(shortcut) would fail(or created in root?).
    (under the CD directory)
    ./setuplinux.bin
  5. Configure the license setting
    echo "ARMLMD_LICENSE_FILE=8224@localhost:8224@10.1.1.100:8224@10.1.1.150" > ~/.flexlmrc

default installled in ~/ARM
Execute the RealView Debugger by either executing:
source ~/ARM/RVDS40env.posh;
rvdebug &
Or just select the shortcut in [Application] -> [ARM] -> [RealView Development Suit v4.0] -> [RealView Debugger v4.0]


Install RVDS 4.0 on Fedora Core 9
http://scottshulinux.blogspot.com/2008/11/install-rvds-40-on-fedora-core-9.html

On Ubuntu 10.4, using user account to run install result in:
Launching installer - please wait...
Mar 2, 2011 3:16:58 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.
Mar 2, 2011 3:16:58 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /home/test/.java/.userPrefs/prefs.xml
NULL at 2543 in ./fwos/src/fwfile.c
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xa30cc21f, pid=8296, tid=2718243696
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b19 mixed mode linux-x86)
# Problematic frame:
# C [jnifacade.so+0x2321f] FwFilenameConcatenate+0x4b
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid8296.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Could not launch JVM(tm)
Using root fix this issue, shortcut seems exist

On Ubuntu 10.4/10.10
Run RVD and nothing happened. Or the following error if run from console:
/opt/ARM/RVD/Core/4.0/1106/linux-pentium/bin/rvdebug: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
*** Error: Error status 127 from Command /opt/ARM/RVD/Core/4.0/1106/rvd_linux.sh
apt-get install libmotif3

[Target] -> [Connection Properties] -> (Select the "CONNECTION=XXX") -> [Advanced_Information] -> [Default] -> [Connection mode]
no_reset_and_stop
no_reset_and_no_stop
reset_and_stop
reset_and_no_stop

reset: reset CPU
stop: stop CPU running

沒有留言: