sonic011gamer / edk2-msm8909

Not useful yet. Attempt to port EDK2.
3 stars 4 forks source link

Attempt to create a minimal EDK2 for some MSM8909 devices

Status

Boots to EFI shell, eMMC is working, the memory map is from WP target, ACPI from Lumia 650.

Building

Tested on Ubuntu 22.04.

First, clone EDK2.

cd ..
git clone https://github.com/tianocore/edk2.git -b edk2-stable202405--recursive
git clone https://github.com/tianocore/edk2-platforms.git

You should have all three directories side by side.

Next, install dependencies:

20.04 or later:

sudo apt install build-essential uuid-dev iasl git nasm python3-distutils crossbuild-essential-armel

Also see EDK2 website

Then ./scripts/firstrun.sh

Finally, you can use one of the device scripts in the scripts folder to build your bootimg/thing.

Then fastboot boot uefi.img from lk2nd.

Credits

SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.