Lines Matching refs:flash_os_image
473 const struct flash_partition_entry *flash_os_image = &flash_parts[5];
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];
521 assert(strcmp(flash_os_image->name, "os-image") == 0);
527 if (image_os_image->size > flash_os_image->size)
528 error(1, 0, "kernel image too big (more than %u bytes)", (unsigned)flash_os_image->size);
532 *len = flash_file_system->base - flash_os_image->base + image_file_system->size;
541 memcpy(image + flash_file_system->base - flash_os_image->base, image_file_system->data, image_file_system->size);
547 const struct flash_partition_entry *flash_os_image = &flash_parts[1];
553 assert(strcmp(flash_os_image->name, "os-image") == 0);
559 if (image_os_image->size > flash_os_image->size)
560 error(1, 0, "kernel image too big (more than %u bytes)", (unsigned)flash_os_image->size);
564 *len = flash_file_system->base - flash_os_image->base + image_file_system->size;
573 memcpy(image + flash_file_system->base - flash_os_image->base, image_file_system->data, image_file_system->size);