Re: Using the Cortex M4 on IMX7D
Arnaud POULIQUEN
Hi,
This is the generic elf parser functions that are available here: https://elixir.bootlin.com/linux/latest/source/drivers/remoteproc/remoteproc_elf_loader.c Have you specified the firmware name? Here is the sequence to load a firmware from Linux user application: cp $1 /lib/firmware/ echo $1> /sys/class/remoteproc/remoteproc0/firmware echo start >/sys/class/remoteproc/remoteproc0/state with $1 is the firmware to load This function return NULL or the address of the resource table, but not return an error Do you have a kernel error message ?
This is mainly done in https://elixir.bootlin.com/linux/latest/source/drivers/remoteproc/remoteproc_elf_loader.c Regards, Arnaud
|
|