edk2-nvidia icon indicating copy to clipboard operation
edk2-nvidia copied to clipboard

[QUESTION] what is edk2-nvidia and changing UEFI variables for Jetson?

Open PHCLenzi opened this issue 2 years ago • 3 comments

Hello, two questions here

What is edk2-nvidia? Is it a version of nvidia's UEFI for Jetson?

How do I change the Jetson's UEFI variables and settings (I'm using a Jetson AGX Orin)? How do I use the information on this VariableList page?

I think my questions may help others too.

Thank you

PHCLenzi avatar Sep 26 '23 14:09 PHCLenzi

edk2-nvidia is the nvidia specific code for supporting UEFI. It is our equivalent of https://github.com/tianocore/edk2-platforms

For UEFI variables most of these are configurable via the UI menu. If you go under the Device Manager -> NVIDIA Configuration.

Some require setting manually or via a device tree overlay

jbrasen avatar Sep 26 '23 14:09 jbrasen

@jbrasen,

Is this "UI menu" accessed by the "Device Manager" inside the standard jetpack?

Context: I'm trying to understand how flash scripts (from nvidia or Yocto Project for example) change the memory address/device that contains the Kernel, Fileszstem,... .

I noticed that there is "L4TDefaultBootMode" in these variables list and I would like to know how to access it and change it.

I knew the alternative of adding a device tree overlay with the chosen memory device, but I would like to understand this variable I mentioned above.

Any ideas?

PHCLenzi avatar Sep 26 '23 16:09 PHCLenzi

Yes if press ESC to enter the UEFI menu then the settings are under Device Manager Device Manager-> NVIDIA Configuration -> L4T Configuration

This changes the way the l4t launcher attempts to boot the OS (grub, from extlinux, etc)

jbrasen avatar Sep 26 '23 20:09 jbrasen