Skip to content

5-Super-Rookie-5/MU-sm8150pkg

Repository files navigation

This Repo Is Based On SurfaceDuoPkg

Thanks for Gus's instructions!

Project Mu UEFI Implementation for Other SM8150 Devices

Build

Quick notes for building:

  • Use Ubuntu 20.04 x64
  • Generate ACPI tables with IASL
  • Follow this quick draft
  1. Setup Base environment
./setup_env.sh
pip install --upgrade -r pip-requirements.txt
  1. Activate Workspace
python3 -m venv SurfaceDuo
source SurfaceDuo/bin/activate
  1. Setup Mu environment
./setup_uefi.sh
  1. Switch Device
nano Platform/SurfaceDuoPkg/SurfaceDuo.dsc
  • You will find:
DEFINE BUILD_DEVICE_ID        = 0
  • Refer to the Build ID Table Above the macro and change the value.
  1. Build UEFI
pwsh ./build_releaseinfo.ps1
./build_uefi.sh
  1. Generate ELF image
  • Notice: DEVICE_ID is a number.
./build.sh DEVICE_ID

Acknowledgements

License

All code except drivers in GPLDriver directory are licensed under BSD 2-Clause. GPL Drivers are licensed under GPLv2 license.

About

Trying to port SurfaceDuoPkg for other LG and Xiaomi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5