boards: nxp: Switch MCUBoot FW Update mode to Swap & Move
Switch the default MCUBoot FW Update mode from Swap & Scratch to more preferable Swap & Move for the rest of NXP MCUs. Other NXP MCU platforms have been already switched. Delete the scratch partition. Save RAM & ROM. Slot 0 has one additional sector, for use with the swap move algorithm. Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This commit is contained in:
parent
93551a4a95
commit
a691280b12
15 changed files with 91 additions and 138 deletions
|
@ -112,21 +112,20 @@ arduino_serial: &lpuart2 {
|
|||
label = "mcuboot";
|
||||
reg = <0x00000000 DT_SIZE_K(64)>;
|
||||
};
|
||||
/* Note slot 0 has one additional sector,
|
||||
* this is intended for use with the swap move algorithm
|
||||
*/
|
||||
slot0_partition: partition@10000 {
|
||||
label = "image-0";
|
||||
reg = <0x00010000 DT_SIZE_M(3)>;
|
||||
reg = <0x00010000 (DT_SIZE_M(3) + DT_SIZE_K(4))>;
|
||||
};
|
||||
slot1_partition: partition@310000 {
|
||||
slot1_partition: partition@311000 {
|
||||
label = "image-1";
|
||||
reg = <0x00310000 DT_SIZE_M(3)>;
|
||||
reg = <0x00311000 DT_SIZE_M(3)>;
|
||||
};
|
||||
scratch_partition: partition@610000 {
|
||||
label = "image-scratch";
|
||||
reg = <0x00610000 DT_SIZE_K(128)>;
|
||||
};
|
||||
storage_partition: partition@630000 {
|
||||
storage_partition: partition@611000 {
|
||||
label = "storage";
|
||||
reg = <0x00630000 DT_SIZE_K(1856)>;
|
||||
reg = <0x00611000 DT_SIZE_K(1980)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue