Go to file
2021-07-02 16:29:18 +08:00
device_specific Added support for beryllium 2021-07-02 16:29:18 +08:00
sdm845Pkg Remove unnecessary files 2021-07-02 16:29:18 +08:00
.gitattributes Create .gitattributes 2021-07-02 16:29:18 +08:00
.gitignore allow upload efi files 2021-07-02 16:29:18 +08:00
build.sh Added support for beryllium 2021-07-02 16:29:18 +08:00
README.md today is sunny 2021-07-02 16:29:18 +08:00

EDK2 UEFI Firmware For Snapdragon 845 (sdm845)

Attempt to create a normal EDK2 for Snapdragon 845 platform.

Pull requests for new devices and device tree or ACPI fixes are welcomed!

Github Github

Resources

Telegram group for edk2-porting

Discord group for general discussion

@Sophon on Coolapk for QQ group.

Dependencies

Ubuntu 18.04:

sudo apt update
sudo apt install build-essential uuid-dev iasl git nasm python3-distutils gcc-aarch64-linux-gnu abootimg

Ubuntu 20.04 is also proved to be fine.

Building

1.Clone edk2 and edk2-platforms (Place three directories side by side.)

edk2:

commit:3a3713e62cfad00d78bb938b0d9fb1eedaeff314

edk2-platforms:

commit:cfdc7f907d545b14302295b819ea078bc36c6a40
mkdir workspace-edk2
cd workspace-edk2
git clone https://github.com/tianocore/edk2.git -o 3a3713e62cfad00d78bb938b0d9fb1eedaeff314 --recursive --depth=1
git clone https://github.com/tianocore/edk2-platforms.git -o cfdc7f907d545b14302295b819ea078bc36c6a40 --recursive --depth=1

2.Clone this project

git clone https://github.com/edk2-porting/edk2-sdm845.git

3.Build this project

bash build.sh --device DEVICE

4.Debug and use

fastboot boot boot_DEVICE.img

(DEVICE is the codename of your phone.)

Credits

Special thanks to fxsheep

MemoryMap thanks to Lemon1Ice.

ACPI tables thanks to 5超级菜鸟5 and many other people related.

SimpleFbDxe driver is from imbushuo's Lumia950XLPkg.

Also thanks to edk2 website.

Simple Porting Guide (Chinese)

http://sophonwu.com/blog/?p=85