Attempt to create a minimal EDK2 for Samsung Galaxy Tab E 7.0 WIFI (SM-T113NU) but should work on SM-T116 (3G variant)
Boots to UEFI Shell but buttons, eMMC, USB and delay are not working.
this EDK2 does working only on DEBUG target for now because if you compile on the RELEASE target you have a bug that causes a data abort exception to appear.
Tested on Ubuntu 22.04.
First, clone EDK2.
cd ..
git clone https://github.com/tianocore/edk2.git -b edk2-stable202408.01 --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/goyavewifi.sh" to compile or "./scripts/goyave3g.sh" to compile for goyave3g.
Then make a Image from AIK (Android Image Kitchen) and rename image-new.img to boot.img and make a tar for flash with odin.
Finally, flash it with Odin.
or use one of my releases in github (flash it with TWRP)
SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.
BootLogo is from rickliu2000's Lumia930Pkg.
Based on sonic011gamer edk2-msm8909.
SprdGpioDxe driver is from halal-beef's edk2-exynos9830.
some drivers like SprdClockDxe (WIP), SprdSdhciDxe (not working for now) and SprdI2CDxe are from U-Boot and Linux kernel
some functions from SprdSdhciDxe (like SdhciFlushBlocks) are from Mu-Silicium
ACPI Tables are from AistopGit's edk2-exynos5410.
Dominduchami for some changes for 16 Bpp FB in HtcLeoPkg which are not used but i used it for fixing framebuffer.
RadGoodNow for SprdEmmcDxe (Although it's not public, I made some adjustments for goyavewifi, but the timer is still broken.)