Attempt to create a minimal EDK2 for Samsung Galaxy Grand Neo (baffinlite)
Boots to MMU init
Tested on Ubuntu 22.04.
First, clone EDK2.
cd ..
git clone https://github.com/tianocore/edk2.git -b edk2-stable202305 --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, "./scripts/baffinlite.sh" to compile.
Then make a Image from AIK (Android Image Kitchen) and rename image-new.img to boot.img and make a tar for odin.
Finally, flash it with Odin.
SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.
Based on sonic011gamer edk2-msm8909.