Searched refs:flash_os_image (Results 1 - 1 of 1) sorted by relevance
/openwrt/tools/firmware-utils/src/ |
H A D | tplink-safeloader.c | 473 const struct flash_partition_entry *flash_os_image = &flash_parts[5]; local 483 assert(strcmp(flash_os_image->name, "os-image") == 0); 493 if (image_os_image->size > flash_os_image->size) 494 error(1, 0, "kernel image too big (more than %u bytes)", (unsigned)flash_os_image->size); 498 *len = flash_file_system->base - flash_os_image->base + image_file_system->size; 507 memcpy(image + flash_soft_version->base - flash_os_image->base, image_soft_version->data, image_soft_version->size); 508 memcpy(image + flash_support_list->base - flash_os_image->base, image_support_list->data, image_support_list->size); 509 memcpy(image + flash_file_system->base - flash_os_image->base, image_file_system->data, image_file_system->size); 515 const struct flash_partition_entry *flash_os_image = &flash_parts[11]; local 521 assert(strcmp(flash_os_image 547 const struct flash_partition_entry *flash_os_image = &flash_parts[1]; local [all...] |
Completed in 26 milliseconds