Home
last modified time | relevance | path

Searched hist:"9177 e4fd9356b0f249be8b6fe14f222e10f1e6cd" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/arm/board/arm_fpga/
H A Dbuild_axf.ld.S9177e4fd9356b0f249be8b6fe14f222e10f1e6cd Fri Aug 20 15:23:23 UTC 2021 Andre Przywara <andre.przywara@arm.com> fix(arm_fpga): streamline generated axf file

For convenience we let the build system generate an ELF file (named
bl31.axf), containing all the trampolines, BL31 code and the DTB in one
file. This can be fed directly into the FPGA payload tool, and it will
load the bits at the right addresses.
Since this ELF file is more used as a "container with load addresses",
there is no need for normal ELF features like alignment or a symbol
table.

Remove unnecessary sections from that output file, by doing a static
"link", dropping the NOBITS stacks section, and by adding "-n" to the
linker command line (to avoid page alignment). This trims the generated
.axf file, and makes it smaller.

Change-Id: I5768543101d667fb4a3b70e60b08cfe970d2a2b6
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
H A Dplatform.mk9177e4fd9356b0f249be8b6fe14f222e10f1e6cd Fri Aug 20 15:23:23 UTC 2021 Andre Przywara <andre.przywara@arm.com> fix(arm_fpga): streamline generated axf file

For convenience we let the build system generate an ELF file (named
bl31.axf), containing all the trampolines, BL31 code and the DTB in one
file. This can be fed directly into the FPGA payload tool, and it will
load the bits at the right addresses.
Since this ELF file is more used as a "container with load addresses",
there is no need for normal ELF features like alignment or a symbol
table.

Remove unnecessary sections from that output file, by doing a static
"link", dropping the NOBITS stacks section, and by adding "-n" to the
linker command line (to avoid page alignment). This trims the generated
.axf file, and makes it smaller.

Change-Id: I5768543101d667fb4a3b70e60b08cfe970d2a2b6
Signed-off-by: Andre Przywara <andre.przywara@arm.com>