Re: [PATCH 1/2] remoteproc: elf_loader: skip segment with memsz as zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux