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

Anwar, Md Danish a0501179 at ti.com
Mon Mar 11 06:04:56 CET 2024



On 3/7/2024 6:16 PM, Tom Rini wrote:
> 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.
> 
I will work on fixing this build error and re-spin the patch.

-- 
Thanks and Regards,
Md Danish Anwar


More information about the U-Boot mailing list