Hello Everyone!
I am working on the NVIDIA Jetson agx xavier Hardware and I am making linux using yocto (KIrkstone branch). I am using edk2-firmware-tegra haivng version 35.6.1 as a bootloader. My Questions is that my system takes almost 11 second to reach the L4Tlauncher. I have worked on uboot and barebox as bootloader earlier and they usually take 1-2 seconds till kernel loading. I have already removed the 5 seconds delay that is used by prompt to stop at UEFI.
I have also seen weird behaviors. Like I get mb1 and mb2 logs and then uefi_jetson.bin which initilize my HDMI (I can see that my HDMI is triggered by this code althogh logo display comes later in UEFI) and then I see blank screen for 5-6 seconds and then my UEFI show logo on screen and L4Tlaucher logs come on display.
My Question is that how can I optimize the UEFI to load in 1-2 seconds. If there is optimization flag exist that remove all irrelevant things and make a UEFI that can be loaded in 1-2 seconds. Or if its Normal for UEFI (NVIDIA Flavor) to take this much time necessarily.
Any type of suggestions in optimizing UEFI to load as early as possible would be helpful.