Home
last modified time | relevance | path

Searched refs:flash (Results 1 – 25 of 37) sorted by relevance

12

/mcuboot-latest/sim/src/
Dimage.rs66 flash: SimMultiFlash, field
76 flash: SimMultiFlash, field
141 let (flash, areadesc, unsupported_caps) = Self::make_device(device, align, erased_val); in new()
200 flash, in new()
225 let mut flash = self.flash; in make_no_upgrade_image() localVariable
237 let prim = install_image(&mut flash, &slots[0], in make_no_upgrade_image()
241 _ => install_image(&mut flash, &slots[1], in make_no_upgrade_image()
246 let prim = install_image(&mut flash, &slots[0], in make_no_upgrade_image()
250 _ => install_image(&mut flash, &slots[1], in make_no_upgrade_image()
260 install_ptable(&mut flash, &self.areadesc); in make_no_upgrade_image()
[all …]
/mcuboot-latest/boot/zephyr/boards/
Dfrdm_mcxn947_mcxn947_cpu0_qspi.overlay9 zephyr,flash = &flash;
Dnrf52840dk_ram.overlay26 flash_controller2: flash-controller@2 {
27 compatible = "zephyr,sim-flash";
36 compatible = "soc-nv-flash";
Dnrf52840dk_ram_multi.overlay34 flash_controller2: flash-controller@2 {
35 compatible = "zephyr,sim-flash";
44 compatible = "soc-nv-flash";
/mcuboot-latest/samples/runtime-source/zephyr/
DREADME.md3 This sample demonstrates how to use a non flash storage to retrieve the image
18 west build -t flash
23 app directory (mcuboot/samples/non-flash-source/zephyr/app), run:
27 west flash
44 And build and flash again:
48 west flash
/mcuboot-latest/boot/cypress/platforms/PSOC_062_2M/CM4/GCC_ARM/
Dcy8c6xxa_cm4_dual.ld62 /* The ram and flash regions control RAM and flash memory allocation for the CM4 core.
63 * You can change the memory allocation by editing the 'ram' and 'flash' regions.
70 flash (rx) : ORIGIN = 0x10000000, LENGTH = 0x200000
72 …/* This is a 32K flash region used for EEPROM emulation. This region can also be used as the gener…
80 …sflash_user_data (rx) : ORIGIN = 0x16000800, LENGTH = 0x800 /* Supervisory flash: User …
81 …sflash_nar (rx) : ORIGIN = 0x16001A00, LENGTH = 0x200 /* Supervisory flash: Norma…
82 …sflash_public_key (rx) : ORIGIN = 0x16005A00, LENGTH = 0xC00 /* Supervisory flash: Publi…
83 …sflash_toc_2 (rx) : ORIGIN = 0x16007C00, LENGTH = 0x200 /* Supervisory flash: Table…
84 …sflash_rtoc_2 (rx) : ORIGIN = 0x16007E00, LENGTH = 0x200 /* Supervisory flash: Table…
128 /* Cortex-M0+ application flash image area */
[all …]
/mcuboot-latest/sim/simflash/src/
Dlib.rs325 fn test_device(flash: &mut dyn Flash, erased_val: u8) { in test_device()
326 let sectors: Vec<Sector> = flash.sector_iter().collect(); in test_device()
328 flash.erase(0, sectors[0].size).unwrap(); in test_device()
329 let flash_size = flash.device_size(); in test_device()
330 flash.erase(0, flash_size).unwrap(); in test_device()
331 assert!(flash.erase(0, sectors[0].size - 1).is_bounds()); in test_device()
334 flash.write(0, &[0x55]).unwrap(); in test_device()
336 flash.read(0, &mut buf).unwrap(); in test_device()
339 flash.erase(0, sectors[0].size).unwrap(); in test_device()
340 flash.read(0, &mut buf).unwrap(); in test_device()
[all …]
/mcuboot-latest/docs/
DPORTING.md12 * `MCUboot` requires that the target provides a `flash` API with ability to
13 get the flash's minimum write size, and read/write/erase individual sectors.
41 * The flash offset of the image to execute. Indicates the position of
72 The bootloader requires to be able to address flash regions where the code
75 that should uniquely identify each flash region.
76 Such flash regions are served by object of `const struct flash_area` type while
81 This way systems are free to implement internal logic of flash map or define
86 of flash map, on the other side system specific code, within MCUboot, is
96 uint32_t fa_off; /** The flash offset from the beginning */
105 /*< Obtains ID of the flash area characterized by `fa` */
[all …]
Dreadme-zephyr.md12 The first step required for Zephyr is making sure your board has flash
20 if this operating mode is desired then the following flash partition is also
33 The flash partitions are typically defined in the Zephyr boards folder, in a
35 flash partitions defined is the frdm_k64f's in
66 information about the flash layout is currently required to build
74 directory you chose when running `west build`. Use `west flash`
75 to flash these binaries from the build directory. Depending
76 on the target and flash tool used, this might erase the whole of the flash
82 In addition to flash partitions in DTS, some additional configuration
115 The application itself can flashed with regular flash tools, but will
[all …]
Dtestplan-zephyr.md7 targets to flash.
61 $ pyocd flash -a 0x7ffe8 image_ok.bin
Dreadme-riot.md46 The application can be flashed by typing: `make flash-mcuboot`.
47 This will flash both the bootloader and the application.
Dreadme-espressif.md124 ninja -C build/ flash
149 The output contains device information and its flash size:
152 Detected flash size: 4MB
178 Default slot0 size is `0x100000`, but it can change as per application flash partitions.
233 Espressif chips have off-chip flash memory, so to ensure a security chain along with MCUboot image
364 be able to flash other images through UART.__*
367 the use of Download Mode functions to simple flash read, write and erase operations.*
443 ## [Flash Encryption](#flash-encryption)
448 [IDF](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/flash-encryption.html)
449 and is intended for encrypting off-chip flash memory contents, so it is protected against physical
[all …]
Dimgtool.md85 --max-align [8|16|32] Maximum flash alignment. Set if flash
134 -F, --rom-fixed INTEGER Set flash address the image is built for.
139 flash.
151 flash device in question, and the header size.
154 flash device. For Zephyr, it will be configured as part of the build,
/mcuboot-latest/boot/cypress/BlinkyApp/linker/
DBlinkyApp_template.ld63 /* The ram and flash regions control RAM and flash memory allocation for the CM4 core.
64 * You can change the memory allocation by editing the 'ram' and 'flash' regions.
71 flash (rx) : ORIGIN = USER_APP_START, LENGTH = USER_APP_SIZE
73 …/* This is a 32K flash region used for EEPROM emulation. This region can also be used as the gener…
81 …sflash_user_data (rx) : ORIGIN = 0x16000800, LENGTH = 0x800 /* Supervisory flash: User …
82 …sflash_nar (rx) : ORIGIN = 0x16001A00, LENGTH = 0x200 /* Supervisory flash: Norma…
83 …sflash_public_key (rx) : ORIGIN = 0x16005A00, LENGTH = 0xC00 /* Supervisory flash: Publi…
84 …sflash_toc_2 (rx) : ORIGIN = 0x16007C00, LENGTH = 0x200 /* Supervisory flash: Table…
85 …sflash_rtoc_2 (rx) : ORIGIN = 0x16007E00, LENGTH = 0x200 /* Supervisory flash: Table…
129 /* Cortex-M4 application flash area */
[all …]
/mcuboot-latest/boot/cypress/platforms/PSOC_062_2M/CM0P/GCC_ARM/
Dcy8c6xxa_cm0plus.ld59 /* The ram and flash regions control RAM and flash memory allocation for the CM0+ core.
60 * You can change the memory allocation by editing the 'ram' and 'flash' regions.
67 flash (rx) : ORIGIN = 0x10000000, LENGTH = 0x2000
69 …/* This is a 32K flash region used for EEPROM emulation. This region can also be used as the gener…
77 …sflash_user_data (rx) : ORIGIN = 0x16000800, LENGTH = 0x800 /* Supervisory flash: User …
78 …sflash_nar (rx) : ORIGIN = 0x16001A00, LENGTH = 0x200 /* Supervisory flash: Norma…
79 …sflash_public_key (rx) : ORIGIN = 0x16005A00, LENGTH = 0xC00 /* Supervisory flash: Publi…
80 …sflash_toc_2 (rx) : ORIGIN = 0x16007C00, LENGTH = 0x200 /* Supervisory flash: Table…
81 …sflash_rtoc_2 (rx) : ORIGIN = 0x16007E00, LENGTH = 0x200 /* Supervisory flash: Table…
128 } > flash
[all …]
/mcuboot-latest/boot/cypress/MCUBootApp/
DMCUBootApp.ld59 /* The ram and flash regions control RAM and flash memory allocation for the CM0+ core.
60 * You can change the memory allocation by editing the 'ram' and 'flash' regions.
68 flash (rx) : ORIGIN = 0x10000000, LENGTH = 0x18000
70 …/* This is a 32K flash region used for EEPROM emulation. This region can also be used as the gener…
78 …sflash_user_data (rx) : ORIGIN = 0x16000800, LENGTH = 0x800 /* Supervisory flash: User …
79 …sflash_nar (rx) : ORIGIN = 0x16001A00, LENGTH = 0x200 /* Supervisory flash: Norma…
80 …sflash_public_key (rx) : ORIGIN = 0x16005A00, LENGTH = 0xC00 /* Supervisory flash: Publi…
81 …sflash_toc_2 (rx) : ORIGIN = 0x16007C00, LENGTH = 0x200 /* Supervisory flash: Table…
82 …sflash_rtoc_2 (rx) : ORIGIN = 0x16007E00, LENGTH = 0x200 /* Supervisory flash: Table…
129 } > flash
[all …]
DREADME.md15 The default flash map implemented is the following:
31 …secondary slot and bootloader app sizes are appropriate and correspond to flash area size defined …
48 Navigate to `sysflash.h` and modify the flash area(s) / slots sizes to meet your needs.
53 …lash_area *boot_area_descs[]` with flash memory addresses and sizes you need at the beginning of a…
57 **How to override the flash map values during build process:**
60 Update this line and or add similar for flash map parameters to override.
160 …cryption support use `ENC_IMG=1` build flag (BlinkyApp should also be built with this flash set 1).
/mcuboot-latest/ext/nrf/
DREADME.md15 ninja flash
18 …ple in zephyr and sign it with imgtool.py with the `root-ec-p256.pem` and flash it at `FLASH_AREA_…
/mcuboot-latest/docs/release-notes.d/
Despressif-idf-version-checking.md2 - Fixed missing macro for XMC flash devices on ESP32-S3
/mcuboot-latest/scripts/
Dflash.sh7 lscript=/tmp/flash$$.jlink
/mcuboot-latest/samples/zephyr/
DMakefile174 $(PYOCD) flash -e chip -a $(BOOT_ADDR) mcuboot.bin
177 $(PYOCD) flash -a $(IMG0_ADDR) signed-hello1.bin
180 $(PYOCD) flash -a $(IMG1_ADDR) signed-hello2.bin
183 $(PYOCD) flash -e chip -a $(BOOT_ADDR) full.bin
/mcuboot-latest/sim/mcuboot-sys/src/
Dapi.rs275 if let Some(flash) = ctx.borrow().flash_map.get(&dev_id) { in sim_flash_erase()
276 let dev = unsafe { &mut *(flash.ptr) }; in sim_flash_erase()
287 if let Some(flash) = ctx.borrow().flash_map.get(&dev_id) { in sim_flash_read()
289 let dev = unsafe { &mut *(flash.ptr) }; in sim_flash_read()
300 if let Some(flash) = ctx.borrow().flash_map.get(&dev_id) { in sim_flash_write()
302 let dev = unsafe { &mut *(flash.ptr) }; in sim_flash_write()
Darea.rs31 pub fn add_flash_sectors(&mut self, id: u8, flash: &SimFlash) { in add_flash_sectors()
32 self.sectors.insert(id, flash.sector_iter().collect()); in add_flash_sectors()
Dc.rs76 for (&dev_id, flash) in multiflash.iter_mut() { in boot_go()
77 api::set_flash(dev_id, flash); in boot_go()
/mcuboot-latest/boot/mbed/
Dmcuboot_imgtool.cmake96 …--align 4 # this lets mcuboot know the intrinsic alignment of the flash (32-bits = 4 byte alignmen…
123 # A flash target (ninja flash-${TARGET}-initial-image) will also be created.
140 # Create a flash target.
151 if(TARGET flash-${TARGET}-initial-image)
152 add_dependencies(flash-${TARGET}-initial-image ${TARGET})

12