Skip to content

Commit

Permalink
[nrfconnect] Reduce MCUBoot parititon size on nRF53 (project-chip#22307)
Browse files Browse the repository at this point in the history
The current partition size of 48kB seems to be needlessly
large. Reduce is to leave more flash space for applications.

Signed-off-by: Damian Krolik <[email protected]>

Signed-off-by: Damian Krolik <[email protected]>
  • Loading branch information
Damian-Nordic authored Sep 2, 2022
1 parent e56afce commit 771f835
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 96 deletions.
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
mcuboot:
address: 0x0
size: 0xC000
size: 0x8000
region: flash_primary
mcuboot_pad:
address: 0xC000
address: 0x8000
size: 0x200
app:
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
mcuboot_primary:
orig_span: &id001
- mcuboot_pad
- app
span: *id001
address: 0xC000
size: 0xef000
address: 0x8000
size: 0xf3000
region: flash_primary
mcuboot_primary_app:
orig_span: &id002
- app
span: *id002
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
factory_data:
address: 0xfb000
size: 0x1000
Expand All @@ -37,17 +37,17 @@ mcuboot_primary_1:
region: ram_flash
mcuboot_secondary:
address: 0x0
size: 0xef000
size: 0xf3000
device: MX25R64
region: external_flash
mcuboot_secondary_1:
address: 0xef000
address: 0xf3000
size: 0x40000
device: MX25R64
region: external_flash
external_flash:
address: 0x12f000
size: 0x6D1000
address: 0x133000
size: 0x6CD000
device: MX25R64
region: external_flash
pcd_sram:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
mcuboot:
address: 0x0
size: 0xC000
size: 0x8000
region: flash_primary
mcuboot_pad:
address: 0xC000
address: 0x8000
size: 0x200
app:
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
mcuboot_primary:
orig_span: &id001
- mcuboot_pad
- app
span: *id001
address: 0xC000
size: 0xef000
address: 0x8000
size: 0xf3000
region: flash_primary
mcuboot_primary_app:
orig_span: &id002
- app
span: *id002
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
factory_data:
address: 0xfb000
size: 0x1000
Expand All @@ -37,17 +37,17 @@ mcuboot_primary_1:
region: ram_flash
mcuboot_secondary:
address: 0x0
size: 0xef000
size: 0xf3000
device: MX25R64
region: external_flash
mcuboot_secondary_1:
address: 0xef000
address: 0xf3000
size: 0x40000
device: MX25R64
region: external_flash
external_flash:
address: 0x12f000
size: 0x6D1000
address: 0x133000
size: 0x6CD000
device: MX25R64
region: external_flash
pcd_sram:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
mcuboot:
address: 0x0
size: 0xC000
size: 0x8000
region: flash_primary
mcuboot_pad:
address: 0xC000
address: 0x8000
size: 0x200
app:
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
mcuboot_primary:
orig_span: &id001
- mcuboot_pad
- app
span: *id001
address: 0xC000
size: 0xef000
address: 0x8000
size: 0xf3000
region: flash_primary
mcuboot_primary_app:
orig_span: &id002
- app
span: *id002
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
factory_data:
address: 0xfb000
size: 0x1000
Expand All @@ -37,17 +37,17 @@ mcuboot_primary_1:
region: ram_flash
mcuboot_secondary:
address: 0x0
size: 0xef000
size: 0xf3000
device: MX25R64
region: external_flash
mcuboot_secondary_1:
address: 0xef000
address: 0xf3000
size: 0x40000
device: MX25R64
region: external_flash
external_flash:
address: 0x12f000
size: 0x6D1000
address: 0x133000
size: 0x6CD000
device: MX25R64
region: external_flash
pcd_sram:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
mcuboot:
address: 0x0
size: 0xC000
size: 0x8000
region: flash_primary
mcuboot_pad:
address: 0xC000
address: 0x8000
size: 0x200
app:
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
mcuboot_primary:
orig_span: &id001
- mcuboot_pad
- app
span: *id001
address: 0xC000
size: 0xef000
address: 0x8000
size: 0xf3000
region: flash_primary
mcuboot_primary_app:
orig_span: &id002
- app
span: *id002
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
factory_data:
address: 0xfb000
size: 0x1000
Expand All @@ -37,17 +37,17 @@ mcuboot_primary_1:
region: ram_flash
mcuboot_secondary:
address: 0x0
size: 0xef000
size: 0xf3000
device: MX25R64
region: external_flash
mcuboot_secondary_1:
address: 0xef000
address: 0xf3000
size: 0x40000
device: MX25R64
region: external_flash
external_flash:
address: 0x12f000
size: 0x6D1000
address: 0x133000
size: 0x6CD000
device: MX25R64
region: external_flash
pcd_sram:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
mcuboot:
address: 0x0
size: 0xC000
size: 0x8000
region: flash_primary
mcuboot_pad:
address: 0xC000
address: 0x8000
size: 0x200
app:
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
mcuboot_primary:
orig_span: &id001
- mcuboot_pad
- app
span: *id001
address: 0xC000
size: 0xef000
address: 0x8000
size: 0xf3000
region: flash_primary
mcuboot_primary_app:
orig_span: &id002
- app
span: *id002
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
factory_data:
address: 0xfb000
size: 0x1000
Expand All @@ -37,17 +37,17 @@ mcuboot_primary_1:
region: ram_flash
mcuboot_secondary:
address: 0x0
size: 0xef000
size: 0xf3000
device: MX25R64
region: external_flash
mcuboot_secondary_1:
address: 0xef000
address: 0xf3000
size: 0x40000
device: MX25R64
region: external_flash
external_flash:
address: 0x12f000
size: 0x6D1000
address: 0x133000
size: 0x6CD000
device: MX25R64
region: external_flash
pcd_sram:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
mcuboot:
address: 0x0
size: 0xC000
size: 0x8000
region: flash_primary
mcuboot_pad:
address: 0xC000
address: 0x8000
size: 0x200
app:
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
mcuboot_primary:
orig_span: &id001
- mcuboot_pad
- app
span: *id001
address: 0xC000
size: 0xef000
address: 0x8000
size: 0xf3000
region: flash_primary
mcuboot_primary_app:
orig_span: &id002
- app
span: *id002
address: 0xC200
size: 0xeee00
address: 0x8200
size: 0xf2e00
factory_data:
address: 0xfb000
size: 0x1000
Expand All @@ -37,17 +37,17 @@ mcuboot_primary_1:
region: ram_flash
mcuboot_secondary:
address: 0x0
size: 0xef000
size: 0xf3000
device: MX25R64
region: external_flash
mcuboot_secondary_1:
address: 0xef000
address: 0xf3000
size: 0x40000
device: MX25R64
region: external_flash
external_flash:
address: 0x12f000
size: 0x6D1000
address: 0x133000
size: 0x6CD000
device: MX25R64
region: external_flash
pcd_sram:
Expand Down
Loading

0 comments on commit 771f835

Please sign in to comment.