Dear Jorge,
Thank you for your prompt response.
Though I am trying to configure and evaluate the iMX95 system, the question is also relevant to other iMX9 SoCs, such as iMX94.
Following your idea of reviewing the imx-sm code, in imx-sm/sm/utilities/monitor/monitor_cmds.c, the MONITOR_Dispatch function includes the "static string const cmds[]" available.
Then for every command there is a corresponding function, e.g. MONITOR_CmdReason.
There are several commands, such as "reason" that are straightforward but many others should require to fully analyze, even the parameters to enter.
For example, "cpu.w" will call MONITOR_CmdCtrl.
I am wondering why is not available information about parameterization of all these SM functions.
cpu.r => read mode status for all SoC cores (args not used)
ctrl.w controls the RUN/SLEEP state of cores, how? which are the arguments?
it is very difficult to understand (reverse engineering) the parameterization from the given source code
and if ctrl.w changes the SoC's cores states, what is the cpu.w purpose then?
Thank you for your prompt response.
Though I am trying to configure and evaluate the iMX95 system, the question is also relevant to other iMX9 SoCs, such as iMX94.
Following your idea of reviewing the imx-sm code, in imx-sm/sm/utilities/monitor/monitor_cmds.c, the MONITOR_Dispatch function includes the "static string const cmds[]" available.
Then for every command there is a corresponding function, e.g. MONITOR_CmdReason.
There are several commands, such as "reason" that are straightforward but many others should require to fully analyze, even the parameters to enter.
For example, "cpu.w" will call MONITOR_CmdCtrl.
I am wondering why is not available information about parameterization of all these SM functions.
cpu.r => read mode status for all SoC cores (args not used)
ctrl.w controls the RUN/SLEEP state of cores, how? which are the arguments?
it is very difficult to understand (reverse engineering) the parameterization from the given source code
and if ctrl.w changes the SoC's cores states, what is the cpu.w purpose then?
As mentioned, it would be required that NXP provides more information regarding these commands to fully use the system manager command line.
Kind regards, Alfredo.