Skip to content

Commit d068f1e

Browse files
maxd-nordicrlubos
authored andcommitted
boards: thingy91x: add secondary_1 partitions
This patch adds the secondary_1 partitions to thingy91x/nrf53 to ensure a working mcuboot setup. Signed-off-by: Maximilian Deubel <[email protected]>
1 parent 4b32dad commit d068f1e

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

boards/nordic/thingy91x/thingy91x_nrf5340_pm_static.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ s1_image:
4343
region: flash_primary
4444
mcuboot_primary:
4545
address: 0x30000
46-
size: 0x64000
46+
size: 0x44000
4747
span: [mcuboot_pad, app]
4848
region: flash_primary
4949
mcuboot_pad:
@@ -52,22 +52,26 @@ mcuboot_pad:
5252
region: flash_primary
5353
mcuboot_primary_app:
5454
address: 0x30200
55-
size: 0x63e00
55+
size: 0x43e00
5656
span: [app]
5757
region: flash_primary
5858
app_image:
5959
address: 0x30200
60-
size: 0x63e00
60+
size: 0x43e00
6161
span: [app]
6262
region: flash_primary
6363
app:
6464
address: 0x30200
65-
size: 0x63e00
65+
size: 0x43e00
6666
region: flash_primary
6767
mcuboot_secondary:
68-
address: 0x94000
69-
size: 0x64000
68+
address: 0x74000
69+
size: 0x44000
7070
region: flash_primary
71+
mcuboot_secondary_1:
72+
address: 0xB8000
73+
region: flash_primary
74+
size: 0x40000
7175
settings_storage:
7276
address: 0xf8000
7377
size: 0x8000

boards/nordic/thingy91x/thingy91x_nrf5340_pm_static_ext_flash.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,22 @@ settings_storage:
7070
region: flash_primary
7171

7272
external_flash:
73-
device: GD25LB256E
73+
device: DT_CHOSEN(nordic_pm_ext_flash)
7474
address: 0x0
7575
size: 0x2000000
7676
span: [mcuboot_secondary]
7777
region: external_flash
7878
mcuboot_secondary:
79-
device: GD25LB256E
79+
device: DT_CHOSEN(nordic_pm_ext_flash)
8080
address: 0x0
8181
size: 0xcc000
8282
share_size: [mcuboot_primary]
8383
region: external_flash
84+
mcuboot_secondary_1:
85+
address: 0xcc000
86+
size: 0x40000
87+
device: DT_CHOSEN(nordic_pm_ext_flash)
88+
region: external_flash
8489
pcd_sram:
8590
address: 0x20000000
8691
size: 0x2000

0 commit comments

Comments
 (0)