aarch64: add ability to generate image header

Image header is compatible with Linux aarch64 boot protocol,
so zephyr can be booted with U-boot or Xen loader.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
This commit is contained in:
Volodymyr Babchuk 2020-11-19 22:42:40 +02:00 committed by Anas Nashif
commit cd86ec2655
4 changed files with 55 additions and 0 deletions

View file

@ -107,6 +107,12 @@ SECTIONS
#ifndef CONFIG_XIP
z_mapped_start = .;
#endif
#ifdef CONFIG_AARCH64_IMAGE_HEADER
KEEP(*(.image_header))
KEEP(*(".image_header.*"))
#endif
_vector_start = .;
KEEP(*(.exc_vector_table))
KEEP(*(".exc_vector_table.*"))