Skip to content

Commit

Permalink
boards: nucleo_wb55: align partition boundaries
Browse files Browse the repository at this point in the history
This MCU has sectors of size 4096, but some partitions were aligned to
0x800 addresses. MCUBoot detects this incosistency and halts. This patch
fixes the partitions to use properly aligned addresses (multiples of
0x1000).

Signed-off-by: Fabio Utzig <[email protected]>
  • Loading branch information
utzig authored and ioannisg committed Nov 5, 2019
1 parent 39f2281 commit d6d7993
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions boards/arm/nucleo_wb55rg/nucleo_wb55rg.dts
Original file line number Diff line number Diff line change
Expand Up @@ -123,19 +123,19 @@
};
slot0_partition: partition@c000 {
label = "image-0";
reg = <0x0000C000 0x5b800>;
reg = <0x0000C000 0x5c000>;
};
slot1_partition: partition@67800 {
slot1_partition: partition@68000 {
label = "image-1";
reg = <0x00067800 0x5b800>;
reg = <0x00068000 0x5c000>;
};
scratch_partition: partition@c3000 {
scratch_partition: partition@c4000 {
label = "image-scratch";
reg = <0x000c3000 0x4000>;
reg = <0x000c4000 0x4000>;
};
storage_partition: partition@c7000 {
storage_partition: partition@c8000 {
label = "storage";
reg = <0x000c7000 0x4000>;
reg = <0x000c8000 0x3000>;
};

};
Expand Down

0 comments on commit d6d7993

Please sign in to comment.