Re: [PATCH v2 6/6] qemu-arm64: Enable POSITION_INDEPENDENT

2020-10-09 Thread Tom Rini
On Wed, Sep 30, 2020 at 05:39:18PM +0100, 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 writa

[PATCH v2 6/6] qemu-arm64: Enable POSITION_INDEPENDENT

2020-09-30 Thread Andre Przywara
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 poi