
On Tue, 25 Jul 2023 at 08:08, Tanmay Shah tanmay.shah@amd.com wrote:
Current remoteproc framework provides commands to start/stop remote processor. However, If remote processor is already running before U-Boot then there is no way to connect to remote processor.
Implements attach/detach commands to connect to already running remote processor. During attach operation, remoteproc framework gets resource table from remote processor using platform specific callback and then creates vdev devices and other resources accordingly.
This approach is derived from the Linux kernel remoteproc framework.
kernel version: 6.4-rc2 (d848a4819d85) file: drivers/remoteproc/remoteproc_core
Signed-off-by: Tanmay Shah tanmay.shah@amd.com
cmd/remoteproc.c | 14 +++++- drivers/remoteproc/rproc-uclass.c | 76 ++++++++++++++++++++++++++++++- include/remoteproc.h | 31 +++++++++++++ 3 files changed, 119 insertions(+), 2 deletions(-)
This seems to need an additional test.
Regards, Simon