/mcuboot-2.7.6/boot/bootutil/src/ |
D | boot_record.c | 57 uintptr_t tlv_end, offset; in boot_add_data_to_shared_area() local 84 offset = MCUBOOT_SHARED_DATA_BASE + SHARED_DATA_HEADER_SIZE; in boot_add_data_to_shared_area() 89 while (offset < tlv_end) { in boot_add_data_to_shared_area() 91 memcpy(&tlv_entry, (const void *)offset, SHARED_DATA_ENTRY_HEADER_SIZE); in boot_add_data_to_shared_area() 97 offset += SHARED_DATA_ENTRY_SIZE(tlv_entry.tlv_len); in boot_add_data_to_shared_area() 114 offset = tlv_end; in boot_add_data_to_shared_area() 115 memcpy((void *)offset, &tlv_entry, SHARED_DATA_ENTRY_HEADER_SIZE); in boot_add_data_to_shared_area() 117 offset += SHARED_DATA_ENTRY_HEADER_SIZE; in boot_add_data_to_shared_area() 118 memcpy((void *)offset, data, size); in boot_add_data_to_shared_area() 135 uint32_t offset; in boot_save_boot_status() local [all …]
|
/mcuboot-2.7.6/sim/simflash/src/ |
D | lib.rs | 55 fn erase(&mut self, offset: usize, len: usize) -> Result<()>; in erase() 56 fn write(&mut self, offset: usize, payload: &[u8]) -> Result<()>; in write() 57 fn read(&self, offset: usize, data: &mut [u8]) -> Result<()>; in read() 59 fn add_bad_region(&mut self, offset: usize, len: usize, rate: f32) -> Result<()>; in add_bad_region() 133 fn get_sector(&self, offset: usize) -> Option<(usize, usize)> { in get_sector() 134 let mut offset = offset; in get_sector() localVariable 136 if offset < size { in get_sector() 137 return Some((sector, offset)); in get_sector() 139 offset -= size; in get_sector() 152 fn erase(&mut self, offset: usize, len: usize) -> Result<()> { in erase() [all …]
|
/mcuboot-2.7.6/boot/mbed/src/ |
D | flash_map_backend.cpp | 208 bd_addr_t offset = 0; in flash_area_get_sectors() local 210 while (*count < MCUBOOT_MAX_IMG_SECTORS && bd->is_valid_read(offset, bd->get_read_size())) { in flash_area_get_sectors() 212 sectors[*count].fs_off = offset; in flash_area_get_sectors() 213 bd_size_t erase_size = bd->get_erase_size(offset); in flash_area_get_sectors() 216 offset += erase_size; in flash_area_get_sectors()
|
/mcuboot-2.7.6/sim/mcuboot-sys/src/ |
D | api.rs | 168 pub extern fn sim_flash_erase(dev_id: u8, offset: u32, size: u32) -> libc::c_int { in sim_flash_erase() 173 rc = map_err(dev.erase(offset as usize, size as usize)); in sim_flash_erase() 180 pub extern fn sim_flash_read(dev_id: u8, offset: u32, dest: *mut u8, size: u32) -> libc::c_int { in sim_flash_read() 186 rc = map_err(dev.read(offset as usize, &mut buf)); in sim_flash_read() 193 pub extern fn sim_flash_write(dev_id: u8, offset: u32, src: *const u8, size: u32) -> libc::c_int { in sim_flash_write() 199 rc = map_err(dev.write(offset as usize, &buf)); in sim_flash_write()
|
/mcuboot-2.7.6/sim/src/ |
D | image.rs | 1251 let offset = slot.base_off; in install_image() localVariable 1258 for dep in deps.my_deps(offset, slot.index) { in install_image() 1272 ver: deps.my_version(offset, slot.index), in install_image() 1284 splat(&mut b_img, offset); in install_image() 1291 offset, dev_id, slot).unwrap(); in install_image() 1292 writeln!(&mut wr, "version: {:?}", deps.my_version(offset, slot.index)).unwrap(); in install_image() 1359 dev.write(offset, &encbuf).unwrap(); in install_image() 1362 dev.read(offset, &mut enc).unwrap(); in install_image() 1366 dev.erase(offset, slot_len).unwrap(); in install_image() 1371 dev.write(offset, &buf).unwrap(); in install_image() [all …]
|
D | depends.rs | 13 fn my_version(&self, offset: usize, slot: usize) -> ImageVersion; in my_version() 16 fn my_deps(&self, offset: usize, slot: usize) -> Vec<ImageVersion>; in my_deps()
|
/mcuboot-2.7.6/sim/mcuboot-sys/csupport/ |
D | run.c | 40 extern int sim_flash_erase(uint8_t flash_id, uint32_t offset, uint32_t size); 41 extern int sim_flash_read(uint8_t flash_id, uint32_t offset, uint8_t *dest, 43 extern int sim_flash_write(uint8_t flash_id, uint32_t offset, const uint8_t *src,
|
/mcuboot-2.7.6/scripts/ |
D | mcubin.bt | 25 uint32 offset; 102 FSeek(ptable.entries[i].offset);
|
/mcuboot-2.7.6/boot/cypress/BlinkyApp/ |
D | Readme.md | 92 `HEADER_OFFSET` defines the offset from original boot image address. This one in line above suggest… 138 - `HEADER_OFFSET` - 0 (default) - no offset of output hex file, 0x%VALUE% - offset for output hex f…
|
/mcuboot-2.7.6/docs/ |
D | readme-riot.md | 28 `BOOTLOADER_OFFSET` offset rather than the beginning of ROM. MCUboot
|
D | PORTING.md | 41 * The flash offset of the image to execute. Indicates the position of 81 uint32_t fa_off; /** The flash offset from the beginning */
|
D | readme-zephyr.md | 114 need to be programmed at the offset of the primary slot for this particular 116 specify a flash offset corresponding to the primary slot starting address. This
|
D | release-notes.md | 141 at an offset, without having to use additional tools to modify the
|
/mcuboot-2.7.6/boot/cypress/MCUBootApp/ |
D | ExternalMemory.md | 76 `HEADER_OFFSET` defines the offset from original boot image address. This one in line above suggest…
|
/mcuboot-2.7.6/scripts/imgtool/ |
D | image.py | 224 h.frombytes(bytes=self.payload, offset=self.base_addr)
|