>> Your board are using the UART2 for M core?
I'm not entirely certain how the core ownership is configured on this platform, but based on the imx95-iwg61m.dtsi file, UART2 is commented as // M33 UART , which suggests that it may be allocated to the M core (Cortex-M33).
If that’s the case, I assume the UART2 peripheral might be under the control of the M core, and that could explain the issue when the A core tries to configure or access it.
Could you please confirm if UART2 is reserved for the M core by default in this SoC? If so, I’d like to understand the proper method to reassign or release it for use by the A core. Is it done via SCMI resource partitioning or any specific firmware configuration?
For reference, during kernel boot, I'm getting the following error:
i have already shared the error snippet while kernel is starting that
scmi-pinctrl scmi_dev.6: Error parsing config -13
scmi-pinctrl scmi_dev.6: pin_config_set op failed for pin 119
fsl-lpuart 44390000.serial: Error applying setting, reverse things back
Internal error: synchronous external abort: 0000000096000010 [#1] PREEMPT SMP
This seems to point toward either access permission issues or improper ownership configuration.
>>What boards are you using?
I am using iwave i.MX 95 SMARC SOM