You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently experimenting with MCUboot and trying to define custom flash partitions for the nucleo_g474re board. However, I'm running into a problem:
The device tree compiler throws the following error:
"devicetree error: Label 'slot0_partition' appears on /soc/flash-controller@40022000/flash@8000000/partitions/partition@8000 and on /soc/flash-controller@40022000/flash@8000000/partitions/partition@8800"
Has anyone encountered this issue before or can point me to what might be wrong in my device tree configuration?
// Bootloader erstmal auf 32kB setzen
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(32)>;
};
// Anwendung startet direkt nach Bootloader und ist vor dem Flash EEPROM
// Das zwischen ist also noch ca. 464kB frei
slot0_partition: partition@8000 {
label = "image-0";
reg = <0x00008000 DT_SIZE_K(464)>;
};
// Reservieren von 16 kB für das Flash EEPROM
storage_partition: partition@7c000 {
label = "storage";
reg = <0x0007C000 DT_SIZE_K(16)>;
};
};
};`
I thought, that my .overlay file would overwrite the existing node definitions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
I'm currently experimenting with MCUboot and trying to define custom flash partitions for the nucleo_g474re board. However, I'm running into a problem:
The device tree compiler throws the following error:
"devicetree error: Label 'slot0_partition' appears on /soc/flash-controller@40022000/flash@8000000/partitions/partition@8000 and on /soc/flash-controller@40022000/flash@8000000/partitions/partition@8800"
Has anyone encountered this issue before or can point me to what might be wrong in my device tree configuration?
`/ {
chosen {
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
};
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
};`
I thought, that my .overlay file would overwrite the existing node definitions?
Zephyr 4.1.0
SDK 0.17.0
Beta Was this translation helpful? Give feedback.
All reactions