GithubHelp home page GithubHelp logo

edk2-porting / edk2-msm Goto Github PK

View Code? Open in Web Editor NEW
2.3K 68.0 427.0 29.01 MB

Broken edk2 port for Qualcomm platforms xD

Home Page: https://renegade-project.tech/

License: BSD 2-Clause "Simplified" License

Shell 0.03% C++ 0.01% C 44.86% Assembly 0.02% Python 0.07% ASL 54.23% Makefile 0.01% NASL 0.01% Lua 0.01% BitBake 0.78%
edk2 acpi uefi-firmware edk2-platforms phone windows-on-arm

edk2-msm's Introduction

EDK2 UEFI firmware for Qualcomm Snapdragon platforms

banner_wide_dark

Github Github

Description

This repository aims to provide an usable EDK2 UEFI environment for modern Qualcomm SoCs.

It can be used as a boot manager for multi-booting mainline Linux, Android and optionally Windows on certain SoCs.

User guide and documentations

Please visit Renegade Project Wiki

Acknowledgements

License

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

edk2-msm's People

Contributors

5-super-rookie-5 avatar akasaliza avatar bibarub avatar bigfootaca avatar cloudsweets avatar degdag avatar docence avatar etchdev avatar icesito68 avatar ionagorria avatar j0sh1x avatar ljlvink avatar longjunyu2 avatar lujianhua avatar map220v avatar mhtygt211227 avatar mollysophia avatar musabcel avatar netuserpro avatar ost268 avatar qaz6750 avatar sc-ah avatar silime avatar strongtz avatar sunhuitd avatar taocroatia avatar themorc avatar tjstyle avatar trottling avatar ungeskriptet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edk2-msm's Issues

Edk2 port for Redmi note 7

I want to port edk2 for redmi note 7. It comes with sdm660. Is it possible to port edk2 uefi on redmi note 7?

Oneplus 6T, Qualcomm Crashdump Mode

Prerequisites

  • [Yes] Have you read the readme?
  • [Already in] Do you (want to) have your device in the supported list?
  • [Yes] Does the device have a Snapdragon 845 SOC?

Description

Oneplus 6T, trigger the "Qualcomm Crashdamp Mode" frequently every day if the mobile go into sleep mode.
I don't know whether this situation also meet in ohter devices such as Xiaomi Mix 2s or Mix 3 and so on.

Expected behavior:
Back to normal condition for daily use.

Actual behavior:
Affect daily use seriously.

ImkIaL.md.jpg

usb视频输出 接hdmi线

我手里有个小米8 刷win11不是没有触屏嘛 显示屏又太小 我想接个hdmi到显示器用 我上次拿绿联的转接口试了一下貌似不行

Can I add device support to the image myself?

I have phone numbers "Redmi 4 prime" and "Redmi Note 9 Pro". Is it possible to add them to the system image?In the "Pull request" section, I could not create a question. Does this image also support the simultaneous installation of Windows and android systems?

Edk2 port for HTC U12+

I want to port edk2 for u12+. It comes with sdm845 but also with infamous s-on. Is it possible to port edk2 uefi on u12+?

Enable 3D acceleration support

Prerequisites

  • [✓] Have you read the readme?
  • [✓] Do you (want to) have your device in the supported list? OnePlus 6
  • [✓] Does the device have a Snapdragon 845 SOC? Yes

Description

Enable GPU support.

WOA drivers need support from here to be able to enable 3D acceleration.

Expected behavior: Complete Windows installation yields 3D acceleration as seen in tutorials and other sources or videos.

Actual behavior: Everything worked but 3D acceleration is unusable or just not available.

Include links to upstream device tree sources

The precompiled DTBs here are built from upstream GPL-2.0 sources (at least in the case of the OnePlus 6(T) and Xiaomi beryllium), you should either include the source DTS files with the license headers intact or clearly link to the upstream commits where the files are taken from to avoid violating the terms of the GPL, this also makes it a lot easier for others to contribute etc.

Poco f1 windows install Tutorial please

There is no way to install Windows arm os on poco f1 on YouTube. There is only a video in Portuguese, but it is an introduction video, not a method. Please tell me how to install on pocophone f1.

Build ACPI from source (multiple .asl files)

