-
Notifications
You must be signed in to change notification settings - Fork 8k
boards: nordic: Add initial support for nRF54LM20A/ns #95743
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
base: main
Are you sure you want to change the base?
Conversation
Hello @degjorva, and thank you very much for your first pull request to the Zephyr project! |
e89c955
to
f0d3588
Compare
boards/nordic/nrf54lm20dk/nrf54lm20dk_nrf54lm20a_cpuapp_ns.yaml
Outdated
Show resolved
Hide resolved
boards/nordic/nrf54lm20dk/nrf54lm20dk_nrf54lm20a_cpuapp_ns_defconfig
Outdated
Show resolved
Hide resolved
boards/nordic/nrf54lm20dk/nrf54lm20dk_nrf54lm20a_cpuapp_ns_defconfig
Outdated
Show resolved
Hide resolved
f0d3588
to
7211cba
Compare
7211cba
to
6b7a843
Compare
/* Get a node label for wi-fi spi to use in shield files */ | ||
wifi_spi: &spi22 {}; |
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.
Maybe move it from nrf54lm20dk_nrf54lm20a_cpuapp.dts
to nrf54lm20dk_nrf54lm20a-common.dtsi
?
6b7a843
to
b4c8e67
Compare
}; | ||
}; | ||
}; | ||
/* TF-M partitions are defined in the NS board DTS file */ |
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.
comment not needed and doesn't even apply to secure board target
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.
Removed
&bt_hci_controller { | ||
status = "disabled"; | ||
}; | ||
|
||
&uart30 { | ||
/* Disable so that TF-M can use this UART */ | ||
status = "disabled"; | ||
}; |
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.
why can't these definitions be moved from the common file to the normal cpuapp file so that they don't need to be disabled here?
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.
Fixed
zephyr,entropy = &psa_rng; | ||
}; | ||
|
||
/delete-node/ rng; |
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.
as other comment
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.
Fixed
/* nRF54LM20A has 2036 kB of non-volatile memory (RRAM) but the last | ||
* 96 kB are reserved for the FLPR MCU. |
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.
no, no no no, we agreed not to do this again @carlescufi
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.
Right this comment contains no useful information. What did we agree not to do, with who, when, where? What is supposed to be done differently? Why? How is it supposed to be done instead? Where was that added as a requirement for the implementation of TF-m?
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.
no flpr reservation in normal builds without flpr, use full RRAM for application core
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.
That will mean the upstream TF-m flash map will cover the entire RRAM as well. I am no expert on the FLPR, but won't that cause issues with the reserved memory?
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.
@tomi-font for comment, for non-TF-M i.e. the normal cpuapp it has no impact from TF-M
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 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.
should a flpr section be removed from the end of NVM in the TF-M images i.e. is that what has been done with the upstream TF-M partition file?
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.
In upstream TF-m we use the layout that is shown in this PR, it is the layout we have used for all 54L-series devices. As far as I can understand from how dts works that is also how it needs to be due to the FLPR core, but I could be wrong. I checked with @Vge0rge which did not have any more information.
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.
Since no one knows I will stick with this here and create a follow up task to investigate what the correct solution is in regards to the FLPR sections and if they are not needed to remove them from all 54L devices. @Vge0rge @tomi-font @nordicjm
/* nRF54LM20A has 2036 kB of non-volatile memory (RRAM) but the last | ||
* 96 kB are reserved for the FLPR MCU, so we have ~1940 kB available. | ||
*/ |
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.
as above, no
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.
Same as above
b4c8e67
to
ac7bc67
Compare
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
ac7bc67
to
b1ae931
Compare
b1ae931
to
86a9349
Compare
Rebase |
Update commit id for trusted-firmware-m to bring in support for nRF54LM20A/ns. Signed-off-by: Dag Erik Gjørvad <[email protected]>
Add board files for nRF54LM20A/ns. Update existing nRF54LM20A board files to support this. Signed-off-by: Dag Erik Gjørvad <[email protected]>
86a9349
to
7a81439
Compare
|
Add board files for nRF54LM20A/ns.
Update existing nRF54LM20A board files to support this.