Hi,
I need to dump the register values on console of IMX8M Mini Registers, In one of our thirty party library we are seeing kernel panic, but the register dump is not shown on console output.
Could you please let me know the command to read all register values on console output.
Thank you, Sreedhar
Dear Sreedhar A,
You can try to use memtool, which is included in imx-test package. The following post already gives an explanation regarding this tool. Please check it out:
https://community.nxp.com/thread/450782
Please have in mind that not all memory addresses are supported for reading and writing.
Best regards,
Ruben
Hi Ruben Charles,
I want to read the register values as well. like for example I want to read the X7 register value.
Can you please tell me how this can be achieved.
Thank you, Sreedhar
Dear Sreedhar A,
Besides the memtool, you could use a JTAG device for scan the registers of the processor. As prompting the values of the registers in console is not a task that the processor can handle during normal execution.
Best regards,
Ruben