Trace32 安装 (pc_linux64)
来源:互联网 发布:淘宝脱胶险怎么设置 编辑:程序博客网 时间:2024/06/06 00:36
Trace32 属于调试业内最强大的debug工具了,对于做机的人来说,多掌握一种调试手段意味着关键时候多一条解题的路,对于提升工作效率减轻工作量尤为重要。
下面简单介绍ubuntu14.04下安装Trace32的基本步骤。
1、拿到安装包,解压:
android@ubuntu:~$ ls -l总用量 1712-rw-rw-r-- 1 android android 80 4月 11 16:09 autorun.inf-rw-rw-r-- 1 android android 320653 4月 11 16:09 ce.pdfdrwxrwxr-x 6 android android 69632 4月 11 16:14 files-rw-rw-r-- 1 android android 696099 4月 11 16:09 icd_quick_installation.pdf-rw-rw-r-- 1 android android 636576 4月 11 16:09 installation.pdf-rw-rw-r-- 1 android android 1917 4月 11 16:09 known_issues.txt-rw-rw-r-- 1 android android 7067 4月 11 16:09 readme.txt-rw-rw-r-- 1 android android 53 4月 11 16:09 setup.bat
2、打开readme.txt,找到linux版本安装步骤:
INSTALLATION ON PC_LINUX
Copy the /files directory structure from the CD to your disk. The utility "filecvt" should be used to convert the files to unix format. The host specific 32bit files can be found in the /bin/pc_linux directory. The host specific 64bit files can be found in the /bin/pc_linux64 directory.
- mount /mnt/cdrom (if not automatically mounted)
- mkdir /home/t32 (or similar)
- cp -r /mnt/cdrom/files/* /home/t32/ chmod -R u+w /home/t32/*
- cp ./demo/practice/t32.cmm /home/t32/
- /home/t32/bin/pc_linux64/filecvt /home/t32/
- Using an alternative PDF viewer for displaying the TRACE32 help files, please define an environment variable called T32PDFVIEWER. An entry in $home/.profile file looks as follows: export T32PDFVIEWER=/home/t32/bin/pc_linux64/t32_startpdfviewer.sh Please modify the template file to your needs if necessary.
- Please refer the installation manual for
- TRACE32 font installation
- setting of TRACE32 environment variables
- modifying the TRACE32 configuration file /home/t32/bin/pc_linux64/config.t32
- usage of USB interface (udev respectively legacy usbdevfs with hotplug interface)
- The start script t32_start.sh is only an example and must be modified to your needs.
The steps from point 7. about installing the fonts, setting environment variables, the modification of file config.t32 and USB interface usage are necessary !!! Please refer the installation guide in the manual for details.
3、按上面的2-8步骤安装即可,这里默认是安装到/home/t32/目录,后面我们会发现其实换成/opt/t32/目录将会更加便于加载分析高通的ramdump,所以这里我们改下安装目录到/opt/t32/.
创建安装目录:android@ubuntu:~$ sudo mkdir -p /opt/t32拷贝文件:android@ubuntu:~$ sudo cp -r files/* /opt/t32/android@ubuntu:~$ sudo cp files/demo/practice/t32.cmm /opt/t32权限:android@ubuntu:~$ sudo chmod -R u+w /opt/t32/*android@ubuntu:~$ sudo chown android:android -R /opt/t32/*android@ubuntu:~$ sudo chown android:android -R /usr/tmp转换:android@ubuntu:~$ sudo /opt/t32/bin/pc_linux64/filecvt /opt/t32/增加环境变量:android@ubuntu:~$ gedit .bashrc &#Trace32export T32PDFVIEWER=/opt/t32/bin/pc_linux64/t32_startpdfviewer.shexport PATH=/opt/t32/bin/pc_linux64/:$PATH刷新:android@ubuntu:~$ source .bashrc修改路径:/opt/t32/bin/pc_linux64/t32_start.sh export T32SYS=/opt/t32修改下面的注释:/opt/t32/bin/pc_linux64/config.t32OS=SYS=/opt/t32TMP=/usr/tmp
4、执行示例脚本打开trace32主界面,搞定!
android@ubuntu:~$ t32_start.sh &
- Trace32 安装 (pc_linux64)
- Linux(Ubuntu)安装Trace32
- TRACE32的安装配置
- Trace32
- 高通QSC1110的Data Abort问题(Trace32,ELF)
- about Trace32
- Trace32相关
- TRACE32调试技巧
- [转] TRACE32调试技巧
- TRACE32调试技巧
- TRACE32 调试技巧
- trace32学习笔记
- TRACE32调试技巧
- Trace32 Simulator for ARM
- Trace32 dump bmp
- qcom8660 trace32 调试经验
- trace32常用命令备忘
- 使用 Trace32 对 FLASH 编程
- poj3468 Simple Problem with Integers (线段树)
- 递归简论
- Flask SQLAlchemy 脚本测试方法
- Android7.0 PowerManagerService(3) 核心函数updatePowerStateLocked的主要流程
- html页面的乱码问题
- Trace32 安装 (pc_linux64)
- python语言没有switch-case语句
- leetcode-标签为stack 496. Next Greater Element I
- 进程以及task_struct结构体
- OpenCV 3.1 imwrite()函数写入异常问题解决方法
- CMake最好的学习资料
- 1625: [Usaco2007 Dec]宝石手镯
- GitHub windows客户端简单使用教程
- The Suspects (并查集(裸))