Hi,

> From: Fabien DESSENNE <fabien.desse...@st.com>
> Sent: vendredi 31 mai 2019 15:12
> 
> The current implementation supports only binary file load.
> Add helpers to support ELF32 format (sanity check, and load).
> Note that since an ELF32 image is built for the remote processor, the load 
> function
> uses the device_to_virt ops to translate the addresses.
> Implement a basic translation for sandbox_testproc.
> 
> Add related tests. Test result:
> => ut dm remoteproc_elf
> Test: dm_test_remoteproc_elf: remoteproc.c
> Test: dm_test_remoteproc_elf: remoteproc.c (flat tree)
> Failures: 0
> 
> Signed-off-by: Loic Pallardy <loic.palla...@st.com>
> Signed-off-by: Fabien Dessenne <fabien.desse...@st.com>
> ---
>  drivers/remoteproc/Makefile           |   2 +-
>  drivers/remoteproc/rproc-elf-loader.c | 106 +++++++++++++++++++++++++++++
> drivers/remoteproc/sandbox_testproc.c |  19 ++++++
>  include/remoteproc.h                  |  30 ++++++++-
>  test/dm/remoteproc.c                  | 122
> ++++++++++++++++++++++++++++++++++
>  5 files changed, 275 insertions(+), 4 deletions(-)  create mode 100644
> drivers/remoteproc/rproc-elf-loader.c
> 

Applied to u-boot-stm32/master, thanks!

Patrick
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to