Go to file
2020-05-27 12:39:53 +08:00
device_specific Proper dipper support 2020-05-26 23:28:48 +08:00
sdm845Pkg Booting with 8 cores in edk2 seems to be fine 2020-05-27 12:39:53 +08:00
bootimg.cfg Initial commit, not usable yet 2020-05-25 22:43:45 +08:00
build_dipper.sh polaris support is done 2020-05-26 12:33:47 +08:00
build_polaris.sh polaris support is done 2020-05-26 12:33:47 +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-05-27 10:15:39 +08:00

EDK2 UEFI Firmware For Snapdragon 845 (sdm845)

Attempt to create a normal EDK2 for Snapdragon 845 platform.

Pull requests for new devices are welcomed!

Resources

Telegram group for edk2-porting

QQ discussion group for edk2-porting: 697666196

Dependencies

Ubuntu 18.04:

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

Or

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

Building

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

edk2:

commit:3a3713e62cfad00d78bb938b0d9fb1eedaeff314

edk2-platforms:

commit:cfdc7f907d545b14302295b819ea078bc36c6a40
mkdir workspaceedk2
cd workspaceedk2
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 eenvironment

cd edk2-sdm845
bash firstrun.sh

4.Build this project

bash build_*.sh

5.Debug and use

fastboot boot boot_*.img

Credits

MemoryMap thanks to Lemon1Ice.

ACPI etc. tables thanks to 5超级菜鸟5

SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.

Also thanks to edk2 website.