[PATCH v6] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

Tom Rini trini at konsulko.com
Thu Mar 7 13:46:12 CET 2024


On Wed, Feb 28, 2024 at 05:36:45PM +0530, MD Danish Anwar wrote:
> Add APIs to set a firmware_name to a rproc and boot the rproc with the

> same firmware.
> 
> Clients can call rproc_set_firmware() API to set firmware_name for a rproc
> whereas rproc_boot() will load the firmware set by rproc_set_firmware() to
> a buffer by calling request_firmware_into_buf(). rproc_boot() will then
> load the firmware file to the remote processor and start the remote
> processor.
> 
> Also include "fs-loader.h" and make remoteproc driver select FS_LOADER in
> Kconfig so that we can call request_firmware_into_buf() from remoteproc
> driver.
> 
> Signed-off-by: MD Danish Anwar <danishanwar at ti.com>
> Acked-by: Ravi Gunasekaran <r-gunasekaran at ti.com>
> Reviewed-by: Roger Quadros <rogerq at kernel.org>

This breaks building on am64x_evm_r5 am65x_evm_r5_usbdfu
am65x_evm_r5_usbmsc in next currently, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240307/d8e5f006/attachment.sig>


More information about the U-Boot mailing list