Lines Matching refs:flash_offset
141 … update_cmd[i].flash_offset = (long long)rkimage_hdr.item[j].flash_offset * SECTOR_SIZE; in RK_ota_set_partition()
237 static int ota_recovery_cmds (long long flash_offset, const char *dest_path) in ota_recovery_cmds() argument
247 …LOGI("[%s:%d] parameter flash offset %#llx dest path %s\n", __func__, __LINE__, flash_offset, dest… in ota_recovery_cmds()
265 sprintf(data_buf, "nandwrite -p /dev/mtd0 -s %#llx %s; \n", flash_offset, dest_path); in ota_recovery_cmds()
277 if ( !(flash_offset % dd_bs) ) { in ota_recovery_cmds()
278 dd_seek = flash_offset / dd_bs; in ota_recovery_cmds()
280 … flash_offset, j, dd_bs, dd_seek, (dd_bs * dd_seek == flash_offset) ? "YES" : "NO" ); in ota_recovery_cmds()
284 dd_seek = flash_offset; in ota_recovery_cmds()
287 …d seek=%lld; \t###flash offset [%#10llx] \n", flash_name, dest_path, dd_bs, dd_seek, flash_offset); in ota_recovery_cmds()
355 LOGI("update_cmd.flash_offset = %lld.\n", update_cmd[i].flash_offset); in RK_ota_start()
367 if (ota_recovery_cmds(update_cmd[i].flash_offset, update_cmd[i].dest_path)) { in RK_ota_start()
375 if (ota_recovery_cmds(update_cmd[i].flash_offset, update_cmd[i].dest_path)) { in RK_ota_start()
391 update_cmd[i].flash_offset, in RK_ota_start()