13. modem调试日志

注:改了modem,要make clean,再编译
六模:
	GSM		:移动联通2G
	TDD-LTE	:移动4G
	FDD-LTE	:联通电信4G
	TD-SCDMA:移动3G
	CDMA2000:电信3G
	WCDMA	:联通3G	
	
B939-11B(全网通 阿里)S5517项目邮件中写到:
	GSM(900/1800)
	+TD-SCDMA(B34B39)
	+WCDMA(B1/B8)
	+TDD-LTE(B38/B39/B40/B41M)
	+FDD_LTE(B1/B3)
判断为5模	
	
B939-11A X5项目邮件中写到:
	B939-11A配置如下:
       (智能机4G_GSM_WCDMA_FDD-LTE)PCBA,B939-M.BOM-A-V1.1(20161103受控),
	   [MTK(MT6737V/W)]
	   +GSM(850/900/1800/1900)	(1)
	   +WCDMA(B1/B2/B5/B8)		(2)
	   +FDD-LTE(B1/B3/B7/B8/B20)(3)
	   +EMCP(8GB+1GB) 
	   +WIFI+BT+FM+GPS(省晶体)+假闪+主板USB
判断为3模


参考:\\192.168.22.243\software\_HW_Resource_\平台文档
-ReleaseNote_for_MT6753_L1.MP3.xlsx
-DSDS 5M Project config:
	[FDD-LTE CSFB]:4M
	(ProjectConfig.mk)
	MTK_LTE_SUPPORT=yes
	MTK_ENABLE_MD1=yes
	MTK_MD1_SUPPORT=5
	CUSTOM_MODEM=mtk6753_65c_l1_lwg_dsds
	MTK_SHARE_MODEM_SUPPORT=2
	MTK_SHARE_MODEM_CURRENT=2
	MTK_WORLD_PHONE=no
	MTK_UMTS_TDD128_MODE=no
	
	kernel config:
	(len6737m_35_m0_defconfig)
	CONFIG_MTK_ENABLE_MD1=y
	CONFIG_MTK_MD1_SUPPORT=5
	#CONFIG_MTK_UMTS_TDD128_MODE is not set
	根据NJY_X5 使用FDD_LTE三模,古按照上面配置

	
	
步骤:

3.配modem----发给硬件调天线
	修改device\lentek\len6737m_35_m0\ProjectConfig.mk
		kernel-3.18\arch\arm\configs\len6737m_35_m0_debug_defconfig、len6737m_35_m0_defconfig
		
		modem路径Y:\code10\mt6737_M0_MP1_V2_84\vendor\mediatek\proprietary\custom\mt6735\modem\
		MTK_MD1_SUPPORT = 5(改为5)
		CUSTOM_MODEM = len6737m_m0_v88_b919_v3_ltg_dsds_cotsx len6737m_m0_v88_b919_v3_lwg_dsds_cotsx
		
三模:(b939_NJY_X5: GAM + WCDMA + FDD)
	1.ProjectConfig.mk:
		MTK_MD1_SUPPORT = 5						//(改为5)
		MTK_UMTS_TDD128_MODE = no				//(该为no)
	
	2.len6737m_35_m0_debug_defconfig、len6737m_35_m0_defconfig:
		CONFIG_MTK_ENABLE_MD1=y
		CONFIG_MTK_MD1_SUPPORT=5				//(改为5)
		#CONFIG_MTKUMTS_TDD128_MODE=y			//(注释掉)
	
四模/五模:(b939_XJD_P8: GSM + WCDMA + FDD + TDD)
	ProjectConfig.mk:
		MTK_MD1_SUPPORT = 5						//(改为5)
		MTK_UMTS_TDD128_MODE = yes				//(该为no)
	
	len6737m_35_m0_debug_defconfig、len6737m_35_m0_defconfig:
		CONFIG_MTK_ENABLE_MD1=y
		CONFIG_MTK_MD1_SUPPORT=5				//(改为5)
		CONFIG_MTKUMTS_TDD128_MODE=y			//(注释掉)
	

案例一	: GPS加晶体不搜星
	现象	: 
	平台	: androidM,MTK6737
	步骤	: 1. MODEM部分的修改,使之匹配成TCXO的
				vendor/mediatek/proprietary/modem/magc6737m_65_n_lwg_dsds_cotsx/modem_1_lwg_n.mak
				-	L1_LOCK_AFCDAC_AT_STARTUP_SUPPORT = TRUE
				+	L1_LOCK_AFCDAC_AT_STARTUP_SUPPORT = FALSE
					
				-	AFC_VCXO_TYPE = VCXO
				+	AFC_VCXO_TYPE = VCTCXO

				LWTG/custom/modem/l1_rf/MT6735_2G_MT6169_CUSTOM/l1d_custom_rf.h	// 找不到该文件
				#define CLK2_EN   0

			  2.AP部分的修改,也使之匹配成TCXO的
				i.alps/vendor/mediatek/proprietary/custom/magc6737m_65_n/cgen/cfgdefault/CFG_GPS_Default.h
					ap_nvram_gps_config_struct stGPSConfigDefault =
					{
						...
						/* 0:16.368MHz TCXO */
						0xFF,					// 0xFF

				ii.alps/device/magcomm/magc6737m_65_n/WMT_SOC.cfg
				-	co_clock_flag=1
				+	co_clock_flag=0

				iii.配置(1)编译出来的TCXO的MODEM
				
			  3. 需要重新编译modem

	总结	: 	
			
案例二	: sim卡读不到信号 - modem 网络配置不对,默认配置全网通,但主板支持4模
	现象	: 识卡但读不到卡
	平台	: androidM,MTK6737
	步骤	: 1. vendor/mediatek/proprietary/bootable/bootloader/lk/project/k39tv1_bsp_1g.mk
				-	MTK_PROTOCOL1_RAT_CONFIG = C/Lf/Lt/W/T/G
				+	MTK_PROTOCOL1_RAT_CONFIG = Lf/Lt/W/G
	
			  2. device/mediateksample/k39tv1_bsp_1g/ProjectConfig.mk
				-	MTK_PROTOCOL1_RAT_CONFIG = C/Lf/Lt/W/T/G
				+	MTK_PROTOCOL1_RAT_CONFIG = Lf/Lt/W/G
			  
	总结	: 	
			








你可能感兴趣的:(mtk驱动)