/mcuboot-3.4.0/sim/mcuboot-sys/src/ |
D | area.rs | 55 for sector in &self.sectors[&dev_id] { in add_image() 59 if base > sector.base + sector.size - 1 { in add_image() 62 if sector.base != base { in add_image() 70 off: sector.base as u32, in add_image() 71 size: sector.size as u32, in add_image() 74 base += sector.size; in add_image() 75 len -= sector.size; in add_image()
|
/mcuboot-3.4.0/boot/mynewt/flash_map_backend/src/ |
D | flash_map_extended.c | 48 int flash_area_sector_from_off(off_t off, struct flash_sector *sector) in flash_area_sector_from_off() argument 70 sector->fs_off = start - fa->fa_off; in flash_area_sector_from_off() 71 sector->fs_size = size; in flash_area_sector_from_off()
|
/mcuboot-3.4.0/boot/mynewt/flash_map_backend/include/flash_map_backend/ |
D | flash_map_backend.h | 49 int flash_area_sector_from_off(off_t off, struct flash_sector *sector); 52 struct flash_sector *sector) in flash_area_get_sector() argument 54 return flash_area_sector_from_off(off, sector); in flash_area_get_sector()
|
/mcuboot-3.4.0/sim/simflash/src/ |
D | lib.rs | 135 for (sector, &size) in self.sectors.iter().enumerate() { in get_sector() 137 return Some((sector, offset)); in get_sector() 345 for sector in §ors { in test_device() 346 let byte = [(sector.num & 127) as u8]; in test_device() 347 flash.write(sector.base, &byte).unwrap(); in test_device() 348 flash.write(sector.base + sector.size - 1, &byte).unwrap(); in test_device() 353 for sector in §ors { in test_device() 354 let byte = (sector.num & 127) as u8; in test_device() 355 buf.resize(sector.size, 0); in test_device() 356 flash.read(sector.base, &mut buf).unwrap(); in test_device()
|
/mcuboot-3.4.0/boot/bootutil/src/ |
D | swap_misc.c | 39 uint32_t sector; in swap_erase_trailer_sectors() local 66 sector = boot_img_num_sectors(state, slot) - 1; in swap_erase_trailer_sectors() 70 sz = boot_img_sector_size(state, slot, sector); in swap_erase_trailer_sectors() 71 off = boot_img_sector_off(state, slot, sector); in swap_erase_trailer_sectors() 75 sector--; in swap_erase_trailer_sectors()
|
D | bootutil_priv.h | 401 size_t slot, size_t sector) in boot_img_sector_size() argument 403 return flash_area_get_size(&BOOT_IMG(state, slot).sectors[sector]); in boot_img_sector_size() 412 size_t sector) in boot_img_sector_off() argument 414 return flash_area_get_off(&BOOT_IMG(state, slot).sectors[sector]) - in boot_img_sector_off() 422 size_t slot, size_t sector) in boot_img_sector_size() argument 424 return flash_sector_get_size(&BOOT_IMG(state, slot).sectors[sector]); in boot_img_sector_size() 429 size_t sector) in boot_img_sector_off() argument 431 return flash_sector_get_off(&BOOT_IMG(state, slot).sectors[sector]) - in boot_img_sector_off()
|
D | bootutil_misc.c | 351 struct flash_sector sector; in bootutil_max_image_size() 353 int rc = flash_area_get_sector(fap, boot_status_off(fap), §or); in bootutil_max_image_size() 360 return flash_sector_get_off(§or); in bootutil_max_image_size()
|
D | loader.c | 1105 uint32_t sector; in boot_copy_image() local 1151 sector = boot_img_num_sectors(state, BOOT_PRIMARY_SLOT) - 1; in boot_copy_image() 1154 sz += boot_img_sector_size(state, BOOT_PRIMARY_SLOT, sector); in boot_copy_image() 1155 off = boot_img_sector_off(state, BOOT_PRIMARY_SLOT, sector); in boot_copy_image() 1156 sector--; in boot_copy_image()
|
/mcuboot-3.4.0/boot/zephyr/ |
D | flash_map_extended.c | 118 int flash_area_sector_from_off(off_t off, struct flash_sector *sector) in flash_area_sector_from_off() argument 128 sector->fs_off = page.start_offset; in flash_area_sector_from_off() 129 sector->fs_size = page.size; in flash_area_sector_from_off()
|
D | single_loader.c | 347 struct flash_sector sector; in decrypt_image_inplace() local 353 rc = flash_area_get_sector(fa_p, boot_status_off(fa_p), §or); in decrypt_image_inplace() 388 sect_size = sector.fs_size; in decrypt_image_inplace()
|
D | Kconfig | 229 sector of the primary slot is moved up one sector, then for 230 each sector X in the secondary slot, it is moved to index X in 231 the primary slot, then the sector at X+1 in the primary is
|
/mcuboot-3.4.0/sim/mcuboot-sys/csupport/storage/ |
D | flash_map.h | 144 int flash_area_sector_from_off(uint32_t off, struct flash_sector *sector); 154 struct flash_sector *sector);
|
/mcuboot-3.4.0/boot/espressif/include/flash_map_backend/ |
D | flash_map_backend.h | 81 int flash_area_sector_from_off(uint32_t off, struct flash_sector *sector); 85 struct flash_sector *sector);
|
/mcuboot-3.4.0/boot/espressif/port/ |
D | esp_mcuboot.c | 367 int flash_area_sector_from_off(uint32_t off, struct flash_sector *sector) in flash_area_sector_from_off() argument 369 sector->fs_off = (off / FLASH_SECTOR_SIZE) * FLASH_SECTOR_SIZE; in flash_area_sector_from_off() 370 sector->fs_size = FLASH_SECTOR_SIZE; in flash_area_sector_from_off() 376 struct flash_sector *sector) in flash_area_get_sector() argument 378 sector->fs_off = (off / FLASH_SECTOR_SIZE) * FLASH_SECTOR_SIZE; in flash_area_get_sector() 379 sector->fs_size = FLASH_SECTOR_SIZE; in flash_area_get_sector()
|
/mcuboot-3.4.0/sim/mcuboot-sys/csupport/ |
D | run.c | 451 int flash_area_sector_from_off(uint32_t off, struct flash_sector *sector) in flash_area_sector_from_off() argument 475 sector->fs_off = sec_off; in flash_area_sector_from_off() 476 sector->fs_size = sec_size; in flash_area_sector_from_off() 485 struct flash_sector *sector) in flash_area_get_sector() argument 509 sector->fs_off = sec_off; in flash_area_get_sector() 510 sector->fs_size = sec_size; in flash_area_get_sector()
|
/mcuboot-3.4.0/boot/zephyr/include/flash_map_backend/ |
D | flash_map_backend.h | 63 int flash_area_sector_from_off(off_t off, struct flash_sector *sector);
|
/mcuboot-3.4.0/docs/ |
D | readme-zephyr.md | 170 from both slots, this section must be at least as big as the largest sector 172 with a sector size of 512 bytes and secondar slot in external off-chip flash 173 with a sector size of 4KB then the scratch area must be at least 4KB in size). 174 The number of sectors must also be evenly divisable by this sector size, e.g. 200 has a 4KB sector size so the size of the scratch partition can be reduced at
|
D | testplan-mynewt.md | 162 $ pyocd flash -e sector -a 0x80000 ${IMG_FILE} bin
|
D | PORTING.md | 97 uint32_t fa_size; /** The size of this sector */
|
D | readme-espressif.md | 609 # Use sector erasing (recommended) instead of entire image size
|
/mcuboot-3.4.0/sim/src/ |
D | image.rs | 1600 for sector in flash.sector_iter() { in show_flash() 1602 sector.num, sector.base, sector.size); in show_flash()
|
/mcuboot-3.4.0/boot/cypress/MCUBootApp/ |
D | README.md | 55 … make sure you have updated `MCUBOOT_MAX_IMG_SECTORS` appropriatery with sector size assumed to be…
|