vs2008下安装mobile client software factory

本文详细介绍了如何在Visual Studio 2008环境下搭建MobileClientSoftwareFactory (MCSF)模板的过程,包括解决安装过程中遇到的各种问题,如版本不匹配等,并提供了具体的修改步骤。

开博第一篇琢磨着写个什么好,还是来个实惠的吧。

最近有个手机项目想用mobile client software factory 做模板,系统已经装了vs2008,不打算再回去2005,于是开始折腾……

 

下面的安装过程希望对您有用。

 

准备如下:

1、Mobile Client Software Factory July 2006 (refresh).msi  2008

2、Guidance Automation Extensions for 2008

3、GuidanceAutomationToolkit  for 2008

4、FxCopInstall  1.35

5、ORCA MSI Editor

 

下面开始工作了,提起精神吧!

 

 

一 安装GAX /GAT 。  FOR2008的版本安装很顺利

 

二 安装Mobile Client Software Factory July 2006 (refresh).msi 出错,提示说没装GAX/GAT /VS2005/ C#等一些错误.

解决方法:

 

ORCA 打开"Mobile Client Software Factory July 2006 (refresh).msi"文件在tables下找到RegLocator

1、将GAXRegistry  key中的8.0改为9.0

2、FindVSInstallDir key中的8.0改为9.0

3、GATRegistry key中的29FFECACD566E7A4C9F8E5080B166010改为A741EEBC995A0984782CC041A01336F3    这个是我安装的GAT 2008版本,

保存后退出,重新安装成功。

 

 

 

三.打开VS2008 建立项目中并没有发现MCSF模版,郁闷。

开源项目 不怕!

解决方法:

 

1、VS2008打开 MCSF安装目录下的Tools/CabGen/CabGen.NoTests.sln   VS会自动转换成兼容项目

 

将Microsoft.Cci.DLL复制到CabGen/Lib 目录下

(注:可以安装FxCopInstall1.35,在安装目录下有需要的 Microsoft.Cci.DLL,如果安装1.35以上版本那么使用的Microsoft.Cci.DLL会有所改动,需要将命名控件Microsoft.Cci 更改为Microsoft.FxCop.Sdk,同时需要修改部分代码,这里不再展开,请参考其他资料)

 

编译项目发现有错误'Properties'不存在,将'Properties'替换成'Microsoft.Practices.Mobile.CompositeUI.CodeGen.Properties’

再次编译,正常。

 

2、VS2008打开 MCSF安装目录下的 ApplicationBlocks/OrientationAware.NoTests.sln 

将Microsoft.Cci.DLL复制到ObGen/Lib 目录下(同上)

 

编译,正常。

 

3、VS2008打开 MCSF安装目录下的  GuidancePackage/MobileClientFactory.NoTests.sln

 

编译,如果显示‘Design’不存在,可以将‘Design’替换成 ‘Microsoft.VisualStudio.Shell' (在Visual Studio 2008 SDK中有定义 可以去微软网站下载). 若编译正常,则无需替换。

 

 

三、安装 MCSF安装目录下的 GuidancePackage/MobileClientFactorySetup/Release/MobileClientFactory.msi 提示一堆错误。

解决办法:

 

ORCA 打开此文件,

1、在tables下找到RegLocator,将三个8.0都改成9.0

2、在tables下找到CustomAction,在uninstall, install, rollback and commit 记录中的Target字段中加入/Hive=9.0

如下图

 

 

 

 

 

再次安装,OK一些顺利.

 

打开vs2008,新建,项目,Guidance Packages 终于发现了Mobile Client Software Factory. 可喜可贺。

 

 

 

 

 

 

 

