dreemurrs-embedded / edk2-lavender

Attempting to create EDK2 for Redmi Note 7

Home Page:https://discord.gg/AvtdRJ3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EDK2 for Xiaomi Redmi Note 7.

Based on fxsheep's port for Xiaomi Mi 6 (sagit) (https://github.com/fxsheep/edk2-sagit/).

Status

What works:

  • Display
  • UEFI Shell

What does not work:

  • Clocks
  • eMMC (SdccDxe requires Clocks) ...

Anyway, if anyone is willing to help, please join our Discord server DanctNIX.

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 abootimg

Also see EDK2 website

Finally, ./build.sh.

Then fastboot flash boot uefi.img.

Credits

This is based on fxsheep's Mi6 port, which is based on zhuowei's edk2-pixel3.
SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.
Special thanks to @lemon1ice and @imbushuo for guidance.

About

Attempting to create EDK2 for Redmi Note 7

https://discord.gg/AvtdRJ3


Languages

Language:C 83.5%Language:C++ 7.6%Language:Pawn 6.5%Language:Assembly 1.9%Language:Shell 0.4%