Get mainline dtbs embedded in edk2
authorSophon <strongtz@yeah.net>
星期一, 16 Aug 2021 09:21:10 +0000 (17:21 +0800)
committerSophon <strongtz@yeah.net>
星期一, 16 Aug 2021 09:21:10 +0000 (17:21 +0800)
So these devices should boot recent mainline Linux kernel without problem:
polaris, fajita, enchilada, beryllium

Signed-off-by: Sophon <strongtz@yeah.net>
sdm845Pkg/Devices/beryllium.fdf
sdm845Pkg/Devices/enchilada.fdf
sdm845Pkg/Devices/fajita.fdf
sdm845Pkg/FdtBlob/sdm845-oneplus-enchilada.dtb [new file with mode: 0644]
sdm845Pkg/FdtBlob/sdm845-oneplus-fajita.dtb [new file with mode: 0644]
sdm845Pkg/FdtBlob/sdm845-xiaomi-beryllium.dtb [new file with mode: 0644]

index 14974b0bdb21793be76a19af346c16e7dada9de3..a0b92573c615f0327496094bbf485b9bc64795ef 100644 (file)
@@ -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
   #
index d4daa8da6cdc99cea4c2af936f4a0fc946587608..e59bcc978ef4184410a3bcacabc926d5aa6d8b4e 100644 (file)
@@ -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
   #
index 726e65837c150fc8636d429704d37f4f5db48f63..6090351b3f36e6527fcbf1a6441b7d6f874543fa 100644 (file)
@@ -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 (file)
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 (file)
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 (file)
index 0000000..d9c1b3d
Binary files /dev/null and b/sdm845Pkg/FdtBlob/sdm845-xiaomi-beryllium.dtb differ