Attempt to create a minimal EDK2 for SM8250 (Transplanted from Pixel3XL).
Boot Windows10 PE is stuck in the logo
Boot Linux must add kernel parameters:clk_ignore_unused
Tested on Ubuntu 18.04.
First, clone EDK2.
cd ..
git clone https://github.com/tianocore/edk2.git --recursive
git clone https://github.com/tianocore/edk2-platforms.git
You should have all three directories side by side.
Next, install dependencies:
18.04:
sudo apt install build-essential uuid-dev iasl git nasm python3-distutils gcc-aarch64-linux-gnu abootimg
Also see EDK2 website
Finally, ./build.sh.
Then fastboot boot boot_uefi.img.
SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.