Skip to content

Commit 4c2c38c

Browse files
nvlsianpukapi-no
authored andcommitted
samples/nrf5340/extxip_smp_svr: fix sram S/NS partitioning
PCD partition shall not overlap with MCUboot RAM nor secure RAM nor nonsecure RAM. Fixed that, which implied need for explicitly describe tfm_sram partition. ref: NCSDK-33694 Signed-off-by: Andrzej Puzdrowski <[email protected]>
1 parent 4ed298f commit 4c2c38c

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

samples/nrf5340/extxip_smp_svr/pm_static_nrf5340dk_nrf5340_cpuapp_ns.yml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,31 +103,39 @@ ram_flash:
103103
region: ram_flash
104104
size: 0x0
105105
mcuboot_sram:
106-
address: 0x20000000
106+
address: 0x20002000
107107
end_address: 0x20080000
108108
orig_span: &id004
109-
- pcd_sram
110109
- sram_primary
111110
- rpmsg_nrf53_sram
112111
region: sram_primary
113-
size: 0x80000
112+
size: 0x7e000
114113
span: *id004
115114
sram_secure:
116-
address: 0x20000000
117-
end_address: 0x2000a000
118-
orig_span: &id005
119-
- pcd_sram
115+
address: 0x20002000
116+
end_address: 0x20010000
117+
orig_span: &id007
118+
- tfm_sram
119+
region: sram_primary
120+
size: 0xe000
121+
span: *id007
122+
tfm_sram:
123+
address: 0x20002000
124+
inside:
125+
- sram_secure
126+
placement:
127+
after:
128+
- start
120129
region: sram_primary
121-
size: 0xa000
122-
span: *id005
130+
size: 0xe000
123131
sram_nonsecure:
124-
address: 0x2000a000
132+
address: 0x20010000
125133
end_address: 0x20080000
126134
orig_span: &id006
127135
- sram_primary
128136
- rpmsg_nrf53_sram
129137
region: sram_primary
130-
size: 0x76000
138+
size: 0x70000
131139
span: *id006
132140
rpmsg_nrf53_sram:
133141
address: 0x20070000
@@ -143,7 +151,7 @@ settings_storage:
143151
region: flash_primary
144152
size: 0x10000
145153
sram_primary:
146-
address: 0x2000a000
154+
address: 0x20010000
147155
end_address: 0x20070000
148156
region: sram_primary
149-
size: 0x66000
157+
size: 0x60000

0 commit comments

Comments
 (0)