[PATCH 1/2] remoteproc: elf_loader: skip segment with memsz as zero
Sascha Hauer
s.hauer at pengutronix.de
Mon Nov 25 00:42:37 PST 2024
On Tue, 19 Nov 2024 09:56:40 +0100, Ahmad Fatoum wrote:
> Per elf specification,
> p_filesz: This member gives the number of bytes in the file image of
> the segment; it may be zero.
> p_memsz: This member gives the number of bytes in the memory image
> of the segment; it may be zero.
>
> There is a case that i.MX DSP firmware has segment with PT_LOAD and
> p_memsz/p_filesz set to zero. Such segment needs to be ignored,
> otherwize rproc_da_to_va would report error.
>
> [...]
Applied, thanks!
[1/2] remoteproc: elf_loader: skip segment with memsz as zero
https://git.pengutronix.de/cgit/barebox/commit/?id=f069a33703b9 (link may not be stable)
[2/2] remoteproc: imx: add support for loading ELF data sections into DRAM
https://git.pengutronix.de/cgit/barebox/commit/?id=31bd2c9b57a0 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list