From: Sophon Date: 星期一, 16 Aug 2021 09:21:10 +0000 (+0800) Subject: Get mainline dtbs embedded in edk2 X-Git-Tag: v1.0~3 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=2cfefdc635a8accf39dc536cb3ad320991c0668e;p=edk2-sdm845.git Get mainline dtbs embedded in edk2 So these devices should boot recent mainline Linux kernel without problem: polaris, fajita, enchilada, beryllium Signed-off-by: Sophon --- diff --git a/sdm845Pkg/Devices/beryllium.fdf b/sdm845Pkg/Devices/beryllium.fdf index 14974b0..a0b9257 100644 --- a/sdm845Pkg/Devices/beryllium.fdf +++ b/sdm845Pkg/Devices/beryllium.fdf @@ -556,6 +556,15 @@ APRIORI DXE { SECTION UI = "AcpiTables" } + # + # FDT support + # + INF EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf + + FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 { + SECTION RAW = sdm845Pkg/FdtBlob/sdm845-xiaomi-beryllium.dtb + } + # # SMBIOS Support # diff --git a/sdm845Pkg/Devices/enchilada.fdf b/sdm845Pkg/Devices/enchilada.fdf index d4daa8d..e59bcc9 100644 --- a/sdm845Pkg/Devices/enchilada.fdf +++ b/sdm845Pkg/Devices/enchilada.fdf @@ -567,6 +567,15 @@ APRIORI DXE { SECTION UI = "AcpiTables" } + # + # FDT support + # + INF EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf + + FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 { + SECTION RAW = sdm845Pkg/FdtBlob/sdm845-oneplus-enchilada.dtb + } + # # SMBIOS Support # diff --git a/sdm845Pkg/Devices/fajita.fdf b/sdm845Pkg/Devices/fajita.fdf index 726e658..6090351 100644 --- a/sdm845Pkg/Devices/fajita.fdf +++ b/sdm845Pkg/Devices/fajita.fdf @@ -569,6 +569,15 @@ APRIORI DXE { SECTION UI = "AcpiTables" } + # + # FDT support + # + INF EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf + + FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 { + SECTION RAW = sdm845Pkg/FdtBlob/sdm845-oneplus-fajita.dtb + } + # # SMBIOS Support # diff --git a/sdm845Pkg/FdtBlob/sdm845-oneplus-enchilada.dtb b/sdm845Pkg/FdtBlob/sdm845-oneplus-enchilada.dtb new file mode 100644 index 0000000..826a910 Binary files /dev/null and b/sdm845Pkg/FdtBlob/sdm845-oneplus-enchilada.dtb differ diff --git a/sdm845Pkg/FdtBlob/sdm845-oneplus-fajita.dtb b/sdm845Pkg/FdtBlob/sdm845-oneplus-fajita.dtb new file mode 100644 index 0000000..9e962a8 Binary files /dev/null and b/sdm845Pkg/FdtBlob/sdm845-oneplus-fajita.dtb differ diff --git a/sdm845Pkg/FdtBlob/sdm845-xiaomi-beryllium.dtb b/sdm845Pkg/FdtBlob/sdm845-xiaomi-beryllium.dtb new file mode 100644 index 0000000..d9c1b3d Binary files /dev/null and b/sdm845Pkg/FdtBlob/sdm845-xiaomi-beryllium.dtb differ