edk2-msm8916/README.md
2019-02-25 21:12:57 -08:00

1.2 KiB

Attempt to create a minimal EDK2 for Pixel 3 XL.

Build Status

Status

Can partially boot the Fedora 29 aarch64 kernel: there's no initrd, so the kernel panics when mounting root FS.

Since there's no internal storage support yet, use the addlinux branch to embed a Linux kernel in the UEFI firmware.

Building

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

Also see EDK2 website

Finally, ./build.sh.

Then fastboot boot uefi.img.

Credits

SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.