[2G]:
CUSTOM_MODEM=(2G modem name)
MTK_VT3G324M_SUPPORT=no
MTK_PHONE_VT_VOICE_ANSWER=no
MTK_MD1_SUPPORT=1
MTK_FD_SUPPORT=no
MTK_GEMINI_3G_SWITCH=no
MTK_FD_FORCE_REL_SUPPORT=no
MTK_MODEM_SUPPORT=modem_2g
[3G]:
CUSTOM_MODEM=(3G modem name)
MTK_VT3G324M_SUPPORT=yes
MTK_MD1_SUPPORT=3/4
MTK_FD_SUPPORT=yes
MTK_GEMINI_3G_SWITCH=yes
MTK_FD_FORCE_REL_SUPPORT=yes
MTK_MODEM_SUPPORT=modem_3g
 
 
band1:2100
band2:1900
band5:850
band8:900
 
不识SIM卡:

 

 

不识sim2,
          GPIO_CAMERA_CMRST1_PIN,
          GPIO_CAMERA_CMRST1_PIN_M_GPIO,
的注释会导致不识sim卡
GPIO口的操作错误
把GPIO_OUT_ONE,GPIO_OUT_ZERO当做GPIO口操作
 
 
 换了sim张卡 就好了 

 

 

卡交换:

 

 

 

 

FAQ10578]如何配置插入SIM卡时自动切换数据连接到3G SIM
[FAQ08987][SIM_ME_LOCK]如何只锁3G卡槽
 
 
 
 
 
问题1:
sim1,sim2不锁卡:
 
 
一张卡可以,一张不可以
 
打电话不能打:是sim卡的问题
 
 
 
[FAQ13503][SIM]双卡项目中如何修改卡2默认为3/4G P5936
[FAQ09182][Common]3G Switch功能和配置        P6569
 

共晶体

 

 

 

 modem的编译:

android5.0====android5.1
./make.sh   LOKYEE6580_WE_L_HSPA.mak  new
./make.sh   LOKYEE6580_WE_L_GPRS.mak  new
 
 ./alps/device/mediatek/build/build/tools/modemRenameCopy.pl   modem/LOKYEE6580_WE_L_GPRS_HSPA_MOLY.WR8.W1449.MD.WG.MP.V6   LOKYEE6580_WE_L_HSPA
./alps/device/mediatek/build/build/tools/modemRenameCopy.pl   modem/LOKYEE6580_WE_L_GPRS_HSPA_MOLY.WR8.W1449.MD.WG.MP.V6   LOKYEE6580_WE_L_GPRS
 
 
./make.sh   LOKYEE6582_WT_L_HSPA.mak   new
 ./alps/device/mediatek/build/build/tools/modemRenameCopy.pl   modem/LOKYEE6582_WT_L_HSPA_MOLY.WR8.W1449.MD.WG.MP.V1   LOKYEE6582_WT_L_HSPA
 
 
ANDROID4.4========================
MTK Android Driver :modem
 
 
26.modem
3g: \modem\make\PRJ_HSPA.mak
2g: \modem\make\PRJ_GPRS.mak
 
26.1modem模块位置及组成
配置文件位置:\prj\modem\make\PRJ_HSPA.mak
工程名称配置:BOARD_VER = PRJ_BB
 
 
 
 
 
catcher_filter.bin  ===  catcher_filter_1_wg_n.bin
BPLGUInfoXXXXXX  ===  BPLGUInfoXXXXXX_1_wg_n
XXX_PCB01_XXX.elf  ===  XXX_PCB01_XXX_1_wg_n.elf
DbgInfoXXXX  ===  DbgInfoXXXX_1_wg_n
XXX_PCB01_XXX.bin  ===  modem_1_wg_n.img
[Project].mak   ===  modem_1_wg_n.mak
 
小区广播
./make.sh   LOKYEE72_CWET_KK_HSPA.mak  new
\modem\make\PRJ_GPRS.mak 
26.3 modem文件修改:
RF模块名配置:
\prj\modem\make\PRJ_HSPA.mak
GSM射频模块:RF_MODULE = MT6162_CUSTOM
3G射频模块:UMTS_RF_MODULE = CUSTOM_MT6162
 
射频参数配置:
GSM射频参数:
\prj\modem\custom\l1_rf\MT6162_CUSTOM\m12193.c
\prj\modem\custom\l1_rf\MT6162_CUSTOM\l1d_custom_rf.h
\prj\modem\custom\l1_rf\MT6162_CUSTOM\l1d_custom_rf_.h
\prj\modem\custom\l1_rf\MT6162_CUSTOM\l1d_custom_rf_.h
3G射频参数:
\prj\modem\custom\ul1_rf\CUSTOM_MT6162\u12193.c
\prj\modem\custom\ul1_rf\CUSTOM_MT6162\ul1d_custom_rf.h
\prj\modem\custom\ul1_rf\CUSTOM_MT6162\ul1d_custom_rf_.h
\prj\modem\custom\ul1_rf\CUSTOM_MT6162\ul1d_custom_rf_.h
 
 
26.4 编译好文件修改名称并拷贝:
(具体定义方法参考基线代码释放的ReleaseNote_for_MT6582_****.xlsx文件的page:Build_Configure_Modem_MOLY)
\modem\build\_PRJ\DEFAULT\bin:
DbgInfo_WR8.W1315.MD.WG.MP__PRJ_MOLY_WR8_W1315_MD_WG_MP_V15_2013_12_10_11_50_PRJ.mak
PRJ_PCB01_MT6582_S00.elf
PRJ_PCB01_MT6582_S00.MOLY_WR8_W1315_MD_WG_MP_V15.bin
 
\modem\build\_PRJ\DEFAULT\tst\database
BPLGUInfoCustomAppSrcP_MT6582_S00_MOLY_WR8_W1315_MD_WG_MP_V15
catcher_filter.bin
修改名称,分别修改为:
DbgInfo_WR8.W1315.MD.WG.MP__PRJ_MOLY_WR8_W1315_MD_WG_MP_V15_2013_12_10_11_50_1_wg_n
modem_1_wg_n.mak
PRJ_PCB01_MT6582_S00_1_wg_n.elf
modem_1_wg_n.img
BPLGUInfoCustomAppSrcP_MT6582_S00_MOLY_WR8_W1315_MD_WG_MP_V15_1_wg_n
catcher_filter_1_wg_n.bin
 
26.5 modem库替换编译(..prj/alps/mediate/custom/common/modem)
CUSTOM_MODEM=YOUR_MODEM
此编译表示:已将在modem源码工程中编译好的镜像放入MTKAndroid 工程中后,存放位置:
./mediatek/custom/common/modem/YOUR_MODEM
执行如下编译命令:./mk update-modem,这个命令会依次做如下步骤:
1. custgen     2. check modem      3. sign modem        4.update modem
 
 
 
 

 

 

 

 

 

 

 

 

 

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
posted on 2020-08-26 11:11  六翅天蚕  阅读(276)  评论(0)    收藏  举报