admin 发表于 2021-10-21 19:47:09

移远SC60 开发环境搭建

一、源码下载

1.First download Google Android 9.0.0 kernel 4.9 via the below commands
repo init -u https://source.codeaurora.org/quic/la/platform/manifest.git -b release -m LA.UM.7.6.2.r1-09500-89xx.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
repo sync
2.Download SC600 platform dependent SDK 'SC60_SC600_r029_Android9.0.0_Quectel_SDK_20191020.tar.gz', decompress and overwrite the Google Android 9.0.0 kernel 4.9
note:After external repo init, the execution of the repo sync fails, and you can do it again without having to do the repo init from scratch, or you can wrie a script to sync


//////////////////////////////////////////////////////////
[中文]
1.首先通过如下命令下载Google Android9.0.0 kernel 4.9版本
repo init -u https://source.codeaurora.org/quic/la/platform/manifest.git -b release -m LA.UM.7.6.2.r1-09500-89xx.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
repo sync
2.然后下载SC600平台SDK包'SC60_SC600_r029_Android9.0.0_Quectel_SDK_20191020.tar.gz',将其解压并覆盖Google Android 9.0.0 kernel 4.9
注:repo init后,执行repo sync失败了,可以再次执行repo sync,而不需要从头开始执行repo init,或者使用脚本自动循环sync

二、编译环境

高通的编译环境可以直接沿用MTK Android9.0的环境,无需单独安装,第一次全局编译步骤如下:
source build/envsetup.sh
lunch msm8953_64-userdebug
make -j24
模块编译的话可以参考如下:



三、下载环境:高通的下载环境有两种,一种是通过QFIL工具刷机,另外一种是通过fastboot工具去刷机:

1、QFIL工具刷机
编译完成之后,利用SC60_SC600_SC200Y_r029_Android_9.0.0_Unpacking_Tool_20210611.zip生成刷机包;
PC端安装USB驱动:Quectel_signed_usb_driver_10051.7_20180211.rar
USB刷机工具:qpst.win.2.7_installer_00479.16.zip
具体的操作文档可参考:



2、fastboot工具来刷机
一般用fastboot刷机方便调试,刷机的效率比较高;
进入fastboot模式,执行:adb reboot bootLoader
刷bootimage:fastboot flash boot Z:\qcom\LA.UM.7.6.2.r1-09500-89xx\out\target\product\msm8953_64\boot.img
重启设备:fastboot reboot

















admin 发表于 2022-3-7 20:00:04

python-2.7.6.amd64.msi

页: [1]
查看完整版本: 移远SC60 开发环境搭建