[U-Boot] [PATCH 0/5] remoteproc: add elf resource table loader

Fabien Dessenne fabien.dessenne at st.com
Wed Oct 9 15:36:24 UTC 2019


Add some helpers that can be called by the drivers to load the firmware
resource table from an elf32 / elf64 image.
The stm32 remoteproc driver makes use of it, to load the resource table before
the elf image itself.

This series applies on top of the "remoteproc: Add support for R5F and DSP
processors" series [1] proposed by Lokesh Vutla which introduces the elf64
support.

[1]: https://patchwork.ozlabs.org/project/uboot/list/?series=128946

Fabien Dessenne (5):
  remoteproc: elf_loader: Add elf resource table load support
  stm32mp1: declare backup register for copro resource table address
  remoteproc: stm32: load resource table from firmware
  stm32mp1: Fixup the Linux DeviceTree with coprocessor information
  remoteproc: stm32: invert the is_running() return value

 arch/arm/mach-stm32mp/include/mach/stm32.h |   1 +
 board/st/stm32mp1/stm32mp1.c               |  16 +-
 drivers/remoteproc/rproc-elf-loader.c      | 269 +++++++++++++++++++++++++++++
 drivers/remoteproc/stm32_copro.c           |  17 +-
 include/remoteproc.h                       |  70 ++++++++
 test/dm/remoteproc.c                       |  91 ++++++++--
 6 files changed, 448 insertions(+), 16 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list