Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Trying to port SurfaceDuoPkg for Xiaomi Mi Pad 5.

License

Notifications You must be signed in to change notification settings

FunnyArenaPixel/MU-sm8150pkg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Repo Is Based On SurfaceDuoPkg

Thanks for Gustave's instructions!

Project Mu UEFI Implementation for SM8150 Devices

Build

Quick notes for building:

  • Use Ubuntu 20.04 x64 (or use docker-compose under other distros)
  • Generate ACPI tables with IASL
  • Follow this quick draft
  1. Setup Base environment
./setup_env.sh
pip install --upgrade -r pip-requirements.txt

Alternatively, use docker-compose if you don't have Ubuntu 20.04 environment

docker-compose run mu

Then finish the following process in docker environment

  1. Activate Workspace
python3 -m venv SurfaceDuo
source SurfaceDuo/bin/activate
  1. Setup Mu environment
./setup_uefi.sh
  1. Stamp build
python3 ./Platforms/SurfaceDuoPkg/StampBuild.py

or

./build_releaseinfo.ps1
  1. Build UEFI

Usage: build_uefi.sh -d <target_device> -s <ram_size> Optional: -m -r -u -b

./build_uefi.sh -d <target-name> -s <traget-ram-size> [ -m <Model> -r <RetailModel> -u <RetailSku> -b <BoardModel> ]

Ram size should be 6, 8, or 12. You will find Build//uefi.img if it builds successfully.

Target list

Device Target name DSDT Support Maintainers
ASUS ROG2 asus-I001DC Ww
LG G8 lg-alphaplus Molly Sophia
LG G8X lg-mh2lm Molly Sophia
LG V50 lg-flashlmdd AKA
LG V50S lg-mh2lm-5G AKA
Nubia Mini 5G nubia-tp1803 Alula
OnePlus 7 Pro oneplus-guacamole Waseem Alkurdi
OnePlus 7T Pro oneplus-hotdog sunflower2333
Samsung Galaxy S10 samsung-beyond1qlte Ww
Xiaomi 9 xiaomi-cepheus NONE
Xiaomi Hercules xiaomi-hercules Ww
Xiaomi K20 Pro xiaomi-raphael sunflower2333
Xiaomi Mix3 5G xiaomi-andromeda sunflower2333
Xiaomi Pad 5 xiaomi-nabu Map220v
Xiaomi Poco X3 Pro xiaomi-vayu Mcusr120

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 Xiaomi Mi Pad 5.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ASL 91.5%
  • C 6.9%
  • Python 0.6%
  • HTML 0.6%
  • C++ 0.3%
  • NASL 0.1%