sdm660-Android9调屏步骤

sdm660-Android9调屏步骤

安装LLVM
snapdragon_sd_llvm_arm.lnx.3.8_installer_38400.1.tar
sudo mkdir /pkg/qct/software/llvm/release/arm/3.8.4 -p
sudo tar -xvf snapdragon_sd_llvm_arm.lnx.3.8_installer_38400.1.tar
sudo cp Snapdragon_LLVM_ARM_linux_3.8.4.tar.gz /pkg/qct/software/llvm/release/arm/3.8.4/
cd /pkg/qct/software/llvm/release/arm/3.8.4/
sudo tar -zxvf Snapdragon_LLVM_ARM_linux_3.8.4.tar.gz

编译:
cd Non-HLOS/BOOT.XF.1.4/boot_images/QcomPkg
python buildit.py --variant LA -r DEBUG -t Sdm660Pkg

下载:
fastboot flash xbl xbl.elf
Non-HLOS/BOOT.XF.1.4/boot_images/QcomPkg/Sdm660Pkg/Bin/660/LA/DEBUG/xbl.elf

lk文件更改位置:
Z:\Non-HLOS\BOOT.XF.1.4\boot_images\QcomPkg\Sdm660Pkg\Library\MDPPlatformLib\MDPPlatformLib.c

kernel文件和老平台一样:

你可能感兴趣的:(sdm660-Android9调屏步骤)