On 01/20/15 at 10:34 AM Ard Biesheuvel ard.biesheuvel@linaro.org wrote:
On 19 January 2015 at 17:57, Varad Gautam varadgautam@gmail.com wrote:
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/470ecd1 480 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.
Well, the point is that once the DXE phase executes, the original FD is not used anymore, so it should be safe to release that memory.
I'm going ahead with using the non-shadowing MemoryInitPeiLib implementation for BeagleBone Black. Do you plan to make it a part of ArmPlatformPkg?
Thanks, Varad