[PATCH 5/5] qemu-arm64: Enable POSITION_INDEPENDENT

Stephen Warren swarren at wwwdotorg.org
Thu Sep 24 22:25:22 CEST 2020


On 9/23/20 6:17 PM, Andre Przywara wrote:
> Now that PIE works when U-Boot is started from ROM, let's enable
> CONFIG_POSITION_INDEPENDENT, which allows to load U-Boot also via
> ARM Trusted-Firmware's fip.bin to DRAM, without tweaking the
> configuration.
> 
> To get a writable initial stack, we need to keep the fixed initial
> stack pointer, which points to DRAM in our case.

Patches 1,2,5:
Reviewed-by: Stephen Warren <swarren at nvidia.com>

I guess we'll need to add/modify a patch to re-enable STATIC_RELA.


More information about the U-Boot mailing list