Skip to content

Commit

Permalink
samples: nrf_compress: mcuboot_update: Update static PM files
Browse files Browse the repository at this point in the history
Updates static PM files to remove unused areas and have the
secondary to ~70% of the primary

Signed-off-by: Jamie McCrae <[email protected]>
  • Loading branch information
nordicjm committed Oct 29, 2024
1 parent d2c76f9 commit 25fd783
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 86 deletions.
Original file line number Diff line number Diff line change
@@ -1,26 +1,8 @@
app:
address: 0x10200
end_address: 0xa2000
end_address: 0x93000
region: flash_primary
size: 0x91e00
EMPTY_1:
address: 0x0
end_address: 0x10200
device: MX25R64
region: external_flash
size: 0x10200
compressed_app:
address: 0x10200
end_address: 0xa2000
device: MX25R64
region: external_flash
size: 0x91e00
EMPTY_2:
address: 0xa2000
end_address: 0x800000
device: MX25R64
region: external_flash
size: 0x75e000
size: 0x82e00
mcuboot:
address: 0x0
end_address: 0x10000
Expand All @@ -33,26 +15,26 @@ mcuboot_pad:
size: 0x200
mcuboot_primary:
address: 0x10000
end_address: 0xa2000
end_address: 0x93000
orig_span: &id001
- mcuboot_pad
- app
region: flash_primary
size: 0x92000
size: 0x83000
span: *id001
mcuboot_primary_app:
address: 0x10200
end_address: 0xa2000
end_address: 0x93000
orig_span: &id002
- app
region: flash_primary
size: 0x91e00
size: 0x82e00
span: *id002
mcuboot_secondary:
address: 0xa2000
address: 0x93000
end_address: 0xf0000
region: flash_primary
size: 0x4e000
size: 0x5d000
settings_storage:
address: 0xf0000
end_address: 0x100000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,8 @@
app:
address: 0x10200
end_address: 0xa2000
end_address: 0x93000
region: flash_primary
size: 0x91e00
EMPTY_1:
address: 0x0
end_address: 0x10200
device: MX25R64
region: external_flash
size: 0x10200
compressed_app:
address: 0x10200
end_address: 0xa2000
device: MX25R64
region: external_flash
size: 0x91e00
EMPTY_2:
address: 0xa2000
end_address: 0x800000
device: MX25R64
region: external_flash
size: 0x75e000
size: 0x82e00
mcuboot:
address: 0x0
end_address: 0x10000
Expand All @@ -33,26 +15,26 @@ mcuboot_pad:
size: 0x200
mcuboot_primary:
address: 0x10000
end_address: 0xa2000
end_address: 0x93000
orig_span: &id001
- mcuboot_pad
- app
region: flash_primary
size: 0x92000
size: 0x83000
span: *id001
mcuboot_primary_app:
address: 0x10200
end_address: 0xa2000
end_address: 0x93000
orig_span: &id002
- app
region: flash_primary
size: 0x91e00
size: 0x82e00
span: *id002
mcuboot_secondary:
address: 0xa2000
address: 0x93000
end_address: 0xf0000
region: flash_primary
size: 0x4e000
size: 0x5d000
otp:
address: 0xff8100
end_address: 0xff83fc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,8 @@
app:
address: 0x10800
end_address: 0xa2000
end_address: 0xcf000
region: flash_primary
size: 0x91800
EMPTY_1:
address: 0x0
end_address: 0x10800
device: MX25R64
region: external_flash
size: 0x10800
compressed_app:
address: 0x10800
end_address: 0xa2000
device: MX25R64
region: external_flash
size: 0x91800
EMPTY_2:
address: 0xa2000
end_address: 0x800000
device: MX25R64
region: external_flash
size: 0x75e000
EMPTY_3:
address: 0x100000
end_address: 0x165000
region: flash_primary
size: 0x65000
size: 0xbe800
mcuboot:
address: 0x0
end_address: 0x10000
Expand All @@ -38,28 +15,28 @@ mcuboot_pad:
size: 0x800
mcuboot_primary:
address: 0x10000
end_address: 0xa2000
end_address: 0xcf000
orig_span: &id001
- mcuboot_pad
- app
region: flash_primary
size: 0x92000
size: 0xbf000
span: *id001
mcuboot_primary_app:
address: 0x10800
end_address: 0xa2000
end_address: 0xcf000
orig_span: &id002
- app
region: flash_primary
size: 0x91800
size: 0xbe800
span: *id002
mcuboot_secondary:
address: 0xa2000
end_address: 0xf0000
address: 0xcf000
end_address: 0x155000
region: flash_primary
size: 0x4e000
size: 0x86000
settings_storage:
address: 0xf0000
end_address: 0x100000
address: 0x155000
end_address: 0x165000
region: flash_primary
size: 0x10000

0 comments on commit 25fd783

Please sign in to comment.