On 01/19/15 at 05:33 PM Ard Biesheuvel ard.biesheuvel@linaro.org wrote:
The current ARM port in Tianocore does not deal very well with a flash device in RAM. It assumes you are shadowing from flash if it detects that PrePi is running from RAM.
I hit something similar here https://git.linaro.org/people/ard.biesheuvel/uefi-next.git/commit/470ecd1480 880a80bbb29077a22a3e640d9633f7
So how do you load the UEFI image?
I'm using U-Boot's SPL as the primary loader which places UEFI image at 0x80800000, making this set of addresses unavailable to the OS loader.
Would exempting this shadowed memory from initial allocation to let the kernel decompress someplace else and takeover the entire RAM work?
Thanks, Varad