[RFC PATCH 07/10] remoteproc: add attach/detach commands

Simon Glass sjg at chromium.org
Thu Jul 27 02:50:17 CEST 2023


On Tue, 25 Jul 2023 at 08:08, Tanmay Shah <tanmay.shah at 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 at 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


More information about the U-Boot mailing list