UEFI disable logo missing BootLLogoLib

I am trying to disable the boot logo for Xavier NX, I followed the guide on Boot Time Optimization — NVIDIA Jetson Linux Developer Guide 1 documentation
but I am getting the error
ERROR - Compiler #4000 from /build/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/Jetson.dsc(...): Instance of library class [BootLogoLib] is not found

uefi.log (12.8 KB)

Hi lucasjeppesen,

Are you using the devkit or custom board for Xavier NX?
What’s your Jetpack version in use?

Please share the command how you clone and compile UEFI source.
Could you build UEFI binary w/o any modification?

I am using the devkit,
Jetpack 5.1.3
jetson Linux 35.5

I can compile it fine without the modifications
I followed the guide to building in docker from Build with docker · NVIDIA/edk2-nvidia Wiki · GitHub
cloned with the command

edk2_docker edkrepo clone nvidia-uefi NVIDIA-Platforms r35.5.0

and I builded with this command

edk2_docker edk2-nvidia/Platform/NVIDIA/Jetson/build.sh

Could you help to confirm which modification causes this build failed issue?

this is the git diff

diff --git a/Platform/NVIDIA/NVIDIA.common.dsc.inc b/Platform/NVIDIA/NVIDIA.common.dsc.inc
index 31a815bd..fb1f3f50 100644
--- a/Platform/NVIDIA/NVIDIA.common.dsc.inc
+++ b/Platform/NVIDIA/NVIDIA.common.dsc.inc
@@ -116,7 +116,7 @@ CONFIG_MEMORY_TEST=n
   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
   PlatformBootManagerLib|Silicon/NVIDIA/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
   PlatformBootOrderLib|Silicon/NVIDIA/Library/PlatformBootOrderLib/PlatformBootOrderLib.inf
-  BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
+  # BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf^M
 
   AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
 
@@ -747,7 +747,7 @@ CONFIG_MEMORY_TEST=n
   #
   # Graphics console support
   #
-  Silicon/NVIDIA/Drivers/Logo/LogoDxe.inf
+  # Silicon/NVIDIA/Drivers/Logo/LogoDxe.inf^M
   MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf

diff --git a/Platform/NVIDIA/NVIDIA.fvmain.fdf.inc b/Platform/NVIDIA/NVIDIA.fvmain.fdf.inc
index 2e5ea98d..e996baef 100644
--- a/Platform/NVIDIA/NVIDIA.fvmain.fdf.inc
+++ b/Platform/NVIDIA/NVIDIA.fvmain.fdf.inc
@@ -101,7 +101,7 @@
   #
   # Graphics console support
   #
-  INF Silicon/NVIDIA/Drivers/Logo/LogoDxe.inf
+  # INF Silicon/NVIDIA/Drivers/Logo/LogoDxe.inf^M
   INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
 
   INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
@@ -263,11 +263,11 @@
   #
   # Logo Files
   #
-  FILE FREEFORM = gNVIDIAPlatformLogoGuid {
-    SECTION RAW = Silicon/NVIDIA/Assets/nvidiagray480.bmp
-    SECTION RAW = Silicon/NVIDIA/Assets/nvidiagray720.bmp
-    SECTION RAW = Silicon/NVIDIA/Assets/nvidiagray1080.bmp
-  }
+  # FILE FREEFORM = gNVIDIAPlatformLogoGuid {^M
+  #   SECTION RAW = Silicon/NVIDIA/Assets/nvidiagray480.bmp^M
+  #   SECTION RAW = Silicon/NVIDIA/Assets/nvidiagray720.bmp^M
+  #   SECTION RAW = Silicon/NVIDIA/Assets/nvidiagray1080.bmp^M
+  # }^M

Please revert this change and build again.

BootLogoLib is also used by boot manager so that you can not remove this library.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.