Recently common ACPI sources were pushed to the repo, as well as preliminary support for building ACPI in build.sh
Next we'll make a generic implementation which should work on all devices (pep, usb at least)
It will be located in sdm845Pkg/AcpiTables/generic/*

Poco F1?

Any plans on fixing touch and GPU for Poco F1? Atleast touch, please?

Windows getting activated automatically

Currently, Windows booted using edk2-sdm845 will be activated automatically once connected to Internet. It might be due to someone activating using Digital Rights.

This may lead to unexpected legal risks.

To solve the issue, generating a unique SMBIOS UUID at runtime based on device serial number might be needed. EFIChipInfo protocol might be required.

It is currently under investigation by @BigfootACA

MIX2S偶尔会掉WiFi或无法联网

Prerequisites

  • Have you read the readme?
  • Do you (want to) have your device in the supported list?
  • Does the device have a Snapdragon 845 SOC?

Description

[偶尔会掉WiFi或无法联网]

预期行为: [正常联网]

实际行为: [刚开机或者锁屏后再打开,会看到wifi已连接但仍然无法联网的情况(WiFi提示无法连接Internet),要等待两分钟才能联网。
有时还会出现等着等着wifi模块不见的情况(出现3-4次了),还有的时候正常使用用着用着wifi模块也消失了(只出现过一次),设置里找不到wifi选项卡,设备管理器查看发现WiFi驱动感叹号,该设备无法启动(错误代码10,请求的操作不成功),重启可以解决]

设备描述: [MIX2S 6+64 windows版本:win11 InsiderPreview 22468.1000]

联发科天玑800u没希望了吗,我的红米note9 5g吃灰了

Prerequisites

  • Have you read the readme?
  • Do you (want to) have your device in the supported list?
  • Does the device have a Snapdragon 845 SOC?

Description

[Description of the bug or feature]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Sdm860

Hello, can I here contact with dev's with a question?
i want to be a tester! I have redmi k20 (730) and xiaomi pad 5 (860). Can you tell me, why did you del rep. edk2-sm7150 and edk2-msmnile? May be you want to work on it, or it was due to the impossibility of project? As i know, for device on sdm860 its possible))
Sorry for taking your time, but i cant how can i contact with you other.
Tx for understanding!

Failing to compile with GCC 11.2

Ubuntu 21.10 comes with GCC 11.2 by default. And BaseTools is no longer compiled correctly

gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/AArch64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/decode.c -o brotli/c/dec/decode.o
brotli/c/dec/decode.c:2033:41: error: argument 2 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} declared as a pointer [-Werror=vla-parameter]
 2033 |     size_t encoded_size, const uint8_t* encoded_buffer, size_t* decoded_size,
      |                          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from brotli/c/dec/decode.c:7:
./brotli/c/include/brotli/decode.h:204:19: note: previously declared as a variable length array ‘const uint8_t[*decoded_size]’ {aka
const unsigned char[*decoded_size]’}
  204 |     const uint8_t encoded_buffer[BROTLI_ARRAY_PARAM(encoded_size)],
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
brotli/c/dec/decode.c:2034:14: error: argument 4 of type ‘uint8_t *’ {aka ‘unsigned char *’} declared as a pointer [-Werror=vla-parameter]
 2034 |     uint8_t* decoded_buffer) {
      |     ~~~~~~~~~^~~~~~~~~~~~~~
In file included from brotli/c/dec/decode.c:7:
./brotli/c/include/brotli/decode.h:206:13: note: previously declared as a variable length array ‘uint8_t[encoded_size]’ {aka ‘unsigned char[encoded_size]’}
  206 |     uint8_t decoded_buffer[BROTLI_ARRAY_PARAM(*decoded_size)]);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

MIX2S关机问题

Prerequisites

  • Have you read the readme?
  • Do you (want to) have your device in the supported list?
  • Does the device have a Snapdragon 845 SOC?

Description

[MIX2S关机\重启问题]

预期行为: [正常关机,关机充电不自动开机]

实际行为: [关机黑屏后几分钟设备都是无响应的状态,重启也是差不多要等待好几分钟才能启动,除非长按10s强制重启。

关机状态下连接充电器会自动开机,希望能调用原系统充电动画]

设备描述: [MIX2S 6+64 windows版本:win11 InsiderPreview 22468.1000]

Google Pixel 3/3XL support

Prerequisites

  • [ X] Have you read the readme?
  • [ X] Do you (want to) have your device in the supported list?
  • [ X] Does the device have a Snapdragon 845 SOC?

Description

Hey I saw the readme which said to not use a Google Pixel 3/3XL as it will wipe the UFS clean. Is there any chance that this could work on these devices since they are Snapdragon 845 devices?

I own a Pixel 3XL and would be happy to test / help (provided it won't brick the device 😋 )

[OnePlus 6(Not 6T) 6/64] Qualcomm ChashDump Mode on Wimdows 10 21h1

Prerequisites

  • [Yes] Have you read the readme?
  • [Already in] Do you (want to) have your device in the supported list?
  • [Yes] Does the device have a Snapdragon 845 SOC?

Description

OnePlus 6 6/64, when i turn off or reboot(this happens only at the shutdown stage) device in Windows 10 21h1 - it triggers Qualcomm ChashDump Mode.
Device - OnePlus 6 6/64
OS - Win 10 21H1

Expected behavior: Try to fix this

poco f1 windows 11 charge not working

Prerequisites

  • [ok] Have you read the readme?
  • [ok] Do you (want to) have your device in the supported list?
  • [ok] Does the device have a Snapdragon 845 SOC?

Description

poco f1 is charge not working

Expected behavior:
I was told it was charging.

Actual behavior:
poco f1 is charge on windows 11 arm not working

Is it possible to add new resolution for mix2s or other devices

Prerequisites

  • Have you read the readme?
  • Do you (want to) have your device in the supported list?
  • Does the device have a Snapdragon 845 SOC?

Description

Currently resolution in Setting-Display, can be only setting to 2160*1080. Can It be changed to other resolution like 1280 * 720 ? It's really useful.

Expected behavior: More resoulution or DPI scaling can be used.

Actual behavior: 2160*1080 and DPI 100% to 175%

Boot slot switcher corrupts partition table on OnePlus 6T

Prerequisites

  • Have you read the readme?
  • Do you (want to) have your device in the supported list?
  • Does the device have a Snapdragon 845 SOC?

Description

When I switch boot slots EFI-(EDK2)->Android-(TWRP)->EFI, there is a garbage partition added to the GPT table, after all of the other partitions. It is located at the beginning of the disk and overlaps the partition table. This causes Windows to fail booting, and causes gdisk to report the partition table as invalid.

This error does not occur when I switch boot slots EFI-(fastboot)->Android-(TWRP)->EFI.

Expected behavior: I expect that when I switch boot slots using the boot slot switcher EFI app, the GPT table will not be modified except as necessary to switch slots.

Actual behavior: When I switch boot slots using the boot slot switcher EFI app, a garbage partition is inserted to the GPT table.

I have Mobian and Windows installed and booted through EDK2, and I am happy to use Mobian to gather any information that would be helpful in resolving this bug.

Thank you for your hard work on this project!

NX616J bluescreen error

Prerequisites

  • Have you read the readme?
    yes
  • Do you (want to) have your device in the supported list?
    yes
  • Does the device have a Snapdragon 845 SOC?
    yes

Description

[Description of the bug or feature]

I followed the tutorial through all the steps, now using the uefi from Ci did fixed USB issue but within bluescreen 'Soc Subsystem Failure', there is any chance to get it work?

Expected behavior: [What you expected to happen]

Boot in Windows

Actual behavior: [What actually happened]

Bluescreen with error code 'Soc Subsystem Failure'

UEFI固件修改的设置无法保存

Prerequisites

  • Have you read the readme?
  • Do you (want to) have your device in the supported list?
  • Does the device have a Snapdragon 845 SOC?

Description

我在UEFI固件中修改了引导顺序的设置。

Expected behavior: 重启后设置被复原。

Actual behavior: 重启后设置保留。

SMBIOS Improvements

I think we should modify the SMBIOS to be more "phone friendly". I mean that Lumias don't have that detached keyboard on Windows. We currently have a detached keyboard on Windows. (unless it's just a thing they have fixed with a registry tweak)

And also maybe some other small details to not show unknown motherboard etc.

Is There a boot menu/manager?

Is There a boot menu? ,i don't know while i not have tried and my phone is not a qualcomm snapdragon 845 soc ,just comment on this issue and close this issue.

ZenFone 5z?

would a Port to ZenFone 5z be possible? I would love to test

Fix DeviceMemoryMap.h

The current memory map is optimized for LA use cases, which is not Windows-friendly.
In order to have working GPU, WiFi, Modem etc. in Windows, we must reserve the related PIL (Peripheral Image Loader) memory regions during edk2 init.

Add support for buttons in uefi

As relevant hardware has been initialized in previous bootloader, it might be possible to enable button input by reading certain memory-mapped registers.

博主你好,骁龙865有机会适配吗?

Prerequisites

  • Have you read the readme?
  • Do you (want to) have your device in the supported list?
  • Does the device have a Snapdragon 845 SOC?

Description

[Description of the bug or feature]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Clarification: UFS wipe

Prerequisites

  • Have you read the readme?
  • Do you (want to) have your device in the supported list?
  • Does the device have a Snapdragon 845 SOC?

Description

In the README, it is stated to never port to Sony or Google devices due to the UFS being wiped. Why, exactly? I am curious and would like to know :)

Expected behavior:

Not a whole lot; just a little bit of clarification. I know what a UFS is - just not why it becomes wiped when trying to run this port.

Actual behavior:

Curiosity I guess?

Kind regards,
Ingwie

add support for oneplus 7

fdt file: i couldn't find it

resolution: 1080x2340

codename: guacamoleb

reason: to test if this port on this phone

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.