Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.78 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.78 KB

Attempt to create a minimal EDK2 for nubia NX627J

Build status

jenkins:Build Status

Status

2020-05-01: Currently able to enter the EDK2 UEFI SHELL interface.

2020-05-01: Using Fedora server aarch64 test, the result is: the terminal prompts "Exiting tboot service and install virtual address map..." to stop here.

2020-05-20: Now it still doesn't work, stay at printing edk2 firmware version, Can not get any useful logs buff!

2020-05-21: There is output information, but it is stuck somewhere, I think it is the log printed by ArmMmuLibCore.c, but it is not clear how to fix it.

Building

Tested on Fedora Workstation

First, clone EDK2.

cd ..
git clone https://github.com/edk2-porting/edk2.git --recursive
git clone https://github.com/edk2-porting/edk2-platforms.git

You should have all three directories side by side.

Next, install dependencies:

Fedora:

sudo dnf install  libuuid-devel iasl git nasm gcc-aarch64-linux-gnu abootimg

Also see EDK2 website

Finally, ./build.sh.

Then fastboot flash boot ${UEFI IMAGE NAME}. (Please backup the boot partition first)

Credits

SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.

Referenced some code and commits from fxsheep's XiaomiMI6Pkg.

Referenced some code and commits from NekokeCore's XiaomiMI8Pkg.

Referenced some code and commits from rupansh's beryllium.