Home
last modified time | relevance | path

Searched refs:rkimage_hdr (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/external/recovery/update_engine/
H A Dupdate.c110 RKIMAGE_HDR rkimage_hdr; in RK_ota_set_partition() local
111 if ( analyticImage(_url, &rkimage_hdr) != 0) { in RK_ota_set_partition()
119 for (int j = 0; j < rkimage_hdr.item_count; j++) { in RK_ota_set_partition()
120 if (strcmp(rkimage_hdr.item[j].name, update_cmd[i].name) == 0) { in RK_ota_set_partition()
122 if (rkimage_hdr.item[j].file[50] == 'H') { in RK_ota_set_partition()
123 update_cmd[i].offset = *((DWORD *)(&rkimage_hdr.item[j].file[51])); in RK_ota_set_partition()
125 update_cmd[i].offset += rkimage_hdr.item[j].offset; in RK_ota_set_partition()
128 update_cmd[i].offset = rkimage_hdr.item[j].offset; in RK_ota_set_partition()
131 if (rkimage_hdr.item[j].file[55] == 'H') { in RK_ota_set_partition()
132 update_cmd[i].size = *((DWORD *)(&rkimage_hdr.item[j].file[56])); in RK_ota_set_partition()
[all …]