-
Notifications
You must be signed in to change notification settings - Fork 1.5k
samples: cellular: Disable PM #28687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
nordicjm
merged 35 commits into
nrfconnect:main
from
lucasvdp:disable_pm_samples_cellular
Jun 1, 2026
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
407f307
lib: bin: lwm2m_carrier: fix DT macros
lucasvdp 09d543b
dts: common: nordic: Update nRF91 SRAM partitions
lucasvdp e7a161c
boards: nordic: thingy91x: fix typo in external flash partition
lucasvdp ad466e6
dts: samples: cellular: Add commonly used partition tables
lucasvdp 758fffc
samples: cellular: lwm2m_carrier: Disable Partition Manager
lucasvdp 45d30ac
treewide: port PGPS partition to DTS
maxd-nordic b2354af
samples: cellular: at_cliect: Update DT to use common partitions
lucasvdp 8c87fec
dfu: Full modem firmware upgrade with DTS
MarkusLassila 0ab5115
samples: cellular: gnss: Disable Partition Manager
lucasvdp 6299a74
samples: cellular: location: Disable Partition Manager
lucasvdp b8d466b
samples: cellular: modem_shell: Disable Partition Manager
lucasvdp 53d3b69
snippets: nrf91-modem-trace: add trace partition using devicetree
lucasvdp ad39d30
samples: cellular: at_monitor: Disable Partition Manager
lucasvdp c704915
samples: cellular: battery: Disable Partition Manager
lucasvdp 6853022
samples: cellular: fmfu_smp_svr: Disable Partition Manager
lucasvdp 033fc7d
samples: cellular: http_update: Disable Partition Manager
lucasvdp b135d3d
samples: cellular: lwm2m_client: Disable Partition Manager
lucasvdp e7679c8
samples: cellular: modem_callbacks: Disable Partition Manager
lucasvdp 5e89b59
samples: cellular: modem_trace_backend: Disable Partition Manager
lucasvdp fc2f8bf
samples: cellular: modem_trace_flash: Disable Partition Manager
lucasvdp 61e3cb7
samples: cellular: nidd: Disable Partition Manager
lucasvdp cdc538e
samples: cellular: nrf_cloud_coap_cell_location: Disable PM
lucasvdp 709ad31
samples: cellular: nrf_cloud_coap_device_message: Disable PM
lucasvdp 39b2a6c
samples: cellular: nrf_cloud_mqtt_cell_location: Disable PM
lucasvdp 1c73a6f
samples: cellular: nrf_cloud_mqtt_device_message: Disable PM
lucasvdp 22d7081
samples: cellular: nrf_cloud_mqtt_fota: Disable Partition Manager
lucasvdp 249c96d
samples: cellular: nrf_device_provisioning: Disable Partition Manager
lucasvdp 347b0ee
samples: cellular: pdn: Disable Partition Manager
lucasvdp 4811a25
samples: cellular: smp_svr: Disable Partition Manager
lucasvdp ad4b375
samples: cellular: sms: Disable Partition Manager
lucasvdp cf5e0d2
samples: cellular: tls_ciphersuites: Disable Partition Manager
lucasvdp e9160a5
samples: cellular: udp: Disable Partition Manager
lucasvdp 03f89f0
samples: cellular: uicc_lwm2m: Disable Partition Manager
lucasvdp 0c13ced
net: lib: lwm2m_client_utils: Allow building without Partition Manager
lucasvdp f8fca2a
samples: cellular: nrf_cloud_coap_fota: Disable Partition Manager
lucasvdp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,85 @@ | ||
| /* | ||
| * Copyright (c) 2026 Nordic Semiconductor ASA | ||
| * | ||
| * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| */ | ||
|
|
||
| /delete-node/ &boot_partition; | ||
| /delete-node/ &slot0_partition; | ||
| /delete-node/ &slot1_partition; | ||
| /delete-node/ &tfm_ps_partition; | ||
| /delete-node/ &tfm_its_partition; | ||
| /delete-node/ &tfm_otp_partition; | ||
| /delete-node/ &storage_partition; | ||
|
|
||
| &flash0 { | ||
| /* | ||
| * 0x0000_0000 MCUboot ( 64 kB) | ||
| * 0x0001_0000 Primary area (448 kB) | ||
| * 0x0001_0000 Primary secure image ( 32 kB) | ||
| * 0x0001_8000 Primary non-secure image (416 kB) | ||
| * 0x0008_0000 Secondary area (448 kB) | ||
| * 0x0008_0000 Secondary secure image ( 32 kB) | ||
| * 0x0008_8000 Secondary non-secure image (416 kB) | ||
| * 0x000f_0000 Settings storage ( 64 kB) | ||
| */ | ||
| partitions { | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
| ranges; | ||
|
|
||
| boot_partition: partition@0 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "mcuboot"; | ||
| reg = <0x00000000 0x10000>; | ||
| }; | ||
|
|
||
| slot0_partition: partition@10000 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-0"; | ||
| reg = <0x00010000 0x70000>; | ||
| ranges = <0x0 0x00010000 0x70000>; | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| slot0_s_partition: partition@0 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-0-secure"; | ||
| reg = <0x00000000 0x8000>; | ||
| }; | ||
|
|
||
| slot0_ns_partition: partition@8000 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-0-nonsecure"; | ||
| reg = <0x00008000 0x68000>; | ||
| }; | ||
| }; | ||
|
|
||
| slot1_partition: partition@80000 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-1"; | ||
| reg = <0x00080000 0x70000>; | ||
| ranges = <0x0 0x00080000 0x70000>; | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| slot1_s_partition: partition@0 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-1-secure"; | ||
| reg = <0x00000000 0x8000>; | ||
| }; | ||
|
|
||
| slot1_ns_partition: partition@8000 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-1-nonsecure"; | ||
| reg = <0x00008000 0x68000>; | ||
| }; | ||
| }; | ||
|
|
||
| storage_partition: partition@f0000 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "storage"; | ||
| reg = <0x000f0000 0x10000>; | ||
| }; | ||
| }; | ||
| }; |
|
MarkusLassila marked this conversation as resolved.
|
This file contains hidden or 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,49 @@ | ||
| /* | ||
| * Copyright (c) 2026 Nordic Semiconductor ASA | ||
| * | ||
| * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| */ | ||
|
|
||
| /delete-node/ &boot_partition; | ||
| /delete-node/ &slot0_partition; | ||
| /delete-node/ &slot1_partition; | ||
|
|
||
| &flash0 { | ||
| /* | ||
| * 0x0000_0000 Primary area (960 kB) | ||
| * 0x0000_0000 Primary secure image (384 kB) | ||
| * 0x0006_0000 Primary non-secure image (576 kB) | ||
| * | ||
| * Unchanged: | ||
| * 0x000f_0000 Protected Storage Area ( 16 KB) | ||
| * 0x000f_4000 Internal Trusted Storage Area ( 8 KB) | ||
| * 0x000f_6000 OTP / NV counters area ( 8 KB) | ||
| * 0x000f_8000 Settings storage ( 32 kB) | ||
| */ | ||
| partitions { | ||
| ranges; | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| slot0_partition: partition@0 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-0"; | ||
| reg = <0x00000000 0xf0000>; | ||
| ranges = <0x0 0x00000000 0xf0000>; | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| slot0_s_partition: partition@0 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-0-secure"; | ||
| reg = <0x00000000 0x60000>; | ||
| }; | ||
|
|
||
| slot0_ns_partition: partition@60000 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "image-0-nonsecure"; | ||
| reg = <0x00060000 0x90000>; | ||
| }; | ||
| }; | ||
| }; | ||
| }; |
92 changes: 92 additions & 0 deletions
92
dts/samples/cellular/nrf91_immutable_bootloader_partitions.dtsi
This file contains hidden or 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,92 @@ | ||
| /* | ||
| * Copyright (c) 2026 Nordic Semiconductor | ||
| * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| */ | ||
|
|
||
| /delete-node/ &boot_partition; | ||
| /delete-node/ &slot0_partition; | ||
| /delete-node/ &slot1_partition; | ||
| /delete-node/ &tfm_ps_partition; | ||
| /delete-node/ &tfm_its_partition; | ||
| /delete-node/ &tfm_otp_partition; | ||
| /delete-node/ &storage_partition; | ||
|
|
||
| &flash0 { | ||
| /* | ||
| * 0x0000_0000 B0 (NSIB) ( 32 kB) | ||
| * 0x0000_8000 Primary updatable MCUboot ( 64 kB) | ||
|
MarkusLassila marked this conversation as resolved.
|
||
| * 0x0001_8000 Secondary updatable MCUboot ( 64 kB) | ||
| * 0x0002_8000 Primary image area (416 kB) | ||
| * 0x0002_8000 Primary secure image ( 32 kB) | ||
| * 0x0003_0000 Primary non-secure image (384 kB) | ||
| * 0x0009_0000 Secundary image area (416 kB) | ||
| * 0x0009_0000 Secundary secure image ( 32 kB) | ||
| * 0x0009_8000 Secundary non-secure image (384 kB) | ||
| * 0x000f_8000 Settings storage ( 32 kB) | ||
| */ | ||
|
|
||
| partitions { | ||
| compatible = "fixed-partitions"; | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| b0_partition: partition@0 { | ||
| label = "mcuboot"; | ||
| reg = <0x00000000 0x8000>; | ||
| }; | ||
|
|
||
| s0_partition: partition@8000 { | ||
| label = "mcuboot-0"; | ||
| reg = <0x00008000 0x10000>; | ||
| }; | ||
|
|
||
| s1_partition: partition@18000 { | ||
| label = "mcuboot-1"; | ||
| reg = <0x00018000 0x10000>; | ||
| }; | ||
|
|
||
| slot0_partition: partition@28000 { | ||
| compatible = "fixed-subpartitions"; | ||
| label = "image-0"; | ||
| reg = <0x00028000 0x68000>; | ||
| ranges = <0x0 0x00028000 0x68000>; | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| slot0_s_partition: partition@0 { | ||
| label = "image-0-secure"; | ||
| reg = <0x00000000 0x8000>; | ||
| }; | ||
|
|
||
| slot0_ns_partition: partition@8000 { | ||
| label = "image-0-nonsecure"; | ||
| reg = <0x00008000 0x60000>; | ||
| }; | ||
| }; | ||
|
|
||
| slot1_partition: partition@90000 { | ||
| compatible = "fixed-subpartitions"; | ||
| label = "image-1"; | ||
| reg = <0x00090000 0x68000>; | ||
| ranges = <0x0 0x00090000 0x68000>; | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| slot1_s_partition: partition@0 { | ||
| label = "image-1-secure"; | ||
| reg = <0x00000000 0x8000>; | ||
| }; | ||
|
|
||
| slot1_ns_partition: partition@8000 { | ||
| label = "image-1-nonsecure"; | ||
| reg = <0x00008000 0x60000>; | ||
| }; | ||
| }; | ||
|
|
||
| storage_partition: partition@f8000 { | ||
| compatible = "zephyr,mapped-partition"; | ||
| label = "storage"; | ||
| reg = <0x000f8000 0x8000>; | ||
| }; | ||
| }; | ||
| }; | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this file and the one in
samples/cellular?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a small difference, in
dts\samples/cellular/nrf91_ram_partition.dtsiwe remove the old partitions first set by Zephyr. We could# include <dts/common/nordic/nrf91_partition_sram.dtsi>insidedts\samples/cellular/nrf91_ram_partition.dtsiafter removing the old ram partitions?