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:
parent
7191b64c6f
commit
cd86ec2655
4 changed files with 55 additions and 0 deletions
|
@ -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.*"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue