Go to file
2020-06-28 13:02:18 +08:00
device_specific Add support for Oneplus 6T 2020-06-27 17:50:04 +08:00
sdm845Pkg Update device tree 2020-06-28 13:02:18 +08:00
bootimg.cfg Initial commit, not usable yet 2020-05-25 22:43:45 +08:00
build_dipper.sh Sometimes the build script seems to be case sensitive 2020-05-29 16:41:26 +08:00
build_fajita.sh Add support for Oneplus 6T 2020-06-27 17:50:04 +08:00
build_polaris.sh Sometimes the build script seems to be case sensitive 2020-05-29 16:41:26 +08:00
firstrun_common.sh Initial commit, not usable yet 2020-05-25 22:43:45 +08:00
firstrun.sh Initial commit, not usable yet 2020-05-25 22:43:45 +08:00
ramdisk Initial commit, not usable yet 2020-05-25 22:43:45 +08:00
README.md Update README 2020-06-28 12:09:07 +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!

Resources

Telegram group for edk2-porting

QQ discussion group for edk2-porting: 697666196

Pictures

Windows arm64 Ubuntu 20.04

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.Initialize environment

cd edk2-sdm845
bash firstrun.sh

4.Build this project

bash build_*.sh

5.Debug and use

fastboot boot boot_*.img

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