我在nsd/src/modules中添加了一个新arp模块,里面三个.h.c,帮我修改makefile。顶层makefile和src的makefile。include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/nls.mk # 显式include之后才能在后续的include中立即使用里面定义的值 -include $(T_PRODUCT_CONFIG_DIR)/$(PR_NAME)/wlan.config # BuildPackage variables # Some of the frequently-used common variables are as follows: # PKG_NAME - The name of the package, as seen via menuconfig and ipkg # PKG_VERSION - The upstream version number that we're downloading # PKG_RELEASE - The version of this package Makefile # PKG_BUILD_DIR - Where to compile the package # PKG_SOURCE - The filename of the original sources # PKG_SOURCE_URL - Where to download the sources from (directory) # PKG_NAME:=nsd PKG_VERSION:=1.0.0 PKG_RELEASE:=1 # This specifies the directory where we're going to build the program. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk define Package/nsd SUBMENU:=Apps SECTION:=utils CATEGORY:=TP-LINK Proprietary Software TITLE:=nsd -- nsd module. DEPENDS:= +libdms +libXml +libutils +libjson +libtpssl +libds +libpwr +libsdm +libmediautil DEPENDS+= +PACKAGE_libmpp:libmpp DEPENDS+= +PACKAGE_libsdm_chinanet:libsdm_chinanet DEPENDS+= +PACKAGE_libsdm_dotsdk:libsdm_dotsdk DEPENDS+= +PACKAGE_libsdm_KjbSDK:libsdm_KjbSDK DEPENDS+= +PACKAGE_libnetsnmp:libnetsnmp #MENU:=1 endef define Package/nsd/description nsd: network service daemon.... endef ifeq ($(CONFIG_USING_PLUGIN),y) EXTRA_CFLAGS += -DSUPPORT_PLUGIN export CLOUD_PLUGIN_SUPPORT := y endif ifeq ($(strip ${CONFIG_VIDEO_MESSAGE}),y) EXTRA_CFLAGS += -DSUPPORT_VIDEO_MESSAGE endif ifeq ($(CONFIG_INCLUDE_UPNP_SERVER),y) EXTRA_CFLAGS += -DINCLUDE_UPNP_SERVER endif ifeq ($(strip ${CONFIG_SUPPORT_FORCE_FW_UPGRADE}),y) EXTRA_CFLAGS += -DSUPPORT_FORCE_FW_UPGRADE endif ifneq ($(CONFIG_MSG_PUSH_POST_URL),) EXTRA_CFLAGS += -DCONFIG_MSG_PUSH_POST_URL=$(CONFIG_MSG_PUSH_POST_URL) endif ifneq ($(CONFIG_NTP_HOSTNAME),) EXTRA_CFLAGS += -DCONFIG_NTP_HOSTNAME=$(CONFIG_NTP_HOSTNAME) endif ifneq ($(CONFIG_UP_FIRMWARE_LIMIT_SIZE),) EXTRA_CFLAGS += -DUP_FIRMWARE_LIMIT_SIZE=$(CONFIG_UP_FIRMWARE_LIMIT_SIZE) endif ifeq ($(CONFIG_MANUFACTURER_MERCURY),y) EXTRA_CFLAGS += -DMANUFACTURER_MERCURY endif ifeq ($(CONFIG_MANUFACTURER_FAST),y) EXTRA_CFLAGS += -DMANUFACTURER_FAST endif ifeq ($(strip ${CONFIG_TUMS_SUPPORT}),y) EXTRA_CFLAGS += -DTUMS_SUPPORT endif ifeq ($(strip ${CONFIG_SENSITIVITY_INT}),y) EXTRA_CFLAGS += -DSENSITIVITY_INT endif ifeq ($(CONFIG_MAKEROOM_BEFORE_UPGRADE),y) EXTRA_CFLAGS += -DMAKEROOM_BEFORE_UPGRADE endif ifeq ($(CONFIG_UPGRADE_LOCK_TEXT_SEGMENTS),y) EXTRA_CFLAGS += -DUPGRADE_LOCK_TEXT_SEGMENTS endif ifeq ($(CONFIG_THIRD_STREAM_ENABLE),y) EXTRA_CFLAGS += -DTHIRD_STREAM_ENABLE endif ifeq ($(CONFIG_AUDIO_ENABLE),y) EXTRA_CFLAGS += -DAUDIO_ENABLE endif ifeq ($(CONFIG_AUDIO_OUTPUT),y) EXTRA_CFLAGS += -DAUDIO_OUTPUT endif ifeq ($(CONFIG_PACKAGE_lte_manager),y) EXTRA_CFLAGS += -DCONFIG_MOBILE_ACCESS_SET_SUPPORT endif ifeq ($(CONFIG_LOCAL_STORAGE_ENABLE),y) EXTRA_CFLAGS += -DLOCAL_STORAGE_ENABLE export LOCAL_STORAGE_ENABLE := y endif ifeq ($(CONFIG_LTE_MODULE_IN_UP_BIN),y) EXTRA_CFLAGS += -DCONFIG_LTE_MODULE_IN_UP_BIN endif ifeq ($(CONFIG_UITRON_EXT_UPGRADE_SUPPORT),y) EXTRA_CFLAGS += -DCONFIG_UITRON_EXT_UPGRADE_SUPPORT endif ifeq ($(CONFIG_USB_DISK_SUPPORT),y) EXTRA_CFLAGS += -DUSB_DISK_SUPPORT endif ifeq ($(CONFIG_SD_UPGRADE_FROM_MMCBLK0),y) EXTRA_CFLAGS += -DCONFIG_SD_UPGRADE_FROM_MMCBLK0 endif ifneq ($(CONFIG_FACTORY_BOOT_HTTP_CLIENT)$(CONFIG_FACTORY_BOOT_HTTPS_CLIENT),) EXTRA_CFLAGS += -DSAVE_UPGRADE_FIRMWARE_URL endif ifeq ($(CONFIG_FACTORY_BOOT_SDCARD_RECOVERY),y) EXTRA_CFLAGS += -DFACTORY_BOOT_SDCARD_RECOVERY endif ifeq ($(CONFIG_IPV6),y) EXTRA_CFLAGS += -DCONFIG_IPV6 endif ifeq ($(CONFIG_USES_LITTLEFS),y) EXTRA_CFLAGS += -DUSES_LITTLEFS endif ifeq ($(CONFIG_PACKAGE_lowpower_manager),y) EXTRA_CFLAGS += -DLOWPOWER_DEVICE endif ifneq ($(CONFIG_STATISTIC_REPORT_DOMAIN),) TARGET_CFLAGS += -DCONFIG_STATISTIC_REPORT_DOMAIN=$(CONFIG_STATISTIC_REPORT_DOMAIN) endif ifeq ($(CONFIG_LOW_POWER_CLOUD_SUPPORT),y) EXTRA_CFLAGS += -DLOW_POWER_CLOUD_SUPPORT endif ifeq ($(CONFIG_NSD_HTTPD_SAVE_ENCRYPT_PARAMS_TO_LFS),y) EXTRA_CFLAGS += -DNSD_HTTPD_SAVE_ENCRYPT_PARAMS_TO_LFS endif ifeq ($(CONFIG_TAPO_INTERFACE_SUPPORT),y) EXTRA_CFLAGS += -DTAPO_INTERFACE_SUPPORT endif ifeq ($(CONFIG_SYSUPGRADE_CHECK_FWLIST),y) EXTRA_CFLAGS += -DCONFIG_SYSUPGRADE_CHECK_FWLIST endif ifeq ($(CONFIG_TP_TAPO_SPMINIOS),y) EXTRA_CFLAGS += -DCONFIG_TP_TAPO_SPMINIOS endif ifeq ($(CONFIG_TP_TAPO_MAP_ROOTFS),y) EXTRA_CFLAGS += -DCONFIG_TP_TAPO_MAP_ROOTFS endif ifeq ($(CONFIG_WNO_GCC840),y) TARGET_CFLAGS += -Wno-sizeof-pointer-div -Wno-restrict -Wno-format-truncation -Wno-format-overflow -Wno-stringop-truncation endif ifeq ($(CONFIG_TP_TAPO),y) EXTRA_CFLAGS += -DTP_TAPO endif ifeq ($(CONFIG_TP_VIGI),y) EXTRA_CFLAGS += -DTP_VIGI endif ifeq ($(CONFIG_TP_VIGI_P2P_SHARE),y) TARGET_CFLAGS += -DTP_VIGI_P2P_SHARE endif ifeq ($(CONFIG_TP_VIGI_RESET_WIFI_SUPPORT),y) EXTRA_CFLAGS += -DTP_VIGI_RESET_WIFI_SUPPORT endif ifeq ($(CONFIG_USE_GLIBC),y) EXTRA_CFLAGS += -DUSE_GLIBC endif ifeq ($(CONFIG_TELEMETRY_SUPPORT),y) TARGET_CFLAGS += -DTELEMETRY_SUPPORT endif ifeq ($(CONFIG_NSD_TIME_MANAGE),y) EXTRA_CFLAGS += -DNSD_TIME_MANAGE endif ifeq ($(CONFIG_VIGI_USR_DEF_AUDIO_ALARM),y) EXTRA_CFLAGS += -DVIGI_USR_DEF_AUDIO_ALARM endif ifeq ($(CONFIG_WIREDCONFIG_SUPPORT), y) EXTRA_CFLAGS += -DCONFIG_WIREDCONFIG_SUPPORT endif ifeq ($(CONFIG_SUPPORT_VARIETY_SENSOR),y) TARGET_CFLAGS += -DSUPPORT_VARIETY_SENSOR endif ifeq ($(CONFIG_VIDEO_ENCODE_H265_TILE),y) TARGET_CFLAGS += -DCONFIG_VIDEO_ENCODE_H265_TILE endif ifeq ($(CONFIG_MULTI_LANGUAGE_OSD_FROM_NVR),y) TARGET_CFLAGS += -DMULTI_LANGUAGE_OSD_FROM_NVR endif ifeq ($(CONFIG_AUDIO_G711_16K_SUPPORT),y) TARGET_CFLAGS += -DAUDIO_G711_16K_SUPPORT endif ifeq ($(CONFIG_VIGI_ENABLE_USER_LOG),y) EXTRA_CFLAGS += -DVIGI_ENABLE_USER_LOG endif ifdef CONFIG_PTZ_SUPPORT TARGET_CFLAGS += -DPTZ_SUPPORT endif define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/* $(PKG_BUILD_DIR)/ find $(PKG_BUILD_DIR)/ -name ".git" | xargs rm -rf find $(PKG_BUILD_DIR)/ -name "docs" | xargs rm -rf $(CP) $(TOPDIR)/tp_package/avts/src/streams/rtsp_server/auth/authentication.h $(PKG_BUILD_DIR)/include/ endef MAKE_FLAGS += MODULE_LIST=$(CONFIG_NSD_BUILD_DIR) MAKE_FLAGS += COMMON_LIBS=$(CONFIG_NSD_COMMON_LIBS) # pack nsd static libraries and headers then put into bin directory define nsd_pack if [ -d $(PKG_BUILD_DIR) ]; then \ $(TAR) cf $(PKG_BUILD_DIR)/nsd_pack.tar -C $(BUILD_DIR) $(PKG_NAME)/include $(PKG_NAME)/libraries \ --exclude=out.* --exclude-vcs; \ $(TAR) rf $(PKG_BUILD_DIR)/nsd_pack.tar -C $(BUILD_DIR) $(PKG_NAME)/common $(PKG_NAME)/modules \ --exclude=*.o --exclude=*.c --exclude=*.a --exclude=Makefile --exclude-vcs; \ bzip2 $(PKG_BUILD_DIR)/nsd_pack.tar -c > $(BIN_DIR)/nsd_pack.tar.bz2; \ rm -f $(PKG_BUILD_DIR)/nsd_pack.tar; \ fi endef define Build/InstallDev # $(INSTALL_DIR) $(1)/usr/include/video_share # $(CP) $(PKG_BUILD_DIR)/modules/video_share/*.h $(1)/usr/include/video_share $(INSTALL_DIR) $(1)/usr/lib/nvmp/nsd $(CP) $(PKG_BUILD_DIR)/libraries/*.a $(1)/usr/lib/nvmp/nsd $(nsd_pack) $(INSTALL_DIR) $(1)/usr/lib/nvmp_files if [ -d $(PKG_BUILD_DIR)/files/ ]; then \ $(CP) $(PKG_BUILD_DIR)/files/* $(1)/usr/lib/nvmp_files/; \ fi endef $(eval $(call BuildPackage,nsd)) 。。include $(TOPDIR)/include/color.mk PKG_NAME = nsd TARGET := $(PKG_NAME).a CFLAGS += -Wall -Werror -ffunction-sections -fdata-sections -DMODULE_LIST="\"$(MODULE_LIST)\"" CFLAGS += -I$(abspath ./include) -I$(abspath ./common) -I$(abspath ./common/ds) -I$(abspath ./modules/mactool) -I./libXml -I./libutils -I./libmediautil RM = rm RMFLAGS = -rf OBJS = nsd.o LIBRARIES = $(addsuffix .a,$(MODULE_LIST)) LIBRARIES += $(addsuffix .a,$(COMMON_LIBS)) # 适用于命令在shell的循环体里,需要一行写完,且执行出错后要及时中止,并返回错误码给顶层make的情况 #$(call inline_cmd,<cmd>) define inline_cmd $1; \ result=$$?; \ if [ $$result -ne 0 ]; \ then exit $$result; \ fi endef all:build_modules build_common_libs $(TARGET) install build_modules: @for module in $(MODULE_LIST); \ do \ if [ -f modules/$$module/Makefile ]; \ then $(call color_inline_cmd,make -C modules/$$module MODULE_NAME=$$module); \ fi \ done build_common_libs: @for common_lib in $(COMMON_LIBS); \ do \ if [ -f common/$$common_lib/Makefile ]; \ then $(call color_inline_cmd,make -C common/$$common_lib MODULE_NAME=$$common_lib); \ fi \ done $(TARGET):$(OBJS) @$(call color_cmd,$(AR) crus -o $@ $(OBJS)) install: $(TARGET) cp -f $(TARGET) libraries/ clean_modules: @for module in $(MODULE_LIST); \ do \ if [ -f modules/$$module/Makefile ]; \ then $(call color_inline_cmd,make -C modules/$$module clean); \ fi \ done clean_common_libs: @for common_lib in $(MODULE_LIST); \ do \ if [ -f common/$$common_lib/Makefile ]; \ then $(call color_inline_cmd,make -C common/$$common_lib clean); \ fi \ done clean: clean_modules clean_common_libs -$(RM) $(RMFLAGS) $(OBJS) $(TARGET) libraries/$(TARGET) $(wildcard libraries/*/*.o)
08-27
---------------> save 3187 <--------------- [ oal_sys_GetConfigAddr ] 3546: read config from addr1 006c0000 addr2 006d0000 [ oal_sys_GetConfigAddr ] 3558: checking addr1 006c0000 seq1:73 [ oal_sys_GetConfigAddr ] 3571: checking addr2 006d0000 seq1:74 [ oal_sys_writeCfgFlash ] 4151: Write config index:75 addr:6c0000 . spiflash_ioctl_erase, erase to 0x006d0000 length 0x0, nerase done spiflash_ioctl_write, Write to 0x006c0000 length 0x74d0, ret 0, retlen 0x74d0 save user config to 6c0000... spiflash_ioctl_read, Read from 0x006ef600 length 0xf, ret 0, retlen 0xf ---------------> save 3187 <--------------- [ oal_sys_GetConfigAddr ] 3546: read config from addr1 006c0000 addr2 006d0000 spiflash_ioctl_read, Read from 0x006c0000 length 0x10000, ret 0, retlen 0x10000 [ oal_sys_GetConfigAddr ] 3558: checking addr1 006c0000 seq1:75 spiflash_ioctl_read, Read from 0x006d0000 length 0x10000, ret 0, retlen 0x10000 [ oal_sys_GetConfigAddr ] 3571: checking addr2 006d0000 seq1:74 [ oal_sys_writeCfgFlash ] 4151: Write config index:76 addr:6d0000 . spiflash_ioctl_erase, erase to 0x006e0000 length 0x0, nerase done spiflash_ioctl_write, Write to 0x006d0000 length 0x74d0, ret 0, retlen 0x74d0 save user config to 6d0000... [ cmm_getLteWanInfo : 1694 ] #Error: get LTE_ISP_PROF lteIspProfObj error [ cmm_getLteWanInfo : 1706 ] #Error: get LTE_PROF_STAT lteProfStatObj error tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 417 Content-Checksum: bfa260f0 {"error_code":0,"result":{"client_list":[{"ip":"192.168.1.100","mac":"F2-BC-FE-2B-5D-68","name":"UmVkbWktTm90ZS0xMy1Qcm8=","online":true,"client_type":"phone","interface":"main","linked_device_info":{"connection_type":["band2_4"]}},{"ip":"192.168.1.101","mac":"1A-49-47-C0-0A-D8","name":"T1BQTy1GaW5kLVg4","online":true,"client_type":"phone","interface":"main","linked_device_info":{"connection_type":["band2_4"]}}]}}] tmpsvr(122:tmp_trans_half_kill_pending): Info: TMP Transaction 0x4833e0 was turned into a zombie tmpsvr(80:tmp_trans_half_kill): Info: TMP Transaction 0x4833e0 was half killed tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 201 Content-Checksum: 19a16e66 {"error_code":0,"result":{"sim_status":"ready","network_type":"lte","signal_strength":100,"data_roaming":false,"roaming_status":false,"operator":{"alpha_short":"China Telecom (4G)","numeric":"46011"}}}] tmpsvr(122:tmp_trans_half_kill_pending): Info: TMP Transaction 0x482048 was turned into a zombie tmpsvr(80:tmp_trans_half_kill): Info: TMP Transaction 0x482048 was half killed wdoge trigger ralink_write:1178 tmpsvr(97:transaction_timeout): Info: TMP Transaction 0x4823d8 was expired as a zombie tmpsvr(670:tmp_trans_free): Info: TMP Transaction 0x4823d8 was killed tmpsvr(97:transaction_timeout): Info: TMP Transaction 0x482210 was expired as a zombie tmpsvr(670:tmp_trans_free): Info: TMP Transaction 0x482210 was killed tmpsvr(97:transaction_timeout): Info: TMP Transaction 0x481e80 was expired as a zombie tmpsvr(670:tmp_trans_free): Info: TMP Transaction 0x481e80 was killed tmpsvr(97:transaction_timeout): Info: TMP Transaction 0x4825a0 was expired as a zombie tmpsvr(670:tmp_trans_free): Info: TMP Transaction 0x4825a0 was killed tmpsvr(97:transaction_timeout): Info: TMP Transaction 0x482768 was expired as a zombie tmpsvr(670:tmp_trans_free): Info: TMP Transaction 0x482768 was killed tmpsvr(97:transaction_timeout): Info: TMP Transaction 0x4833e0 was expired as a zombie tmpsvr(670:tmp_trans_free): Info: TMP Transaction 0x4833e0 was killed tmpsvr(97:transaction_timeout): Info: TMP Transaction 0x482048 was expired as a zombie tmpsvr(670:tmp_trans_free): Info: TMP Transaction 0x482048 was killed wdoge trigger ralink_write:1188 [ oal_wlan_ra_getSkipList ] 7825: Can`t find skip list tmpsvr(117:session_feed): Info: New transaction 0x482048 for session 0x47b648 tmpsvr(380:tmp_trans_relay): Debug: for test: opcode is 57345 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3219 tmpsvr(119:relay_new_proc): Info: readnum=[58], buf = [{"config_version":1762226233095,"params":{"role":"owner"}}] tmpsvr(8818:rdp_handle): Info: opcode = [e001] tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 871 Content-Checksum: 9b31dc19 {"error_code":0,"result":{"operation_mode":"LTE","component_list":[{"id":"mer_blacklist","ver_code":1},{"id":"mer_client","ver_code":1},{"id":"mer_firmware","ver_code":1},{"id":"mer_wireless","ver_code":1},{"id":"mer_wireless_encryption","ver_code":1},{"id":"mer_operation_mode","ver_code":1},{"id":"mer_device_manager","ver_code":1},{"id":"mer_device","ver_code":1},{"id":"mer_quick_setup","ver_code":2},{"id":"mer_account","ver_code":1},{"id":"mer_led","ver_code":1},{"id":"mer_system_time","ver_code":2},{"id":"mer_backup_auto_wan","ver_code":1},{"id":"mer_sms","ver_code":1},{"id":"mer_cellular_data","ver_code":1},{"id":"mer_mobile_cpe","ver_code":1},{"id":"mer_pin","ver_code":1},{"id":"mer_location_placement","ver_code":1},{"id":"mer_network_search","ver_code":1},{"id":"mer_band_search","ver_code":1}],"extra_info":{"account_spec":{"password_valid_version":4}}}}] tmpsvr(122:tmp_trans_half_kill_pending): Info: TMP Transaction 0x482048 was turned into a zombie tmpsvr(80:tmp_trans_half_kill): Info: TMP Transaction 0x482048 was half killed tmpsvr(267:tdp_server_fd_cb): Info: New TDP transaction 0x477c78 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3220 tmpsvr(117:session_feed): Info: New transaction 0x4833e0 for session 0x47b648 tmpsvr(380:tmp_trans_relay): Debug: for test: opcode is 57359 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3221 tmpsvr(119:relay_new_proc): Info: readnum=[0], buf = [] tmpsvr(8818:rdp_handle): Info: opcode = [0003] tmpsvr(119:relay_new_proc): Info: readnum=[32], buf = [{"config_version":1762226233097}] tmpsvr(8818:rdp_handle): Info: opcode = [e00f] [ rdp_handle : 8856 ] #Error: parse params json failed tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 322 Content-Checksum: afcb2b80 {"error_code":0,"result":{"device_id":"3920df77864b1d9e5d8b40d122d650c8","mac":"08-8A-F1-46-72-5A","device_type":"MER.LTEGATEWAY","device_model":"MB115-4G","nickname":"TUIxMTUtNEc=","ip":"192.168.1.1","hardware_version":"1.0","factory_default":false,"default_password":0,"is_quick_setup_finished":true,"tmp_port":[20001]}}] tmpsvr(276:tdp_trans_free): Info: TDP transaction 0x477c78 was killed tmpsvr(267:tdp_server_fd_cb): Info: New TDP transaction 0x477c78 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3222 tmpsvr(119:relay_new_proc): Info: readnum=[0], buf = [] tmpsvr(8818:rdp_handle): Info: opcode = [0003] tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 322 Content-Checksum: afcb2b80 {"error_code":0,"result":{"device_id":"3920df77864b1d9e5d8b40d122d650c8","mac":"08-8A-F1-46-72-5A","device_type":"MER.LTEGATEWAY","device_model":"MB115-4G","nickname":"TUIxMTUtNEc=","ip":"192.168.1.1","hardware_version":"1.0","factory_default":false,"default_password":0,"is_quick_setup_finished":true,"tmp_port":[20001]}}] tmpsvr(276:tdp_trans_free): Info: TDP transaction 0x477c78 was killed tmpsvr(267:tdp_server_fd_cb): Info: New TDP transaction 0x477c78 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3223 tmpsvr(119:relay_new_proc): Info: readnum=[0], buf = [] tmpsvr(8818:rdp_handle): Info: opcode = [0003] tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 322 Content-Checksum: afcb2b80 {"error_code":0,"result":{"device_id":"3920df77864b1d9e5d8b40d122d650c8","mac":"08-8A-F1-46-72-5A","device_type":"MER.LTEGATEWAY","device_model":"MB115-4G","nickname":"TUIxMTUtNEc=","ip":"192.168.1.1","hardware_version":"1.0","factory_default":false,"default_password":0,"is_quick_setup_finished":true,"tmp_port":[20001]}}] tmpsvr(276:tdp_trans_free): Info: TDP transaction 0x477c78 was killed wdoge trigger ralink_write:1198 tmpsvr(267:tdp_server_fd_cb): Info: New TDP transaction 0x477c78 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3224 tmpsvr(119:relay_new_proc): Info: readnum=[0], buf = [] tmpsvr(8818:rdp_handle): Info: opcode = [0003] tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 322 Content-Checksum: afcb2b80 {"error_code":0,"result":{"device_id":"3920df77864b1d9e5d8b40d122d650c8","mac":"08-8A-F1-46-72-5A","device_type":"MER.LTEGATEWAY","device_model":"MB115-4G","nickname":"TUIxMTUtNEc=","ip":"192.168.1.1","hardware_version":"1.0","factory_default":false,"default_password":0,"is_quick_setup_finished":true,"tmp_port":[20001]}}] tmpsvr(276:tdp_trans_free): Info: TDP transaction 0x477c78 was killed tmpsvr(267:tdp_server_fd_cb): Info: New TDP transaction 0x477c78 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3225 tmpsvr(119:relay_new_proc): Info: readnum=[0], buf = [] tmpsvr(8818:rdp_handle): Info: opcode = [0003] tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 322 Content-Checksum: afcb2b80 {"error_code":0,"result":{"device_id":"3920df77864b1d9e5d8b40d122d650c8","mac":"08-8A-F1-46-72-5A","device_type":"MER.LTEGATEWAY","device_model":"MB115-4G","nickname":"TUIxMTUtNEc=","ip":"192.168.1.1","hardware_version":"1.0","factory_default":false,"default_password":0,"is_quick_setup_finished":true,"tmp_port":[20001]}}] tmpsvr(276:tdp_trans_free): Info: TDP transaction 0x477c78 was killed spiflash_ioctl_read, Read from 0x006ef600 length 0xf, ret 0, retlen 0xf [ cmm_getLteWanInfo : 1694 ] #Error: get LTE_ISP_PROF lteIspProfObj error [ cmm_getLteWanInfo : 1706 ] #Error: get LTE_PROF_STAT lteProfStatObj error tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 402 Content-Checksum: d1f1bef6 {"error_code":0,"result":{"device_id":"803861AE66410CB59E43D1CA8120FF5824762881","mac":"08-8A-F1-46-72-5A","device_type":"MER.LTEGATEWAY","device_model":"MB115-4G","nickname":"TUIxMTUtNEc=","ip":"192.168.1.1","hardware_ver":"MB115-4G v1.0 00000001","software_ver":"1.8.0 0.9.1 v0001.0 Build 251104 Rel.35805n_Beta","inet_status":"online","inet_error_msg":"well","device_band_list":["band2_4","band5"]}}] tmpsvr(122:tmp_trans_half_kill_pending): Info: TMP Transaction 0x4833e0 was turned into a zombie tmpsvr(80:tmp_trans_half_kill): Info: TMP Transaction 0x4833e0 was half killed tmpsvr(117:session_feed): Info: New transaction 0x482768 for session 0x47b648 tmpsvr(380:tmp_trans_relay): Debug: for test: opcode is 57447 tmpsvr(156:relay_new_proc): Info: Relaspiflash_ioctl_read, Read from 0x006ef600 length 0xf, ret 0, retlen 0xf y launched a new CGI process 3232 tmpsvr(119:relay_new_proc): Info: readnum=[32], buf = [{"config_version":1762226236500}] tmpsvr(8818:rdp_handle): Info: opcode = [e067] [ rdp_handle : 8856 ] #Error: parse params json failed tmpsvr(117:session_feed): Info: New transaction 0x4825a0 for session 0x47b648 tmpsvr(380:tmp_trans_relay): Debug: for test: opcode is 57354 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3234 tmpsvr(117:session_feed): Info: New transaction 0x481e80 for session 0x47b648 tmpsvr(380:tmp_trans_relay): Debug: for test: opcode is 57390 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3235 tmpsvr(117:session_feed): Info: New transaction 0x482210 for session 0x47b648 tmpsvr(380:tmp_trans_relay): Debug: for test: opcode is 57430 tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3236 tmpsvr(117:session_feed): Info: New transaction 0x4823d8 for session 0x47b648 tmpsvr(380:tmp_trans_relay): Debug: for test: opcode is 57367 tmpsvr(119:relay_new_proc): Info: readnum=[32], buf = [{"config_version":1762226236503}] tmpsvr(8818:rdp_handle): Info: opcode = [e056] [ rdp_handle : 8856 ] #Error: parse params json failed tmpsvr(119:relay_new_proc): Info: readnum=[32], buf = [{"config_version":1762226236501}] tmpsvr(8818:rdp_handle): Info: opcode = [e00a] [ rdp_handle : 8856 ] #Error: parse params json failed tmpsvr(156:relay_new_proc): Info: Relay launched a new CGI process 3237 tmpsvr(119:relay_new_proc): Info: readnum=[32], buf = [{"config_version":1762226236504}] tmpsvr(8818:rdp_handle): Info: opcode = [e017] [ rdp_handle : 8856 ] #Error: parse params json failed tmpsvr(119:relay_new_proc): Info: readnum=[32], buf = [{"config_version":1762226236502}] tmpsvr(8818:rdp_handle): Info: opcode = [e02e] [ rdp_handle : 8856 ] #Error: parse params json failed tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 180 Content-Checksum: 87a1c284 {"error_code":0,"result":{"enable":true,"limit_mode":"data_flow","data_usage":6548,"data_allowance":204800,"alert":{"phone":"","threshold":90},"uplink_rate":63,"downlink_rate":63}}] tmpsvr(122:tmp_trans_half_kill_pendingspiflash_ioctl_read, Read from 0x006c0000 length 0x10000, ret 0, retlen 0x10000 ): Info: TMP Transaction 0x482210 was turned into a zombie tmpsvr(80:tmp_trans_half_kill): Info: TMP Transaction 0x482210 was half killed tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 415 Content-Checksum: bc2f0aa9 {"error_code":0,"result":{"modeList":["Router","LTE"],"mode":"LTE","backup_list":[{"mode":"Router","type":"lte","enable":true,"backup_component_list":[{"id":"mer_offline_detection","ver_code":1},{"id":"mer_mobile_cpe","ver_code":1},{"id":"mer_cellspiflash_ioctl_read, Read from 0x006d0000 length 0x10000, ret 0, retlen 0x10000 ular_data","ver_code":1},{"id":"mer_sms","ver_code":1},{"id":"mer_pin","ver_code":1},{"id":"mer_network_search","ver_code":1},{"id":"mer_band_search","ver_code":1}]}]}}] tmpsvr(122:tmp_trans_half_kill_pending): Info: TMP Transaction 0x4823d8 was turned into a zombie tmpsvr(80:tmp_trans_half_kill): Info: TMP Transaction 0x4823d8 was half killed [ cmm_getLteWanInfo : 1694 ] #Error: get LTE_ISP_PROF lteIspProfObj error ---------------> save 3234 <--------------- [ oal_sys_GetConfigAddr ] 3546: read config from addr1 006c0000 addr2 006d0000 [ oal_sys_GetConfigAddr ] 3558: checking addr1 006c0000 seq1:75 [ oal_sys_GetConfigAddr ] 3571: checking addr2 006d0000 seq1:76 [ oal_sys_writeCfgFlash ] 4151: Write config index:77 addr:6c0000 . spiflash_ioctl_erase, erase to 0x006d0000 length 0x0, nerase done spiflash_ioctl_write, Write to 0x006c0000 length 0x74d0, ret 0, retlen 0x74d0 save user config to 6c0000... [ cmm_getLteWanInfo : 1706 ] #Error: get LTE_PROF_STAT lteProfStatObj error tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 494 Content-Checksum: c7e4459c {"error_code":0,"result":{"guest_config":{"local_access":false,"enable":false},"band2_4":{"host":{"password":"NjQzNTM2NDc=","encryption_mode":"wpa2","support_encryption_list":["none","wpa2+wpa","wpa2"],"ssid":"TUVSQ1VTWVNfNzI1QQ==","enable":true,"enable_hide_ssid":false,"enable_wpa3":false},"guest":{"password":"","encryption_mode":"none","ssid":"TUVSQ1VTWVNfR3Vlc3RfNzI1QQ==","enable":false,"support_encryption_list":["none","wpa2+wpa","wpa2"],"enable_hide_ssid":false,"enable_wpa3":false}}}}] tmpsvr(122:tmp_trans_half_kill_pending): Info: TMP Transaction 0x481e80 was turned into a zombie tmpsvr(80:tmp_trans_half_kill): Info: TMP Transaction 0x481e80 was half killed tmpsvr(1069:sprintJsonObj): Info: pSession->pSendPkt: [Content-Length: 201 Content-Checksum: 19a16e66 {"error_code":0,"result":{"sim_status":"ready","network_type":"lte","signal_strength":100,"data_roaming":false,"roaming_status":false,"operator":{"alpha_short":"China Telecom (4G)","numeric":"46011"}}}] tmpsvr(122:tmp_trans_half_kill_pending): Info: TMP Transaction 0x482768 was turned into a zombie tmpsvr(80:tmp_trans_half_kill): Info: TMP Transaction 0x482768 was half killed ---------------> save 3234 <--------------- [ oal_sys_GetConfigAddr ] 3546: read config from addr1 006c0000 addr2 006d0000 spiflash_ioctl_read, Read from 0x006c0000 length 0x10000, ret 0, retlen 0x10000 [ oal_sys_GetConfigAddr ] 3558: checking addr1 006c0000 seq1:77 spiflash_ioctl_read, Read from 0x006d0000 length 0x10000, ret 0, retlen 0x10000 [ oal_sys_GetConfigAddr ] 3571: checking addr2 006d0000 seq1:76 [ oal_sys_writeCfgFlash ] 4151: Write config index:78 addr:6d0000 . spiflash_ioctl_erase, erase to 0x006e0000 length 0x0, nerase done spiflash_ioctl_write, Write to 0x006d0000 length 0x74d0, ret 0, retlen 0x74d0 save user config to 6d0000... 这是系统日志,我在什么都没干的情况下,就出现了频繁擦写的情况,请你根据这个日志分析一下可能得原因,如果分析不出来告诉我日志中app发送了什么接口操作码可能导致擦写
11-05
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值