Anyone can provide a detailed code example of how to use this RPC protocol, to communicate from the Ax cores/Linux to SCFW or the cores that own a resource I want, to get access to that resource...?
Can I do / use The Resource Management (RM) API" this way, through RPC ..?
Does this only work at kernel level, and then needs a user-space client, like scfw_cli app...?
I don't understand how scfw_cli app works, can it invoke Any of those SCFW APi calls ..? Can it do the RM stuff...? Example please ..??
also, where is the document "System Controller Firmware Command Line Utility for Linux and QNX"?
The links all still point to "https://source.codeaurora.org/external/imxsupport/scfw_cli/"
Posting links to the SCFW porting guide is not a reasonable answer to the questions. At least tell people that there is currently NO solution to user space SCFW register access unless YOU write a device driver yourself (and the user space app that uses it). I would love to read the pad/mux register to verify the settings, but no such luck.
I have read the porting guide and it is not helpful to someone who wants to possibly write a driver to set/get values for development mode.
Yeah, no offensive, but I have to say, it is really pity that the document is too poor for this scfw api.
It seems there are so many pdf/html, but just a full list plain text, without any useful info
You could download the SCFW porting kit from here. There is source code and the documentation in the porting kit.
Yes, I got it, and seems you have to modify Linux kernel to allow user-space app to use the SC services ...
Also no clear example how to, for example, ask resource owner to use it from another domain .?
Maybe this one more useful for you.