mtk RF配置步骤三
一.环境搭建看相关文档
二.C2K编译和拷贝和添加步骤
1.编译
build CUST6753_65_L1(C2K_SVLTE_OM) new
这里我们选择C2K_SVLTE_OM,这个就是on maket的意思,生成的文件在build目录下面。
2.重命名和拷贝
In ALPS codebase, run command
"perl device/mediatek/build/build/tools/modemRenameCopy.pl [C2K Modem Codebase Path] [Modem Project Makefile Name]"
我们这里运行,进行重命名:
perl device/mediatek/build/build/tools/modemRenameCopy.pl ../c2k/c2k_mdm/CP/ "LENTK6753_65C_L1(C2K_SVLTE_OM)"
生成的文件在:
c2k_mdm/CP/temp_modem/
我们拷贝到下面的目录相应的文件夹:
vendor/mediatek/proprietary/custom/lentk6735_66t_l1/modem/
3.添加编译
Set “CUSTOM_MODEM = [modem]” in “ alps/device/${company}/${project}/ProjectConfig.mk”
我们这里是:
CUSTOM_MODEM = dt600_lentk6753_l1_c2k
三.MOLY(除了C2K之外的)编译和拷贝和添加步骤
1.编译
./make.sh "LENTK6753_65C_L1(LTTG_DSDS).mak" new (移动的LTE TDD + TDSCDMA + GSM)
./make.sh "LENTK6753_65C_L1(LWG_DSDS).mak" new (联通的LTE-TDD LTE-FDD + WCDMA + GSM)
生成的在build/LENTK6753_65C_L1/LTTG_DSDS和build/LENTK6753_65C_L1/LWG_DSDS下
2.重命名
"In ALPS codebase, run command "
"perl device/mediatek/build/build/tools/modemRenameCopy.pl [Modem Codebase Path] [Modem Project Makefile Name]
我们这里是,生成到temp_modem:
perl ./device/mediatek/build/build/tools/modemRenameCopy.pl ../cu/ "LENTK6753_65C_L1(LTTG_DSDS)"
perl ./device/mediatek/build/build/tools/modemRenameCopy.pl ../cu/ "LENTK6753_65C_L1(LWG_DSDS)"
3.拷贝
我们拷贝到下面的目录相应的文件夹:
vendor/mediatek/proprietary/custom/lentk6735_66t_l1/modem/
4.添加编译
> Set “CUSTOM_MODEM = [modem]” in “ alps/device/${company}/${project}/ProjectConfig.mk”
我们这里是:
CUSTOM_MODEM = dt600_lentk6753_l1_lwg_cu dt600_lentk6753_l1_lttg_cu
5.更新modem
make -j72 update-modem //把modem文件放到相应文件夹下,用这条命令,不用new就可以打包