Skip to content
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

[nrf fromlist] boards: nordic: nrf54l20pdk: Increase RAM,Flash on FLPR #2629

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nordic-segl
Copy link
Contributor

Increase SRAM and RRAM available for FLPR core on nRF54L20.
Increase both memories from 64k to 96 as it's on L15.
L20 has more memory than L15.
Currently, some tests/samples doesn't fit.

manifest-pr-skip

@nordic-segl nordic-segl requested review from mstasiaknordic, kl-cruz, anangl and a team March 18, 2025 07:35
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 18, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl
Copy link
Contributor Author

Current partitioning is

RRAM: 0x0 - 0x1FD000; size 0x1FD000 (2036 KB)
 // APP:
      0x0 - 0x1ed000; size 0x1ed000 (1972k) APP RRAM

      0x0 -  0x10000; size  0x10000   (64k) boot_partition
  0x10000 -  0x80400; size  0x70400  (449k) slot0_partition
  0x80400 -  0xf0800; size  0x70400  (449k) slot0_ns_partition
  0xf0800 - 0x160c00; size  0x70400  (449k) slot1_partition
 0x160c00 - 0x1d1000; size  0x70400  (449k) slot1_ns_partition
 0x1d1000 - 0x1ed000; size  0x1C000  (112k) ???
 // FLPR:
 0x1ed000 - 0x1FD000; size  0x10000   (64k) FLPR RRAM / cpuflpr_code_partition


SRAM: 0x20000000 - 0x20080000; size 0x80000 (512 KB)

0x20000000 - 0x2006fc00; size 0x6fc00 (447k) APP SRAM
0x2006fc00 - 0x2007fc00; size  0x10000 (64k) cpuflpr_sram_code_data
0x2007fc00 - 0x20080000; size    0x400  (1k) ???

@nordic-segl
Copy link
Contributor Author

nordic-segl commented Mar 18, 2025

Partitioning after this PR is merged:

RRAM: 0x0 - 0x1FD000; size 0x1FD000 (2036 KB)
 // APP:
      0x0 - 0x1e5000; size 0x1e5000 (1940k) APP RRAM

      0x0 -  0x10000; size  0x10000   (64k) boot_partition
  0x10000 -  0x80400; size  0x70400  (449k) slot0_partition
  0x80400 -  0xf0800; size  0x70400  (449k) slot0_ns_partition
  0xf0800 - 0x160c00; size  0x70400  (449k) slot1_partition
 0x160c00 - 0x1d1000; size  0x70400  (449k) slot1_ns_partition
 0x1d1000 - 0x1e5000; size  0x14000  (80) ???
 // FLPR:
 0x1e5000 - 0x1FD000; size  0x18000   (96k) FLPR RRAM / cpuflpr_code_partition


SRAM: 0x20000000 - 0x20080000; size 0x80000 (512 KB)

0x20000000 - 0x20067c00; size 0x67C00 (415k) APP SRAM
0x20067c00 - 0x2007fc00; size 0x18000  (96k) cpuflpr_sram_code_data
0x2007fc00 - 0x20080000; size   0x400   (1k) Reserved for VPR context

nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 18, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7216_Increase-RAM-Flash-on-nRF54L20-FLPR branch from 3f337ca to 4ad2057 Compare March 18, 2025 11:02
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 18, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7216_Increase-RAM-Flash-on-nRF54L20-FLPR branch from 4ad2057 to 9831a2f Compare March 18, 2025 11:09
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 18, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 18, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7216_Increase-RAM-Flash-on-nRF54L20-FLPR branch from 9831a2f to 26818b7 Compare March 19, 2025 06:58
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 19, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7216_Increase-RAM-Flash-on-nRF54L20-FLPR branch 2 times, most recently from 24e0d80 to 3f41c5f Compare March 20, 2025 09:41
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 20, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 20, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7216_Increase-RAM-Flash-on-nRF54L20-FLPR branch from 3f41c5f to 4edfa87 Compare March 20, 2025 10:47
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 20, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7216_Increase-RAM-Flash-on-nRF54L20-FLPR branch from 4edfa87 to 3313d3c Compare March 20, 2025 13:11
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 20, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7216_Increase-RAM-Flash-on-nRF54L20-FLPR branch from 3313d3c to 514328e Compare March 21, 2025 07:43
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 21, 2025
Include sdk-zephyr from PR:
nrfconnect/sdk-zephyr#2629

Align Partition Manager configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Increase SRAM and RRAM available for FLPR core on nRF54L20.
Increase both memories from 64k to 96k as it's on L15.
L20 has more memory than L15.
Currently, some tests/samples doesn't fit.

Upstream PR #: 87391

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7216_Increase-RAM-Flash-on-nRF54L20-FLPR branch from 514328e to 545eb76 Compare March 27, 2025 08:54
@@ -10,7 +10,7 @@ toolchain:
- xtools
- zephyr
sysbuild: true
ram: 512
ram: 415
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main branch without FLPR snippet: 512k - 64k -1k = 447k
if FLPR gets 96k: 512k - 96k - 1k = 415k

};

/* 0x20067c00 - 0x20080000; size 0x400 (1k): Reserved for VPR context */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo:
/* 0x2007fc00 - 0x20080000; size 0x400 (1k): Reserved for VPR context */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants