/mcuboot-latest/sim/simflash/src/ |
D | lib.rs | 91 sectors: Vec<usize>, field 101 pub fn new(sectors: Vec<usize>, align: usize, erased_val: u8) -> SimFlash { in new() 106 let total = sectors.iter().sum(); in new() 110 sectors, in new() 135 for (sector, &size) in self.sectors.iter().enumerate() { in get_sector() 159 if elen != self.sectors[end] - 1 { in erase() 254 iter: self.sectors.iter().enumerate(), in sector_iter() 326 let sectors: Vec<Sector> = flash.sector_iter().collect(); in test_device() localVariable 328 flash.erase(0, sectors[0].size).unwrap(); in test_device() 331 assert!(flash.erase(0, sectors[0].size - 1).is_bounds()); in test_device() [all …]
|
/mcuboot-latest/boot/bootutil/src/ |
D | bootutil_priv.h | 227 boot_sector_t *sectors; member 234 boot_sector_t *sectors; member 411 return flash_area_get_size(&BOOT_IMG(state, slot).sectors[sector]); in boot_img_sector_size() 422 return flash_area_get_off(&BOOT_IMG(state, slot).sectors[sector]) - in boot_img_sector_off() 423 flash_area_get_off(&BOOT_IMG(state, slot).sectors[0]); in boot_img_sector_off() 432 return flash_sector_get_size(&BOOT_IMG(state, slot).sectors[sector]); in boot_img_sector_size() 439 return flash_sector_get_off(&BOOT_IMG(state, slot).sectors[sector]) - in boot_img_sector_off() 440 flash_sector_get_off(&BOOT_IMG(state, slot).sectors[0]); in boot_img_sector_off()
|
D | loader.c | 322 out_sectors = BOOT_IMG(state, BOOT_PRIMARY_SLOT).sectors; in boot_initialize_area() 325 out_sectors = BOOT_IMG(state, BOOT_SECONDARY_SLOT).sectors; in boot_initialize_area() 329 out_sectors = state->scratch.sectors; in boot_initialize_area() 2248 BOOT_IMG(state, BOOT_PRIMARY_SLOT).sectors = 2250 BOOT_IMG(state, BOOT_SECONDARY_SLOT).sectors = 2253 state->scratch.sectors = sector_buffers.scratch; 2256 BOOT_IMG(state, BOOT_PRIMARY_SLOT).sectors = 2258 BOOT_IMG(state, BOOT_SECONDARY_SLOT).sectors = 2261 state->scratch.sectors = scratch_sectors; 2503 boot_sector_t *sectors; local [all …]
|
/mcuboot-latest/sim/mcuboot-sys/src/ |
D | area.rs | 19 sectors: HashMap<u8, Vec<Sector>>, field 27 sectors: HashMap::new(), in new() 32 self.sectors.insert(id, flash.sector_iter().collect()); in add_flash_sectors() 56 for sector in &self.sectors[&dev_id] { in add_image()
|
/mcuboot-latest/docs/release-notes.d/ |
D | zephyr-auto-max-sectors.md | 2 of sectors that are needed for a build by checking the erase
|
/mcuboot-latest/boot/mbed/src/ |
D | flash_map_backend.cpp | 211 int flash_area_get_sectors(int fa_id, uint32_t* count, struct flash_sector* sectors) { in flash_area_get_sectors() argument 219 sectors[*count].fs_off = offset; in flash_area_get_sectors() 221 sectors[*count].fs_size = erase_size; in flash_area_get_sectors()
|
/mcuboot-latest/sim/mcuboot-sys/csupport/storage/ |
D | flash_map.h | 137 struct flash_sector *sectors);
|
/mcuboot-latest/docs/ |
D | readme-mbed.md | 16 * `"mcuboot.max-img-sectors"`: maximum number of sectors, should be at least the number of sectors …
|
D | PORTING.md | 13 get the flash's minimum write size, and read/write/erase individual sectors. 158 /*< Given flash area ID, return info about sectors within the area. */ 160 struct flash_sector *sectors);
|
D | imgtool.md | 80 -M, --max-sectors INTEGER When padding allow for this amount of 81 sectors (defaults to 128)
|
D | release-notes.md | 18 sectors (which is the slot size minus the swap status and moved 21 and details on sectors including if slot sizes are not optimal for 439 + `--max-sectors` can be used to adjust the maximum amount of sectors that 467 - Overwrite-only mode was updated to erase/copy only sectors that
|
D | readme-zephyr.md | 77 memory (mass erase) or only the sectors where the bootloader resides prior to 173 The number of sectors must also be evenly divisable by this sector size, e.g.
|
/mcuboot-latest/boot/mbed/include/flash_map_backend/ |
D | flash_map_backend.h | 157 struct flash_sector *sectors);
|
/mcuboot-latest/boot/nuttx/include/flash_map_backend/ |
D | flash_map_backend.h | 371 struct flash_sector *sectors);
|
/mcuboot-latest/boot/espressif/include/flash_map_backend/ |
D | flash_map_backend.h | 78 struct flash_sector *sectors);
|
/mcuboot-latest/boot/espressif/port/ |
D | esp_mcuboot.c | 355 struct flash_sector *sectors) in flash_area_get_sectors() argument 366 sectors[total_count].fs_off = off; in flash_area_get_sectors() 367 sectors[total_count].fs_size = sector_size; in flash_area_get_sectors()
|
/mcuboot-latest/boot/nuttx/src/flash_map_backend/ |
D | flash_map_backend.c | 663 struct flash_sector *sectors) in flash_area_get_sectors() argument 675 sectors[total_count].fs_off = off; in flash_area_get_sectors() 676 sectors[total_count].fs_size = sector_size; in flash_area_get_sectors()
|
/mcuboot-latest/sim/mcuboot-sys/csupport/ |
D | run.c | 400 struct flash_sector *sectors) in flash_area_get_sectors() argument 424 sectors[i].fs_off = slot->areas[i].fa_off - in flash_area_get_sectors() 426 sectors[i].fs_size = slot->areas[i].fa_size; in flash_area_get_sectors()
|
/mcuboot-latest/boot/zephyr/ |
D | Kconfig | 294 but is currently limited to all sectors in both slots being of 439 bool "Calculate maximum sectors automatically" 442 If this option is enabled then the maximum number of supported sectors per image will 450 int "Maximum number of sectors per image slot" 454 This option controls the maximum number of sectors that each of
|
D | CMakeLists.txt | 439 message("Calculated maximum number of sectors: ${slot_min_sectors}")
|