/AliOS-Things-master/components/ota/2ndboot/updater/ |
A D | ota_nbpatch.c | 26 OTA_LOG_I("flash info err.\r\n"); in ota_patch_init() 37 OTA_LOG_I("open old err:%d\n",errno); in ota_patch_init() 51 OTA_LOG_I("read old err:%d ret:%d rsize:%d \n",errno, ret, read_size); in ota_patch_init() 60 OTA_LOG_I("open old err:%d\n",errno); in ota_patch_init() 74 OTA_LOG_I("write parameter err.\n"); in ota_patch_init() 101 OTA_LOG_I("open name err:%d\n",errno); in ota_patch_dump_flash() 106 OTA_LOG_I("app info err.\r\n"); in ota_patch_dump_flash() 112 OTA_LOG_I("write name err:%d\n",errno); in ota_patch_dump_flash() 126 OTA_LOG_I("nbpatch ver:%s start ...\n", NBPATCH_VERSION); in main() 129 OTA_LOG_I("Notice: old file and new file less than 8M. \r\n"); in main() [all …]
|
A D | xzupdater.c | 21 OTA_LOG_I("r d ret:%d.\n",ret); in ota_image_check() 67 OTA_LOG_I("is xz file.\n"); in ota_is_xz_header() 89 OTA_LOG_I("e ret:%d \n",err); in ota_copy_xz() 94 OTA_LOG_I("mem fail\n"); in ota_copy_xz() 118 OTA_LOG_I("r err:%d.\n",err); in ota_copy_xz() 151 OTA_LOG_I("er #err:%d\n",err); in ota_copy_xz() 156 OTA_LOG_I("w f #err:%d.\n",err); in ota_copy_xz() 213 OTA_LOG_I("xz fail\n"); in ota_verify_xz() 237 OTA_LOG_I("r v err:%d.\n",err); in ota_verify_xz() 252 OTA_LOG_I("v r err:%d.\n",err); in ota_verify_xz() [all …]
|
A D | nbpatch.c | 70 OTA_LOG_I("xz dec err:%ld \n", ret); in xz_read() 151 …OTA_LOG_I("nbpatch %d header clen:%ld dlen:%ld elen:%ld crc:0x%02x... \n", num, ctrl_len, diff_len… in ota_nbpatch() 259 OTA_LOG_I("cal %02x != crc %02x", cal_crc, crc); in ota_nbpatch() 275 …OTA_LOG_I("nbpatch %d end cal_crc:0x%02x patch_crc:0x%02x ret:%d\n", num, cal_crc, patch_crc, ret); in ota_nbpatch() 314 OTA_LOG_I("r param err.\n"); in ota_nbpatch_main() 325 OTA_LOG_I("param check err.\n"); in ota_nbpatch_main() 329 …OTA_LOG_I("oaddr:0x%lx paddr:0x%lx num:%d noff:%lx nsize:%lx poff:%lx psize:%ld status:%d \n", old… in ota_nbpatch_main() 347 OTA_LOG_I("err new off:%ld \n", new_size); in ota_nbpatch_main() 365 …OTA_LOG_I("nbpatch complete ret: %d new off:%lx size:0x%lx patch_off:0x%lx \n",ret, new_off, new_s… in ota_nbpatch_main()
|
A D | libc.c | 247 OTA_LOG_I("err:param invalid!\n"); in heap_init() 356 OTA_LOG_I("err:block destroyed!\n"); in ota_heap_free()
|
A D | nbpatch_io.c | 126 OTA_LOG_I("ota crc cal:0x%04x param:0x%04x \n", patch_crc, ota_param->param_crc); in ota_patch_read_param()
|
/AliOS-Things-master/components/ota/tools/xz/src/ |
A D | xz_export.c | 30 OTA_LOG_I("r d ret:%d.",ret); in xz_check_file_crc() 53 OTA_LOG_I("r xz ret:%d.",ret); in xz_identify_xz_header() 56 OTA_LOG_I("is xz file."); in xz_identify_xz_header() 114 OTA_LOG_I("r err:%d.",err); in copy_xz() 135 OTA_LOG_I("w f err:%d.",err); in copy_xz() 146 OTA_LOG_I("er #err:%d", err); in copy_xz() 151 OTA_LOG_I("w f #err:%d.", err); in copy_xz() 214 OTA_LOG_I("xz fail"); in xz_verify_uncompress_file() 272 OTA_LOG_I("r w err:%d.", err); in xz_verify_uncompress_file() 279 OTA_LOG_I("verify xz OK.\n"); in xz_verify_uncompress_file() [all …]
|
/AliOS-Things-master/components/ota/2ndboot/ |
A D | 2ndboot.c | 10 OTA_LOG_I("Show upgrade percent:%d \n", per); in ota_patch_show_percent() 20 OTA_LOG_I("read param err.\n"); in ota_updater() 24 …OTA_LOG_I("ota upg_flag:0x%04x count:%d crc;0x%04x \n", ota_param.upg_flag, ota_param.boot_count, … in ota_updater() 33 OTA_LOG_I("CRC fail.\n"); in ota_updater() 38 OTA_LOG_I("dual boot, not copy.\n"); in ota_updater() 41 OTA_LOG_I("No OTA upgrade.\n"); in ota_updater() 46 OTA_LOG_I("ota update complete ret:%d \n", ret); in ota_updater()
|
/AliOS-Things-master/components/ota/ota_agent/download/ |
A D | ota_download_http.c | 69 OTA_LOG_I("init https ota.\n"); in ota_httpc_settings_init() 73 OTA_LOG_I("init http.\n"); in ota_httpc_settings_init() 167 OTA_LOG_I("cpy len = %d\r\n", len); in ota_download_extract_url() 179 OTA_LOG_I("http_uri:%s\n", dest_url); in ota_download_extract_url() 234 OTA_LOG_I("URl len = %d\r\n", url_len); in ota_download_image_header() 255 OTA_LOG_I("retry count.\n"); in ota_download_image_header() 267 OTA_LOG_I("http conn.\n"); in ota_download_image_header() 273 OTA_LOG_I("http request send.\n"); in ota_download_image_header() 280 OTA_LOG_I("http begin download.\n"); in ota_download_image_header() 341 OTA_LOG_I("parse image info:%d\n", ret); in ota_download_image_header() [all …]
|
A D | ota_download_file2fs_http.c | 96 OTA_LOG_I("reconnect retry:%d ret:%d rx_size:%d\n", j, ret, off_size); in ota_download_store_fs_start() 147 … OTA_LOG_I(" in fs recv data(%d/%d) off:%d\r\n", ota_rx_size, ota_file_size, off_size); in ota_download_store_fs_start() 168 OTA_LOG_I("in fs download complete:%d\n", ret); in ota_download_store_fs_start()
|
/AliOS-Things-master/components/ota/hal/ |
A D | ota_hal_param.c | 19 OTA_LOG_I("OTA running status :0x%04x \n",param.upg_status); in ota_is_download_mode() 22 OTA_LOG_I("ota is status:%d param crc:0x%04x \n",param.upg_status, param.param_crc); in ota_is_download_mode() 41 OTA_LOG_I("ota param crc:0x%04x cal:0x%04x \n", ota_param->param_crc, patch_crc); in ota_read_parameter() 58 …OTA_LOG_I("ota update param crc:0x%04x flag:0x%04x \n", ota_param->param_crc, ota_param->upg_flag); in ota_update_parameter() 100 OTA_LOG_I("upg_flag:0x%x \n", flag); in ota_update_upg_flag() 116 OTA_LOG_I("ota clear ret = %d\r\n", ret); in ota_clear_paramters() 135 OTA_LOG_I("ota header:0x%x", upg_flag); in ota_parse_ota_type()
|
A D | ota_hal_vfs_param.c | 26 OTA_LOG_I("OTA running status :0x%04x \n",param.upg_status); in ota_is_download_mode() 29 OTA_LOG_I("ota is status:%d param crc:0x%04x \n",param.upg_status, param.param_crc); in ota_is_download_mode() 56 OTA_LOG_I("ota param crc:0x%04x cal:0x%04x \n", ota_param->param_crc, patch_crc); in ota_read_parameter() 82 …OTA_LOG_I("ota update param crc:0x%04x flag:0x%04x boot_type:%d len = %d\n", ota_param->param_crc,… in ota_update_parameter() 140 OTA_LOG_I("ota update param over\n"); in ota_update_parameter() 161 OTA_LOG_I("upg_flag:0x%x \n", flag); in ota_update_upg_flag() 196 OTA_LOG_I("ota clear ret = %d\r\n", ret); in ota_clear_paramters() 220 OTA_LOG_I("ota header:0x%x", upg_flag); in ota_parse_ota_type()
|
A D | ota_hal_ctrl.c | 42 OTA_LOG_I("ota init ret = %d\r\n", ret); in ota_int() 56 OTA_LOG_I("ota header:0x%x\n", upg_flag); in ota_write() 146 OTA_LOG_I("ota boot finish ret:%d crc:0x%04x", ret, param->crc); in ota_verify() 175 OTA_LOG_I("fs size = %d\n", param->len); in ota_verify_fsfile() 225 OTA_LOG_I("verfiy fs over ret:%d\n", ret); in ota_verify_fsfile()
|
A D | ota_hal_fs_plat.c | 62 OTA_LOG_I("can't find app.json file\r\n"); in ota_jsapp_version_get() 94 OTA_LOG_I("upgrade sub module\n"); in ota_install_jsapp() 96 OTA_LOG_I("store_file:%s, install_file:%s\n", store_file, install_path); in ota_install_jsapp()
|
A D | ota_hal_plat.c | 60 OTA_LOG_I("ota init part:%d len:%d \n", boot_part, param->len); in ota_hal_init() 168 OTA_LOG_I("calculate image crc"); in ota_hal_boot() 179 …OTA_LOG_I("OTA after finish dst:0x%08x src:0x%08x len:0x%08x, crc:0x%04x param crc:0x%04x upg_flag… in ota_hal_boot()
|
A D | ota_hal_vfs_plat.c | 49 OTA_LOG_I("update partition %d\r\n", partition_id); in ota_hal_init() 92 OTA_LOG_I("ota init part:%d len:%d\n", boot_part, param->len); in ota_hal_init() 278 OTA_LOG_I("calculate image crc"); in ota_hal_boot() 303 …OTA_LOG_I("OTA after finish dst:0x%08x src:0x%08x len:0x%08x, crc:0x%04x param crc:0x%04x upg_flag… in ota_hal_boot()
|
/AliOS-Things-master/components/ota/ota_agent/verify/ |
A D | ota_verify_hash.c | 85 OTA_LOG_I("SHA256 src:%s dst:%s", src, dst); in ota_check_hash() 91 OTA_LOG_I("md5 src:%s dst:%s", src, dst); in ota_check_hash() 162 OTA_LOG_I("check image_crc16 = %x\r\n", crc_result); in ota_check_image_hash() 184 OTA_LOG_I("bin size:%d off:%d\r\n", image_size, off_set); in ota_get_image_info() 189 …OTA_LOG_I("magic:0x%04x, size:%d, crc16:0x%02x\r\n", tmp_info->image_magic, tmp_info->image_size, … in ota_get_image_info() 211 …OTA_LOG_I("magic:0x%04x size:%d md5:%s crc16:0x%02x", image_info.image_magic, image_info.image_siz… in ota_check_image()
|
/AliOS-Things-master/components/ota/ota_agent/ |
A D | ota_service.c | 42 OTA_LOG_I("verify subdev ota fs file\n"); in ota_download_to_fs_service() 50 OTA_LOG_I("Subdev download complete ret = %d\n", ret); in ota_download_to_fs_service() 66 OTA_LOG_I("report submode version\n"); in ota_report_module_version() 108 OTA_LOG_I("download start upg_flag:0x%x\n", ota_param.upg_flag); in ota_service_start() 138 OTA_LOG_I("image header magic:0x%x ret:%d\n", ctx->header.image_info->image_magic, ret); in ota_service_start() 144 OTA_LOG_I("image sign magic:0x%x\n", ctx->header.sign_info->encrypto_magic); in ota_service_start() 172 OTA_LOG_I("ota init over\n"); in ota_service_start() 185 OTA_LOG_I("Download complete, rebooting ret:%d.\n", ret); in ota_service_start() 366 OTA_LOG_I("register default status cb"); in ota_service_init() 386 OTA_LOG_I("ota init success, ret:%d", ret); in ota_service_init()
|
/AliOS-Things-master/components/ota/ota_agent/transport/ |
A D | ota_transport_mqtt.c | 65 OTA_LOG_I("submode = %s\r\n", submodule->valuestring); in ota_sevice_parse_msg() 149 OTA_LOG_I("Parse ota version:%s url:%s ret:%d\n", ota_param.ver, ota_param.url, ret); in ota_sevice_parse_msg() 165 OTA_LOG_I("upg_flag = %04x", ota_param.upg_flag); in ota_sevice_parse_msg() 169 OTA_LOG_I("ota param err.\n"); in ota_sevice_parse_msg() 206 OTA_LOG_I("Public topic:%s msg:%s", topic, msg); in ota_mqtt_publish() 234 …OTA_LOG_I("pub, qos: %d, topic: %.*s\n", mqtt_msg->data.pub.qos, mqtt_msg->data.pub.topic_len, mqt… in ota_mqtt_sub_cb() 236 OTA_LOG_I("mqtt cb evt:%d %s", mqtt_msg->type, payload); in ota_mqtt_sub_cb() 240 OTA_LOG_I("mqtt type = %d", mqtt_msg->type); in ota_mqtt_sub_cb() 305 OTA_LOG_I("Public topic:%s", topic); in ota_transport_inform_otaver() 311 OTA_LOG_I("Public msg:%s", msg); in ota_transport_inform_otaver()
|
/AliOS-Things-master/components/ota/tools/ |
A D | upack_data_file.c | 35 OTA_LOG_I("upack_path = %s\r\n", (char *)upack_path); in data_file_unpack() 69 OTA_LOG_I("file = %s\r\n", tmp_file_name); in data_file_unpack()
|
/AliOS-Things-master/components/ota/include/ |
A D | ota_log.h | 19 #define OTA_LOG_I(fmt, ...) LOGI("ota",fmt,##__VA_ARGS__) macro
|
/AliOS-Things-master/components/ota/2ndboot/updater/include/ |
A D | libc.h | 14 #define OTA_LOG_I(fmt, ...) printf("%d: "fmt"\r\n", __LINE__, ##__VA_ARGS__) macro
|