Hi folks, I'm looking at getting TianoCore/EDK2 running on a simulated SoC platform using a Cortex-A53 processor, which should bear some resemblance to SBSA. I'm a bit confused, though, about which EDK2 repo/branch would be best to use as a baseline at the moment? Also, I'm guessing OpenPlatformPkg is the way to go now for new ARM platform-specific code, rather than ArmPlatformPkg?
Cheers, Scott.
On 11 October 2016 at 12:08, Scott Telford stelford@cadence.com wrote:
Hi folks, I'm looking at getting TianoCore/EDK2 running on a simulated SoC platform using a Cortex-A53 processor, which should bear some resemblance to SBSA. I'm a bit confused, though, about which EDK2 repo/branch would be best to use as a baseline at the moment? Also, I'm guessing OpenPlatformPkg is the way to go now for new ARM platform-specific code, rather than ArmPlatformPkg?
Hello Scott,
ArmVirtPkg/ArmVirtQemu.dsc closely resembles an actual platform, in the sense that it implements all PI phases (including PEI, which many ARM platforms do not implement) and uses [emulated] NOR flash to back the variable store. It does contain quite a few dynamic PCDs to store values obtained from the Device Tree, where bare metal would have compile time constants (i.e., fixed PCDs in EDK2 speak)
So I think this is a reasonable starting point in terms of coverage and adherence to PI and UEFI rules and best practices.
Regards, Ard.