Skip to content

Commit 8a8e466

Browse files
nordicjmnvlsianpu
authored andcommitted
samples: mcuboot: firmware_loader_entrance: Update PM static files
Updates PM static files to have smaller firmware loader partitions and to remove unused space at the end of NVM Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 0eb2ffe commit 8a8e466

2 files changed

Lines changed: 18 additions & 26 deletions

File tree

samples/mcuboot/firmware_loader_entrance/pm_static_nrf52840dk_nrf52840.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mcuboot:
55
app:
66
address: 0x8200
77
region: flash_primary
8-
size: 0x5fe00
8+
size: 0xb7e00
99
mcuboot_pad:
1010
address: 0x8000
1111
region: flash_primary
@@ -16,36 +16,32 @@ mcuboot_primary:
1616
- app
1717
- mcuboot_pad
1818
region: flash_primary
19-
size: 0x60000
19+
size: 0xb8000
2020
span: *id001
2121
mcuboot_primary_app:
2222
address: 0x8200
2323
orig_span: &id002
2424
- app
2525
region: flash_primary
26-
size: 0x5fe00
26+
size: 0xb7e00
2727
span: *id002
2828
mcuboot_secondary:
29-
address: 0x68000
29+
address: 0xc0000
3030
orig_span: &id003
3131
- mcuboot_secondary_pad
3232
- firmware_loader
3333
region: flash_primary
34-
size: 0x60000
34+
size: 0x3c000
3535
span: *id003
3636
mcuboot_secondary_pad:
3737
region: flash_primary
38-
address: 0x68000
38+
address: 0xc0000
3939
size: 0x200
4040
firmware_loader:
4141
region: flash_primary
42-
address: 0x68200
43-
size: 0x5fe00
42+
address: 0xc0200
43+
size: 0x3be00
4444
settings_storage:
45-
address: 0xc8000
45+
address: 0xfc000
4646
region: flash_primary
4747
size: 0x4000
48-
unallocated:
49-
address: 0xcc000
50-
region: flash_primary
51-
size: 0x34000

samples/mcuboot/firmware_loader_entrance/pm_static_nrf54l15dk_nrf54l15_cpuapp.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mcuboot:
55
app:
66
address: 0xa800
77
region: flash_primary
8-
size: 0x60000
8+
size: 0x117800
99
mcuboot_pad:
1010
address: 0xa000
1111
region: flash_primary
@@ -16,36 +16,32 @@ mcuboot_primary:
1616
- app
1717
- mcuboot_pad
1818
region: flash_primary
19-
size: 0x60800
19+
size: 0x118000
2020
span: *id001
2121
mcuboot_primary_app:
2222
address: 0xa800
2323
orig_span: &id002
2424
- app
2525
region: flash_primary
26-
size: 0x60000
26+
size: 0x117800
2727
span: *id002
2828
mcuboot_secondary:
29-
address: 0x6a800
29+
address: 0x122000
3030
orig_span: &id003
3131
- mcuboot_secondary_pad
3232
- firmware_loader
3333
region: flash_primary
34-
size: 0x60800
34+
size: 0x3f000
3535
span: *id003
3636
mcuboot_secondary_pad:
3737
region: flash_primary
38-
address: 0x6a800
38+
address: 0x122000
3939
size: 0x800
4040
firmware_loader:
4141
region: flash_primary
42-
address: 0x6b000
43-
size: 0x60000
42+
address: 0x122800
43+
size: 0x3e800
4444
settings_storage:
45-
address: 0xcb000
45+
address: 0x161000
4646
region: flash_primary
4747
size: 0x4000
48-
unallocated:
49-
address: 0xcf000
50-
region: flash_primary
51-
size: 0x96000

0 commit comments

Comments
 (0)