Hi, all.
There is a description about the error in imx-scu.c (/ kernel_imx / drivers / firmware / imx).
enum imx_sc_error_codes {
IMX_SC_ERR_NONE = 0, / * Success * /
IMX_SC_ERR_VERSION = 1, / * Incompatible API version * /
IMX_SC_ERR_CONFIG = 2, / * Configuration error * /
IMX_SC_ERR_PARM = 3, / * Bad parameter * /
IMX_SC_ERR_NOACCESS = 4, / * Permission error (no access) * /
IMX_SC_ERR_LOCKED = 5, / * Permission error (locked) * /
IMX_SC_ERR_UNAVAILABLE = 6, / * Unavailable (out of resources) * /
IMX_SC_ERR_NOTFOUND = 7, / * Not found * /
IMX_SC_ERR_NOPOWER = 8, / * No power * /
IMX_SC_ERR_IPC = 9, / * Generic IPC error * /
IMX_SC_ERR_BUSY = 10, / * Resource is currently busy / active * /
IMX_SC_ERR_FAIL = 11, / * General I / O failure * /
IMX_SC_ERR_LAST
};
There is a brief explanation on each line, but I would like to know more specifically.
It seems that "IMX_SC_ERR_NOACCESS" error is occurring on my board,
so I would especially like to know about "IMX_SC_ERR_NOACCESS".
What is the cause of this error?
Difference from "IMX_SC_ERR_LOCKED".
I would also like to know if there is a solution.
Solved! Go to Solution.
You need set correct access permission about the resource you want to access.
thank you for your reply.
Is it a software issue such as dts files?
Or is it a hardware issue?
Hi @sushi_happy
If you change hardware definition in mek dts, for example, reusing a new uart.Then you need change the SCU code, add serial port permissions for this new uart.
It's not hardware issue.
Thanks @Zhiming_Liu .
I have changed some dts files.
But I don't know what your "the SCU code" means.
In which file can I add serial port permissions?
Hi @sushi_happy
Please refer this article:https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Getting-s...
Hi, @Zhiming_Liu
It was helpful to change scfw.
I was able to modify scfw-tcm.bin according to that method.
By changing the pin assignment in scfw and excluding the target pin from the assignment, the error disappeared.
Thank you!