forked from nrfconnect/sdk-sidewalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add static partitions to manual dfu image
autogenerated partitions.yml is different than the one from sample. the same pm_static has been used to make partitions consistant. Signed-off-by: Robert Gałat <[email protected]>
- Loading branch information
1 parent
ffa85ba
commit 437ef18
Showing
4 changed files
with
351 additions
and
3 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
tests/manual/simple_bootloader/pm_static_nrf52840dk_nrf52840.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,73 @@ | ||
app: | ||
address: 0x7200 | ||
end_address: 0xfd000 | ||
region: flash_primary | ||
size: 0xf5e00 | ||
external_flash: | ||
address: 0xf6000 | ||
end_address: 0x800000 | ||
region: external_flash | ||
size: 0x70a000 | ||
mcuboot: | ||
address: 0x0 | ||
end_address: 0x7000 | ||
region: flash_primary | ||
size: 0x7000 | ||
mcuboot_pad: | ||
address: 0x7000 | ||
end_address: 0x7200 | ||
placement: | ||
align: | ||
start: 0x1000 | ||
before: | ||
- mcuboot_primary_app | ||
region: flash_primary | ||
size: 0x200 | ||
mcuboot_primary: | ||
address: 0x7000 | ||
end_address: 0xfd000 | ||
orig_span: &id001 | ||
- app | ||
- mcuboot_pad | ||
region: flash_primary | ||
size: 0xf6000 | ||
span: *id001 | ||
mcuboot_primary_app: | ||
address: 0x7200 | ||
end_address: 0xfd000 | ||
orig_span: &id002 | ||
- app | ||
region: flash_primary | ||
size: 0xf5e00 | ||
span: *id002 | ||
mcuboot_secondary: | ||
address: 0x0 | ||
device: DT_CHOSEN(nordic_pm_ext_flash) | ||
end_address: 0xf6000 | ||
placement: | ||
align: | ||
start: 0x4 | ||
region: external_flash | ||
share_size: | ||
- mcuboot_primary | ||
size: 0xf6000 | ||
mfg_storage: | ||
address: 0xff000 | ||
end_address: 0x100000 | ||
region: flash_primary | ||
size: 0x1000 | ||
settings_storage: | ||
address: 0xfd000 | ||
end_address: 0xff000 | ||
placement: | ||
align: | ||
start: 0x1000 | ||
before: | ||
- end | ||
region: flash_primary | ||
size: 0x2000 | ||
sram_primary: | ||
address: 0x20000000 | ||
end_address: 0x20040000 | ||
region: sram_primary | ||
size: 0x40000 |
111 changes: 111 additions & 0 deletions
111
tests/manual/simple_bootloader/pm_static_nrf5340dk_nrf5340_cpuapp.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,119 @@ | ||
EMPTY_0: | ||
address: 0xfe000 | ||
end_address: 0xff000 | ||
placement: | ||
after: | ||
- settings_storage | ||
region: flash_primary | ||
size: 0x1000 | ||
app: | ||
address: 0x8200 | ||
end_address: 0xfc000 | ||
region: flash_primary | ||
size: 0xf3e00 | ||
external_flash: | ||
address: 0x134000 | ||
end_address: 0x800000 | ||
region: external_flash | ||
size: 0x6cc000 | ||
mcuboot: | ||
address: 0x0 | ||
end_address: 0x8000 | ||
region: flash_primary | ||
size: 0x8000 | ||
mcuboot_pad: | ||
address: 0x8000 | ||
end_address: 0x8200 | ||
placement: | ||
align: | ||
start: 0x4000 | ||
before: | ||
- mcuboot_primary_app | ||
region: flash_primary | ||
size: 0x200 | ||
mcuboot_primary: | ||
address: 0x8000 | ||
end_address: 0xfc000 | ||
orig_span: &id001 | ||
- mcuboot_pad | ||
- app | ||
region: flash_primary | ||
size: 0xf4000 | ||
span: *id001 | ||
mcuboot_primary_1: | ||
address: 0x0 | ||
device: nordic_ram_flash_controller | ||
end_address: 0x40000 | ||
region: ram_flash | ||
size: 0x40000 | ||
mcuboot_primary_app: | ||
address: 0x8200 | ||
end_address: 0xfc000 | ||
orig_span: &id002 | ||
- app | ||
region: flash_primary | ||
size: 0xf3e00 | ||
span: *id002 | ||
mcuboot_secondary: | ||
address: 0x0 | ||
device: DT_CHOSEN(nordic_pm_ext_flash) | ||
end_address: 0xf4000 | ||
placement: | ||
align: | ||
start: 0x4 | ||
region: external_flash | ||
share_size: | ||
- mcuboot_primary | ||
size: 0xf4000 | ||
mcuboot_secondary_1: | ||
address: 0xf4000 | ||
device: DT_CHOSEN(nordic_pm_ext_flash) | ||
end_address: 0x134000 | ||
region: external_flash | ||
size: 0x40000 | ||
mfg_storage: | ||
address: 0xff000 | ||
end_address: 0x100000 | ||
region: flash_primary | ||
size: 0x1000 | ||
otp: | ||
address: 0xff8100 | ||
end_address: 0xff83fc | ||
region: otp | ||
size: 0x2fc | ||
pcd_sram: | ||
address: 0x20000000 | ||
end_address: 0x20002000 | ||
placement: | ||
after: | ||
- start | ||
region: sram_primary | ||
size: 0x2000 | ||
ram_flash: | ||
address: 0x40000 | ||
end_address: 0x40000 | ||
region: ram_flash | ||
size: 0x0 | ||
rpmsg_nrf53_sram: | ||
address: 0x20070000 | ||
end_address: 0x20080000 | ||
placement: | ||
before: | ||
- end | ||
region: sram_primary | ||
size: 0x10000 | ||
settings_storage: | ||
address: 0xfc000 | ||
end_address: 0xfe000 | ||
placement: | ||
align: | ||
start: 0x4000 | ||
before: | ||
- end | ||
region: flash_primary | ||
size: 0x2000 | ||
sram_primary: | ||
address: 0x20002000 | ||
end_address: 0x20070000 | ||
region: sram_primary | ||
size: 0x6e000 |
59 changes: 56 additions & 3 deletions
59
tests/manual/simple_bootloader/pm_static_nrf54l15dk_nrf54l15_cpuapp.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,71 @@ | ||
app: | ||
address: 0xc800 | ||
end_address: 0xc3000 | ||
region: flash_primary | ||
size: 0xb6800 | ||
mcuboot: | ||
address: 0x0 | ||
end_address: 0xc000 | ||
placement: | ||
before: | ||
- mcuboot_primary | ||
region: flash_primary | ||
size: 0xc000 | ||
mcuboot_pad: | ||
address: 0xc000 | ||
end_address: 0xc800 | ||
placement: | ||
before: | ||
- mcuboot_primary_app | ||
region: flash_primary | ||
size: 0x800 | ||
app: | ||
mcuboot_primary: | ||
address: 0xc000 | ||
end_address: 0xc3000 | ||
orig_span: &id001 | ||
- mcuboot_pad | ||
- app | ||
region: flash_primary | ||
sharers: 0x1 | ||
size: 0xb7000 | ||
span: *id001 | ||
mcuboot_primary_app: | ||
address: 0xc800 | ||
end_address: 0x17c000 | ||
end_address: 0xc3000 | ||
orig_span: &id002 | ||
- app | ||
region: flash_primary | ||
size: 0xb6800 | ||
span: *id002 | ||
mcuboot_secondary: | ||
address: 0xc3000 | ||
end_address: 0x17a000 | ||
placement: | ||
after: | ||
- mcuboot_primary | ||
align: | ||
start: 0x1000 | ||
region: flash_primary | ||
size: 0x16f800 | ||
share_size: | ||
- mcuboot_primary | ||
size: 0xb7000 | ||
mfg_storage: | ||
address: 0x17c000 | ||
end_address: 0x17d000 | ||
region: flash_primary | ||
size: 0x1000 | ||
settings_storage: | ||
address: 0x17a000 | ||
end_address: 0x17c000 | ||
placement: | ||
align: | ||
start: 0x1000 | ||
before: | ||
- end | ||
region: flash_primary | ||
size: 0x2000 | ||
sram_primary: | ||
address: 0x20000000 | ||
end_address: 0x20040000 | ||
region: sram_primary | ||
size: 0x40000 |
119 changes: 119 additions & 0 deletions
119
tests/manual/simple_bootloader/pm_static_thingy53_nrf5340_cpuapp.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
EMPTY_0: | ||
address: 0xfe000 | ||
end_address: 0xff000 | ||
placement: | ||
after: | ||
- settings_storage | ||
region: flash_primary | ||
size: 0x1000 | ||
app: | ||
address: 0x8200 | ||
end_address: 0xfc000 | ||
region: flash_primary | ||
size: 0xf3e00 | ||
external_flash: | ||
address: 0x134000 | ||
end_address: 0x800000 | ||
region: external_flash | ||
size: 0x6cc000 | ||
mcuboot: | ||
address: 0x0 | ||
end_address: 0x8000 | ||
region: flash_primary | ||
size: 0x8000 | ||
mcuboot_pad: | ||
address: 0x8000 | ||
end_address: 0x8200 | ||
placement: | ||
align: | ||
start: 0x4000 | ||
before: | ||
- mcuboot_primary_app | ||
region: flash_primary | ||
size: 0x200 | ||
mcuboot_primary: | ||
address: 0x8000 | ||
end_address: 0xfc000 | ||
orig_span: &id001 | ||
- app | ||
- mcuboot_pad | ||
region: flash_primary | ||
size: 0xf4000 | ||
span: *id001 | ||
mcuboot_primary_1: | ||
address: 0x0 | ||
device: nordic_ram_flash_controller | ||
end_address: 0x40000 | ||
region: ram_flash | ||
size: 0x40000 | ||
mcuboot_primary_app: | ||
address: 0x8200 | ||
end_address: 0xfc000 | ||
orig_span: &id002 | ||
- app | ||
region: flash_primary | ||
size: 0xf3e00 | ||
span: *id002 | ||
mcuboot_secondary: | ||
address: 0x0 | ||
device: DT_CHOSEN(nordic_pm_ext_flash) | ||
end_address: 0xf4000 | ||
placement: | ||
align: | ||
start: 0x4 | ||
region: external_flash | ||
share_size: | ||
- mcuboot_primary | ||
size: 0xf4000 | ||
mcuboot_secondary_1: | ||
address: 0xf4000 | ||
device: DT_CHOSEN(nordic_pm_ext_flash) | ||
end_address: 0x134000 | ||
region: external_flash | ||
size: 0x40000 | ||
mfg_storage: | ||
address: 0xff000 | ||
end_address: 0x100000 | ||
region: flash_primary | ||
size: 0x1000 | ||
otp: | ||
address: 0xff8100 | ||
end_address: 0xff83fc | ||
region: otp | ||
size: 0x2fc | ||
pcd_sram: | ||
address: 0x20000000 | ||
end_address: 0x20002000 | ||
placement: | ||
after: | ||
- start | ||
region: sram_primary | ||
size: 0x2000 | ||
ram_flash: | ||
address: 0x40000 | ||
end_address: 0x40000 | ||
region: ram_flash | ||
size: 0x0 | ||
rpmsg_nrf53_sram: | ||
address: 0x20070000 | ||
end_address: 0x20080000 | ||
placement: | ||
before: | ||
- end | ||
region: sram_primary | ||
size: 0x10000 | ||
settings_storage: | ||
address: 0xfc000 | ||
end_address: 0xfe000 | ||
placement: | ||
align: | ||
start: 0x4000 | ||
before: | ||
- end | ||
region: flash_primary | ||
size: 0x2000 | ||
sram_primary: | ||
address: 0x20002000 | ||
end_address: 0x20070000 | ||
region: sram_primary | ||
size: 0x6e000 |