Re: Using the Cortex M4 on IMX7D
Michael Graichen
Am 26.02.21 um 18:06 schrieb Arnaud POULIQUEN:
Hi,-----Original Message-----The Linux remoteproc framework allows you to load a firmware without a resource table. Hey Arnaud, Thanks for your reply. I've seen that stm32_rproc driver has additionally functions within static const struct rproc_ops st_rproc_ops https://elixir.bootlin.com/linux/v5.11.2/source/drivers/remoteproc/stm32_rproc.c#L544 especially .parse_fw = stm32_rproc_parse_fw, within the plain rproc driver rproc->ops->parse_fw = rproc_elf_load_rsc_table is registerd within "static int rproc_alloc_ops()" https://elixir.bootlin.com/linux/v5.11.2/source/drivers/remoteproc/remoteproc_core.c#L2202 and is called by doing the "echo start" command. https://elixir.bootlin.com/linux/v5.11.2/source/drivers/remoteproc/remoteproc_elf_loader.c#L359 but fails after the find_table() function. so if i just skip that for a test in https://elixir.bootlin.com/linux/v5.11.2/source/drivers/remoteproc/remoteproc_core.c#L1464, does that take me over the point? I can not see the code where rproc actually "loads" the firmware to the M4? best regards and a great weekend Michael
|
|