The scratch partition is not needed since MCUboot now operates in swap using move mode instead of swap with scratch, as a result, the main partitions on Nordic nRF51, nRF52, nRF53 and nRF91 boards can be expanded to help in fitting large applications to them. Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
39 lines
906 B
Text
39 lines
906 B
Text
/*
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/* Flash partition table compatible with Nordic nRF5 bootloader */
|
|
|
|
&flash0 {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
/* MCUboot placed after Nordic MBR.
|
|
* The size of this partition ensures that MCUBoot
|
|
* can be built with CDC ACM support and w/o optimizations.
|
|
*/
|
|
boot_partition: partition@1000 {
|
|
label = "mcuboot";
|
|
reg = <0x00001000 0x0000f000>;
|
|
};
|
|
|
|
slot0_partition: partition@10000 {
|
|
label = "image-0";
|
|
reg = <0x00010000 0x00068000>;
|
|
};
|
|
slot1_partition: partition@78000 {
|
|
label = "image-1";
|
|
reg = <0x00078000 0x00068000>;
|
|
};
|
|
|
|
/* Nordic nRF5 bootloader <0xe0000 0x1c000>
|
|
*
|
|
* In addition, the last and second last flash pages
|
|
* are used by the nRF5 bootloader and MBR to store settings.
|
|
*/
|
|
};
|
|
};
|