[PATCH v1] imx: bootaux fix elf loading

sbabic at denx.de sbabic at denx.de
Fri Apr 9 13:24:53 CEST 2021

> This reverts the arch/arm/mach-imx/imx_bootaux.c changes of commit
> 805b3cac1e0c. The loader function name was changed so that it does
> not clash with the generically available function in lib/elf.c.
> imx-bootaux loads an elf file linked for an auxilary core. Thus the
> loader function requires address translation from the auxilary core's
> address space to where those are mapped into U-Boot's address space.
> So the elf loader is specific and must not be replaced with a generic
> loader which doesn't provide the address translation functionality.
> Fixes commit 805b3cac1e0c ("lib: elf: Move the generic elf
> loading/validating functions to lib")
> Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
> Acked-by: Oleksandr Suvorov <oleksandr.suvorov at toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de

More information about the U-Boot mailing list