Skip to content

NXP imx93 cm33 enable userspace mode #93906

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yongxu-wang15
Copy link
Contributor

  1. fix imx93 m33 user space issue
  2. test pass in hello_world_user for imx93 cm33
image

This update ensures that TRDC settings are correctly applied
when user space is enabled. By default, the M33 core operates
in privileged mode.

However, when user threads are scheduled, the system transitions
to unprivileged mode. The TRDC configuration is adjusted to support
this behavior, maintaining secure and functional access control
for both privileged and unprivileged execution contexts.

Signed-off-by: Yongxu Wang <[email protected]>
Some SoCs such as iMX8ULP and iMX93 use sentinel controller
for secure system management, this change ensures the device
driver is available by default.

Signed-off-by: Yongxu Wang <[email protected]>
Added CONFIG_TRDC_MCUX_TRDC_1 to involve mcux trdc_1 driver

Signed-off-by: Yongxu Wang <[email protected]>
Copy link

@yongxu-wang15
Copy link
Contributor Author

this pr depend on another patch to sync hal_nxp into sdk 25.06, will trigger ci test if hal_nxp pr is merged, thanks. zephyrproject-rtos/hal_nxp@027a7d6

Copy link
Member

@dleach02 dleach02 left a comment

Choose a reason for hiding this comment

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

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

Successfully merging this pull request may close these issues.

5 participants