From mboxrd@z Thu Jan 1 00:00:00 1970 From: Edgar E. Iglesias Date: Fri, 4 Sep 2020 11:07:46 +0200 Subject: [PATCH v2 0/3] arm64: Large PIE fixes Message-ID: <20200904090749.4067768-1-edgar.iglesias@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: "Edgar E. Iglesias" This fixes some builds issues with large (> 1MB) PIE U-boot setups. We also document the 4K aligned load address requirement and add an early run-time check for it. Thanks, Edgar ChangeLog: v1 -> v2: * Fix adr of _start in arch/arm/lib/crt0_64.S * Add early check and bail out into a WFI loop when not 4K aligned * Document the 4K alignement requirement in Kconfig Edgar E. Iglesias (3): arm64: Mention 4K aligned load addresses in the PIE Kconfig help arm64: Bail out PIE builds early if load address is not 4K aligned arm64: Add support for larger PIE U-boot arch/arm/Kconfig | 3 +++ arch/arm/cpu/armv8/start.S | 23 +++++++++++++++++++++-- arch/arm/lib/crt0_64.S | 3 ++- 3 files changed, 26 insertions(+), 3 deletions(-) -- 2.25.1