[PATCH v2 2/2] armv7: Add Position Independent Execution support

Tom Rini trini at konsulko.com
Fri Sep 3 00:41:27 CEST 2021


On Tue, Aug 03, 2021 at 10:50:10AM +0800, Chia-Wei Wang wrote:

> A U-Boot image could be loaded and executed at a different
> location than it was linked at.
> 
> For example, Aspeed takes a stable release version of U-Boot image
> as the golden one for recovery purposes. When the primary storage
> such as flash is corrupted, the golden image would be loaded to any
> SRAM/DRAM address on demands through ethernet/UART/etc and run for
> rescue.
> 
> To deal with this condition, the PIE is needed as there is only one
> signed, golden image, which could be however executed at different
> places.
> 
> This patch adds the PIE support for ARMv7 platform.
> 
> Signed-off-by: Chia-Wei Wang <chiawei_wang at aspeedtech.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210902/fcc1516b/attachment.sig>


More information about the U-Boot mailing list