/mcuboot-latest/sim/mcuboot-sys/src/ |
D | area.rs | 54 let mut area = vec![]; in add_image() localVariable 67 area.push(FlashArea { in add_image() 83 self.areas.push(area); in add_image() 98 let area = vec![FlashArea { in add_simple_image() localVariable 106 self.areas.push(area); in add_simple_image() 119 for area in &self.whole { in find() 121 if area.flash_id == id { in find() 122 return Some((area.off as usize, area.size as usize, area.device_id)); in find() 134 for (i, area) in self.areas.iter().enumerate() { in get_c() 135 if !area.is_empty() { in get_c() [all …]
|
D | lib.rs | 5 mod area; module 12 pub use crate::area::{AreaDesc, FlashId};
|
D | c.rs | 9 use crate::area::AreaDesc; 170 use crate::area::CAreaDesc;
|
/mcuboot-latest/sim/mcuboot-sys/csupport/ |
D | run.c | 226 uint32_t flash_area_align(const struct flash_area *area) in flash_area_align() argument 228 return sim_flash_align(area->fa_device_id); in flash_area_align() 231 uint8_t flash_area_erased_val(const struct flash_area *area) in flash_area_erased_val() argument 233 return sim_flash_erased_val(area->fa_device_id); in flash_area_erased_val() 236 struct area { struct 244 struct area slots[16]; argument 310 int flash_area_open(uint8_t id, const struct flash_area **area) in flash_area_open() argument 326 *area = &flash_areas->slots[i].whole; in flash_area_open() 330 void flash_area_close(const struct flash_area *area) in flash_area_close() argument 332 (void)area; in flash_area_close() [all …]
|
/mcuboot-latest/boot/zephyr/ |
D | hooks_sample.c | 55 const struct flash_area *area) in boot_perform_update_hook() argument 80 int boot_copy_region_post_hook(int img_index, const struct flash_area *area, in boot_copy_region_post_hook() argument 86 int boot_serial_uploaded_hook(int img_index, const struct flash_area *area, in boot_serial_uploaded_hook() argument
|
D | flash_check.c | 30 state->imgs[0][BOOT_PRIMARY_SLOT].area->fa_dev); in swap_write_block_size_check() 40 state->imgs[0][BOOT_SECONDARY_SLOT].area->fa_dev); in swap_write_block_size_check()
|
D | Kconfig | 81 Single image area is used for application which means that 83 occupied the area. 105 to address space or RAM area, enabling this option allows hash 319 It caches the result in the magic area, which makes it an unsecure 598 - Retained memory area 599 - Retention partition of retained memory area 629 running application into a shared memory area. 632 bool "Store the boot state/measurements in shared memory area" 637 the hash of the firmware image in a shared memory area. This data can 877 bool "Enable hooks for overriding MCUboot's flash area routines" [all …]
|
/mcuboot-latest/boot/espressif/include/flash_map_backend/ |
D | flash_map_backend.h | 72 uint32_t flash_area_align(const struct flash_area *area); 74 uint8_t flash_area_erased_val(const struct flash_area *area); 84 int flash_area_get_sector(const struct flash_area *area, uint32_t off,
|
/mcuboot-latest/boot/espressif/port/ |
D | esp_mcuboot.c | 130 const struct flash_area *area = s_flash_areas[i]; in prv_lookup_flash_area() local 131 if (id == area->fa_id) { in prv_lookup_flash_area() 132 return area; in prv_lookup_flash_area() 141 const struct flash_area *area = prv_lookup_flash_area(id); in flash_area_open() local 142 *area_outp = area; in flash_area_open() 143 return area != NULL ? 0 : -1; in flash_area_open() 146 void flash_area_close(const struct flash_area *area) in flash_area_close() argument 337 uint32_t flash_area_align(const struct flash_area *area) in flash_area_align() argument 357 uint8_t flash_area_erased_val(const struct flash_area *area) in flash_area_erased_val() argument
|
/mcuboot-latest/boot/bootutil/include/bootutil/ |
D | boot_hooks.h | 141 const struct flash_area *area); 159 int boot_copy_region_post_hook(int img_index, const struct flash_area *area, 177 int boot_serial_uploaded_hook(int img_index, const struct flash_area *area,
|
/mcuboot-latest/docs/ |
D | PORTING.md | 105 /*< Obtains ID of the flash area characterized by `fa` */ 107 /*< Obtains ID of a device the flash area `fa` described region resides on */ 109 /*< Obtains offset, from the beginning of a device, the flash area described 112 /*< Obtains size, from the offset, of the flash area `fa` characterized region */ 118 specific header files and are used to identify destination of flash area by ID: 126 /* Flash area IDs of the first image in case of multiple images */ 131 /* Flash area IDs of the second image in case of multiple images */ 143 /*< Opens the area for use. id is one of the `fa_id`s */ 158 /*< Given flash area ID, return info about sectors within the area. */ 174 …area multiple times simultaneously (through nested calls to `flash_area_open`). As a result, MCUbo…
|
D | readme-nuttx.md | 8 - `CONFIG_MCUBOOT_SCRATCH_PATH`: MTD partition for the Scratch area; 19 - `<sysflash/sysflash.h>`, for configuration of the system's flash area organization. 40 …ation about the geometry of the MTD, required for the configuration of the size of each flash area.
|
D | imgtool.md | 141 protected area. Add "0x" prefix if the value 171 does not overflow into the swap status area (metadata). If swap upgrades are 173 status area size when calculating overflow. 187 which case only the hash of the public key is added to the TLV area (the full 189 instead, the TLV area will contain the whole public key and thus the bootloader
|
/mcuboot-latest/docs/release-notes.d/ |
D | swap-using-offset.md | 6 requires a smaller swap status area
|
/mcuboot-latest/boot/cypress/MCUBootApp/ |
D | ExternalMemory.md | 29 `[0x10000000, 0x10018000]` - MCUBootApp (bootloader) area; 35 `[0x10038000, 0x10039000]` - scratch area (not used); 39 `[0x10000000, 0x10018000]` - MCUBootApp (bootloader) area; 49 `[0x10058000, 0x10059000]` - scratch area (not used); 53 …ary slot and bootloader app sizes are appropriate and correspond to flash area size defined in App…
|
D | README.md | 19 `[0x10000000, 0x10018000]` - MCUBootApp (bootloader) area; 25 `[0x10038000, 0x10039000]` - scratch area (not used); 31 …ary slot and bootloader app sizes are appropriate and correspond to flash area size defined in App… 48 Navigate to `sysflash.h` and modify the flash area(s) / slots sizes to meet your needs.
|
D | MCUBootApp.ld | 131 /* Cortex-M0+ application flash area */ 327 /* Emulated EEPROM Flash area */ 398 /* Emulated EEPROM Flash area */
|
/mcuboot-latest/boot/bootutil/src/ |
D | swap_priv.h | 94 #define BOOT_SCRATCH_AREA(state) ((state)->scratch.area)
|
D | bootutil_priv.h | 237 const struct flash_area *area; member 244 const struct flash_area *area; member 354 bool bootutil_buffer_is_erased(const struct flash_area *area, 408 #define BOOT_IMG_AREA(state, slot) (BOOT_IMG(state, slot).area)
|
/mcuboot-latest/sim/src/ |
D | image.rs | 2180 let ids: HashSet<u8> = areadesc.iter_areas().map(|area| area.device_id).collect(); in install_ptable() 2188 .any(|area| { in install_ptable() 2189 area.device_id == id && in install_ptable() 2190 area.off == 0 && in install_ptable() 2191 area.flash_id != FlashId::BootLoader in install_ptable() 2196 .filter(|area| area.device_id == id && area.off == 0) in install_ptable() 2197 .map(|area| area.flash_id) in install_ptable() 2209 let count = areadesc.iter_areas().filter(|area| area.device_id == id).count(); in install_ptable() 2212 for area in areadesc.iter_areas().filter(|area| area.device_id == id) { in install_ptable() 2213 buf.write_u32::<LittleEndian>(area.flash_id as u32).unwrap(); in install_ptable() [all …]
|
/mcuboot-latest/boot/cypress/cy_flash_pal/include/flash_map_backend/ |
D | flash_map_backend.h | 146 struct flash_area area; member
|
/mcuboot-latest/boot/cypress/ |
D | README.md | 22 * [0x10000000, 0x10018000] - MCUBootApp (bootloader) area; 25 * [0x10038000, 0x10039000] - scratch area;
|
/mcuboot-latest/boot/cypress/BlinkyApp/linker/ |
D | BlinkyApp_template.ld | 47 /* The size of the MCU boot header area at the start of FLASH */ 129 /* Cortex-M4 application flash area */ 334 /* Emulated EEPROM Flash area */ 405 /* Emulated EEPROM Flash area */
|
/mcuboot-latest/boot/cypress/platforms/PSOC_062_2M/CM4/GCC_ARM/ |
D | cy8c6xxa_cm4_dual.ld | 128 /* Cortex-M0+ application flash image area */ 140 /* Cortex-M4 application flash area */ 345 /* Emulated EEPROM Flash area */ 416 /* Emulated EEPROM Flash area */
|
/mcuboot-latest/boot/cypress/platforms/PSOC_062_2M/CM0P/GCC_ARM/ |
D | cy8c6xxa_cm0plus.ld | 130 /* Cortex-M0+ application flash area */ 327 /* Emulated EEPROM Flash area */ 398 /* Emulated EEPROM Flash area */
|