Skip to content

gesangtome/edk2-nx627j

 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • C 76.4%
  • Shell 6.0%
  • SWIG 3.9%
  • Python 2.9%
  • Assembly 2.3%
  • Pawn 2.0%
  • Other 6.5%