public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/6] remoteproc: add elf resource table loader
@ 2019-10-30 13:38 Fabien Dessenne
  2019-10-30 13:38 ` [U-Boot] [PATCH v2 1/6] remoteproc: elf_loader: Add elf resource table load support Fabien Dessenne
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Fabien Dessenne @ 2019-10-30 13:38 UTC (permalink / raw)
  To: u-boot

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.

Changes since v1:
-Do not fixup the DeviceTree to track the stm32 coprocessor state. Instead of
 this, use a dedicated register.

Fabien Dessenne (6):
  remoteproc: elf_loader: Add elf resource table load support
  stm32mp1: declare backup registers for coprocessor
  stm32mp1: reset coprocessor status at cold boot
  remoteproc: stm32: track the coprocessor state in a backup register
  stm32mp1: remove copro_state environment variable
  remoteproc: stm32: load resource table from firmware

 arch/arm/mach-stm32mp/cpu.c                |   7 +
 arch/arm/mach-stm32mp/include/mach/stm32.h |   9 +
 board/st/stm32mp1/stm32mp1.c               |   4 +-
 drivers/remoteproc/rproc-elf-loader.c      | 269 +++++++++++++++++++++++++++++
 drivers/remoteproc/stm32_copro.c           |  27 ++-
 include/remoteproc.h                       |  70 ++++++++
 test/dm/remoteproc.c                       |  91 ++++++++--
 7 files changed, 454 insertions(+), 23 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-01-08 20:12 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-30 13:38 [U-Boot] [PATCH v2 0/6] remoteproc: add elf resource table loader Fabien Dessenne
2019-10-30 13:38 ` [U-Boot] [PATCH v2 1/6] remoteproc: elf_loader: Add elf resource table load support Fabien Dessenne
2019-11-25 17:04   ` Patrick DELAUNAY
2019-11-26  3:14   ` Lokesh Vutla
2020-01-08 20:11   ` Tom Rini
2019-10-30 13:38 ` [U-Boot] [PATCH v2 2/6] stm32mp1: declare backup registers for coprocessor Fabien Dessenne
2019-11-25 16:54   ` Patrick DELAUNAY
2020-01-08 20:11   ` Tom Rini
2019-10-30 13:38 ` [U-Boot] [PATCH v2 3/6] stm32mp1: reset coprocessor status at cold boot Fabien Dessenne
2019-11-25 16:55   ` Patrick DELAUNAY
2020-01-08 20:11   ` Tom Rini
2019-10-30 13:38 ` [U-Boot] [PATCH v2 4/6] remoteproc: stm32: track the coprocessor state in a backup register Fabien Dessenne
2019-11-25 16:56   ` Patrick DELAUNAY
2020-01-08 20:12   ` Tom Rini
2019-10-30 13:38 ` [U-Boot] [PATCH v2 5/6] stm32mp1: remove copro_state environment variable Fabien Dessenne
2019-11-25 16:56   ` Patrick DELAUNAY
2020-01-08 20:12   ` Tom Rini
2019-10-30 13:38 ` [U-Boot] [PATCH v2 6/6] remoteproc: stm32: load resource table from firmware Fabien Dessenne
2019-11-25 16:56   ` Patrick DELAUNAY
2020-01-08 20:12   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox