Skip to content

Commit 2133ad7

Browse files
djiatsaf-stcfriedt
authored andcommitted
boards: st: nucleo_h753zi: update and reorder flash partitions
- Increase the size of the storage partition to 2 sectors because a single sector makes it unusable as reported by test_flash_copy. This change will breaks backward compatibility regarding MCUboot firmware update support. Add a migration guide note about changes to the flash layout and warn users about potential firmware upgrade failures. Signed-off-by: Fabrice DJIATSA <[email protected]>
1 parent 9018212 commit 2133ad7

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

boards/st/nucleo_h753zi/nucleo_h753zi.dts

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -248,28 +248,22 @@ zephyr_udc0: &usbotg_fs {
248248
read-only;
249249
};
250250

251-
/* storage: 128KB for settings */
252-
storage_partition: partition@20000 {
253-
label = "storage";
254-
reg = <0x00020000 DT_SIZE_K(128)>;
255-
};
256-
257251
/* application image slot: 256KB */
258-
slot0_partition: partition@40000 {
252+
slot0_partition: partition@20000 {
259253
label = "image-0";
260-
reg = <0x00040000 DT_SIZE_K(256)>;
254+
reg = <0x00020000 DT_SIZE_K(256)>;
261255
};
262256

263257
/* backup slot: 256KB */
264-
slot1_partition: partition@80000 {
258+
slot1_partition: partition@60000 {
265259
label = "image-1";
266-
reg = <0x00080000 DT_SIZE_K(256)>;
260+
reg = <0x00060000 DT_SIZE_K(256)>;
267261
};
268262

269-
/* swap slot: 128KB */
270-
scratch_partition: partition@c0000 {
271-
label = "image-scratch";
272-
reg = <0x000c0000 DT_SIZE_K(128)>;
263+
/* storage: 256KB for settings */
264+
storage_partition: partition@a0000 {
265+
label = "storage";
266+
reg = <0x000a0000 DT_SIZE_K(256)>;
273267
};
274268
};
275269
};

doc/releases/migration-guide-4.3.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ Boards
6868
external NOR flash. This change currently prevents upgrade from older Zephyr release images to
6969
Zephyr 4.3 release images. More details in the TF-M migration and release notes.
7070

71+
* nucleo_h753zi: the flash layout was updated and firmware upgrade may fail due to layout
72+
incompatibility with the previous layout. The new layout includes storage partition enlarged to
73+
2 sectors, scratch partition removed and all flash partitions reordered for better structure.
74+
7175
* mimxrt11x0: renamed lpadc1 to lpadc2 and renamed lpadc0 to lpadc1.
7276

7377
* NXP ``frdm_mcxa166`` is renamed to ``frdm_mcxa346``.

0 commit comments

Comments
 (0)