Build Qualcomm MSM ,Android,MPSS,Boot loaders,RPM,TZ,ADSP

先上高通 ChipCode 上下載 oem code:

http://createpoint.qti.qualcomm.com/planner/link/chipCode

[/crayon]

根據 release notes 上 codeaurora 抓取對應的 Android 版本

common/about.html 內apps有寫對應版本,

codeaurora : https://wiki.codeaurora.org/xwiki/bin/QAEP/release

 

將高通 ChipCode 解壓,將 codeaurora 抓的 Android code  合入 LINUX\android 下

安裝各 toolchain:

Hexagon 5,1,05 (Qualcomm 網站下載)

Hexagon 6.4.06 (Qualcomm 網站下載)

ARM Compiler Tools 5.01 (ARM 官網下載,註冊30天試用)

Snapdragon LLVM ARM compiler 3.5.2.4 (Qualcomm 網站下載)

gcc-linaro-aarch64-none-elf-4.9-2014.07_linux (https://releases.linaro.org/archive/14.07/components/toolchain/binaries/gcc-linaro-aarch64-none-elf-4.9-2014.07_linux.tar.bz2)

gcc-linaro-arm-linux-gnueabihf-4.8-2014.02_linux (https://releases.linaro.org/archive/14.02/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2014.02_linux.tar.bz2)

Build Android:

產生

boot.img

recovery.img

system.img

cache.img

persist.img

userdata.img

mdtp.img

emmc_appsboot.mbn

Setting ENV – 依照 toolchain 安裝的路徑設定


 

移除各 build/ms 的 setenv.sh

Build MPSS image


 

產生 MPSS.TA.2.3/modem_proc/build/ms/bin/8953.gen.prod/mba.mbn

Build ADSP


 

產生 adsp_proc/build/dynamic_signed/8953/adspso.bin

Build boot loaders


 

產生 BOOT.BF.3.3/boot_images/build/ms/bin/JAASANAZ/sbl1.mbn

BOOT.BF.3.3/boot_images/build/ms/bin/JAADANAZ/prog_emmc_firehose_8953_ddr.mbn

Build TZ images


 

產生


 

Build RPM


 

產生 RPM.BF.2.4/rpm_proc/build/ms/bin/8953/rpm.mbn

補充:

抓不到rvct版號問題,手動加入rvct_ver = 5

vi RPM.BF.2.4/rpm_proc/tools/build/scons/scripts/rvct.py


 

Creating NON-HLOS.bin 上面(除了Android)有變動都要做一次


 

產生檔案 MSM8953.LA.2.0/common/build/bin/asic/NON-HLOS.bin


 

MSM8953.LA.2.0/common/sectools/resources/build/fileversion2/sec.dat

Copy 各階段產生的檔案


 

未經允許不得轉載:GoMCU » Build Qualcomm MSM ,Android,MPSS,Boot loaders,RPM,TZ,ADSP

評論 搶沙發

  • 昵稱 (必填)
  • 郵箱 (必填)
  • 網址