[PATCH v3 0/4] kvx: add elf bootm support

Clement Leger cleger at kalray.eu
Tue Jun 30 16:43:58 EDT 2020


This serie adds support for elf bootm support on KVX architecture.
First patches are allowing to build elf support for KVX and then bootm
support is added to KVX.

Changes from v2 -> v3:
 - Rename sync_icache_dcache to sync_caches_for_execution
 - Keep COMPILE_TEST support for ELF

Changes from v1 -> v2:
 - Remove D-cache invalidation
 - Reword first patch commit message

Clement Leger (4):
  common: bootm: allow building with an undefined IH_ARCH
  common: Kconfig: remove MIPS dependency for ELF
  kvx: add I-cache and D-cache synchronisation
  kvx: add support for elf loading using bootm

 arch/kvx/Kconfig                   |   5 ++
 arch/kvx/configs/generic_defconfig |   3 +-
 arch/kvx/include/asm/bootm.h       |  11 +++
 arch/kvx/include/asm/cache.h       |  18 ++++
 arch/kvx/include/asm/elf.h         |   3 +
 arch/kvx/lib/Makefile              |   2 +-
 arch/kvx/lib/bootm.c               | 133 +++++++++++++++++++++++++++++
 common/Kconfig                     |   1 -
 common/bootm.c                     |   2 +-
 include/image.h                    |   2 +
 10 files changed, 176 insertions(+), 4 deletions(-)
 create mode 100644 arch/kvx/include/asm/bootm.h
 create mode 100644 arch/kvx/include/asm/cache.h
 create mode 100644 arch/kvx/lib/bootm.c

-- 
2.17.1




More information about the barebox mailing list