Skip to content

Commit 1e6966d

Browse files
grochurlubos
authored andcommitted
applications: machine_learning: Fix nRF54H20 partition addresses
The nRF54H20 DTS overlay for cpuapp target was missing the compatible = "zephyr,mapped=partition" which resulted in zephyr soc.c hook address calculation falling back to DT_FIXED_PARTITION_ADDR which adds the MRAM base address twice as the mram1x_controller/mram1x/partitions ranges chain already resolves DT_REG_ADDR(...) to the absolute address. This caused a BUSFAULT at the soc_late_init_hook when cpuapp tried to read the RAD reset vector. This fix corrects the missing "compatible" in the cpuapp DTS overlay resulting in correct address calculation. Ref. NCSDK-38422 Signed-off-by: Michał Grochala <michal.grochala@nordicsemi.no>
1 parent 96732ed commit 1e6966d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • applications/machine_learning/configuration/nrf54h20dk_nrf54h20_cpuapp

applications/machine_learning/configuration/nrf54h20dk_nrf54h20_cpuapp/app.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@ ipc1: &cpuapp_cpuppr_ipc {
6767
&mram1x {
6868
partitions {
6969
slot0_partition: cpuapp_slot0_partition: partition@30000 {
70+
compatible = "zephyr,mapped-partition";
7071
reg = <0x30000 0x82000>;
7172
};
7273

7374
cpurad_slot0_partition: partition@b2000 {
75+
compatible = "zephyr,mapped-partition";
7476
reg = <0xb2000 0x32000>;
7577
};
7678
};

0 commit comments

Comments
 (0)