summaryrefslogtreecommitdiff
path: root/configs/intip_defconfig
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2019-11-28 15:56:21 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-12-23 10:30:21 +0100
commit694e2136eefc2d110f44b26218c03e44a1e88235 (patch)
tree29dac6daec4e02040793bdb85ee52ae830fd659f /configs/intip_defconfig
parentbc138ed0a86f0ca8f870c419955f07f3f21b7dfa (diff)
Currently imx-specific bootaux command doesn't support ELF format firmware for Cortex-M4 core. This patches introduces a PoC implementation of handling elf firmware (load_elf_image_phdr() was copy-pasted from elf.c just for PoC). This has the advantage that the user does not need to know to which address the binary has been linked to. However, in order to handle and load the elf sections to the right address, we need to translate the Cortex-M4 core memory addresses to primary/host CPU memory addresses (Cortex A7/A9 cores). This allows to boot firmwares from any location with just using bootaux, e.g.: > tftp ${loadaddr} hello_world.elf && bootaux ${loadaddr} Similar translation table can be found in the Linux remoteproc driver [1]. [1] https://elixir.bootlin.com/linux/latest/source/drivers/remoteproc/imx_rproc.c Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (submitted upstream https://patchwork.ozlabs.org/patch/1202074/)
Diffstat (limited to 'configs/intip_defconfig')
0 files changed, 0 insertions, 0 deletions