edk2-porting / edk2-msm

Broken edk2 port for Qualcomm platforms xD
https://renegade-project.tech/
BSD 2-Clause "Simplified" License
2.31k stars 438 forks source link

sm8250 edk2 support #300

Open dabao1955 opened 1 year ago

dabao1955 commented 1 year ago

Prerequisites

Description

support sm8250 device for edk2,just run linux.

AdrianoA3 commented 1 year ago

@dabao1955 Does your device have mainlined kernel?

dabao1955 commented 1 year ago

@dabao1955 Does your device have mainlined kernel?

What do you mean?

qaz6750 commented 1 year ago
dabao1955 commented 1 year ago
  • In fact, the Sm8250 SOC has already been supported, and now only EDk2 needs to be ported and tested for the device. Additionally, I don't think it makes much sense

I don't think so.Although sm8250 devices can not run windows.

ungeskriptet commented 1 year ago
  • In fact, the Sm8250 SOC has already been supported, and now only EDk2 needs to be ported and tested for the device. Additionally, I don't think it makes much sense

I don't think so.Although sm8250 devices can not run windows.

It is supported. Look in the Silicon and Platform folder. You can boot Android and Linux with it.

SM8250 device can boot very minimal WinPE but it's not really useful. If you want to add support for an unsupported device you can follow this commit

dabao1955 commented 1 year ago
  • In fact, the Sm8250 SOC has already been supported, and now only EDk2 needs to be ported and tested for the device. Additionally, I don't think it makes much sense

I don't think so.Although sm8250 devices can not run windows.

It is supported. Look in the Silicon and Platform folder. You can boot Android and Linux with it.

SM8250 device can boot very minimal WinPE but it's not really useful. If you want to add support for an unsupported device you can follow this commit

This submission only has one Lenovo device, my device is Xiaomi Mi 10pro, I was hoping to try to boot Linux via UEFI on this device, but I didn't find a channel to download and a way to build.

ungeskriptet commented 1 year ago
  • In fact, the Sm8250 SOC has already been supported, and now only EDk2 needs to be ported and tested for the device. Additionally, I don't think it makes much sense

I don't think so.Although sm8250 devices can not run windows.

It is supported. Look in the Silicon and Platform folder. You can boot Android and Linux with it. SM8250 device can boot very minimal WinPE but it's not really useful. If you want to add support for an unsupported device you can follow this commit

This submission only has one Lenovo device, my device is Xiaomi Mi 10pro, I was hoping to try to boot Linux via UEFI on this device, but I didn't find a channel to download and a way to build.

As I said, you can follow this commit as an example to add support for your Mi 10 Pro. You can pretty much copy the j716f port and replace the values that are device specific (like memory map)

dabao1955 commented 1 year ago
  • In fact, the Sm8250 SOC has already been supported, and now only EDk2 needs to be ported and tested for the device. Additionally, I don't think it makes much sense

I don't think so.Although sm8250 devices can not run windows.

It is supported. Look in the Silicon and Platform folder. You can boot Android and Linux with it. SM8250 device can boot very minimal WinPE but it's not really useful. If you want to add support for an unsupported device you can follow this commit

This submission only has one Lenovo device, my device is Xiaomi Mi 10pro, I was hoping to try to boot Linux via UEFI on this device, but I didn't find a channel to download and a way to build.

As I said, you can follow this commit as an example to add support for your Mi 10 Pro. You can pretty much copy the j716f port and replace the values that are device specific (like memory map)

How to compile it?Can dtb files be used in boot.img? Which partition does the uuid use? Need to create a new partition?