Install Qualcomm Development Environment

安裝 Android Development Environment

http://www.cnblogs.com/youchihwang/p/6645880.html
除了上述還得安裝,

sudo apt-get install phablet-tools
  1. modify bash shell
sudo dpkg-reconfigure dash

answer : no

  1. Installing Repo
mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH

generate ssh-keygen
right : $ ssh-keygen -t rsa -C "your_email@example.com"
error : $ ssh-keygen -t rsa -C your_email@example.com

$ ssh-keygen -t rsa -C "your_email@example.com"
$ cat ~/.ssh/id_rsa.pub

copy below the content of the id_rsa.pub, then paste below path
gerrit -> Settings -> SSH Public Keys -> Add Key -> paste -> Add -> Close
wait a moment or restart ubuntu
setting your .gitconfig

start download source code of your company code

  1. ARM Compiler Tools 5.01 update 3 (build 94)
    https://developer.arm.com/products/software-development-tools/compilers/legacy-compiler-releases
    unzip file
   sudo Installer/setup.sh

ARM Compiler Tools 需要 license,
但公司已申請好,
只要在 build code 前,執行以下指令即可,
export ARMLMD_LICENSE_FILE=8224@orcad-srv.xxxxxxxxx.com.tw

  1. Hexagon.LNX.6.4 Installer
    https://createpoint.qti.qualcomm.com/tools/#suite/260/1222
    注意:要選 06406.1 版本
    unzip file,要解兩次喔!
    安裝時要連外網
   chmod +x Install_HEXAGON_Tools_linux_6.4.06.bin
   sudo ./Install_HEXAGON_Tools_linux_6.4.06.bin

安裝過程中,需要打勾,上面寫的, Agree to download GNU tools

  1. Qualcomm AMSS chip code
    apq8009-la-2-0-2_amss_standard_oem
    r00033.1
    https://chipcode.qti.qualcomm.com/your-corporation/apq8009-la-2-0-2_amss_standard_oem/tree/r00033.1

uninstall

uninstall Hexagon tool

If you use root to install Hexagon tool, the folder will be installed to /root/Qualcomm.
then
If you uninstall Hexagon tool, you have to use below command to use root priority

sudo su root
root@ubuntu:~/Qualcomm/HEXAGON_Tools/6.4.06/Uninstall_Hexagon_Tools# ./Uninstall_Hexagon_Tools

troubleshooting

error message :

object eceeb1b1f5edb0f42e690bffdf81828abd8ea7fe
type commit
tag v1.12.37
tagger Dan Willemsen <dwillemsen@google.com> 1475173621 -0700

repo v1.12.37

gpg: WARNING: unsafe ownership on homedir `/home/break-through/.repoconfig/gnupg'
gpg: failed to create temporary file `/home/break-through/.repoconfig/gnupg/.#lk0x268b340.ubuntu.2951': Permission denied
gpg: keyblock resource `/home/break-through/.repoconfig/gnupg/pubring.gpg': general error
gpg: Signature made Thu 29 Sep 2016 11:27:01 AM PDT using DSA key ID 920F5C65
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.37'

solution :
Please delete the .repo folder your project code
Please delete /home/break-through/.repoconfig/

sudo rm /home/project-code/ -rf
sudo rm /home/break-through/.repoconfig/ -rf
posted @ 2017-04-05 16:51  wangchangruei  阅读(1871)  评论(0编辑  收藏  举报