Qcom平台,dump解析环境配置

1、环境准备

         a、gcc工具链

             代码中:prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin(缺少gdb)

             git clone https://android-git.linaro.org/git/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9-linaro.git

         b、TRACE32安装

         c、Qcom Parser

              platform/vendor/qcom/opensource/tools/linux-ramdump-parser-v2

         d、local srcipt   

#run_ramdump.sh

#! /bin/bash

echo ""

echo "Start ramdump parser.."

local_path=$PWD

ramdump=$local_path/

vmlinux=$local_path/vmlinux

out=$local_path/out

gdb=~/tools/gnu-tools/aarch64-linux-android-4.9/bin/aarch64-linux-android-gdb

nm=~/tools/gnu-tools/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm

objdump=~/tools/gnu-too
上一篇:aarch64的TCR寄存器介绍


下一篇:电子产品使用感受之--Mac Mini 买了之后有什么用?-- 开发啊!